package dialogflowpb
import "cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb"
Index ¶
- Variables
- func RegisterAgentsServer(s *grpc.Server, srv AgentsServer)
- func RegisterAnswerRecordsServer(s *grpc.Server, srv AnswerRecordsServer)
- func RegisterContextsServer(s *grpc.Server, srv ContextsServer)
- func RegisterConversationProfilesServer(s *grpc.Server, srv ConversationProfilesServer)
- func RegisterConversationsServer(s *grpc.Server, srv ConversationsServer)
- func RegisterDocumentsServer(s *grpc.Server, srv DocumentsServer)
- func RegisterEncryptionSpecServiceServer(s *grpc.Server, srv EncryptionSpecServiceServer)
- func RegisterEntityTypesServer(s *grpc.Server, srv EntityTypesServer)
- func RegisterEnvironmentsServer(s *grpc.Server, srv EnvironmentsServer)
- func RegisterFulfillmentsServer(s *grpc.Server, srv FulfillmentsServer)
- func RegisterGeneratorsServer(s *grpc.Server, srv GeneratorsServer)
- func RegisterIntentsServer(s *grpc.Server, srv IntentsServer)
- func RegisterKnowledgeBasesServer(s *grpc.Server, srv KnowledgeBasesServer)
- func RegisterParticipantsServer(s *grpc.Server, srv ParticipantsServer)
- func RegisterPhoneNumbersServer(s *grpc.Server, srv PhoneNumbersServer)
- func RegisterSessionEntityTypesServer(s *grpc.Server, srv SessionEntityTypesServer)
- func RegisterSessionsServer(s *grpc.Server, srv SessionsServer)
- func RegisterSipTrunksServer(s *grpc.Server, srv SipTrunksServer)
- func RegisterVersionsServer(s *grpc.Server, srv VersionsServer)
- type Agent
- func (*Agent) Descriptor() ([]byte, []int)
- func (x *Agent) GetApiVersion() Agent_ApiVersion
- func (x *Agent) GetAvatarUri() string
- func (x *Agent) GetClassificationThreshold() float32
- func (x *Agent) GetDefaultLanguageCode() string
- func (x *Agent) GetDescription() string
- func (x *Agent) GetDisplayName() string
- func (x *Agent) GetEnableLogging() bool
- func (x *Agent) GetMatchMode() Agent_MatchMode
- func (x *Agent) GetParent() string
- func (x *Agent) GetSupportedLanguageCodes() []string
- func (x *Agent) GetTier() Agent_Tier
- func (x *Agent) GetTimeZone() string
- func (*Agent) ProtoMessage()
- func (x *Agent) ProtoReflect() protoreflect.Message
- func (x *Agent) Reset()
- func (x *Agent) String() string
- type AgentAssistantFeedback
- func (*AgentAssistantFeedback) Descriptor() ([]byte, []int)
- func (x *AgentAssistantFeedback) GetAnswerRelevance() AgentAssistantFeedback_AnswerRelevance
- func (x *AgentAssistantFeedback) GetDocumentCorrectness() AgentAssistantFeedback_DocumentCorrectness
- func (x *AgentAssistantFeedback) GetDocumentEfficiency() AgentAssistantFeedback_DocumentEfficiency
- func (x *AgentAssistantFeedback) GetKnowledgeAssistFeedback() *AgentAssistantFeedback_KnowledgeAssistFeedback
- func (x *AgentAssistantFeedback) GetKnowledgeSearchFeedback() *AgentAssistantFeedback_KnowledgeSearchFeedback
- func (x *AgentAssistantFeedback) GetSummarizationFeedback() *AgentAssistantFeedback_SummarizationFeedback
- func (*AgentAssistantFeedback) ProtoMessage()
- func (x *AgentAssistantFeedback) ProtoReflect() protoreflect.Message
- func (x *AgentAssistantFeedback) Reset()
- func (x *AgentAssistantFeedback) String() string
- type AgentAssistantFeedback_AnswerRelevance
- func (AgentAssistantFeedback_AnswerRelevance) Descriptor() protoreflect.EnumDescriptor
- func (x AgentAssistantFeedback_AnswerRelevance) Enum() *AgentAssistantFeedback_AnswerRelevance
- func (AgentAssistantFeedback_AnswerRelevance) EnumDescriptor() ([]byte, []int)
- func (x AgentAssistantFeedback_AnswerRelevance) Number() protoreflect.EnumNumber
- func (x AgentAssistantFeedback_AnswerRelevance) String() string
- func (AgentAssistantFeedback_AnswerRelevance) Type() protoreflect.EnumType
- type AgentAssistantFeedback_DocumentCorrectness
- func (AgentAssistantFeedback_DocumentCorrectness) Descriptor() protoreflect.EnumDescriptor
- func (x AgentAssistantFeedback_DocumentCorrectness) Enum() *AgentAssistantFeedback_DocumentCorrectness
- func (AgentAssistantFeedback_DocumentCorrectness) EnumDescriptor() ([]byte, []int)
- func (x AgentAssistantFeedback_DocumentCorrectness) Number() protoreflect.EnumNumber
- func (x AgentAssistantFeedback_DocumentCorrectness) String() string
- func (AgentAssistantFeedback_DocumentCorrectness) Type() protoreflect.EnumType
- type AgentAssistantFeedback_DocumentEfficiency
- func (AgentAssistantFeedback_DocumentEfficiency) Descriptor() protoreflect.EnumDescriptor
- func (x AgentAssistantFeedback_DocumentEfficiency) Enum() *AgentAssistantFeedback_DocumentEfficiency
- func (AgentAssistantFeedback_DocumentEfficiency) EnumDescriptor() ([]byte, []int)
- func (x AgentAssistantFeedback_DocumentEfficiency) Number() protoreflect.EnumNumber
- func (x AgentAssistantFeedback_DocumentEfficiency) String() string
- func (AgentAssistantFeedback_DocumentEfficiency) Type() protoreflect.EnumType
- type AgentAssistantFeedback_KnowledgeAssistFeedback
- func (*AgentAssistantFeedback_KnowledgeAssistFeedback) Descriptor() ([]byte, []int)
- func (x *AgentAssistantFeedback_KnowledgeAssistFeedback) GetAnswerCopied() bool
- func (x *AgentAssistantFeedback_KnowledgeAssistFeedback) GetClickedUris() []string
- func (*AgentAssistantFeedback_KnowledgeAssistFeedback) ProtoMessage()
- func (x *AgentAssistantFeedback_KnowledgeAssistFeedback) ProtoReflect() protoreflect.Message
- func (x *AgentAssistantFeedback_KnowledgeAssistFeedback) Reset()
- func (x *AgentAssistantFeedback_KnowledgeAssistFeedback) String() string
- type AgentAssistantFeedback_KnowledgeSearchFeedback
- func (*AgentAssistantFeedback_KnowledgeSearchFeedback) Descriptor() ([]byte, []int)
- func (x *AgentAssistantFeedback_KnowledgeSearchFeedback) GetAnswerCopied() bool
- func (x *AgentAssistantFeedback_KnowledgeSearchFeedback) GetClickedUris() []string
- func (*AgentAssistantFeedback_KnowledgeSearchFeedback) ProtoMessage()
- func (x *AgentAssistantFeedback_KnowledgeSearchFeedback) ProtoReflect() protoreflect.Message
- func (x *AgentAssistantFeedback_KnowledgeSearchFeedback) Reset()
- func (x *AgentAssistantFeedback_KnowledgeSearchFeedback) String() string
- type AgentAssistantFeedback_SummarizationFeedback
- func (*AgentAssistantFeedback_SummarizationFeedback) Descriptor() ([]byte, []int)
- func (x *AgentAssistantFeedback_SummarizationFeedback) GetStartTimestamp() *timestamppb.Timestamp
- func (x *AgentAssistantFeedback_SummarizationFeedback) GetSubmitTimestamp() *timestamppb.Timestamp
- func (x *AgentAssistantFeedback_SummarizationFeedback) GetSummaryText() string
- func (x *AgentAssistantFeedback_SummarizationFeedback) GetTextSections() map[string]string
- func (*AgentAssistantFeedback_SummarizationFeedback) ProtoMessage()
- func (x *AgentAssistantFeedback_SummarizationFeedback) ProtoReflect() protoreflect.Message
- func (x *AgentAssistantFeedback_SummarizationFeedback) Reset()
- func (x *AgentAssistantFeedback_SummarizationFeedback) String() string
- type AgentAssistantRecord
- func (*AgentAssistantRecord) Descriptor() ([]byte, []int)
- func (m *AgentAssistantRecord) GetAnswer() isAgentAssistantRecord_Answer
- func (x *AgentAssistantRecord) GetArticleSuggestionAnswer() *ArticleAnswer
- func (x *AgentAssistantRecord) GetDialogflowAssistAnswer() *DialogflowAssistAnswer
- func (x *AgentAssistantRecord) GetFaqAnswer() *FaqAnswer
- func (*AgentAssistantRecord) ProtoMessage()
- func (x *AgentAssistantRecord) ProtoReflect() protoreflect.Message
- func (x *AgentAssistantRecord) Reset()
- func (x *AgentAssistantRecord) String() string
- type AgentAssistantRecord_ArticleSuggestionAnswer
- type AgentAssistantRecord_DialogflowAssistAnswer
- type AgentAssistantRecord_FaqAnswer
- type Agent_ApiVersion
- func (Agent_ApiVersion) Descriptor() protoreflect.EnumDescriptor
- func (x Agent_ApiVersion) Enum() *Agent_ApiVersion
- func (Agent_ApiVersion) EnumDescriptor() ([]byte, []int)
- func (x Agent_ApiVersion) Number() protoreflect.EnumNumber
- func (x Agent_ApiVersion) String() string
- func (Agent_ApiVersion) Type() protoreflect.EnumType
- type Agent_MatchMode
- func (Agent_MatchMode) Descriptor() protoreflect.EnumDescriptor
- func (x Agent_MatchMode) Enum() *Agent_MatchMode
- func (Agent_MatchMode) EnumDescriptor() ([]byte, []int)
- func (x Agent_MatchMode) Number() protoreflect.EnumNumber
- func (x Agent_MatchMode) String() string
- func (Agent_MatchMode) Type() protoreflect.EnumType
- type Agent_Tier
- func (Agent_Tier) Descriptor() protoreflect.EnumDescriptor
- func (x Agent_Tier) Enum() *Agent_Tier
- func (Agent_Tier) EnumDescriptor() ([]byte, []int)
- func (x Agent_Tier) Number() protoreflect.EnumNumber
- func (x Agent_Tier) String() string
- func (Agent_Tier) Type() protoreflect.EnumType
- type AgentsClient
- type AgentsServer
- type AnalyzeContentRequest
- func (*AnalyzeContentRequest) Descriptor() ([]byte, []int)
- func (x *AnalyzeContentRequest) GetAssistQueryParams() *AssistQueryParameters
- func (x *AnalyzeContentRequest) GetAudioInput() *AudioInput
- func (x *AnalyzeContentRequest) GetCxCurrentPage() string
- func (x *AnalyzeContentRequest) GetCxParameters() *structpb.Struct
- func (x *AnalyzeContentRequest) GetEventInput() *EventInput
- func (m *AnalyzeContentRequest) GetInput() isAnalyzeContentRequest_Input
- func (x *AnalyzeContentRequest) GetIntentInput() *IntentInput
- func (x *AnalyzeContentRequest) GetMessageSendTime() *timestamppb.Timestamp
- func (x *AnalyzeContentRequest) GetParticipant() string
- func (x *AnalyzeContentRequest) GetQueryParams() *QueryParameters
- func (x *AnalyzeContentRequest) GetReplyAudioConfig() *OutputAudioConfig
- func (x *AnalyzeContentRequest) GetRequestId() string
- func (x *AnalyzeContentRequest) GetSuggestionInput() *SuggestionInput
- func (x *AnalyzeContentRequest) GetTextInput() *TextInput
- func (*AnalyzeContentRequest) ProtoMessage()
- func (x *AnalyzeContentRequest) ProtoReflect() protoreflect.Message
- func (x *AnalyzeContentRequest) Reset()
- func (x *AnalyzeContentRequest) String() string
- type AnalyzeContentRequest_AudioInput
- type AnalyzeContentRequest_EventInput
- type AnalyzeContentRequest_IntentInput
- type AnalyzeContentRequest_SuggestionInput
- type AnalyzeContentRequest_TextInput
- type AnalyzeContentResponse
- func (*AnalyzeContentResponse) Descriptor() ([]byte, []int)
- func (x *AnalyzeContentResponse) GetAutomatedAgentReply() *AutomatedAgentReply
- func (x *AnalyzeContentResponse) GetDtmfParameters() *DtmfParameters
- func (x *AnalyzeContentResponse) GetEndUserSuggestionResults() []*SuggestionResult
- func (x *AnalyzeContentResponse) GetHumanAgentSuggestionResults() []*SuggestionResult
- func (x *AnalyzeContentResponse) GetMessage() *Message
- func (x *AnalyzeContentResponse) GetReplyAudio() *OutputAudio
- func (x *AnalyzeContentResponse) GetReplyText() string
- func (*AnalyzeContentResponse) ProtoMessage()
- func (x *AnalyzeContentResponse) ProtoReflect() protoreflect.Message
- func (x *AnalyzeContentResponse) Reset()
- func (x *AnalyzeContentResponse) String() string
- type AnnotatedMessagePart
- func (*AnnotatedMessagePart) Descriptor() ([]byte, []int)
- func (x *AnnotatedMessagePart) GetEntityType() string
- func (x *AnnotatedMessagePart) GetFormattedValue() *structpb.Value
- func (x *AnnotatedMessagePart) GetText() string
- func (*AnnotatedMessagePart) ProtoMessage()
- func (x *AnnotatedMessagePart) ProtoReflect() protoreflect.Message
- func (x *AnnotatedMessagePart) Reset()
- func (x *AnnotatedMessagePart) String() string
- type AnswerFeedback
- func (*AnswerFeedback) Descriptor() ([]byte, []int)
- func (x *AnswerFeedback) GetAgentAssistantDetailFeedback() *AgentAssistantFeedback
- func (x *AnswerFeedback) GetClickTime() *timestamppb.Timestamp
- func (x *AnswerFeedback) GetClicked() bool
- func (x *AnswerFeedback) GetCorrectnessLevel() AnswerFeedback_CorrectnessLevel
- func (m *AnswerFeedback) GetDetailFeedback() isAnswerFeedback_DetailFeedback
- func (x *AnswerFeedback) GetDisplayTime() *timestamppb.Timestamp
- func (x *AnswerFeedback) GetDisplayed() bool
- func (*AnswerFeedback) ProtoMessage()
- func (x *AnswerFeedback) ProtoReflect() protoreflect.Message
- func (x *AnswerFeedback) Reset()
- func (x *AnswerFeedback) String() string
- type AnswerFeedback_AgentAssistantDetailFeedback
- type AnswerFeedback_CorrectnessLevel
- func (AnswerFeedback_CorrectnessLevel) Descriptor() protoreflect.EnumDescriptor
- func (x AnswerFeedback_CorrectnessLevel) Enum() *AnswerFeedback_CorrectnessLevel
- func (AnswerFeedback_CorrectnessLevel) EnumDescriptor() ([]byte, []int)
- func (x AnswerFeedback_CorrectnessLevel) Number() protoreflect.EnumNumber
- func (x AnswerFeedback_CorrectnessLevel) String() string
- func (AnswerFeedback_CorrectnessLevel) Type() protoreflect.EnumType
- type AnswerRecord
- func (*AnswerRecord) Descriptor() ([]byte, []int)
- func (x *AnswerRecord) GetAgentAssistantRecord() *AgentAssistantRecord
- func (x *AnswerRecord) GetAnswerFeedback() *AnswerFeedback
- func (x *AnswerRecord) GetName() string
- func (m *AnswerRecord) GetRecord() isAnswerRecord_Record
- func (*AnswerRecord) ProtoMessage()
- func (x *AnswerRecord) ProtoReflect() protoreflect.Message
- func (x *AnswerRecord) Reset()
- func (x *AnswerRecord) String() string
- type AnswerRecord_AgentAssistantRecord
- type AnswerRecordsClient
- type AnswerRecordsServer
- type ArticleAnswer
- func (*ArticleAnswer) Descriptor() ([]byte, []int)
- func (x *ArticleAnswer) GetAnswerRecord() string
- func (x *ArticleAnswer) GetMetadata() map[string]string
- func (x *ArticleAnswer) GetSnippets() []string
- func (x *ArticleAnswer) GetTitle() string
- func (x *ArticleAnswer) GetUri() string
- func (*ArticleAnswer) ProtoMessage()
- func (x *ArticleAnswer) ProtoReflect() protoreflect.Message
- func (x *ArticleAnswer) Reset()
- func (x *ArticleAnswer) String() string
- type AssistQueryParameters
- func (*AssistQueryParameters) Descriptor() ([]byte, []int)
- func (x *AssistQueryParameters) GetDocumentsMetadataFilters() map[string]string
- func (*AssistQueryParameters) ProtoMessage()
- func (x *AssistQueryParameters) ProtoReflect() protoreflect.Message
- func (x *AssistQueryParameters) Reset()
- func (x *AssistQueryParameters) String() string
- type AudioEncoding
- func (AudioEncoding) Descriptor() protoreflect.EnumDescriptor
- func (x AudioEncoding) Enum() *AudioEncoding
- func (AudioEncoding) EnumDescriptor() ([]byte, []int)
- func (x AudioEncoding) Number() protoreflect.EnumNumber
- func (x AudioEncoding) String() string
- func (AudioEncoding) Type() protoreflect.EnumType
- type AudioInput
- func (*AudioInput) Descriptor() ([]byte, []int)
- func (x *AudioInput) GetAudio() []byte
- func (x *AudioInput) GetConfig() *InputAudioConfig
- func (*AudioInput) ProtoMessage()
- func (x *AudioInput) ProtoReflect() protoreflect.Message
- func (x *AudioInput) Reset()
- func (x *AudioInput) String() string
- type AutomatedAgentConfig
- func (*AutomatedAgentConfig) Descriptor() ([]byte, []int)
- func (x *AutomatedAgentConfig) GetAgent() string
- func (x *AutomatedAgentConfig) GetSessionTtl() *durationpb.Duration
- func (*AutomatedAgentConfig) ProtoMessage()
- func (x *AutomatedAgentConfig) ProtoReflect() protoreflect.Message
- func (x *AutomatedAgentConfig) Reset()
- func (x *AutomatedAgentConfig) String() string
- type AutomatedAgentReply
- func (*AutomatedAgentReply) Descriptor() ([]byte, []int)
- func (x *AutomatedAgentReply) GetAllowCancellation() bool
- func (x *AutomatedAgentReply) GetAutomatedAgentReplyType() AutomatedAgentReply_AutomatedAgentReplyType
- func (x *AutomatedAgentReply) GetCallCompanionAuthCode() []byte
- func (x *AutomatedAgentReply) GetCxCurrentPage() string
- func (x *AutomatedAgentReply) GetCxSessionParameters() *structpb.Struct
- func (x *AutomatedAgentReply) GetDetectIntentResponse() *DetectIntentResponse
- func (x *AutomatedAgentReply) GetEvent() string
- func (x *AutomatedAgentReply) GetIntent() string
- func (m *AutomatedAgentReply) GetMatch() isAutomatedAgentReply_Match
- func (x *AutomatedAgentReply) GetMatchConfidence() float32
- func (x *AutomatedAgentReply) GetParameters() *structpb.Struct
- func (m *AutomatedAgentReply) GetResponse() isAutomatedAgentReply_Response
- func (x *AutomatedAgentReply) GetResponseMessages() []*ResponseMessage
- func (*AutomatedAgentReply) ProtoMessage()
- func (x *AutomatedAgentReply) ProtoReflect() protoreflect.Message
- func (x *AutomatedAgentReply) Reset()
- func (x *AutomatedAgentReply) String() string
- type AutomatedAgentReply_AutomatedAgentReplyType
- func (AutomatedAgentReply_AutomatedAgentReplyType) Descriptor() protoreflect.EnumDescriptor
- func (x AutomatedAgentReply_AutomatedAgentReplyType) Enum() *AutomatedAgentReply_AutomatedAgentReplyType
- func (AutomatedAgentReply_AutomatedAgentReplyType) EnumDescriptor() ([]byte, []int)
- func (x AutomatedAgentReply_AutomatedAgentReplyType) Number() protoreflect.EnumNumber
- func (x AutomatedAgentReply_AutomatedAgentReplyType) String() string
- func (AutomatedAgentReply_AutomatedAgentReplyType) Type() protoreflect.EnumType
- type AutomatedAgentReply_DetectIntentResponse
- type AutomatedAgentReply_Event
- type AutomatedAgentReply_Intent
- type BargeInConfig
- func (*BargeInConfig) Descriptor() ([]byte, []int)
- func (x *BargeInConfig) GetNoBargeInDuration() *durationpb.Duration
- func (x *BargeInConfig) GetTotalDuration() *durationpb.Duration
- func (*BargeInConfig) ProtoMessage()
- func (x *BargeInConfig) ProtoReflect() protoreflect.Message
- func (x *BargeInConfig) Reset()
- func (x *BargeInConfig) String() string
- type BatchCreateEntitiesRequest
- func (*BatchCreateEntitiesRequest) Descriptor() ([]byte, []int)
- func (x *BatchCreateEntitiesRequest) GetEntities() []*EntityType_Entity
- func (x *BatchCreateEntitiesRequest) GetLanguageCode() string
- func (x *BatchCreateEntitiesRequest) GetParent() string
- func (*BatchCreateEntitiesRequest) ProtoMessage()
- func (x *BatchCreateEntitiesRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCreateEntitiesRequest) Reset()
- func (x *BatchCreateEntitiesRequest) String() string
- type BatchCreateMessagesRequest
- func (*BatchCreateMessagesRequest) Descriptor() ([]byte, []int)
- func (x *BatchCreateMessagesRequest) GetParent() string
- func (x *BatchCreateMessagesRequest) GetRequests() []*CreateMessageRequest
- func (*BatchCreateMessagesRequest) ProtoMessage()
- func (x *BatchCreateMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *BatchCreateMessagesRequest) Reset()
- func (x *BatchCreateMessagesRequest) String() string
- type BatchCreateMessagesResponse
- func (*BatchCreateMessagesResponse) Descriptor() ([]byte, []int)
- func (x *BatchCreateMessagesResponse) GetMessages() []*Message
- func (*BatchCreateMessagesResponse) ProtoMessage()
- func (x *BatchCreateMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *BatchCreateMessagesResponse) Reset()
- func (x *BatchCreateMessagesResponse) String() string
- type BatchDeleteEntitiesRequest
- func (*BatchDeleteEntitiesRequest) Descriptor() ([]byte, []int)
- func (x *BatchDeleteEntitiesRequest) GetEntityValues() []string
- func (x *BatchDeleteEntitiesRequest) GetLanguageCode() string
- func (x *BatchDeleteEntitiesRequest) GetParent() string
- func (*BatchDeleteEntitiesRequest) ProtoMessage()
- func (x *BatchDeleteEntitiesRequest) ProtoReflect() protoreflect.Message
- func (x *BatchDeleteEntitiesRequest) Reset()
- func (x *BatchDeleteEntitiesRequest) String() string
- type BatchDeleteEntityTypesRequest
- func (*BatchDeleteEntityTypesRequest) Descriptor() ([]byte, []int)
- func (x *BatchDeleteEntityTypesRequest) GetEntityTypeNames() []string
- func (x *BatchDeleteEntityTypesRequest) GetParent() string
- func (*BatchDeleteEntityTypesRequest) ProtoMessage()
- func (x *BatchDeleteEntityTypesRequest) ProtoReflect() protoreflect.Message
- func (x *BatchDeleteEntityTypesRequest) Reset()
- func (x *BatchDeleteEntityTypesRequest) String() string
- type BatchDeleteIntentsRequest
- func (*BatchDeleteIntentsRequest) Descriptor() ([]byte, []int)
- func (x *BatchDeleteIntentsRequest) GetIntents() []*Intent
- func (x *BatchDeleteIntentsRequest) GetParent() string
- func (*BatchDeleteIntentsRequest) ProtoMessage()
- func (x *BatchDeleteIntentsRequest) ProtoReflect() protoreflect.Message
- func (x *BatchDeleteIntentsRequest) Reset()
- func (x *BatchDeleteIntentsRequest) String() string
- type BatchUpdateEntitiesRequest
- func (*BatchUpdateEntitiesRequest) Descriptor() ([]byte, []int)
- func (x *BatchUpdateEntitiesRequest) GetEntities() []*EntityType_Entity
- func (x *BatchUpdateEntitiesRequest) GetLanguageCode() string
- func (x *BatchUpdateEntitiesRequest) GetParent() string
- func (x *BatchUpdateEntitiesRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*BatchUpdateEntitiesRequest) ProtoMessage()
- func (x *BatchUpdateEntitiesRequest) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateEntitiesRequest) Reset()
- func (x *BatchUpdateEntitiesRequest) String() string
- type BatchUpdateEntityTypesRequest
- func (*BatchUpdateEntityTypesRequest) Descriptor() ([]byte, []int)
- func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatch() isBatchUpdateEntityTypesRequest_EntityTypeBatch
- func (x *BatchUpdateEntityTypesRequest) GetEntityTypeBatchInline() *EntityTypeBatch
- func (x *BatchUpdateEntityTypesRequest) GetEntityTypeBatchUri() string
- func (x *BatchUpdateEntityTypesRequest) GetLanguageCode() string
- func (x *BatchUpdateEntityTypesRequest) GetParent() string
- func (x *BatchUpdateEntityTypesRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*BatchUpdateEntityTypesRequest) ProtoMessage()
- func (x *BatchUpdateEntityTypesRequest) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateEntityTypesRequest) Reset()
- func (x *BatchUpdateEntityTypesRequest) String() string
- type BatchUpdateEntityTypesRequest_EntityTypeBatchInline
- type BatchUpdateEntityTypesRequest_EntityTypeBatchUri
- type BatchUpdateEntityTypesResponse
- func (*BatchUpdateEntityTypesResponse) Descriptor() ([]byte, []int)
- func (x *BatchUpdateEntityTypesResponse) GetEntityTypes() []*EntityType
- func (*BatchUpdateEntityTypesResponse) ProtoMessage()
- func (x *BatchUpdateEntityTypesResponse) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateEntityTypesResponse) Reset()
- func (x *BatchUpdateEntityTypesResponse) String() string
- type BatchUpdateIntentsRequest
- func (*BatchUpdateIntentsRequest) Descriptor() ([]byte, []int)
- func (m *BatchUpdateIntentsRequest) GetIntentBatch() isBatchUpdateIntentsRequest_IntentBatch
- func (x *BatchUpdateIntentsRequest) GetIntentBatchInline() *IntentBatch
- func (x *BatchUpdateIntentsRequest) GetIntentBatchUri() string
- func (x *BatchUpdateIntentsRequest) GetIntentView() IntentView
- func (x *BatchUpdateIntentsRequest) GetLanguageCode() string
- func (x *BatchUpdateIntentsRequest) GetParent() string
- func (x *BatchUpdateIntentsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*BatchUpdateIntentsRequest) ProtoMessage()
- func (x *BatchUpdateIntentsRequest) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateIntentsRequest) Reset()
- func (x *BatchUpdateIntentsRequest) String() string
- type BatchUpdateIntentsRequest_IntentBatchInline
- type BatchUpdateIntentsRequest_IntentBatchUri
- type BatchUpdateIntentsResponse
- func (*BatchUpdateIntentsResponse) Descriptor() ([]byte, []int)
- func (x *BatchUpdateIntentsResponse) GetIntents() []*Intent
- func (*BatchUpdateIntentsResponse) ProtoMessage()
- func (x *BatchUpdateIntentsResponse) ProtoReflect() protoreflect.Message
- func (x *BatchUpdateIntentsResponse) Reset()
- func (x *BatchUpdateIntentsResponse) String() string
- type ClearSuggestionFeatureConfigOperationMetadata
- func (*ClearSuggestionFeatureConfigOperationMetadata) Descriptor() ([]byte, []int)
- func (x *ClearSuggestionFeatureConfigOperationMetadata) GetConversationProfile() string
- func (x *ClearSuggestionFeatureConfigOperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *ClearSuggestionFeatureConfigOperationMetadata) GetParticipantRole() Participant_Role
- func (x *ClearSuggestionFeatureConfigOperationMetadata) GetSuggestionFeatureType() SuggestionFeature_Type
- func (*ClearSuggestionFeatureConfigOperationMetadata) ProtoMessage()
- func (x *ClearSuggestionFeatureConfigOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *ClearSuggestionFeatureConfigOperationMetadata) Reset()
- func (x *ClearSuggestionFeatureConfigOperationMetadata) String() string
- type ClearSuggestionFeatureConfigRequest
- func (*ClearSuggestionFeatureConfigRequest) Descriptor() ([]byte, []int)
- func (x *ClearSuggestionFeatureConfigRequest) GetConversationProfile() string
- func (x *ClearSuggestionFeatureConfigRequest) GetParticipantRole() Participant_Role
- func (x *ClearSuggestionFeatureConfigRequest) GetSuggestionFeatureType() SuggestionFeature_Type
- func (*ClearSuggestionFeatureConfigRequest) ProtoMessage()
- func (x *ClearSuggestionFeatureConfigRequest) ProtoReflect() protoreflect.Message
- func (x *ClearSuggestionFeatureConfigRequest) Reset()
- func (x *ClearSuggestionFeatureConfigRequest) String() string
- type CloudConversationDebuggingInfo
- func (*CloudConversationDebuggingInfo) Descriptor() ([]byte, []int)
- func (x *CloudConversationDebuggingInfo) GetAudioDataChunks() int32
- func (x *CloudConversationDebuggingInfo) GetBargeinEventTriggered() bool
- func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() *durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetClientHalfCloseTimeOffset() *durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetDtmfFinalResultsTimes() []*durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetDtmfPartialResultsTimes() []*durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetEndpointingTimeout() *durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetFirstAudioDuration() *durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetIsInputText() bool
- func (x *CloudConversationDebuggingInfo) GetNoSpeechTimeout() *durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetPartialResponses() int32
- func (x *CloudConversationDebuggingInfo) GetResultEndTimeOffset() *durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetSingleUtterance() bool
- func (x *CloudConversationDebuggingInfo) GetSingleUtteranceEndTimeOffset() *durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetSpeakerIdPassiveLatencyMsOffset() int32
- func (x *CloudConversationDebuggingInfo) GetSpeechFinalResultsEndTimes() []*durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetSpeechPartialResultsEndTimes() []*durationpb.Duration
- func (x *CloudConversationDebuggingInfo) GetSpeechSingleUtterance() bool
- func (*CloudConversationDebuggingInfo) ProtoMessage()
- func (x *CloudConversationDebuggingInfo) ProtoReflect() protoreflect.Message
- func (x *CloudConversationDebuggingInfo) Reset()
- func (x *CloudConversationDebuggingInfo) String() string
- type CompileSuggestionRequest
- func (*CompileSuggestionRequest) Descriptor() ([]byte, []int)
- func (x *CompileSuggestionRequest) GetContextSize() int32
- func (x *CompileSuggestionRequest) GetLatestMessage() string
- func (x *CompileSuggestionRequest) GetParent() string
- func (*CompileSuggestionRequest) ProtoMessage()
- func (x *CompileSuggestionRequest) ProtoReflect() protoreflect.Message
- func (x *CompileSuggestionRequest) Reset()
- func (x *CompileSuggestionRequest) String() string
- type CompileSuggestionResponse
- func (*CompileSuggestionResponse) Descriptor() ([]byte, []int)
- func (x *CompileSuggestionResponse) GetContextSize() int32
- func (x *CompileSuggestionResponse) GetLatestMessage() string
- func (x *CompileSuggestionResponse) GetSuggestion() *Suggestion
- func (*CompileSuggestionResponse) ProtoMessage()
- func (x *CompileSuggestionResponse) ProtoReflect() protoreflect.Message
- func (x *CompileSuggestionResponse) Reset()
- func (x *CompileSuggestionResponse) String() string
- type CompleteConversationRequest
- func (*CompleteConversationRequest) Descriptor() ([]byte, []int)
- func (x *CompleteConversationRequest) GetName() string
- func (*CompleteConversationRequest) ProtoMessage()
- func (x *CompleteConversationRequest) ProtoReflect() protoreflect.Message
- func (x *CompleteConversationRequest) Reset()
- func (x *CompleteConversationRequest) String() string
- type Connection
- func (*Connection) Descriptor() ([]byte, []int)
- func (x *Connection) GetConnectionId() string
- func (x *Connection) GetErrorDetails() *Connection_ErrorDetails
- func (x *Connection) GetState() Connection_State
- func (x *Connection) GetUpdateTime() *timestamppb.Timestamp
- func (*Connection) ProtoMessage()
- func (x *Connection) ProtoReflect() protoreflect.Message
- func (x *Connection) Reset()
- func (x *Connection) String() string
- type Connection_CertificateState
- func (Connection_CertificateState) Descriptor() protoreflect.EnumDescriptor
- func (x Connection_CertificateState) Enum() *Connection_CertificateState
- func (Connection_CertificateState) EnumDescriptor() ([]byte, []int)
- func (x Connection_CertificateState) Number() protoreflect.EnumNumber
- func (x Connection_CertificateState) String() string
- func (Connection_CertificateState) Type() protoreflect.EnumType
- type Connection_ErrorDetails
- func (*Connection_ErrorDetails) Descriptor() ([]byte, []int)
- func (x *Connection_ErrorDetails) GetCertificateState() Connection_CertificateState
- func (x *Connection_ErrorDetails) GetErrorMessage() string
- func (*Connection_ErrorDetails) ProtoMessage()
- func (x *Connection_ErrorDetails) ProtoReflect() protoreflect.Message
- func (x *Connection_ErrorDetails) Reset()
- func (x *Connection_ErrorDetails) String() string
- type Connection_State
- func (Connection_State) Descriptor() protoreflect.EnumDescriptor
- func (x Connection_State) Enum() *Connection_State
- func (Connection_State) EnumDescriptor() ([]byte, []int)
- func (x Connection_State) Number() protoreflect.EnumNumber
- func (x Connection_State) String() string
- func (Connection_State) Type() protoreflect.EnumType
- type Context
- func (*Context) Descriptor() ([]byte, []int)
- func (x *Context) GetLifespanCount() int32
- func (x *Context) GetName() string
- func (x *Context) GetParameters() *structpb.Struct
- func (*Context) ProtoMessage()
- func (x *Context) ProtoReflect() protoreflect.Message
- func (x *Context) Reset()
- func (x *Context) String() string
- type ContextsClient
- type ContextsServer
- type Conversation
- func (*Conversation) Descriptor() ([]byte, []int)
- func (x *Conversation) GetConversationProfile() string
- func (x *Conversation) GetConversationStage() Conversation_ConversationStage
- func (x *Conversation) GetEndTime() *timestamppb.Timestamp
- func (x *Conversation) GetLifecycleState() Conversation_LifecycleState
- func (x *Conversation) GetName() string
- func (x *Conversation) GetPhoneNumber() *ConversationPhoneNumber
- func (x *Conversation) GetStartTime() *timestamppb.Timestamp
- func (x *Conversation) GetTelephonyConnectionInfo() *Conversation_TelephonyConnectionInfo
- func (*Conversation) ProtoMessage()
- func (x *Conversation) ProtoReflect() protoreflect.Message
- func (x *Conversation) Reset()
- func (x *Conversation) String() string
- type ConversationContext
- func (*ConversationContext) Descriptor() ([]byte, []int)
- func (x *ConversationContext) GetMessageEntries() []*MessageEntry
- func (*ConversationContext) ProtoMessage()
- func (x *ConversationContext) ProtoReflect() protoreflect.Message
- func (x *ConversationContext) Reset()
- func (x *ConversationContext) String() string
- type ConversationEvent
- func (*ConversationEvent) Descriptor() ([]byte, []int)
- func (x *ConversationEvent) GetConversation() string
- func (x *ConversationEvent) GetErrorStatus() *status.Status
- func (x *ConversationEvent) GetNewMessagePayload() *Message
- func (x *ConversationEvent) GetNewRecognitionResultPayload() *StreamingRecognitionResult
- func (m *ConversationEvent) GetPayload() isConversationEvent_Payload
- func (x *ConversationEvent) GetType() ConversationEvent_Type
- func (*ConversationEvent) ProtoMessage()
- func (x *ConversationEvent) ProtoReflect() protoreflect.Message
- func (x *ConversationEvent) Reset()
- func (x *ConversationEvent) String() string
- type ConversationEvent_NewMessagePayload
- type ConversationEvent_NewRecognitionResultPayload
- type ConversationEvent_Type
- func (ConversationEvent_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ConversationEvent_Type) Enum() *ConversationEvent_Type
- func (ConversationEvent_Type) EnumDescriptor() ([]byte, []int)
- func (x ConversationEvent_Type) Number() protoreflect.EnumNumber
- func (x ConversationEvent_Type) String() string
- func (ConversationEvent_Type) Type() protoreflect.EnumType
- type ConversationPhoneNumber
- func (*ConversationPhoneNumber) Descriptor() ([]byte, []int)
- func (x *ConversationPhoneNumber) GetCountryCode() int32
- func (x *ConversationPhoneNumber) GetPhoneNumber() string
- func (*ConversationPhoneNumber) ProtoMessage()
- func (x *ConversationPhoneNumber) ProtoReflect() protoreflect.Message
- func (x *ConversationPhoneNumber) Reset()
- func (x *ConversationPhoneNumber) String() string
- type ConversationProfile
- func (*ConversationProfile) Descriptor() ([]byte, []int)
- func (x *ConversationProfile) GetAutomatedAgentConfig() *AutomatedAgentConfig
- func (x *ConversationProfile) GetCreateTime() *timestamppb.Timestamp
- func (x *ConversationProfile) GetDisplayName() string
- func (x *ConversationProfile) GetHumanAgentAssistantConfig() *HumanAgentAssistantConfig
- func (x *ConversationProfile) GetHumanAgentHandoffConfig() *HumanAgentHandoffConfig
- func (x *ConversationProfile) GetLanguageCode() string
- func (x *ConversationProfile) GetLoggingConfig() *LoggingConfig
- func (x *ConversationProfile) GetName() string
- func (x *ConversationProfile) GetNewMessageEventNotificationConfig() *NotificationConfig
- func (x *ConversationProfile) GetNewRecognitionResultNotificationConfig() *NotificationConfig
- func (x *ConversationProfile) GetNotificationConfig() *NotificationConfig
- func (x *ConversationProfile) GetSecuritySettings() string
- func (x *ConversationProfile) GetSttConfig() *SpeechToTextConfig
- func (x *ConversationProfile) GetTimeZone() string
- func (x *ConversationProfile) GetTtsConfig() *SynthesizeSpeechConfig
- func (x *ConversationProfile) GetUpdateTime() *timestamppb.Timestamp
- func (*ConversationProfile) ProtoMessage()
- func (x *ConversationProfile) ProtoReflect() protoreflect.Message
- func (x *ConversationProfile) Reset()
- func (x *ConversationProfile) String() string
- type ConversationProfilesClient
- type ConversationProfilesServer
- type Conversation_ConversationStage
- func (Conversation_ConversationStage) Descriptor() protoreflect.EnumDescriptor
- func (x Conversation_ConversationStage) Enum() *Conversation_ConversationStage
- func (Conversation_ConversationStage) EnumDescriptor() ([]byte, []int)
- func (x Conversation_ConversationStage) Number() protoreflect.EnumNumber
- func (x Conversation_ConversationStage) String() string
- func (Conversation_ConversationStage) Type() protoreflect.EnumType
- type Conversation_LifecycleState
- func (Conversation_LifecycleState) Descriptor() protoreflect.EnumDescriptor
- func (x Conversation_LifecycleState) Enum() *Conversation_LifecycleState
- func (Conversation_LifecycleState) EnumDescriptor() ([]byte, []int)
- func (x Conversation_LifecycleState) Number() protoreflect.EnumNumber
- func (x Conversation_LifecycleState) String() string
- func (Conversation_LifecycleState) Type() protoreflect.EnumType
- type Conversation_TelephonyConnectionInfo
- func (*Conversation_TelephonyConnectionInfo) Descriptor() ([]byte, []int)
- func (x *Conversation_TelephonyConnectionInfo) GetDialedNumber() string
- func (x *Conversation_TelephonyConnectionInfo) GetExtraMimeContents() []*Conversation_TelephonyConnectionInfo_MimeContent
- func (x *Conversation_TelephonyConnectionInfo) GetSdp() string
- func (x *Conversation_TelephonyConnectionInfo) GetSipHeaders() []*Conversation_TelephonyConnectionInfo_SipHeader
- func (*Conversation_TelephonyConnectionInfo) ProtoMessage()
- func (x *Conversation_TelephonyConnectionInfo) ProtoReflect() protoreflect.Message
- func (x *Conversation_TelephonyConnectionInfo) Reset()
- func (x *Conversation_TelephonyConnectionInfo) String() string
- type Conversation_TelephonyConnectionInfo_MimeContent
- func (*Conversation_TelephonyConnectionInfo_MimeContent) Descriptor() ([]byte, []int)
- func (x *Conversation_TelephonyConnectionInfo_MimeContent) GetContent() []byte
- func (x *Conversation_TelephonyConnectionInfo_MimeContent) GetMimeType() string
- func (*Conversation_TelephonyConnectionInfo_MimeContent) ProtoMessage()
- func (x *Conversation_TelephonyConnectionInfo_MimeContent) ProtoReflect() protoreflect.Message
- func (x *Conversation_TelephonyConnectionInfo_MimeContent) Reset()
- func (x *Conversation_TelephonyConnectionInfo_MimeContent) String() string
- type Conversation_TelephonyConnectionInfo_SipHeader
- func (*Conversation_TelephonyConnectionInfo_SipHeader) Descriptor() ([]byte, []int)
- func (x *Conversation_TelephonyConnectionInfo_SipHeader) GetName() string
- func (x *Conversation_TelephonyConnectionInfo_SipHeader) GetValue() string
- func (*Conversation_TelephonyConnectionInfo_SipHeader) ProtoMessage()
- func (x *Conversation_TelephonyConnectionInfo_SipHeader) ProtoReflect() protoreflect.Message
- func (x *Conversation_TelephonyConnectionInfo_SipHeader) Reset()
- func (x *Conversation_TelephonyConnectionInfo_SipHeader) String() string
- type ConversationsClient
- type ConversationsServer
- type CreateContextRequest
- func (*CreateContextRequest) Descriptor() ([]byte, []int)
- func (x *CreateContextRequest) GetContext() *Context
- func (x *CreateContextRequest) GetParent() string
- func (*CreateContextRequest) ProtoMessage()
- func (x *CreateContextRequest) ProtoReflect() protoreflect.Message
- func (x *CreateContextRequest) Reset()
- func (x *CreateContextRequest) String() string
- type CreateConversationProfileRequest
- func (*CreateConversationProfileRequest) Descriptor() ([]byte, []int)
- func (x *CreateConversationProfileRequest) GetConversationProfile() *ConversationProfile
- func (x *CreateConversationProfileRequest) GetParent() string
- func (*CreateConversationProfileRequest) ProtoMessage()
- func (x *CreateConversationProfileRequest) ProtoReflect() protoreflect.Message
- func (x *CreateConversationProfileRequest) Reset()
- func (x *CreateConversationProfileRequest) String() string
- type CreateConversationRequest
- func (*CreateConversationRequest) Descriptor() ([]byte, []int)
- func (x *CreateConversationRequest) GetConversation() *Conversation
- func (x *CreateConversationRequest) GetConversationId() string
- func (x *CreateConversationRequest) GetParent() string
- func (*CreateConversationRequest) ProtoMessage()
- func (x *CreateConversationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateConversationRequest) Reset()
- func (x *CreateConversationRequest) String() string
- type CreateDocumentRequest
- func (*CreateDocumentRequest) Descriptor() ([]byte, []int)
- func (x *CreateDocumentRequest) GetDocument() *Document
- func (x *CreateDocumentRequest) GetImportGcsCustomMetadata() bool
- func (x *CreateDocumentRequest) GetParent() string
- func (*CreateDocumentRequest) ProtoMessage()
- func (x *CreateDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDocumentRequest) Reset()
- func (x *CreateDocumentRequest) String() string
- type CreateEntityTypeRequest
- func (*CreateEntityTypeRequest) Descriptor() ([]byte, []int)
- func (x *CreateEntityTypeRequest) GetEntityType() *EntityType
- func (x *CreateEntityTypeRequest) GetLanguageCode() string
- func (x *CreateEntityTypeRequest) GetParent() string
- func (*CreateEntityTypeRequest) ProtoMessage()
- func (x *CreateEntityTypeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEntityTypeRequest) Reset()
- func (x *CreateEntityTypeRequest) String() string
- type CreateEnvironmentRequest
- func (*CreateEnvironmentRequest) Descriptor() ([]byte, []int)
- func (x *CreateEnvironmentRequest) GetEnvironment() *Environment
- func (x *CreateEnvironmentRequest) GetEnvironmentId() string
- func (x *CreateEnvironmentRequest) GetParent() string
- func (*CreateEnvironmentRequest) ProtoMessage()
- func (x *CreateEnvironmentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEnvironmentRequest) Reset()
- func (x *CreateEnvironmentRequest) String() string
- type CreateGeneratorRequest
- func (*CreateGeneratorRequest) Descriptor() ([]byte, []int)
- func (x *CreateGeneratorRequest) GetGenerator() *Generator
- func (x *CreateGeneratorRequest) GetGeneratorId() string
- func (x *CreateGeneratorRequest) GetParent() string
- func (*CreateGeneratorRequest) ProtoMessage()
- func (x *CreateGeneratorRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGeneratorRequest) Reset()
- func (x *CreateGeneratorRequest) String() string
- type CreateIntentRequest
- func (*CreateIntentRequest) Descriptor() ([]byte, []int)
- func (x *CreateIntentRequest) GetIntent() *Intent
- func (x *CreateIntentRequest) GetIntentView() IntentView
- func (x *CreateIntentRequest) GetLanguageCode() string
- func (x *CreateIntentRequest) GetParent() string
- func (*CreateIntentRequest) ProtoMessage()
- func (x *CreateIntentRequest) ProtoReflect() protoreflect.Message
- func (x *CreateIntentRequest) Reset()
- func (x *CreateIntentRequest) String() string
- type CreateKnowledgeBaseRequest
- func (*CreateKnowledgeBaseRequest) Descriptor() ([]byte, []int)
- func (x *CreateKnowledgeBaseRequest) GetKnowledgeBase() *KnowledgeBase
- func (x *CreateKnowledgeBaseRequest) GetParent() string
- func (*CreateKnowledgeBaseRequest) ProtoMessage()
- func (x *CreateKnowledgeBaseRequest) ProtoReflect() protoreflect.Message
- func (x *CreateKnowledgeBaseRequest) Reset()
- func (x *CreateKnowledgeBaseRequest) String() string
- type CreateMessageRequest
- func (*CreateMessageRequest) Descriptor() ([]byte, []int)
- func (x *CreateMessageRequest) GetMessage() *Message
- func (x *CreateMessageRequest) GetParent() string
- func (*CreateMessageRequest) ProtoMessage()
- func (x *CreateMessageRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMessageRequest) Reset()
- func (x *CreateMessageRequest) String() string
- type CreateParticipantRequest
- func (*CreateParticipantRequest) Descriptor() ([]byte, []int)
- func (x *CreateParticipantRequest) GetParent() string
- func (x *CreateParticipantRequest) GetParticipant() *Participant
- func (*CreateParticipantRequest) ProtoMessage()
- func (x *CreateParticipantRequest) ProtoReflect() protoreflect.Message
- func (x *CreateParticipantRequest) Reset()
- func (x *CreateParticipantRequest) String() string
- type CreateSessionEntityTypeRequest
- func (*CreateSessionEntityTypeRequest) Descriptor() ([]byte, []int)
- func (x *CreateSessionEntityTypeRequest) GetParent() string
- func (x *CreateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType
- func (*CreateSessionEntityTypeRequest) ProtoMessage()
- func (x *CreateSessionEntityTypeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSessionEntityTypeRequest) Reset()
- func (x *CreateSessionEntityTypeRequest) String() string
- type CreateSipTrunkRequest
- func (*CreateSipTrunkRequest) Descriptor() ([]byte, []int)
- func (x *CreateSipTrunkRequest) GetParent() string
- func (x *CreateSipTrunkRequest) GetSipTrunk() *SipTrunk
- func (*CreateSipTrunkRequest) ProtoMessage()
- func (x *CreateSipTrunkRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSipTrunkRequest) Reset()
- func (x *CreateSipTrunkRequest) String() string
- type CreateVersionRequest
- func (*CreateVersionRequest) Descriptor() ([]byte, []int)
- func (x *CreateVersionRequest) GetParent() string
- func (x *CreateVersionRequest) GetVersion() *Version
- func (*CreateVersionRequest) ProtoMessage()
- func (x *CreateVersionRequest) ProtoReflect() protoreflect.Message
- func (x *CreateVersionRequest) Reset()
- func (x *CreateVersionRequest) String() string
- type DeleteAgentRequest
- func (*DeleteAgentRequest) Descriptor() ([]byte, []int)
- func (x *DeleteAgentRequest) GetParent() string
- func (*DeleteAgentRequest) ProtoMessage()
- func (x *DeleteAgentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAgentRequest) Reset()
- func (x *DeleteAgentRequest) String() string
- type DeleteAllContextsRequest
- func (*DeleteAllContextsRequest) Descriptor() ([]byte, []int)
- func (x *DeleteAllContextsRequest) GetParent() string
- func (*DeleteAllContextsRequest) ProtoMessage()
- func (x *DeleteAllContextsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAllContextsRequest) Reset()
- func (x *DeleteAllContextsRequest) String() string
- type DeleteContextRequest
- func (*DeleteContextRequest) Descriptor() ([]byte, []int)
- func (x *DeleteContextRequest) GetName() string
- func (*DeleteContextRequest) ProtoMessage()
- func (x *DeleteContextRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteContextRequest) Reset()
- func (x *DeleteContextRequest) String() string
- type DeleteConversationProfileRequest
- func (*DeleteConversationProfileRequest) Descriptor() ([]byte, []int)
- func (x *DeleteConversationProfileRequest) GetName() string
- func (*DeleteConversationProfileRequest) ProtoMessage()
- func (x *DeleteConversationProfileRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteConversationProfileRequest) Reset()
- func (x *DeleteConversationProfileRequest) String() string
- type DeleteDocumentRequest
- func (*DeleteDocumentRequest) Descriptor() ([]byte, []int)
- func (x *DeleteDocumentRequest) GetName() string
- func (*DeleteDocumentRequest) ProtoMessage()
- func (x *DeleteDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDocumentRequest) Reset()
- func (x *DeleteDocumentRequest) String() string
- type DeleteEntityTypeRequest
- func (*DeleteEntityTypeRequest) Descriptor() ([]byte, []int)
- func (x *DeleteEntityTypeRequest) GetName() string
- func (*DeleteEntityTypeRequest) ProtoMessage()
- func (x *DeleteEntityTypeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEntityTypeRequest) Reset()
- func (x *DeleteEntityTypeRequest) String() string
- type DeleteEnvironmentRequest
- func (*DeleteEnvironmentRequest) Descriptor() ([]byte, []int)
- func (x *DeleteEnvironmentRequest) GetName() string
- func (*DeleteEnvironmentRequest) ProtoMessage()
- func (x *DeleteEnvironmentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEnvironmentRequest) Reset()
- func (x *DeleteEnvironmentRequest) String() string
- type DeleteGeneratorRequest
- func (*DeleteGeneratorRequest) Descriptor() ([]byte, []int)
- func (x *DeleteGeneratorRequest) GetName() string
- func (*DeleteGeneratorRequest) ProtoMessage()
- func (x *DeleteGeneratorRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGeneratorRequest) Reset()
- func (x *DeleteGeneratorRequest) String() string
- type DeleteIntentRequest
- func (*DeleteIntentRequest) Descriptor() ([]byte, []int)
- func (x *DeleteIntentRequest) GetName() string
- func (*DeleteIntentRequest) ProtoMessage()
- func (x *DeleteIntentRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteIntentRequest) Reset()
- func (x *DeleteIntentRequest) String() string
- type DeleteKnowledgeBaseRequest
- func (*DeleteKnowledgeBaseRequest) Descriptor() ([]byte, []int)
- func (x *DeleteKnowledgeBaseRequest) GetForce() bool
- func (x *DeleteKnowledgeBaseRequest) GetName() string
- func (*DeleteKnowledgeBaseRequest) ProtoMessage()
- func (x *DeleteKnowledgeBaseRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteKnowledgeBaseRequest) Reset()
- func (x *DeleteKnowledgeBaseRequest) String() string
- type DeletePhoneNumberRequest
- func (*DeletePhoneNumberRequest) Descriptor() ([]byte, []int)
- func (x *DeletePhoneNumberRequest) GetName() string
- func (*DeletePhoneNumberRequest) ProtoMessage()
- func (x *DeletePhoneNumberRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePhoneNumberRequest) Reset()
- func (x *DeletePhoneNumberRequest) String() string
- type DeleteSessionEntityTypeRequest
- func (*DeleteSessionEntityTypeRequest) Descriptor() ([]byte, []int)
- func (x *DeleteSessionEntityTypeRequest) GetName() string
- func (*DeleteSessionEntityTypeRequest) ProtoMessage()
- func (x *DeleteSessionEntityTypeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSessionEntityTypeRequest) Reset()
- func (x *DeleteSessionEntityTypeRequest) String() string
- type DeleteSipTrunkRequest
- func (*DeleteSipTrunkRequest) Descriptor() ([]byte, []int)
- func (x *DeleteSipTrunkRequest) GetName() string
- func (*DeleteSipTrunkRequest) ProtoMessage()
- func (x *DeleteSipTrunkRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSipTrunkRequest) Reset()
- func (x *DeleteSipTrunkRequest) String() string
- type DeleteVersionRequest
- func (*DeleteVersionRequest) Descriptor() ([]byte, []int)
- func (x *DeleteVersionRequest) GetName() string
- func (*DeleteVersionRequest) ProtoMessage()
- func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteVersionRequest) Reset()
- func (x *DeleteVersionRequest) String() string
- type DetectIntentRequest
- func (*DetectIntentRequest) Descriptor() ([]byte, []int)
- func (x *DetectIntentRequest) GetInputAudio() []byte
- func (x *DetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig
- func (x *DetectIntentRequest) GetOutputAudioConfigMask() *fieldmaskpb.FieldMask
- func (x *DetectIntentRequest) GetQueryInput() *QueryInput
- func (x *DetectIntentRequest) GetQueryParams() *QueryParameters
- func (x *DetectIntentRequest) GetSession() string
- func (*DetectIntentRequest) ProtoMessage()
- func (x *DetectIntentRequest) ProtoReflect() protoreflect.Message
- func (x *DetectIntentRequest) Reset()
- func (x *DetectIntentRequest) String() string
- type DetectIntentResponse
- func (*DetectIntentResponse) Descriptor() ([]byte, []int)
- func (x *DetectIntentResponse) GetAlternativeQueryResults() []*QueryResult
- func (x *DetectIntentResponse) GetOutputAudio() []byte
- func (x *DetectIntentResponse) GetOutputAudioConfig() *OutputAudioConfig
- func (x *DetectIntentResponse) GetQueryResult() *QueryResult
- func (x *DetectIntentResponse) GetResponseId() string
- func (x *DetectIntentResponse) GetWebhookStatus() *status.Status
- func (*DetectIntentResponse) ProtoMessage()
- func (x *DetectIntentResponse) ProtoReflect() protoreflect.Message
- func (x *DetectIntentResponse) Reset()
- func (x *DetectIntentResponse) String() string
- type DialogflowAssistAnswer
- func (*DialogflowAssistAnswer) Descriptor() ([]byte, []int)
- func (x *DialogflowAssistAnswer) GetAnswerRecord() string
- func (x *DialogflowAssistAnswer) GetIntentSuggestion() *IntentSuggestion
- func (x *DialogflowAssistAnswer) GetQueryResult() *QueryResult
- func (m *DialogflowAssistAnswer) GetResult() isDialogflowAssistAnswer_Result
- func (*DialogflowAssistAnswer) ProtoMessage()
- func (x *DialogflowAssistAnswer) ProtoReflect() protoreflect.Message
- func (x *DialogflowAssistAnswer) Reset()
- func (x *DialogflowAssistAnswer) String() string
- type DialogflowAssistAnswer_IntentSuggestion
- type DialogflowAssistAnswer_QueryResult
- type Document
- func (*Document) Descriptor() ([]byte, []int)
- func (x *Document) GetContent() string
- func (x *Document) GetContentUri() string
- func (x *Document) GetDisplayName() string
- func (x *Document) GetEnableAutoReload() bool
- func (x *Document) GetKnowledgeTypes() []Document_KnowledgeType
- func (x *Document) GetLatestReloadStatus() *Document_ReloadStatus
- func (x *Document) GetMetadata() map[string]string
- func (x *Document) GetMimeType() string
- func (x *Document) GetName() string
- func (x *Document) GetRawContent() []byte
- func (m *Document) GetSource() isDocument_Source
- func (x *Document) GetState() Document_State
- func (*Document) ProtoMessage()
- func (x *Document) ProtoReflect() protoreflect.Message
- func (x *Document) Reset()
- func (x *Document) String() string
- type Document_Content
- type Document_ContentUri
- type Document_KnowledgeType
- func (Document_KnowledgeType) Descriptor() protoreflect.EnumDescriptor
- func (x Document_KnowledgeType) Enum() *Document_KnowledgeType
- func (Document_KnowledgeType) EnumDescriptor() ([]byte, []int)
- func (x Document_KnowledgeType) Number() protoreflect.EnumNumber
- func (x Document_KnowledgeType) String() string
- func (Document_KnowledgeType) Type() protoreflect.EnumType
- type Document_RawContent
- type Document_ReloadStatus
- func (*Document_ReloadStatus) Descriptor() ([]byte, []int)
- func (x *Document_ReloadStatus) GetStatus() *status.Status
- func (x *Document_ReloadStatus) GetTime() *timestamppb.Timestamp
- func (*Document_ReloadStatus) ProtoMessage()
- func (x *Document_ReloadStatus) ProtoReflect() protoreflect.Message
- func (x *Document_ReloadStatus) Reset()
- func (x *Document_ReloadStatus) String() string
- type Document_State
- func (Document_State) Descriptor() protoreflect.EnumDescriptor
- func (x Document_State) Enum() *Document_State
- func (Document_State) EnumDescriptor() ([]byte, []int)
- func (x Document_State) Number() protoreflect.EnumNumber
- func (x Document_State) String() string
- func (Document_State) Type() protoreflect.EnumType
- type DocumentsClient
- type DocumentsServer
- type DtmfParameters
- func (*DtmfParameters) Descriptor() ([]byte, []int)
- func (x *DtmfParameters) GetAcceptsDtmfInput() bool
- func (*DtmfParameters) ProtoMessage()
- func (x *DtmfParameters) ProtoReflect() protoreflect.Message
- func (x *DtmfParameters) Reset()
- func (x *DtmfParameters) String() string
- type EncryptionSpec
- func (*EncryptionSpec) Descriptor() ([]byte, []int)
- func (x *EncryptionSpec) GetKmsKey() string
- func (x *EncryptionSpec) GetName() string
- func (*EncryptionSpec) ProtoMessage()
- func (x *EncryptionSpec) ProtoReflect() protoreflect.Message
- func (x *EncryptionSpec) Reset()
- func (x *EncryptionSpec) String() string
- type EncryptionSpecServiceClient
- type EncryptionSpecServiceServer
- type EntityType
- func (*EntityType) Descriptor() ([]byte, []int)
- func (x *EntityType) GetAutoExpansionMode() EntityType_AutoExpansionMode
- func (x *EntityType) GetDisplayName() string
- func (x *EntityType) GetEnableFuzzyExtraction() bool
- func (x *EntityType) GetEntities() []*EntityType_Entity
- func (x *EntityType) GetKind() EntityType_Kind
- func (x *EntityType) GetName() string
- func (*EntityType) ProtoMessage()
- func (x *EntityType) ProtoReflect() protoreflect.Message
- func (x *EntityType) Reset()
- func (x *EntityType) String() string
- type EntityTypeBatch
- func (*EntityTypeBatch) Descriptor() ([]byte, []int)
- func (x *EntityTypeBatch) GetEntityTypes() []*EntityType
- func (*EntityTypeBatch) ProtoMessage()
- func (x *EntityTypeBatch) ProtoReflect() protoreflect.Message
- func (x *EntityTypeBatch) Reset()
- func (x *EntityTypeBatch) String() string
- type EntityType_AutoExpansionMode
- func (EntityType_AutoExpansionMode) Descriptor() protoreflect.EnumDescriptor
- func (x EntityType_AutoExpansionMode) Enum() *EntityType_AutoExpansionMode
- func (EntityType_AutoExpansionMode) EnumDescriptor() ([]byte, []int)
- func (x EntityType_AutoExpansionMode) Number() protoreflect.EnumNumber
- func (x EntityType_AutoExpansionMode) String() string
- func (EntityType_AutoExpansionMode) Type() protoreflect.EnumType
- type EntityType_Entity
- func (*EntityType_Entity) Descriptor() ([]byte, []int)
- func (x *EntityType_Entity) GetSynonyms() []string
- func (x *EntityType_Entity) GetValue() string
- func (*EntityType_Entity) ProtoMessage()
- func (x *EntityType_Entity) ProtoReflect() protoreflect.Message
- func (x *EntityType_Entity) Reset()
- func (x *EntityType_Entity) String() string
- type EntityType_Kind
- func (EntityType_Kind) Descriptor() protoreflect.EnumDescriptor
- func (x EntityType_Kind) Enum() *EntityType_Kind
- func (EntityType_Kind) EnumDescriptor() ([]byte, []int)
- func (x EntityType_Kind) Number() protoreflect.EnumNumber
- func (x EntityType_Kind) String() string
- func (EntityType_Kind) Type() protoreflect.EnumType
- type EntityTypesClient
- type EntityTypesServer
- type Environment
- func (*Environment) Descriptor() ([]byte, []int)
- func (x *Environment) GetAgentVersion() string
- func (x *Environment) GetDescription() string
- func (x *Environment) GetFulfillment() *Fulfillment
- func (x *Environment) GetName() string
- func (x *Environment) GetState() Environment_State
- func (x *Environment) GetTextToSpeechSettings() *TextToSpeechSettings
- func (x *Environment) GetUpdateTime() *timestamppb.Timestamp
- func (*Environment) ProtoMessage()
- func (x *Environment) ProtoReflect() protoreflect.Message
- func (x *Environment) Reset()
- func (x *Environment) String() string
- type EnvironmentHistory
- func (*EnvironmentHistory) Descriptor() ([]byte, []int)
- func (x *EnvironmentHistory) GetEntries() []*EnvironmentHistory_Entry
- func (x *EnvironmentHistory) GetNextPageToken() string
- func (x *EnvironmentHistory) GetParent() string
- func (*EnvironmentHistory) ProtoMessage()
- func (x *EnvironmentHistory) ProtoReflect() protoreflect.Message
- func (x *EnvironmentHistory) Reset()
- func (x *EnvironmentHistory) String() string
- type EnvironmentHistory_Entry
- func (*EnvironmentHistory_Entry) Descriptor() ([]byte, []int)
- func (x *EnvironmentHistory_Entry) GetAgentVersion() string
- func (x *EnvironmentHistory_Entry) GetCreateTime() *timestamppb.Timestamp
- func (x *EnvironmentHistory_Entry) GetDescription() string
- func (*EnvironmentHistory_Entry) ProtoMessage()
- func (x *EnvironmentHistory_Entry) ProtoReflect() protoreflect.Message
- func (x *EnvironmentHistory_Entry) Reset()
- func (x *EnvironmentHistory_Entry) String() string
- type Environment_State
- func (Environment_State) Descriptor() protoreflect.EnumDescriptor
- func (x Environment_State) Enum() *Environment_State
- func (Environment_State) EnumDescriptor() ([]byte, []int)
- func (x Environment_State) Number() protoreflect.EnumNumber
- func (x Environment_State) String() string
- func (Environment_State) Type() protoreflect.EnumType
- type EnvironmentsClient
- type EnvironmentsServer
- type EventInput
- func (*EventInput) Descriptor() ([]byte, []int)
- func (x *EventInput) GetLanguageCode() string
- func (x *EventInput) GetName() string
- func (x *EventInput) GetParameters() *structpb.Struct
- func (*EventInput) ProtoMessage()
- func (x *EventInput) ProtoReflect() protoreflect.Message
- func (x *EventInput) Reset()
- func (x *EventInput) String() string
- type ExportAgentRequest
- func (*ExportAgentRequest) Descriptor() ([]byte, []int)
- func (x *ExportAgentRequest) GetAgentUri() string
- func (x *ExportAgentRequest) GetParent() string
- func (*ExportAgentRequest) ProtoMessage()
- func (x *ExportAgentRequest) ProtoReflect() protoreflect.Message
- func (x *ExportAgentRequest) Reset()
- func (x *ExportAgentRequest) String() string
- type ExportAgentResponse
- func (*ExportAgentResponse) Descriptor() ([]byte, []int)
- func (m *ExportAgentResponse) GetAgent() isExportAgentResponse_Agent
- func (x *ExportAgentResponse) GetAgentContent() []byte
- func (x *ExportAgentResponse) GetAgentUri() string
- func (*ExportAgentResponse) ProtoMessage()
- func (x *ExportAgentResponse) ProtoReflect() protoreflect.Message
- func (x *ExportAgentResponse) Reset()
- func (x *ExportAgentResponse) String() string
- type ExportAgentResponse_AgentContent
- type ExportAgentResponse_AgentUri
- type ExportOperationMetadata
- func (*ExportOperationMetadata) Descriptor() ([]byte, []int)
- func (x *ExportOperationMetadata) GetExportedGcsDestination() *GcsDestination
- func (*ExportOperationMetadata) ProtoMessage()
- func (x *ExportOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *ExportOperationMetadata) Reset()
- func (x *ExportOperationMetadata) String() string
- type FaqAnswer
- func (*FaqAnswer) Descriptor() ([]byte, []int)
- func (x *FaqAnswer) GetAnswer() string
- func (x *FaqAnswer) GetAnswerRecord() string
- func (x *FaqAnswer) GetConfidence() float32
- func (x *FaqAnswer) GetMetadata() map[string]string
- func (x *FaqAnswer) GetQuestion() string
- func (x *FaqAnswer) GetSource() string
- func (*FaqAnswer) ProtoMessage()
- func (x *FaqAnswer) ProtoReflect() protoreflect.Message
- func (x *FaqAnswer) Reset()
- func (x *FaqAnswer) String() string
- type FewShotExample
- func (*FewShotExample) Descriptor() ([]byte, []int)
- func (x *FewShotExample) GetConversationContext() *ConversationContext
- func (x *FewShotExample) GetExtraInfo() map[string]string
- func (m *FewShotExample) GetInstructionList() isFewShotExample_InstructionList
- func (x *FewShotExample) GetOutput() *GeneratorSuggestion
- func (x *FewShotExample) GetSummarizationSectionList() *SummarizationSectionList
- func (*FewShotExample) ProtoMessage()
- func (x *FewShotExample) ProtoReflect() protoreflect.Message
- func (x *FewShotExample) Reset()
- func (x *FewShotExample) String() string
- type FewShotExample_SummarizationSectionList
- type Fulfillment
- func (*Fulfillment) Descriptor() ([]byte, []int)
- func (x *Fulfillment) GetDisplayName() string
- func (x *Fulfillment) GetEnabled() bool
- func (x *Fulfillment) GetFeatures() []*Fulfillment_Feature
- func (m *Fulfillment) GetFulfillment() isFulfillment_Fulfillment
- func (x *Fulfillment) GetGenericWebService() *Fulfillment_GenericWebService
- func (x *Fulfillment) GetName() string
- func (*Fulfillment) ProtoMessage()
- func (x *Fulfillment) ProtoReflect() protoreflect.Message
- func (x *Fulfillment) Reset()
- func (x *Fulfillment) String() string
- type Fulfillment_Feature
- func (*Fulfillment_Feature) Descriptor() ([]byte, []int)
- func (x *Fulfillment_Feature) GetType() Fulfillment_Feature_Type
- func (*Fulfillment_Feature) ProtoMessage()
- func (x *Fulfillment_Feature) ProtoReflect() protoreflect.Message
- func (x *Fulfillment_Feature) Reset()
- func (x *Fulfillment_Feature) String() string
- type Fulfillment_Feature_Type
- func (Fulfillment_Feature_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Fulfillment_Feature_Type) Enum() *Fulfillment_Feature_Type
- func (Fulfillment_Feature_Type) EnumDescriptor() ([]byte, []int)
- func (x Fulfillment_Feature_Type) Number() protoreflect.EnumNumber
- func (x Fulfillment_Feature_Type) String() string
- func (Fulfillment_Feature_Type) Type() protoreflect.EnumType
- type Fulfillment_GenericWebService
- func (*Fulfillment_GenericWebService) Descriptor() ([]byte, []int)
- func (x *Fulfillment_GenericWebService) GetIsCloudFunction() bool
- func (x *Fulfillment_GenericWebService) GetPassword() string
- func (x *Fulfillment_GenericWebService) GetRequestHeaders() map[string]string
- func (x *Fulfillment_GenericWebService) GetUri() string
- func (x *Fulfillment_GenericWebService) GetUsername() string
- func (*Fulfillment_GenericWebService) ProtoMessage()
- func (x *Fulfillment_GenericWebService) ProtoReflect() protoreflect.Message
- func (x *Fulfillment_GenericWebService) Reset()
- func (x *Fulfillment_GenericWebService) String() string
- type Fulfillment_GenericWebService_
- type FulfillmentsClient
- type FulfillmentsServer
- type GcsDestination
- func (*GcsDestination) Descriptor() ([]byte, []int)
- func (x *GcsDestination) GetUri() string
- func (*GcsDestination) ProtoMessage()
- func (x *GcsDestination) ProtoReflect() protoreflect.Message
- func (x *GcsDestination) Reset()
- func (x *GcsDestination) String() string
- type GcsSource
- func (*GcsSource) Descriptor() ([]byte, []int)
- func (x *GcsSource) GetUri() string
- func (*GcsSource) ProtoMessage()
- func (x *GcsSource) ProtoReflect() protoreflect.Message
- func (x *GcsSource) Reset()
- func (x *GcsSource) String() string
- type GcsSources
- func (*GcsSources) Descriptor() ([]byte, []int)
- func (x *GcsSources) GetUris() []string
- func (*GcsSources) ProtoMessage()
- func (x *GcsSources) ProtoReflect() protoreflect.Message
- func (x *GcsSources) Reset()
- func (x *GcsSources) String() string
- type GenerateStatelessSuggestionRequest
- func (*GenerateStatelessSuggestionRequest) Descriptor() ([]byte, []int)
- func (x *GenerateStatelessSuggestionRequest) GetConversationContext() *ConversationContext
- func (x *GenerateStatelessSuggestionRequest) GetGenerator() *Generator
- func (x *GenerateStatelessSuggestionRequest) GetGeneratorName() string
- func (m *GenerateStatelessSuggestionRequest) GetGeneratorResource() isGenerateStatelessSuggestionRequest_GeneratorResource
- func (x *GenerateStatelessSuggestionRequest) GetParent() string
- func (x *GenerateStatelessSuggestionRequest) GetTriggerEvents() []TriggerEvent
- func (*GenerateStatelessSuggestionRequest) ProtoMessage()
- func (x *GenerateStatelessSuggestionRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateStatelessSuggestionRequest) Reset()
- func (x *GenerateStatelessSuggestionRequest) String() string
- type GenerateStatelessSuggestionRequest_Generator
- type GenerateStatelessSuggestionRequest_GeneratorName
- type GenerateStatelessSuggestionResponse
- func (*GenerateStatelessSuggestionResponse) Descriptor() ([]byte, []int)
- func (x *GenerateStatelessSuggestionResponse) GetGeneratorSuggestion() *GeneratorSuggestion
- func (*GenerateStatelessSuggestionResponse) ProtoMessage()
- func (x *GenerateStatelessSuggestionResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateStatelessSuggestionResponse) Reset()
- func (x *GenerateStatelessSuggestionResponse) String() string
- type GenerateStatelessSummaryRequest
- func (*GenerateStatelessSummaryRequest) Descriptor() ([]byte, []int)
- func (x *GenerateStatelessSummaryRequest) GetConversationProfile() *ConversationProfile
- func (x *GenerateStatelessSummaryRequest) GetLatestMessage() string
- func (x *GenerateStatelessSummaryRequest) GetMaxContextSize() int32
- func (x *GenerateStatelessSummaryRequest) GetStatelessConversation() *GenerateStatelessSummaryRequest_MinimalConversation
- func (*GenerateStatelessSummaryRequest) ProtoMessage()
- func (x *GenerateStatelessSummaryRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateStatelessSummaryRequest) Reset()
- func (x *GenerateStatelessSummaryRequest) String() string
- type GenerateStatelessSummaryRequest_MinimalConversation
- func (*GenerateStatelessSummaryRequest_MinimalConversation) Descriptor() ([]byte, []int)
- func (x *GenerateStatelessSummaryRequest_MinimalConversation) GetMessages() []*Message
- func (x *GenerateStatelessSummaryRequest_MinimalConversation) GetParent() string
- func (*GenerateStatelessSummaryRequest_MinimalConversation) ProtoMessage()
- func (x *GenerateStatelessSummaryRequest_MinimalConversation) ProtoReflect() protoreflect.Message
- func (x *GenerateStatelessSummaryRequest_MinimalConversation) Reset()
- func (x *GenerateStatelessSummaryRequest_MinimalConversation) String() string
- type GenerateStatelessSummaryResponse
- func (*GenerateStatelessSummaryResponse) Descriptor() ([]byte, []int)
- func (x *GenerateStatelessSummaryResponse) GetContextSize() int32
- func (x *GenerateStatelessSummaryResponse) GetLatestMessage() string
- func (x *GenerateStatelessSummaryResponse) GetSummary() *GenerateStatelessSummaryResponse_Summary
- func (*GenerateStatelessSummaryResponse) ProtoMessage()
- func (x *GenerateStatelessSummaryResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateStatelessSummaryResponse) Reset()
- func (x *GenerateStatelessSummaryResponse) String() string
- type GenerateStatelessSummaryResponse_Summary
- func (*GenerateStatelessSummaryResponse_Summary) Descriptor() ([]byte, []int)
- func (x *GenerateStatelessSummaryResponse_Summary) GetBaselineModelVersion() string
- func (x *GenerateStatelessSummaryResponse_Summary) GetText() string
- func (x *GenerateStatelessSummaryResponse_Summary) GetTextSections() map[string]string
- func (*GenerateStatelessSummaryResponse_Summary) ProtoMessage()
- func (x *GenerateStatelessSummaryResponse_Summary) ProtoReflect() protoreflect.Message
- func (x *GenerateStatelessSummaryResponse_Summary) Reset()
- func (x *GenerateStatelessSummaryResponse_Summary) String() string
- type Generator
- func (*Generator) Descriptor() ([]byte, []int)
- func (m *Generator) GetContext() isGenerator_Context
- func (x *Generator) GetCreateTime() *timestamppb.Timestamp
- func (x *Generator) GetDescription() string
- func (x *Generator) GetInferenceParameter() *InferenceParameter
- func (x *Generator) GetName() string
- func (x *Generator) GetSummarizationContext() *SummarizationContext
- func (x *Generator) GetTriggerEvent() TriggerEvent
- func (x *Generator) GetUpdateTime() *timestamppb.Timestamp
- func (*Generator) ProtoMessage()
- func (x *Generator) ProtoReflect() protoreflect.Message
- func (x *Generator) Reset()
- func (x *Generator) String() string
- type GeneratorSuggestion
- func (*GeneratorSuggestion) Descriptor() ([]byte, []int)
- func (m *GeneratorSuggestion) GetSuggestion() isGeneratorSuggestion_Suggestion
- func (x *GeneratorSuggestion) GetSummarySuggestion() *SummarySuggestion
- func (*GeneratorSuggestion) ProtoMessage()
- func (x *GeneratorSuggestion) ProtoReflect() protoreflect.Message
- func (x *GeneratorSuggestion) Reset()
- func (x *GeneratorSuggestion) String() string
- type GeneratorSuggestion_SummarySuggestion
- type Generator_SummarizationContext
- type GeneratorsClient
- type GeneratorsServer
- type GetAgentRequest
- func (*GetAgentRequest) Descriptor() ([]byte, []int)
- func (x *GetAgentRequest) GetParent() string
- func (*GetAgentRequest) ProtoMessage()
- func (x *GetAgentRequest) ProtoReflect() protoreflect.Message
- func (x *GetAgentRequest) Reset()
- func (x *GetAgentRequest) String() string
- type GetAnswerRecordRequest
- func (*GetAnswerRecordRequest) Descriptor() ([]byte, []int)
- func (x *GetAnswerRecordRequest) GetName() string
- func (*GetAnswerRecordRequest) ProtoMessage()
- func (x *GetAnswerRecordRequest) ProtoReflect() protoreflect.Message
- func (x *GetAnswerRecordRequest) Reset()
- func (x *GetAnswerRecordRequest) String() string
- type GetContextRequest
- func (*GetContextRequest) Descriptor() ([]byte, []int)
- func (x *GetContextRequest) GetName() string
- func (*GetContextRequest) ProtoMessage()
- func (x *GetContextRequest) ProtoReflect() protoreflect.Message
- func (x *GetContextRequest) Reset()
- func (x *GetContextRequest) String() string
- type GetConversationProfileRequest
- func (*GetConversationProfileRequest) Descriptor() ([]byte, []int)
- func (x *GetConversationProfileRequest) GetName() string
- func (*GetConversationProfileRequest) ProtoMessage()
- func (x *GetConversationProfileRequest) ProtoReflect() protoreflect.Message
- func (x *GetConversationProfileRequest) Reset()
- func (x *GetConversationProfileRequest) String() string
- type GetConversationRequest
- func (*GetConversationRequest) Descriptor() ([]byte, []int)
- func (x *GetConversationRequest) GetName() string
- func (*GetConversationRequest) ProtoMessage()
- func (x *GetConversationRequest) ProtoReflect() protoreflect.Message
- func (x *GetConversationRequest) Reset()
- func (x *GetConversationRequest) String() string
- type GetDocumentRequest
- func (*GetDocumentRequest) Descriptor() ([]byte, []int)
- func (x *GetDocumentRequest) GetName() string
- func (*GetDocumentRequest) ProtoMessage()
- func (x *GetDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *GetDocumentRequest) Reset()
- func (x *GetDocumentRequest) String() string
- type GetEncryptionSpecRequest
- func (*GetEncryptionSpecRequest) Descriptor() ([]byte, []int)
- func (x *GetEncryptionSpecRequest) GetName() string
- func (*GetEncryptionSpecRequest) ProtoMessage()
- func (x *GetEncryptionSpecRequest) ProtoReflect() protoreflect.Message
- func (x *GetEncryptionSpecRequest) Reset()
- func (x *GetEncryptionSpecRequest) String() string
- type GetEntityTypeRequest
- func (*GetEntityTypeRequest) Descriptor() ([]byte, []int)
- func (x *GetEntityTypeRequest) GetLanguageCode() string
- func (x *GetEntityTypeRequest) GetName() string
- func (*GetEntityTypeRequest) ProtoMessage()
- func (x *GetEntityTypeRequest) ProtoReflect() protoreflect.Message
- func (x *GetEntityTypeRequest) Reset()
- func (x *GetEntityTypeRequest) String() string
- type GetEnvironmentHistoryRequest
- func (*GetEnvironmentHistoryRequest) Descriptor() ([]byte, []int)
- func (x *GetEnvironmentHistoryRequest) GetPageSize() int32
- func (x *GetEnvironmentHistoryRequest) GetPageToken() string
- func (x *GetEnvironmentHistoryRequest) GetParent() string
- func (*GetEnvironmentHistoryRequest) ProtoMessage()
- func (x *GetEnvironmentHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *GetEnvironmentHistoryRequest) Reset()
- func (x *GetEnvironmentHistoryRequest) String() string
- type GetEnvironmentRequest
- func (*GetEnvironmentRequest) Descriptor() ([]byte, []int)
- func (x *GetEnvironmentRequest) GetName() string
- func (*GetEnvironmentRequest) ProtoMessage()
- func (x *GetEnvironmentRequest) ProtoReflect() protoreflect.Message
- func (x *GetEnvironmentRequest) Reset()
- func (x *GetEnvironmentRequest) String() string
- type GetFulfillmentRequest
- func (*GetFulfillmentRequest) Descriptor() ([]byte, []int)
- func (x *GetFulfillmentRequest) GetName() string
- func (*GetFulfillmentRequest) ProtoMessage()
- func (x *GetFulfillmentRequest) ProtoReflect() protoreflect.Message
- func (x *GetFulfillmentRequest) Reset()
- func (x *GetFulfillmentRequest) String() string
- type GetGeneratorRequest
- func (*GetGeneratorRequest) Descriptor() ([]byte, []int)
- func (x *GetGeneratorRequest) GetName() string
- func (*GetGeneratorRequest) ProtoMessage()
- func (x *GetGeneratorRequest) ProtoReflect() protoreflect.Message
- func (x *GetGeneratorRequest) Reset()
- func (x *GetGeneratorRequest) String() string
- type GetIntentRequest
- func (*GetIntentRequest) Descriptor() ([]byte, []int)
- func (x *GetIntentRequest) GetIntentView() IntentView
- func (x *GetIntentRequest) GetLanguageCode() string
- func (x *GetIntentRequest) GetName() string
- func (*GetIntentRequest) ProtoMessage()
- func (x *GetIntentRequest) ProtoReflect() protoreflect.Message
- func (x *GetIntentRequest) Reset()
- func (x *GetIntentRequest) String() string
- type GetKnowledgeBaseRequest
- func (*GetKnowledgeBaseRequest) Descriptor() ([]byte, []int)
- func (x *GetKnowledgeBaseRequest) GetName() string
- func (*GetKnowledgeBaseRequest) ProtoMessage()
- func (x *GetKnowledgeBaseRequest) ProtoReflect() protoreflect.Message
- func (x *GetKnowledgeBaseRequest) Reset()
- func (x *GetKnowledgeBaseRequest) String() string
- type GetParticipantRequest
- func (*GetParticipantRequest) Descriptor() ([]byte, []int)
- func (x *GetParticipantRequest) GetName() string
- func (*GetParticipantRequest) ProtoMessage()
- func (x *GetParticipantRequest) ProtoReflect() protoreflect.Message
- func (x *GetParticipantRequest) Reset()
- func (x *GetParticipantRequest) String() string
- type GetSessionEntityTypeRequest
- func (*GetSessionEntityTypeRequest) Descriptor() ([]byte, []int)
- func (x *GetSessionEntityTypeRequest) GetName() string
- func (*GetSessionEntityTypeRequest) ProtoMessage()
- func (x *GetSessionEntityTypeRequest) ProtoReflect() protoreflect.Message
- func (x *GetSessionEntityTypeRequest) Reset()
- func (x *GetSessionEntityTypeRequest) String() string
- type GetSipTrunkRequest
- func (*GetSipTrunkRequest) Descriptor() ([]byte, []int)
- func (x *GetSipTrunkRequest) GetName() string
- func (*GetSipTrunkRequest) ProtoMessage()
- func (x *GetSipTrunkRequest) ProtoReflect() protoreflect.Message
- func (x *GetSipTrunkRequest) Reset()
- func (x *GetSipTrunkRequest) String() string
- type GetValidationResultRequest
- func (*GetValidationResultRequest) Descriptor() ([]byte, []int)
- func (x *GetValidationResultRequest) GetLanguageCode() string
- func (x *GetValidationResultRequest) GetParent() string
- func (*GetValidationResultRequest) ProtoMessage()
- func (x *GetValidationResultRequest) ProtoReflect() protoreflect.Message
- func (x *GetValidationResultRequest) Reset()
- func (x *GetValidationResultRequest) String() string
- type GetVersionRequest
- func (*GetVersionRequest) Descriptor() ([]byte, []int)
- func (x *GetVersionRequest) GetName() string
- func (*GetVersionRequest) ProtoMessage()
- func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
- func (x *GetVersionRequest) Reset()
- func (x *GetVersionRequest) String() string
- type HumanAgentAssistantConfig
- func (*HumanAgentAssistantConfig) Descriptor() ([]byte, []int)
- func (x *HumanAgentAssistantConfig) GetEndUserSuggestionConfig() *HumanAgentAssistantConfig_SuggestionConfig
- func (x *HumanAgentAssistantConfig) GetHumanAgentSuggestionConfig() *HumanAgentAssistantConfig_SuggestionConfig
- func (x *HumanAgentAssistantConfig) GetMessageAnalysisConfig() *HumanAgentAssistantConfig_MessageAnalysisConfig
- func (x *HumanAgentAssistantConfig) GetNotificationConfig() *NotificationConfig
- func (*HumanAgentAssistantConfig) ProtoMessage()
- func (x *HumanAgentAssistantConfig) ProtoReflect() protoreflect.Message
- func (x *HumanAgentAssistantConfig) Reset()
- func (x *HumanAgentAssistantConfig) String() string
- type HumanAgentAssistantConfig_ConversationModelConfig
- func (*HumanAgentAssistantConfig_ConversationModelConfig) Descriptor() ([]byte, []int)
- func (x *HumanAgentAssistantConfig_ConversationModelConfig) GetBaselineModelVersion() string
- func (x *HumanAgentAssistantConfig_ConversationModelConfig) GetModel() string
- func (*HumanAgentAssistantConfig_ConversationModelConfig) ProtoMessage()
- func (x *HumanAgentAssistantConfig_ConversationModelConfig) ProtoReflect() protoreflect.Message
- func (x *HumanAgentAssistantConfig_ConversationModelConfig) Reset()
- func (x *HumanAgentAssistantConfig_ConversationModelConfig) String() string
- type HumanAgentAssistantConfig_ConversationProcessConfig
- func (*HumanAgentAssistantConfig_ConversationProcessConfig) Descriptor() ([]byte, []int)
- func (x *HumanAgentAssistantConfig_ConversationProcessConfig) GetRecentSentencesCount() int32
- func (*HumanAgentAssistantConfig_ConversationProcessConfig) ProtoMessage()
- func (x *HumanAgentAssistantConfig_ConversationProcessConfig) ProtoReflect() protoreflect.Message
- func (x *HumanAgentAssistantConfig_ConversationProcessConfig) Reset()
- func (x *HumanAgentAssistantConfig_ConversationProcessConfig) String() string
- type HumanAgentAssistantConfig_MessageAnalysisConfig
- func (*HumanAgentAssistantConfig_MessageAnalysisConfig) Descriptor() ([]byte, []int)
- func (x *HumanAgentAssistantConfig_MessageAnalysisConfig) GetEnableEntityExtraction() bool
- func (x *HumanAgentAssistantConfig_MessageAnalysisConfig) GetEnableSentimentAnalysis() bool
- func (*HumanAgentAssistantConfig_MessageAnalysisConfig) ProtoMessage()
- func (x *HumanAgentAssistantConfig_MessageAnalysisConfig) ProtoReflect() protoreflect.Message
- func (x *HumanAgentAssistantConfig_MessageAnalysisConfig) Reset()
- func (x *HumanAgentAssistantConfig_MessageAnalysisConfig) String() string
- type HumanAgentAssistantConfig_SuggestionConfig
- func (*HumanAgentAssistantConfig_SuggestionConfig) Descriptor() ([]byte, []int)
- func (x *HumanAgentAssistantConfig_SuggestionConfig) GetDisableHighLatencyFeaturesSyncDelivery() bool
- func (x *HumanAgentAssistantConfig_SuggestionConfig) GetFeatureConfigs() []*HumanAgentAssistantConfig_SuggestionFeatureConfig
- func (x *HumanAgentAssistantConfig_SuggestionConfig) GetGenerators() []string
- func (x *HumanAgentAssistantConfig_SuggestionConfig) GetGroupSuggestionResponses() bool
- func (*HumanAgentAssistantConfig_SuggestionConfig) ProtoMessage()
- func (x *HumanAgentAssistantConfig_SuggestionConfig) ProtoReflect() protoreflect.Message
- func (x *HumanAgentAssistantConfig_SuggestionConfig) Reset()
- func (x *HumanAgentAssistantConfig_SuggestionConfig) String() string
- type HumanAgentAssistantConfig_SuggestionFeatureConfig
- func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) Descriptor() ([]byte, []int)
- func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetConversationModelConfig() *HumanAgentAssistantConfig_ConversationModelConfig
- func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetConversationProcessConfig() *HumanAgentAssistantConfig_ConversationProcessConfig
- func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetDisableAgentQueryLogging() bool
- func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableConversationAugmentedQuery() bool
- func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableEventBasedSuggestion() bool
- func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableQuerySuggestionOnly() bool
- func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableQuerySuggestionWhenNoAnswer() bool
- func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetQueryConfig() *HumanAgentAssistantConfig_SuggestionQueryConfig
- func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetSuggestionFeature() *SuggestionFeature
- func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetSuggestionTriggerSettings() *HumanAgentAssistantConfig_SuggestionTriggerSettings
- func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) ProtoMessage()
- func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) ProtoReflect() protoreflect.Message
- func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) Reset()
- func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) String() string
- type HumanAgentAssistantConfig_SuggestionQueryConfig
- func (*HumanAgentAssistantConfig_SuggestionQueryConfig) Descriptor() ([]byte, []int)
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetConfidenceThreshold() float32
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetContextFilterSettings() *HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetContextSize() int32
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetDialogflowQuerySource() *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetDocumentQuerySource() *HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetKnowledgeBaseQuerySource() *HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetMaxResults() int32
- func (m *HumanAgentAssistantConfig_SuggestionQueryConfig) GetQuerySource() isHumanAgentAssistantConfig_SuggestionQueryConfig_QuerySource
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetSections() *HumanAgentAssistantConfig_SuggestionQueryConfig_Sections
- func (*HumanAgentAssistantConfig_SuggestionQueryConfig) ProtoMessage()
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) ProtoReflect() protoreflect.Message
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) Reset()
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) String() string
- type HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings
- func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) Descriptor() ([]byte, []int)
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) GetDropHandoffMessages() bool
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) GetDropIvrMessages() bool
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) GetDropVirtualAgentMessages() bool
- func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) ProtoMessage()
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) ProtoReflect() protoreflect.Message
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) Reset()
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) String() string
- type HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource
- func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) Descriptor() ([]byte, []int)
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) GetAgent() string
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) GetHumanAgentSideConfig() *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig
- func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) ProtoMessage()
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) ProtoReflect() protoreflect.Message
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) Reset()
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) String() string
- type HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_
- type HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig
- func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) Descriptor() ([]byte, []int)
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) GetAgent() string
- func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) ProtoMessage()
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) ProtoReflect() protoreflect.Message
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) Reset()
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) String() string
- type HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource
- func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) Descriptor() ([]byte, []int)
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) GetDocuments() []string
- func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) ProtoMessage()
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) ProtoReflect() protoreflect.Message
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) Reset()
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) String() string
- type HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource_
- type HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource
- func (*HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) Descriptor() ([]byte, []int)
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) GetKnowledgeBases() []string
- func (*HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) ProtoMessage()
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) ProtoReflect() protoreflect.Message
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) Reset()
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) String() string
- type HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource_
- type HumanAgentAssistantConfig_SuggestionQueryConfig_Sections
- func (*HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) Descriptor() ([]byte, []int)
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) GetSectionTypes() []HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType
- func (*HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) ProtoMessage()
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) ProtoReflect() protoreflect.Message
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) Reset()
- func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) String() string
- type HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType
- func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) Descriptor() protoreflect.EnumDescriptor
- func (x HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) Enum() *HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType
- func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) EnumDescriptor() ([]byte, []int)
- func (x HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) Number() protoreflect.EnumNumber
- func (x HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) String() string
- func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) Type() protoreflect.EnumType
- type HumanAgentAssistantConfig_SuggestionTriggerSettings
- func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) Descriptor() ([]byte, []int)
- func (x *HumanAgentAssistantConfig_SuggestionTriggerSettings) GetNoSmallTalk() bool
- func (x *HumanAgentAssistantConfig_SuggestionTriggerSettings) GetOnlyEndUser() bool
- func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) ProtoMessage()
- func (x *HumanAgentAssistantConfig_SuggestionTriggerSettings) ProtoReflect() protoreflect.Message
- func (x *HumanAgentAssistantConfig_SuggestionTriggerSettings) Reset()
- func (x *HumanAgentAssistantConfig_SuggestionTriggerSettings) String() string
- type HumanAgentAssistantEvent
- func (*HumanAgentAssistantEvent) Descriptor() ([]byte, []int)
- func (x *HumanAgentAssistantEvent) GetConversation() string
- func (x *HumanAgentAssistantEvent) GetParticipant() string
- func (x *HumanAgentAssistantEvent) GetSuggestionResults() []*SuggestionResult
- func (*HumanAgentAssistantEvent) ProtoMessage()
- func (x *HumanAgentAssistantEvent) ProtoReflect() protoreflect.Message
- func (x *HumanAgentAssistantEvent) Reset()
- func (x *HumanAgentAssistantEvent) String() string
- type HumanAgentHandoffConfig
- func (*HumanAgentHandoffConfig) Descriptor() ([]byte, []int)
- func (m *HumanAgentHandoffConfig) GetAgentService() isHumanAgentHandoffConfig_AgentService
- func (x *HumanAgentHandoffConfig) GetLivePersonConfig() *HumanAgentHandoffConfig_LivePersonConfig
- func (x *HumanAgentHandoffConfig) GetSalesforceLiveAgentConfig() *HumanAgentHandoffConfig_SalesforceLiveAgentConfig
- func (*HumanAgentHandoffConfig) ProtoMessage()
- func (x *HumanAgentHandoffConfig) ProtoReflect() protoreflect.Message
- func (x *HumanAgentHandoffConfig) Reset()
- func (x *HumanAgentHandoffConfig) String() string
- type HumanAgentHandoffConfig_LivePersonConfig
- func (*HumanAgentHandoffConfig_LivePersonConfig) Descriptor() ([]byte, []int)
- func (x *HumanAgentHandoffConfig_LivePersonConfig) GetAccountNumber() string
- func (*HumanAgentHandoffConfig_LivePersonConfig) ProtoMessage()
- func (x *HumanAgentHandoffConfig_LivePersonConfig) ProtoReflect() protoreflect.Message
- func (x *HumanAgentHandoffConfig_LivePersonConfig) Reset()
- func (x *HumanAgentHandoffConfig_LivePersonConfig) String() string
- type HumanAgentHandoffConfig_LivePersonConfig_
- type HumanAgentHandoffConfig_SalesforceLiveAgentConfig
- func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) Descriptor() ([]byte, []int)
- func (x *HumanAgentHandoffConfig_SalesforceLiveAgentConfig) GetButtonId() string
- func (x *HumanAgentHandoffConfig_SalesforceLiveAgentConfig) GetDeploymentId() string
- func (x *HumanAgentHandoffConfig_SalesforceLiveAgentConfig) GetEndpointDomain() string
- func (x *HumanAgentHandoffConfig_SalesforceLiveAgentConfig) GetOrganizationId() string
- func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) ProtoMessage()
- func (x *HumanAgentHandoffConfig_SalesforceLiveAgentConfig) ProtoReflect() protoreflect.Message
- func (x *HumanAgentHandoffConfig_SalesforceLiveAgentConfig) Reset()
- func (x *HumanAgentHandoffConfig_SalesforceLiveAgentConfig) String() string
- type HumanAgentHandoffConfig_SalesforceLiveAgentConfig_
- type ImportAgentRequest
- func (*ImportAgentRequest) Descriptor() ([]byte, []int)
- func (m *ImportAgentRequest) GetAgent() isImportAgentRequest_Agent
- func (x *ImportAgentRequest) GetAgentContent() []byte
- func (x *ImportAgentRequest) GetAgentUri() string
- func (x *ImportAgentRequest) GetParent() string
- func (*ImportAgentRequest) ProtoMessage()
- func (x *ImportAgentRequest) ProtoReflect() protoreflect.Message
- func (x *ImportAgentRequest) Reset()
- func (x *ImportAgentRequest) String() string
- type ImportAgentRequest_AgentContent
- type ImportAgentRequest_AgentUri
- type ImportDocumentTemplate
- func (*ImportDocumentTemplate) Descriptor() ([]byte, []int)
- func (x *ImportDocumentTemplate) GetKnowledgeTypes() []Document_KnowledgeType
- func (x *ImportDocumentTemplate) GetMetadata() map[string]string
- func (x *ImportDocumentTemplate) GetMimeType() string
- func (*ImportDocumentTemplate) ProtoMessage()
- func (x *ImportDocumentTemplate) ProtoReflect() protoreflect.Message
- func (x *ImportDocumentTemplate) Reset()
- func (x *ImportDocumentTemplate) String() string
- type ImportDocumentsRequest
- func (*ImportDocumentsRequest) Descriptor() ([]byte, []int)
- func (x *ImportDocumentsRequest) GetDocumentTemplate() *ImportDocumentTemplate
- func (x *ImportDocumentsRequest) GetGcsSource() *GcsSources
- func (x *ImportDocumentsRequest) GetImportGcsCustomMetadata() bool
- func (x *ImportDocumentsRequest) GetParent() string
- func (m *ImportDocumentsRequest) GetSource() isImportDocumentsRequest_Source
- func (*ImportDocumentsRequest) ProtoMessage()
- func (x *ImportDocumentsRequest) ProtoReflect() protoreflect.Message
- func (x *ImportDocumentsRequest) Reset()
- func (x *ImportDocumentsRequest) String() string
- type ImportDocumentsRequest_GcsSource
- type ImportDocumentsResponse
- func (*ImportDocumentsResponse) Descriptor() ([]byte, []int)
- func (x *ImportDocumentsResponse) GetWarnings() []*status.Status
- func (*ImportDocumentsResponse) ProtoMessage()
- func (x *ImportDocumentsResponse) ProtoReflect() protoreflect.Message
- func (x *ImportDocumentsResponse) Reset()
- func (x *ImportDocumentsResponse) String() string
- type InferenceParameter
- func (*InferenceParameter) Descriptor() ([]byte, []int)
- func (x *InferenceParameter) GetMaxOutputTokens() int32
- func (x *InferenceParameter) GetTemperature() float64
- func (x *InferenceParameter) GetTopK() int32
- func (x *InferenceParameter) GetTopP() float64
- func (*InferenceParameter) ProtoMessage()
- func (x *InferenceParameter) ProtoReflect() protoreflect.Message
- func (x *InferenceParameter) Reset()
- func (x *InferenceParameter) String() string
- type InitializeEncryptionSpecMetadata
- func (*InitializeEncryptionSpecMetadata) Descriptor() ([]byte, []int)
- func (x *InitializeEncryptionSpecMetadata) GetRequest() *InitializeEncryptionSpecRequest
- func (*InitializeEncryptionSpecMetadata) ProtoMessage()
- func (x *InitializeEncryptionSpecMetadata) ProtoReflect() protoreflect.Message
- func (x *InitializeEncryptionSpecMetadata) Reset()
- func (x *InitializeEncryptionSpecMetadata) String() string
- type InitializeEncryptionSpecRequest
- func (*InitializeEncryptionSpecRequest) Descriptor() ([]byte, []int)
- func (x *InitializeEncryptionSpecRequest) GetEncryptionSpec() *EncryptionSpec
- func (*InitializeEncryptionSpecRequest) ProtoMessage()
- func (x *InitializeEncryptionSpecRequest) ProtoReflect() protoreflect.Message
- func (x *InitializeEncryptionSpecRequest) Reset()
- func (x *InitializeEncryptionSpecRequest) String() string
- type InitializeEncryptionSpecResponse
- func (*InitializeEncryptionSpecResponse) Descriptor() ([]byte, []int)
- func (*InitializeEncryptionSpecResponse) ProtoMessage()
- func (x *InitializeEncryptionSpecResponse) ProtoReflect() protoreflect.Message
- func (x *InitializeEncryptionSpecResponse) Reset()
- func (x *InitializeEncryptionSpecResponse) String() string
- type InputAudioConfig
- func (*InputAudioConfig) Descriptor() ([]byte, []int)
- func (x *InputAudioConfig) GetAudioEncoding() AudioEncoding
- func (x *InputAudioConfig) GetBargeInConfig() *BargeInConfig
- func (x *InputAudioConfig) GetDefaultNoSpeechTimeout() *durationpb.Duration
- func (x *InputAudioConfig) GetDisableNoSpeechRecognizedEvent() bool
- func (x *InputAudioConfig) GetEnableAutomaticPunctuation() bool
- func (x *InputAudioConfig) GetEnableWordInfo() bool
- func (x *InputAudioConfig) GetLanguageCode() string
- func (x *InputAudioConfig) GetModel() string
- func (x *InputAudioConfig) GetModelVariant() SpeechModelVariant
- func (x *InputAudioConfig) GetOptOutConformerModelMigration() bool
- func (x *InputAudioConfig) GetPhraseHints() []string
- func (x *InputAudioConfig) GetPhraseSets() []string
- func (x *InputAudioConfig) GetSampleRateHertz() int32
- func (x *InputAudioConfig) GetSingleUtterance() bool
- func (x *InputAudioConfig) GetSpeechContexts() []*SpeechContext
- func (*InputAudioConfig) ProtoMessage()
- func (x *InputAudioConfig) ProtoReflect() protoreflect.Message
- func (x *InputAudioConfig) Reset()
- func (x *InputAudioConfig) String() string
- type InputTextConfig
- func (*InputTextConfig) Descriptor() ([]byte, []int)
- func (x *InputTextConfig) GetLanguageCode() string
- func (*InputTextConfig) ProtoMessage()
- func (x *InputTextConfig) ProtoReflect() protoreflect.Message
- func (x *InputTextConfig) Reset()
- func (x *InputTextConfig) String() string
- type Intent
- func (*Intent) Descriptor() ([]byte, []int)
- func (x *Intent) GetAction() string
- func (x *Intent) GetDefaultResponsePlatforms() []Intent_Message_Platform
- func (x *Intent) GetDisplayName() string
- func (x *Intent) GetEndInteraction() bool
- func (x *Intent) GetEvents() []string
- func (x *Intent) GetFollowupIntentInfo() []*Intent_FollowupIntentInfo
- func (x *Intent) GetInputContextNames() []string
- func (x *Intent) GetIsFallback() bool
- func (x *Intent) GetLiveAgentHandoff() bool
- func (x *Intent) GetMessages() []*Intent_Message
- func (x *Intent) GetMlDisabled() bool
- func (x *Intent) GetMlEnabled() bool
- func (x *Intent) GetName() string
- func (x *Intent) GetOutputContexts() []*Context
- func (x *Intent) GetParameters() []*Intent_Parameter
- func (x *Intent) GetParentFollowupIntentName() string
- func (x *Intent) GetPriority() int32
- func (x *Intent) GetResetContexts() bool
- func (x *Intent) GetRootFollowupIntentName() string
- func (x *Intent) GetTrainingPhrases() []*Intent_TrainingPhrase
- func (x *Intent) GetWebhookState() Intent_WebhookState
- func (*Intent) ProtoMessage()
- func (x *Intent) ProtoReflect() protoreflect.Message
- func (x *Intent) Reset()
- func (x *Intent) String() string
- type IntentBatch
- func (*IntentBatch) Descriptor() ([]byte, []int)
- func (x *IntentBatch) GetIntents() []*Intent
- func (*IntentBatch) ProtoMessage()
- func (x *IntentBatch) ProtoReflect() protoreflect.Message
- func (x *IntentBatch) Reset()
- func (x *IntentBatch) String() string
- type IntentInput
- func (*IntentInput) Descriptor() ([]byte, []int)
- func (x *IntentInput) GetIntent() string
- func (x *IntentInput) GetLanguageCode() string
- func (*IntentInput) ProtoMessage()
- func (x *IntentInput) ProtoReflect() protoreflect.Message
- func (x *IntentInput) Reset()
- func (x *IntentInput) String() string
- type IntentSuggestion
- func (*IntentSuggestion) Descriptor() ([]byte, []int)
- func (x *IntentSuggestion) GetDescription() string
- func (x *IntentSuggestion) GetDisplayName() string
- func (m *IntentSuggestion) GetIntent() isIntentSuggestion_Intent
- func (x *IntentSuggestion) GetIntentV2() string
- func (*IntentSuggestion) ProtoMessage()
- func (x *IntentSuggestion) ProtoReflect() protoreflect.Message
- func (x *IntentSuggestion) Reset()
- func (x *IntentSuggestion) String() string
- type IntentSuggestion_IntentV2
- type IntentView
- func (IntentView) Descriptor() protoreflect.EnumDescriptor
- func (x IntentView) Enum() *IntentView
- func (IntentView) EnumDescriptor() ([]byte, []int)
- func (x IntentView) Number() protoreflect.EnumNumber
- func (x IntentView) String() string
- func (IntentView) Type() protoreflect.EnumType
- type Intent_FollowupIntentInfo
- func (*Intent_FollowupIntentInfo) Descriptor() ([]byte, []int)
- func (x *Intent_FollowupIntentInfo) GetFollowupIntentName() string
- func (x *Intent_FollowupIntentInfo) GetParentFollowupIntentName() string
- func (*Intent_FollowupIntentInfo) ProtoMessage()
- func (x *Intent_FollowupIntentInfo) ProtoReflect() protoreflect.Message
- func (x *Intent_FollowupIntentInfo) Reset()
- func (x *Intent_FollowupIntentInfo) String() string
- type Intent_Message
- func (*Intent_Message) Descriptor() ([]byte, []int)
- func (x *Intent_Message) GetBasicCard() *Intent_Message_BasicCard
- func (x *Intent_Message) GetBrowseCarouselCard() *Intent_Message_BrowseCarouselCard
- func (x *Intent_Message) GetCard() *Intent_Message_Card
- func (x *Intent_Message) GetCarouselSelect() *Intent_Message_CarouselSelect
- func (x *Intent_Message) GetImage() *Intent_Message_Image
- func (x *Intent_Message) GetLinkOutSuggestion() *Intent_Message_LinkOutSuggestion
- func (x *Intent_Message) GetListSelect() *Intent_Message_ListSelect
- func (x *Intent_Message) GetMediaContent() *Intent_Message_MediaContent
- func (m *Intent_Message) GetMessage() isIntent_Message_Message
- func (x *Intent_Message) GetPayload() *structpb.Struct
- func (x *Intent_Message) GetPlatform() Intent_Message_Platform
- func (x *Intent_Message) GetQuickReplies() *Intent_Message_QuickReplies
- func (x *Intent_Message) GetRbmCarouselRichCard() *Intent_Message_RbmCarouselCard
- func (x *Intent_Message) GetRbmStandaloneRichCard() *Intent_Message_RbmStandaloneCard
- func (x *Intent_Message) GetRbmText() *Intent_Message_RbmText
- func (x *Intent_Message) GetSimpleResponses() *Intent_Message_SimpleResponses
- func (x *Intent_Message) GetSuggestions() *Intent_Message_Suggestions
- func (x *Intent_Message) GetTableCard() *Intent_Message_TableCard
- func (x *Intent_Message) GetTelephonyPlayAudio() *Intent_Message_TelephonyPlayAudio
- func (x *Intent_Message) GetTelephonySynthesizeSpeech() *Intent_Message_TelephonySynthesizeSpeech
- func (x *Intent_Message) GetTelephonyTransferCall() *Intent_Message_TelephonyTransferCall
- func (x *Intent_Message) GetText() *Intent_Message_Text
- func (*Intent_Message) ProtoMessage()
- func (x *Intent_Message) ProtoReflect() protoreflect.Message
- func (x *Intent_Message) Reset()
- func (x *Intent_Message) String() string
- type Intent_Message_BasicCard
- func (*Intent_Message_BasicCard) Descriptor() ([]byte, []int)
- func (x *Intent_Message_BasicCard) GetButtons() []*Intent_Message_BasicCard_Button
- func (x *Intent_Message_BasicCard) GetFormattedText() string
- func (x *Intent_Message_BasicCard) GetImage() *Intent_Message_Image
- func (x *Intent_Message_BasicCard) GetSubtitle() string
- func (x *Intent_Message_BasicCard) GetTitle() string
- func (*Intent_Message_BasicCard) ProtoMessage()
- func (x *Intent_Message_BasicCard) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_BasicCard) Reset()
- func (x *Intent_Message_BasicCard) String() string
- type Intent_Message_BasicCard_
- type Intent_Message_BasicCard_Button
- func (*Intent_Message_BasicCard_Button) Descriptor() ([]byte, []int)
- func (x *Intent_Message_BasicCard_Button) GetOpenUriAction() *Intent_Message_BasicCard_Button_OpenUriAction
- func (x *Intent_Message_BasicCard_Button) GetTitle() string
- func (*Intent_Message_BasicCard_Button) ProtoMessage()
- func (x *Intent_Message_BasicCard_Button) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_BasicCard_Button) Reset()
- func (x *Intent_Message_BasicCard_Button) String() string
- type Intent_Message_BasicCard_Button_OpenUriAction
- func (*Intent_Message_BasicCard_Button_OpenUriAction) Descriptor() ([]byte, []int)
- func (x *Intent_Message_BasicCard_Button_OpenUriAction) GetUri() string
- func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoMessage()
- func (x *Intent_Message_BasicCard_Button_OpenUriAction) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_BasicCard_Button_OpenUriAction) Reset()
- func (x *Intent_Message_BasicCard_Button_OpenUriAction) String() string
- type Intent_Message_BrowseCarouselCard
- func (*Intent_Message_BrowseCarouselCard) Descriptor() ([]byte, []int)
- func (x *Intent_Message_BrowseCarouselCard) GetImageDisplayOptions() Intent_Message_BrowseCarouselCard_ImageDisplayOptions
- func (x *Intent_Message_BrowseCarouselCard) GetItems() []*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem
- func (*Intent_Message_BrowseCarouselCard) ProtoMessage()
- func (x *Intent_Message_BrowseCarouselCard) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_BrowseCarouselCard) Reset()
- func (x *Intent_Message_BrowseCarouselCard) String() string
- type Intent_Message_BrowseCarouselCard_
- type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem
- func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) Descriptor() ([]byte, []int)
- func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetDescription() string
- func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetFooter() string
- func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetImage() *Intent_Message_Image
- func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetOpenUriAction() *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction
- func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetTitle() string
- func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) ProtoMessage()
- func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) Reset()
- func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) String() string
- type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction
- func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) Descriptor() ([]byte, []int)
- func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) GetUrl() string
- func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) GetUrlTypeHint() Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint
- func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) ProtoMessage()
- func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) Reset()
- func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) String() string
- type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint
- func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Descriptor() protoreflect.EnumDescriptor
- func (x Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Enum() *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint
- func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) EnumDescriptor() ([]byte, []int)
- func (x Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Number() protoreflect.EnumNumber
- func (x Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) String() string
- func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Type() protoreflect.EnumType
- type Intent_Message_BrowseCarouselCard_ImageDisplayOptions
- func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Descriptor() protoreflect.EnumDescriptor
- func (x Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Enum() *Intent_Message_BrowseCarouselCard_ImageDisplayOptions
- func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) EnumDescriptor() ([]byte, []int)
- func (x Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Number() protoreflect.EnumNumber
- func (x Intent_Message_BrowseCarouselCard_ImageDisplayOptions) String() string
- func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Type() protoreflect.EnumType
- type Intent_Message_Card
- func (*Intent_Message_Card) Descriptor() ([]byte, []int)
- func (x *Intent_Message_Card) GetButtons() []*Intent_Message_Card_Button
- func (x *Intent_Message_Card) GetImageUri() string
- func (x *Intent_Message_Card) GetSubtitle() string
- func (x *Intent_Message_Card) GetTitle() string
- func (*Intent_Message_Card) ProtoMessage()
- func (x *Intent_Message_Card) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_Card) Reset()
- func (x *Intent_Message_Card) String() string
- type Intent_Message_Card_
- type Intent_Message_Card_Button
- func (*Intent_Message_Card_Button) Descriptor() ([]byte, []int)
- func (x *Intent_Message_Card_Button) GetPostback() string
- func (x *Intent_Message_Card_Button) GetText() string
- func (*Intent_Message_Card_Button) ProtoMessage()
- func (x *Intent_Message_Card_Button) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_Card_Button) Reset()
- func (x *Intent_Message_Card_Button) String() string
- type Intent_Message_CarouselSelect
- func (*Intent_Message_CarouselSelect) Descriptor() ([]byte, []int)
- func (x *Intent_Message_CarouselSelect) GetItems() []*Intent_Message_CarouselSelect_Item
- func (*Intent_Message_CarouselSelect) ProtoMessage()
- func (x *Intent_Message_CarouselSelect) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_CarouselSelect) Reset()
- func (x *Intent_Message_CarouselSelect) String() string
- type Intent_Message_CarouselSelect_
- type Intent_Message_CarouselSelect_Item
- func (*Intent_Message_CarouselSelect_Item) Descriptor() ([]byte, []int)
- func (x *Intent_Message_CarouselSelect_Item) GetDescription() string
- func (x *Intent_Message_CarouselSelect_Item) GetImage() *Intent_Message_Image
- func (x *Intent_Message_CarouselSelect_Item) GetInfo() *Intent_Message_SelectItemInfo
- func (x *Intent_Message_CarouselSelect_Item) GetTitle() string
- func (*Intent_Message_CarouselSelect_Item) ProtoMessage()
- func (x *Intent_Message_CarouselSelect_Item) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_CarouselSelect_Item) Reset()
- func (x *Intent_Message_CarouselSelect_Item) String() string
- type Intent_Message_ColumnProperties
- func (*Intent_Message_ColumnProperties) Descriptor() ([]byte, []int)
- func (x *Intent_Message_ColumnProperties) GetHeader() string
- func (x *Intent_Message_ColumnProperties) GetHorizontalAlignment() Intent_Message_ColumnProperties_HorizontalAlignment
- func (*Intent_Message_ColumnProperties) ProtoMessage()
- func (x *Intent_Message_ColumnProperties) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_ColumnProperties) Reset()
- func (x *Intent_Message_ColumnProperties) String() string
- type Intent_Message_ColumnProperties_HorizontalAlignment
- func (Intent_Message_ColumnProperties_HorizontalAlignment) Descriptor() protoreflect.EnumDescriptor
- func (x Intent_Message_ColumnProperties_HorizontalAlignment) Enum() *Intent_Message_ColumnProperties_HorizontalAlignment
- func (Intent_Message_ColumnProperties_HorizontalAlignment) EnumDescriptor() ([]byte, []int)
- func (x Intent_Message_ColumnProperties_HorizontalAlignment) Number() protoreflect.EnumNumber
- func (x Intent_Message_ColumnProperties_HorizontalAlignment) String() string
- func (Intent_Message_ColumnProperties_HorizontalAlignment) Type() protoreflect.EnumType
- type Intent_Message_Image
- func (*Intent_Message_Image) Descriptor() ([]byte, []int)
- func (x *Intent_Message_Image) GetAccessibilityText() string
- func (x *Intent_Message_Image) GetImageUri() string
- func (*Intent_Message_Image) ProtoMessage()
- func (x *Intent_Message_Image) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_Image) Reset()
- func (x *Intent_Message_Image) String() string
- type Intent_Message_Image_
- type Intent_Message_LinkOutSuggestion
- func (*Intent_Message_LinkOutSuggestion) Descriptor() ([]byte, []int)
- func (x *Intent_Message_LinkOutSuggestion) GetDestinationName() string
- func (x *Intent_Message_LinkOutSuggestion) GetUri() string
- func (*Intent_Message_LinkOutSuggestion) ProtoMessage()
- func (x *Intent_Message_LinkOutSuggestion) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_LinkOutSuggestion) Reset()
- func (x *Intent_Message_LinkOutSuggestion) String() string
- type Intent_Message_LinkOutSuggestion_
- type Intent_Message_ListSelect
- func (*Intent_Message_ListSelect) Descriptor() ([]byte, []int)
- func (x *Intent_Message_ListSelect) GetItems() []*Intent_Message_ListSelect_Item
- func (x *Intent_Message_ListSelect) GetSubtitle() string
- func (x *Intent_Message_ListSelect) GetTitle() string
- func (*Intent_Message_ListSelect) ProtoMessage()
- func (x *Intent_Message_ListSelect) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_ListSelect) Reset()
- func (x *Intent_Message_ListSelect) String() string
- type Intent_Message_ListSelect_
- type Intent_Message_ListSelect_Item
- func (*Intent_Message_ListSelect_Item) Descriptor() ([]byte, []int)
- func (x *Intent_Message_ListSelect_Item) GetDescription() string
- func (x *Intent_Message_ListSelect_Item) GetImage() *Intent_Message_Image
- func (x *Intent_Message_ListSelect_Item) GetInfo() *Intent_Message_SelectItemInfo
- func (x *Intent_Message_ListSelect_Item) GetTitle() string
- func (*Intent_Message_ListSelect_Item) ProtoMessage()
- func (x *Intent_Message_ListSelect_Item) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_ListSelect_Item) Reset()
- func (x *Intent_Message_ListSelect_Item) String() string
- type Intent_Message_MediaContent
- func (*Intent_Message_MediaContent) Descriptor() ([]byte, []int)
- func (x *Intent_Message_MediaContent) GetMediaObjects() []*Intent_Message_MediaContent_ResponseMediaObject
- func (x *Intent_Message_MediaContent) GetMediaType() Intent_Message_MediaContent_ResponseMediaType
- func (*Intent_Message_MediaContent) ProtoMessage()
- func (x *Intent_Message_MediaContent) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_MediaContent) Reset()
- func (x *Intent_Message_MediaContent) String() string
- type Intent_Message_MediaContent_
- type Intent_Message_MediaContent_ResponseMediaObject
- func (*Intent_Message_MediaContent_ResponseMediaObject) Descriptor() ([]byte, []int)
- func (x *Intent_Message_MediaContent_ResponseMediaObject) GetContentUrl() string
- func (x *Intent_Message_MediaContent_ResponseMediaObject) GetDescription() string
- func (x *Intent_Message_MediaContent_ResponseMediaObject) GetIcon() *Intent_Message_Image
- func (m *Intent_Message_MediaContent_ResponseMediaObject) GetImage() isIntent_Message_MediaContent_ResponseMediaObject_Image
- func (x *Intent_Message_MediaContent_ResponseMediaObject) GetLargeImage() *Intent_Message_Image
- func (x *Intent_Message_MediaContent_ResponseMediaObject) GetName() string
- func (*Intent_Message_MediaContent_ResponseMediaObject) ProtoMessage()
- func (x *Intent_Message_MediaContent_ResponseMediaObject) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_MediaContent_ResponseMediaObject) Reset()
- func (x *Intent_Message_MediaContent_ResponseMediaObject) String() string
- type Intent_Message_MediaContent_ResponseMediaObject_Icon
- type Intent_Message_MediaContent_ResponseMediaObject_LargeImage
- type Intent_Message_MediaContent_ResponseMediaType
- func (Intent_Message_MediaContent_ResponseMediaType) Descriptor() protoreflect.EnumDescriptor
- func (x Intent_Message_MediaContent_ResponseMediaType) Enum() *Intent_Message_MediaContent_ResponseMediaType
- func (Intent_Message_MediaContent_ResponseMediaType) EnumDescriptor() ([]byte, []int)
- func (x Intent_Message_MediaContent_ResponseMediaType) Number() protoreflect.EnumNumber
- func (x Intent_Message_MediaContent_ResponseMediaType) String() string
- func (Intent_Message_MediaContent_ResponseMediaType) Type() protoreflect.EnumType
- type Intent_Message_Payload
- type Intent_Message_Platform
- func (Intent_Message_Platform) Descriptor() protoreflect.EnumDescriptor
- func (x Intent_Message_Platform) Enum() *Intent_Message_Platform
- func (Intent_Message_Platform) EnumDescriptor() ([]byte, []int)
- func (x Intent_Message_Platform) Number() protoreflect.EnumNumber
- func (x Intent_Message_Platform) String() string
- func (Intent_Message_Platform) Type() protoreflect.EnumType
- type Intent_Message_QuickReplies
- func (*Intent_Message_QuickReplies) Descriptor() ([]byte, []int)
- func (x *Intent_Message_QuickReplies) GetQuickReplies() []string
- func (x *Intent_Message_QuickReplies) GetTitle() string
- func (*Intent_Message_QuickReplies) ProtoMessage()
- func (x *Intent_Message_QuickReplies) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_QuickReplies) Reset()
- func (x *Intent_Message_QuickReplies) String() string
- type Intent_Message_QuickReplies_
- type Intent_Message_RbmCardContent
- func (*Intent_Message_RbmCardContent) Descriptor() ([]byte, []int)
- func (x *Intent_Message_RbmCardContent) GetDescription() string
- func (x *Intent_Message_RbmCardContent) GetMedia() *Intent_Message_RbmCardContent_RbmMedia
- func (x *Intent_Message_RbmCardContent) GetSuggestions() []*Intent_Message_RbmSuggestion
- func (x *Intent_Message_RbmCardContent) GetTitle() string
- func (*Intent_Message_RbmCardContent) ProtoMessage()
- func (x *Intent_Message_RbmCardContent) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_RbmCardContent) Reset()
- func (x *Intent_Message_RbmCardContent) String() string
- type Intent_Message_RbmCardContent_RbmMedia
- func (*Intent_Message_RbmCardContent_RbmMedia) Descriptor() ([]byte, []int)
- func (x *Intent_Message_RbmCardContent_RbmMedia) GetFileUri() string
- func (x *Intent_Message_RbmCardContent_RbmMedia) GetHeight() Intent_Message_RbmCardContent_RbmMedia_Height
- func (x *Intent_Message_RbmCardContent_RbmMedia) GetThumbnailUri() string
- func (*Intent_Message_RbmCardContent_RbmMedia) ProtoMessage()
- func (x *Intent_Message_RbmCardContent_RbmMedia) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_RbmCardContent_RbmMedia) Reset()
- func (x *Intent_Message_RbmCardContent_RbmMedia) String() string
- type Intent_Message_RbmCardContent_RbmMedia_Height
- func (Intent_Message_RbmCardContent_RbmMedia_Height) Descriptor() protoreflect.EnumDescriptor
- func (x Intent_Message_RbmCardContent_RbmMedia_Height) Enum() *Intent_Message_RbmCardContent_RbmMedia_Height
- func (Intent_Message_RbmCardContent_RbmMedia_Height) EnumDescriptor() ([]byte, []int)
- func (x Intent_Message_RbmCardContent_RbmMedia_Height) Number() protoreflect.EnumNumber
- func (x Intent_Message_RbmCardContent_RbmMedia_Height) String() string
- func (Intent_Message_RbmCardContent_RbmMedia_Height) Type() protoreflect.EnumType
- type Intent_Message_RbmCarouselCard
- func (*Intent_Message_RbmCarouselCard) Descriptor() ([]byte, []int)
- func (x *Intent_Message_RbmCarouselCard) GetCardContents() []*Intent_Message_RbmCardContent
- func (x *Intent_Message_RbmCarouselCard) GetCardWidth() Intent_Message_RbmCarouselCard_CardWidth
- func (*Intent_Message_RbmCarouselCard) ProtoMessage()
- func (x *Intent_Message_RbmCarouselCard) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_RbmCarouselCard) Reset()
- func (x *Intent_Message_RbmCarouselCard) String() string
- type Intent_Message_RbmCarouselCard_CardWidth
- func (Intent_Message_RbmCarouselCard_CardWidth) Descriptor() protoreflect.EnumDescriptor
- func (x Intent_Message_RbmCarouselCard_CardWidth) Enum() *Intent_Message_RbmCarouselCard_CardWidth
- func (Intent_Message_RbmCarouselCard_CardWidth) EnumDescriptor() ([]byte, []int)
- func (x Intent_Message_RbmCarouselCard_CardWidth) Number() protoreflect.EnumNumber
- func (x Intent_Message_RbmCarouselCard_CardWidth) String() string
- func (Intent_Message_RbmCarouselCard_CardWidth) Type() protoreflect.EnumType
- type Intent_Message_RbmCarouselRichCard
- type Intent_Message_RbmStandaloneCard
- func (*Intent_Message_RbmStandaloneCard) Descriptor() ([]byte, []int)
- func (x *Intent_Message_RbmStandaloneCard) GetCardContent() *Intent_Message_RbmCardContent
- func (x *Intent_Message_RbmStandaloneCard) GetCardOrientation() Intent_Message_RbmStandaloneCard_CardOrientation
- func (x *Intent_Message_RbmStandaloneCard) GetThumbnailImageAlignment() Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment
- func (*Intent_Message_RbmStandaloneCard) ProtoMessage()
- func (x *Intent_Message_RbmStandaloneCard) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_RbmStandaloneCard) Reset()
- func (x *Intent_Message_RbmStandaloneCard) String() string
- type Intent_Message_RbmStandaloneCard_CardOrientation
- func (Intent_Message_RbmStandaloneCard_CardOrientation) Descriptor() protoreflect.EnumDescriptor
- func (x Intent_Message_RbmStandaloneCard_CardOrientation) Enum() *Intent_Message_RbmStandaloneCard_CardOrientation
- func (Intent_Message_RbmStandaloneCard_CardOrientation) EnumDescriptor() ([]byte, []int)
- func (x Intent_Message_RbmStandaloneCard_CardOrientation) Number() protoreflect.EnumNumber
- func (x Intent_Message_RbmStandaloneCard_CardOrientation) String() string
- func (Intent_Message_RbmStandaloneCard_CardOrientation) Type() protoreflect.EnumType
- type Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment
- func (Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) Descriptor() protoreflect.EnumDescriptor
- func (x Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) Enum() *Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment
- func (Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) EnumDescriptor() ([]byte, []int)
- func (x Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) Number() protoreflect.EnumNumber
- func (x Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) String() string
- func (Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) Type() protoreflect.EnumType
- type Intent_Message_RbmStandaloneRichCard
- type Intent_Message_RbmSuggestedAction
- func (*Intent_Message_RbmSuggestedAction) Descriptor() ([]byte, []int)
- func (m *Intent_Message_RbmSuggestedAction) GetAction() isIntent_Message_RbmSuggestedAction_Action
- func (x *Intent_Message_RbmSuggestedAction) GetDial() *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial
- func (x *Intent_Message_RbmSuggestedAction) GetOpenUrl() *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri
- func (x *Intent_Message_RbmSuggestedAction) GetPostbackData() string
- func (x *Intent_Message_RbmSuggestedAction) GetShareLocation() *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation
- func (x *Intent_Message_RbmSuggestedAction) GetText() string
- func (*Intent_Message_RbmSuggestedAction) ProtoMessage()
- func (x *Intent_Message_RbmSuggestedAction) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_RbmSuggestedAction) Reset()
- func (x *Intent_Message_RbmSuggestedAction) String() string
- type Intent_Message_RbmSuggestedAction_Dial
- type Intent_Message_RbmSuggestedAction_OpenUrl
- type Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial
- func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) Descriptor() ([]byte, []int)
- func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) GetPhoneNumber() string
- func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) ProtoMessage()
- func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) Reset()
- func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) String() string
- type Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri
- func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) Descriptor() ([]byte, []int)
- func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) GetUri() string
- func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) ProtoMessage()
- func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) Reset()
- func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) String() string
- type Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation
- func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) Descriptor() ([]byte, []int)
- func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) ProtoMessage()
- func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) Reset()
- func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) String() string
- type Intent_Message_RbmSuggestedAction_ShareLocation
- type Intent_Message_RbmSuggestedReply
- func (*Intent_Message_RbmSuggestedReply) Descriptor() ([]byte, []int)
- func (x *Intent_Message_RbmSuggestedReply) GetPostbackData() string
- func (x *Intent_Message_RbmSuggestedReply) GetText() string
- func (*Intent_Message_RbmSuggestedReply) ProtoMessage()
- func (x *Intent_Message_RbmSuggestedReply) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_RbmSuggestedReply) Reset()
- func (x *Intent_Message_RbmSuggestedReply) String() string
- type Intent_Message_RbmSuggestion
- func (*Intent_Message_RbmSuggestion) Descriptor() ([]byte, []int)
- func (x *Intent_Message_RbmSuggestion) GetAction() *Intent_Message_RbmSuggestedAction
- func (x *Intent_Message_RbmSuggestion) GetReply() *Intent_Message_RbmSuggestedReply
- func (m *Intent_Message_RbmSuggestion) GetSuggestion() isIntent_Message_RbmSuggestion_Suggestion
- func (*Intent_Message_RbmSuggestion) ProtoMessage()
- func (x *Intent_Message_RbmSuggestion) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_RbmSuggestion) Reset()
- func (x *Intent_Message_RbmSuggestion) String() string
- type Intent_Message_RbmSuggestion_Action
- type Intent_Message_RbmSuggestion_Reply
- type Intent_Message_RbmText
- func (*Intent_Message_RbmText) Descriptor() ([]byte, []int)
- func (x *Intent_Message_RbmText) GetRbmSuggestion() []*Intent_Message_RbmSuggestion
- func (x *Intent_Message_RbmText) GetText() string
- func (*Intent_Message_RbmText) ProtoMessage()
- func (x *Intent_Message_RbmText) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_RbmText) Reset()
- func (x *Intent_Message_RbmText) String() string
- type Intent_Message_RbmText_
- type Intent_Message_SelectItemInfo
- func (*Intent_Message_SelectItemInfo) Descriptor() ([]byte, []int)
- func (x *Intent_Message_SelectItemInfo) GetKey() string
- func (x *Intent_Message_SelectItemInfo) GetSynonyms() []string
- func (*Intent_Message_SelectItemInfo) ProtoMessage()
- func (x *Intent_Message_SelectItemInfo) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_SelectItemInfo) Reset()
- func (x *Intent_Message_SelectItemInfo) String() string
- type Intent_Message_SimpleResponse
- func (*Intent_Message_SimpleResponse) Descriptor() ([]byte, []int)
- func (x *Intent_Message_SimpleResponse) GetDisplayText() string
- func (x *Intent_Message_SimpleResponse) GetSsml() string
- func (x *Intent_Message_SimpleResponse) GetTextToSpeech() string
- func (*Intent_Message_SimpleResponse) ProtoMessage()
- func (x *Intent_Message_SimpleResponse) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_SimpleResponse) Reset()
- func (x *Intent_Message_SimpleResponse) String() string
- type Intent_Message_SimpleResponses
- func (*Intent_Message_SimpleResponses) Descriptor() ([]byte, []int)
- func (x *Intent_Message_SimpleResponses) GetSimpleResponses() []*Intent_Message_SimpleResponse
- func (*Intent_Message_SimpleResponses) ProtoMessage()
- func (x *Intent_Message_SimpleResponses) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_SimpleResponses) Reset()
- func (x *Intent_Message_SimpleResponses) String() string
- type Intent_Message_SimpleResponses_
- type Intent_Message_Suggestion
- func (*Intent_Message_Suggestion) Descriptor() ([]byte, []int)
- func (x *Intent_Message_Suggestion) GetTitle() string
- func (*Intent_Message_Suggestion) ProtoMessage()
- func (x *Intent_Message_Suggestion) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_Suggestion) Reset()
- func (x *Intent_Message_Suggestion) String() string
- type Intent_Message_Suggestions
- func (*Intent_Message_Suggestions) Descriptor() ([]byte, []int)
- func (x *Intent_Message_Suggestions) GetSuggestions() []*Intent_Message_Suggestion
- func (*Intent_Message_Suggestions) ProtoMessage()
- func (x *Intent_Message_Suggestions) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_Suggestions) Reset()
- func (x *Intent_Message_Suggestions) String() string
- type Intent_Message_Suggestions_
- type Intent_Message_TableCard
- func (*Intent_Message_TableCard) Descriptor() ([]byte, []int)
- func (x *Intent_Message_TableCard) GetButtons() []*Intent_Message_BasicCard_Button
- func (x *Intent_Message_TableCard) GetColumnProperties() []*Intent_Message_ColumnProperties
- func (x *Intent_Message_TableCard) GetImage() *Intent_Message_Image
- func (x *Intent_Message_TableCard) GetRows() []*Intent_Message_TableCardRow
- func (x *Intent_Message_TableCard) GetSubtitle() string
- func (x *Intent_Message_TableCard) GetTitle() string
- func (*Intent_Message_TableCard) ProtoMessage()
- func (x *Intent_Message_TableCard) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_TableCard) Reset()
- func (x *Intent_Message_TableCard) String() string
- type Intent_Message_TableCardCell
- func (*Intent_Message_TableCardCell) Descriptor() ([]byte, []int)
- func (x *Intent_Message_TableCardCell) GetText() string
- func (*Intent_Message_TableCardCell) ProtoMessage()
- func (x *Intent_Message_TableCardCell) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_TableCardCell) Reset()
- func (x *Intent_Message_TableCardCell) String() string
- type Intent_Message_TableCardRow
- func (*Intent_Message_TableCardRow) Descriptor() ([]byte, []int)
- func (x *Intent_Message_TableCardRow) GetCells() []*Intent_Message_TableCardCell
- func (x *Intent_Message_TableCardRow) GetDividerAfter() bool
- func (*Intent_Message_TableCardRow) ProtoMessage()
- func (x *Intent_Message_TableCardRow) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_TableCardRow) Reset()
- func (x *Intent_Message_TableCardRow) String() string
- type Intent_Message_TableCard_
- type Intent_Message_TelephonyPlayAudio
- func (*Intent_Message_TelephonyPlayAudio) Descriptor() ([]byte, []int)
- func (x *Intent_Message_TelephonyPlayAudio) GetAudioUri() string
- func (*Intent_Message_TelephonyPlayAudio) ProtoMessage()
- func (x *Intent_Message_TelephonyPlayAudio) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_TelephonyPlayAudio) Reset()
- func (x *Intent_Message_TelephonyPlayAudio) String() string
- type Intent_Message_TelephonyPlayAudio_
- type Intent_Message_TelephonySynthesizeSpeech
- func (*Intent_Message_TelephonySynthesizeSpeech) Descriptor() ([]byte, []int)
- func (m *Intent_Message_TelephonySynthesizeSpeech) GetSource() isIntent_Message_TelephonySynthesizeSpeech_Source
- func (x *Intent_Message_TelephonySynthesizeSpeech) GetSsml() string
- func (x *Intent_Message_TelephonySynthesizeSpeech) GetText() string
- func (*Intent_Message_TelephonySynthesizeSpeech) ProtoMessage()
- func (x *Intent_Message_TelephonySynthesizeSpeech) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_TelephonySynthesizeSpeech) Reset()
- func (x *Intent_Message_TelephonySynthesizeSpeech) String() string
- type Intent_Message_TelephonySynthesizeSpeech_
- type Intent_Message_TelephonySynthesizeSpeech_Ssml
- type Intent_Message_TelephonySynthesizeSpeech_Text
- type Intent_Message_TelephonyTransferCall
- func (*Intent_Message_TelephonyTransferCall) Descriptor() ([]byte, []int)
- func (x *Intent_Message_TelephonyTransferCall) GetPhoneNumber() string
- func (*Intent_Message_TelephonyTransferCall) ProtoMessage()
- func (x *Intent_Message_TelephonyTransferCall) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_TelephonyTransferCall) Reset()
- func (x *Intent_Message_TelephonyTransferCall) String() string
- type Intent_Message_TelephonyTransferCall_
- type Intent_Message_Text
- func (*Intent_Message_Text) Descriptor() ([]byte, []int)
- func (x *Intent_Message_Text) GetText() []string
- func (*Intent_Message_Text) ProtoMessage()
- func (x *Intent_Message_Text) ProtoReflect() protoreflect.Message
- func (x *Intent_Message_Text) Reset()
- func (x *Intent_Message_Text) String() string
- type Intent_Message_Text_
- type Intent_Parameter
- func (*Intent_Parameter) Descriptor() ([]byte, []int)
- func (x *Intent_Parameter) GetDefaultValue() string
- func (x *Intent_Parameter) GetDisplayName() string
- func (x *Intent_Parameter) GetEntityTypeDisplayName() string
- func (x *Intent_Parameter) GetIsList() bool
- func (x *Intent_Parameter) GetMandatory() bool
- func (x *Intent_Parameter) GetName() string
- func (x *Intent_Parameter) GetPrompts() []string
- func (x *Intent_Parameter) GetValue() string
- func (*Intent_Parameter) ProtoMessage()
- func (x *Intent_Parameter) ProtoReflect() protoreflect.Message
- func (x *Intent_Parameter) Reset()
- func (x *Intent_Parameter) String() string
- type Intent_TrainingPhrase
- func (*Intent_TrainingPhrase) Descriptor() ([]byte, []int)
- func (x *Intent_TrainingPhrase) GetName() string
- func (x *Intent_TrainingPhrase) GetParts() []*Intent_TrainingPhrase_Part
- func (x *Intent_TrainingPhrase) GetTimesAddedCount() int32
- func (x *Intent_TrainingPhrase) GetType() Intent_TrainingPhrase_Type
- func (*Intent_TrainingPhrase) ProtoMessage()
- func (x *Intent_TrainingPhrase) ProtoReflect() protoreflect.Message
- func (x *Intent_TrainingPhrase) Reset()
- func (x *Intent_TrainingPhrase) String() string
- type Intent_TrainingPhrase_Part
- func (*Intent_TrainingPhrase_Part) Descriptor() ([]byte, []int)
- func (x *Intent_TrainingPhrase_Part) GetAlias() string
- func (x *Intent_TrainingPhrase_Part) GetEntityType() string
- func (x *Intent_TrainingPhrase_Part) GetText() string
- func (x *Intent_TrainingPhrase_Part) GetUserDefined() bool
- func (*Intent_TrainingPhrase_Part) ProtoMessage()
- func (x *Intent_TrainingPhrase_Part) ProtoReflect() protoreflect.Message
- func (x *Intent_TrainingPhrase_Part) Reset()
- func (x *Intent_TrainingPhrase_Part) String() string
- type Intent_TrainingPhrase_Type
- func (Intent_TrainingPhrase_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Intent_TrainingPhrase_Type) Enum() *Intent_TrainingPhrase_Type
- func (Intent_TrainingPhrase_Type) EnumDescriptor() ([]byte, []int)
- func (x Intent_TrainingPhrase_Type) Number() protoreflect.EnumNumber
- func (x Intent_TrainingPhrase_Type) String() string
- func (Intent_TrainingPhrase_Type) Type() protoreflect.EnumType
- type Intent_WebhookState
- func (Intent_WebhookState) Descriptor() protoreflect.EnumDescriptor
- func (x Intent_WebhookState) Enum() *Intent_WebhookState
- func (Intent_WebhookState) EnumDescriptor() ([]byte, []int)
- func (x Intent_WebhookState) Number() protoreflect.EnumNumber
- func (x Intent_WebhookState) String() string
- func (Intent_WebhookState) Type() protoreflect.EnumType
- type IntentsClient
- type IntentsServer
- type KnowledgeAnswers
- func (*KnowledgeAnswers) Descriptor() ([]byte, []int)
- func (x *KnowledgeAnswers) GetAnswers() []*KnowledgeAnswers_Answer
- func (*KnowledgeAnswers) ProtoMessage()
- func (x *KnowledgeAnswers) ProtoReflect() protoreflect.Message
- func (x *KnowledgeAnswers) Reset()
- func (x *KnowledgeAnswers) String() string
- type KnowledgeAnswers_Answer
- func (*KnowledgeAnswers_Answer) Descriptor() ([]byte, []int)
- func (x *KnowledgeAnswers_Answer) GetAnswer() string
- func (x *KnowledgeAnswers_Answer) GetFaqQuestion() string
- func (x *KnowledgeAnswers_Answer) GetMatchConfidence() float32
- func (x *KnowledgeAnswers_Answer) GetMatchConfidenceLevel() KnowledgeAnswers_Answer_MatchConfidenceLevel
- func (x *KnowledgeAnswers_Answer) GetSource() string
- func (*KnowledgeAnswers_Answer) ProtoMessage()
- func (x *KnowledgeAnswers_Answer) ProtoReflect() protoreflect.Message
- func (x *KnowledgeAnswers_Answer) Reset()
- func (x *KnowledgeAnswers_Answer) String() string
- type KnowledgeAnswers_Answer_MatchConfidenceLevel
- func (KnowledgeAnswers_Answer_MatchConfidenceLevel) Descriptor() protoreflect.EnumDescriptor
- func (x KnowledgeAnswers_Answer_MatchConfidenceLevel) Enum() *KnowledgeAnswers_Answer_MatchConfidenceLevel
- func (KnowledgeAnswers_Answer_MatchConfidenceLevel) EnumDescriptor() ([]byte, []int)
- func (x KnowledgeAnswers_Answer_MatchConfidenceLevel) Number() protoreflect.EnumNumber
- func (x KnowledgeAnswers_Answer_MatchConfidenceLevel) String() string
- func (KnowledgeAnswers_Answer_MatchConfidenceLevel) Type() protoreflect.EnumType
- type KnowledgeAssistAnswer
- func (*KnowledgeAssistAnswer) Descriptor() ([]byte, []int)
- func (x *KnowledgeAssistAnswer) GetAnswerRecord() string
- func (x *KnowledgeAssistAnswer) GetSuggestedQuery() *KnowledgeAssistAnswer_SuggestedQuery
- func (x *KnowledgeAssistAnswer) GetSuggestedQueryAnswer() *KnowledgeAssistAnswer_KnowledgeAnswer
- func (*KnowledgeAssistAnswer) ProtoMessage()
- func (x *KnowledgeAssistAnswer) ProtoReflect() protoreflect.Message
- func (x *KnowledgeAssistAnswer) Reset()
- func (x *KnowledgeAssistAnswer) String() string
- type KnowledgeAssistAnswer_KnowledgeAnswer
- func (*KnowledgeAssistAnswer_KnowledgeAnswer) Descriptor() ([]byte, []int)
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer) GetAnswerText() string
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer) GetFaqSource() *KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer) GetGenerativeSource() *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource
- func (m *KnowledgeAssistAnswer_KnowledgeAnswer) GetSource() isKnowledgeAssistAnswer_KnowledgeAnswer_Source
- func (*KnowledgeAssistAnswer_KnowledgeAnswer) ProtoMessage()
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer) ProtoReflect() protoreflect.Message
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer) Reset()
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer) String() string
- type KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource
- func (*KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) Descriptor() ([]byte, []int)
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) GetQuestion() string
- func (*KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) ProtoMessage()
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) ProtoReflect() protoreflect.Message
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) Reset()
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) String() string
- type KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource_
- type KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource
- func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) Descriptor() ([]byte, []int)
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) GetSnippets() []*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet
- func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) ProtoMessage()
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) ProtoReflect() protoreflect.Message
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) Reset()
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) String() string
- type KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_
- type KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet
- func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) Descriptor() ([]byte, []int)
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) GetMetadata() *structpb.Struct
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) GetText() string
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) GetTitle() string
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) GetUri() string
- func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) ProtoMessage()
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) ProtoReflect() protoreflect.Message
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) Reset()
- func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) String() string
- type KnowledgeAssistAnswer_SuggestedQuery
- func (*KnowledgeAssistAnswer_SuggestedQuery) Descriptor() ([]byte, []int)
- func (x *KnowledgeAssistAnswer_SuggestedQuery) GetQueryText() string
- func (*KnowledgeAssistAnswer_SuggestedQuery) ProtoMessage()
- func (x *KnowledgeAssistAnswer_SuggestedQuery) ProtoReflect() protoreflect.Message
- func (x *KnowledgeAssistAnswer_SuggestedQuery) Reset()
- func (x *KnowledgeAssistAnswer_SuggestedQuery) String() string
- type KnowledgeBase
- func (*KnowledgeBase) Descriptor() ([]byte, []int)
- func (x *KnowledgeBase) GetDisplayName() string
- func (x *KnowledgeBase) GetLanguageCode() string
- func (x *KnowledgeBase) GetName() string
- func (*KnowledgeBase) ProtoMessage()
- func (x *KnowledgeBase) ProtoReflect() protoreflect.Message
- func (x *KnowledgeBase) Reset()
- func (x *KnowledgeBase) String() string
- type KnowledgeBasesClient
- type KnowledgeBasesServer
- type KnowledgeOperationMetadata
- func (*KnowledgeOperationMetadata) Descriptor() ([]byte, []int)
- func (x *KnowledgeOperationMetadata) GetExportOperationMetadata() *ExportOperationMetadata
- func (x *KnowledgeOperationMetadata) GetKnowledgeBase() string
- func (m *KnowledgeOperationMetadata) GetOperationMetadata() isKnowledgeOperationMetadata_OperationMetadata
- func (x *KnowledgeOperationMetadata) GetState() KnowledgeOperationMetadata_State
- func (*KnowledgeOperationMetadata) ProtoMessage()
- func (x *KnowledgeOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *KnowledgeOperationMetadata) Reset()
- func (x *KnowledgeOperationMetadata) String() string
- type KnowledgeOperationMetadata_ExportOperationMetadata
- type KnowledgeOperationMetadata_State
- func (KnowledgeOperationMetadata_State) Descriptor() protoreflect.EnumDescriptor
- func (x KnowledgeOperationMetadata_State) Enum() *KnowledgeOperationMetadata_State
- func (KnowledgeOperationMetadata_State) EnumDescriptor() ([]byte, []int)
- func (x KnowledgeOperationMetadata_State) Number() protoreflect.EnumNumber
- func (x KnowledgeOperationMetadata_State) String() string
- func (KnowledgeOperationMetadata_State) Type() protoreflect.EnumType
- type ListAnswerRecordsRequest
- func (*ListAnswerRecordsRequest) Descriptor() ([]byte, []int)
- func (x *ListAnswerRecordsRequest) GetFilter() string
- func (x *ListAnswerRecordsRequest) GetPageSize() int32
- func (x *ListAnswerRecordsRequest) GetPageToken() string
- func (x *ListAnswerRecordsRequest) GetParent() string
- func (*ListAnswerRecordsRequest) ProtoMessage()
- func (x *ListAnswerRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAnswerRecordsRequest) Reset()
- func (x *ListAnswerRecordsRequest) String() string
- type ListAnswerRecordsResponse
- func (*ListAnswerRecordsResponse) Descriptor() ([]byte, []int)
- func (x *ListAnswerRecordsResponse) GetAnswerRecords() []*AnswerRecord
- func (x *ListAnswerRecordsResponse) GetNextPageToken() string
- func (*ListAnswerRecordsResponse) ProtoMessage()
- func (x *ListAnswerRecordsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAnswerRecordsResponse) Reset()
- func (x *ListAnswerRecordsResponse) String() string
- type ListContextsRequest
- func (*ListContextsRequest) Descriptor() ([]byte, []int)
- func (x *ListContextsRequest) GetPageSize() int32
- func (x *ListContextsRequest) GetPageToken() string
- func (x *ListContextsRequest) GetParent() string
- func (*ListContextsRequest) ProtoMessage()
- func (x *ListContextsRequest) ProtoReflect() protoreflect.Message
- func (x *ListContextsRequest) Reset()
- func (x *ListContextsRequest) String() string
- type ListContextsResponse
- func (*ListContextsResponse) Descriptor() ([]byte, []int)
- func (x *ListContextsResponse) GetContexts() []*Context
- func (x *ListContextsResponse) GetNextPageToken() string
- func (*ListContextsResponse) ProtoMessage()
- func (x *ListContextsResponse) ProtoReflect() protoreflect.Message
- func (x *ListContextsResponse) Reset()
- func (x *ListContextsResponse) String() string
- type ListConversationProfilesRequest
- func (*ListConversationProfilesRequest) Descriptor() ([]byte, []int)
- func (x *ListConversationProfilesRequest) GetPageSize() int32
- func (x *ListConversationProfilesRequest) GetPageToken() string
- func (x *ListConversationProfilesRequest) GetParent() string
- func (*ListConversationProfilesRequest) ProtoMessage()
- func (x *ListConversationProfilesRequest) ProtoReflect() protoreflect.Message
- func (x *ListConversationProfilesRequest) Reset()
- func (x *ListConversationProfilesRequest) String() string
- type ListConversationProfilesResponse
- func (*ListConversationProfilesResponse) Descriptor() ([]byte, []int)
- func (x *ListConversationProfilesResponse) GetConversationProfiles() []*ConversationProfile
- func (x *ListConversationProfilesResponse) GetNextPageToken() string
- func (*ListConversationProfilesResponse) ProtoMessage()
- func (x *ListConversationProfilesResponse) ProtoReflect() protoreflect.Message
- func (x *ListConversationProfilesResponse) Reset()
- func (x *ListConversationProfilesResponse) String() string
- type ListConversationsRequest
- func (*ListConversationsRequest) Descriptor() ([]byte, []int)
- func (x *ListConversationsRequest) GetFilter() string
- func (x *ListConversationsRequest) GetPageSize() int32
- func (x *ListConversationsRequest) GetPageToken() string
- func (x *ListConversationsRequest) GetParent() string
- func (*ListConversationsRequest) ProtoMessage()
- func (x *ListConversationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListConversationsRequest) Reset()
- func (x *ListConversationsRequest) String() string
- type ListConversationsResponse
- func (*ListConversationsResponse) Descriptor() ([]byte, []int)
- func (x *ListConversationsResponse) GetConversations() []*Conversation
- func (x *ListConversationsResponse) GetNextPageToken() string
- func (*ListConversationsResponse) ProtoMessage()
- func (x *ListConversationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListConversationsResponse) Reset()
- func (x *ListConversationsResponse) String() string
- type ListDocumentsRequest
- func (*ListDocumentsRequest) Descriptor() ([]byte, []int)
- func (x *ListDocumentsRequest) GetFilter() string
- func (x *ListDocumentsRequest) GetPageSize() int32
- func (x *ListDocumentsRequest) GetPageToken() string
- func (x *ListDocumentsRequest) GetParent() string
- func (*ListDocumentsRequest) ProtoMessage()
- func (x *ListDocumentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDocumentsRequest) Reset()
- func (x *ListDocumentsRequest) String() string
- type ListDocumentsResponse
- func (*ListDocumentsResponse) Descriptor() ([]byte, []int)
- func (x *ListDocumentsResponse) GetDocuments() []*Document
- func (x *ListDocumentsResponse) GetNextPageToken() string
- func (*ListDocumentsResponse) ProtoMessage()
- func (x *ListDocumentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDocumentsResponse) Reset()
- func (x *ListDocumentsResponse) String() string
- type ListEntityTypesRequest
- func (*ListEntityTypesRequest) Descriptor() ([]byte, []int)
- func (x *ListEntityTypesRequest) GetLanguageCode() string
- func (x *ListEntityTypesRequest) GetPageSize() int32
- func (x *ListEntityTypesRequest) GetPageToken() string
- func (x *ListEntityTypesRequest) GetParent() string
- func (*ListEntityTypesRequest) ProtoMessage()
- func (x *ListEntityTypesRequest) ProtoReflect() protoreflect.Message
- func (x *ListEntityTypesRequest) Reset()
- func (x *ListEntityTypesRequest) String() string
- type ListEntityTypesResponse
- func (*ListEntityTypesResponse) Descriptor() ([]byte, []int)
- func (x *ListEntityTypesResponse) GetEntityTypes() []*EntityType
- func (x *ListEntityTypesResponse) GetNextPageToken() string
- func (*ListEntityTypesResponse) ProtoMessage()
- func (x *ListEntityTypesResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntityTypesResponse) Reset()
- func (x *ListEntityTypesResponse) String() string
- type ListEnvironmentsRequest
- func (*ListEnvironmentsRequest) Descriptor() ([]byte, []int)
- func (x *ListEnvironmentsRequest) GetPageSize() int32
- func (x *ListEnvironmentsRequest) GetPageToken() string
- func (x *ListEnvironmentsRequest) GetParent() string
- func (*ListEnvironmentsRequest) ProtoMessage()
- func (x *ListEnvironmentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListEnvironmentsRequest) Reset()
- func (x *ListEnvironmentsRequest) String() string
- type ListEnvironmentsResponse
- func (*ListEnvironmentsResponse) Descriptor() ([]byte, []int)
- func (x *ListEnvironmentsResponse) GetEnvironments() []*Environment
- func (x *ListEnvironmentsResponse) GetNextPageToken() string
- func (*ListEnvironmentsResponse) ProtoMessage()
- func (x *ListEnvironmentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListEnvironmentsResponse) Reset()
- func (x *ListEnvironmentsResponse) String() string
- type ListGeneratorsRequest
- func (*ListGeneratorsRequest) Descriptor() ([]byte, []int)
- func (x *ListGeneratorsRequest) GetPageSize() int32
- func (x *ListGeneratorsRequest) GetPageToken() string
- func (x *ListGeneratorsRequest) GetParent() string
- func (*ListGeneratorsRequest) ProtoMessage()
- func (x *ListGeneratorsRequest) ProtoReflect() protoreflect.Message
- func (x *ListGeneratorsRequest) Reset()
- func (x *ListGeneratorsRequest) String() string
- type ListGeneratorsResponse
- func (*ListGeneratorsResponse) Descriptor() ([]byte, []int)
- func (x *ListGeneratorsResponse) GetGenerators() []*Generator
- func (x *ListGeneratorsResponse) GetNextPageToken() string
- func (*ListGeneratorsResponse) ProtoMessage()
- func (x *ListGeneratorsResponse) ProtoReflect() protoreflect.Message
- func (x *ListGeneratorsResponse) Reset()
- func (x *ListGeneratorsResponse) String() string
- type ListIntentsRequest
- func (*ListIntentsRequest) Descriptor() ([]byte, []int)
- func (x *ListIntentsRequest) GetIntentView() IntentView
- func (x *ListIntentsRequest) GetLanguageCode() string
- func (x *ListIntentsRequest) GetPageSize() int32
- func (x *ListIntentsRequest) GetPageToken() string
- func (x *ListIntentsRequest) GetParent() string
- func (*ListIntentsRequest) ProtoMessage()
- func (x *ListIntentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListIntentsRequest) Reset()
- func (x *ListIntentsRequest) String() string
- type ListIntentsResponse
- func (*ListIntentsResponse) Descriptor() ([]byte, []int)
- func (x *ListIntentsResponse) GetIntents() []*Intent
- func (x *ListIntentsResponse) GetNextPageToken() string
- func (*ListIntentsResponse) ProtoMessage()
- func (x *ListIntentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListIntentsResponse) Reset()
- func (x *ListIntentsResponse) String() string
- type ListKnowledgeBasesRequest
- func (*ListKnowledgeBasesRequest) Descriptor() ([]byte, []int)
- func (x *ListKnowledgeBasesRequest) GetFilter() string
- func (x *ListKnowledgeBasesRequest) GetPageSize() int32
- func (x *ListKnowledgeBasesRequest) GetPageToken() string
- func (x *ListKnowledgeBasesRequest) GetParent() string
- func (*ListKnowledgeBasesRequest) ProtoMessage()
- func (x *ListKnowledgeBasesRequest) ProtoReflect() protoreflect.Message
- func (x *ListKnowledgeBasesRequest) Reset()
- func (x *ListKnowledgeBasesRequest) String() string
- type ListKnowledgeBasesResponse
- func (*ListKnowledgeBasesResponse) Descriptor() ([]byte, []int)
- func (x *ListKnowledgeBasesResponse) GetKnowledgeBases() []*KnowledgeBase
- func (x *ListKnowledgeBasesResponse) GetNextPageToken() string
- func (*ListKnowledgeBasesResponse) ProtoMessage()
- func (x *ListKnowledgeBasesResponse) ProtoReflect() protoreflect.Message
- func (x *ListKnowledgeBasesResponse) Reset()
- func (x *ListKnowledgeBasesResponse) String() string
- type ListMessagesRequest
- func (*ListMessagesRequest) Descriptor() ([]byte, []int)
- func (x *ListMessagesRequest) GetFilter() string
- func (x *ListMessagesRequest) GetPageSize() int32
- func (x *ListMessagesRequest) GetPageToken() string
- func (x *ListMessagesRequest) GetParent() string
- func (*ListMessagesRequest) ProtoMessage()
- func (x *ListMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *ListMessagesRequest) Reset()
- func (x *ListMessagesRequest) String() string
- type ListMessagesResponse
- func (*ListMessagesResponse) Descriptor() ([]byte, []int)
- func (x *ListMessagesResponse) GetMessages() []*Message
- func (x *ListMessagesResponse) GetNextPageToken() string
- func (*ListMessagesResponse) ProtoMessage()
- func (x *ListMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListMessagesResponse) Reset()
- func (x *ListMessagesResponse) String() string
- type ListParticipantsRequest
- func (*ListParticipantsRequest) Descriptor() ([]byte, []int)
- func (x *ListParticipantsRequest) GetPageSize() int32
- func (x *ListParticipantsRequest) GetPageToken() string
- func (x *ListParticipantsRequest) GetParent() string
- func (*ListParticipantsRequest) ProtoMessage()
- func (x *ListParticipantsRequest) ProtoReflect() protoreflect.Message
- func (x *ListParticipantsRequest) Reset()
- func (x *ListParticipantsRequest) String() string
- type ListParticipantsResponse
- func (*ListParticipantsResponse) Descriptor() ([]byte, []int)
- func (x *ListParticipantsResponse) GetNextPageToken() string
- func (x *ListParticipantsResponse) GetParticipants() []*Participant
- func (*ListParticipantsResponse) ProtoMessage()
- func (x *ListParticipantsResponse) ProtoReflect() protoreflect.Message
- func (x *ListParticipantsResponse) Reset()
- func (x *ListParticipantsResponse) String() string
- type ListPhoneNumbersRequest
- func (*ListPhoneNumbersRequest) Descriptor() ([]byte, []int)
- func (x *ListPhoneNumbersRequest) GetPageSize() int32
- func (x *ListPhoneNumbersRequest) GetPageToken() string
- func (x *ListPhoneNumbersRequest) GetParent() string
- func (x *ListPhoneNumbersRequest) GetShowDeleted() bool
- func (*ListPhoneNumbersRequest) ProtoMessage()
- func (x *ListPhoneNumbersRequest) ProtoReflect() protoreflect.Message
- func (x *ListPhoneNumbersRequest) Reset()
- func (x *ListPhoneNumbersRequest) String() string
- type ListPhoneNumbersResponse
- func (*ListPhoneNumbersResponse) Descriptor() ([]byte, []int)
- func (x *ListPhoneNumbersResponse) GetNextPageToken() string
- func (x *ListPhoneNumbersResponse) GetPhoneNumbers() []*PhoneNumber
- func (*ListPhoneNumbersResponse) ProtoMessage()
- func (x *ListPhoneNumbersResponse) ProtoReflect() protoreflect.Message
- func (x *ListPhoneNumbersResponse) Reset()
- func (x *ListPhoneNumbersResponse) String() string
- type ListSessionEntityTypesRequest
- func (*ListSessionEntityTypesRequest) Descriptor() ([]byte, []int)
- func (x *ListSessionEntityTypesRequest) GetPageSize() int32
- func (x *ListSessionEntityTypesRequest) GetPageToken() string
- func (x *ListSessionEntityTypesRequest) GetParent() string
- func (*ListSessionEntityTypesRequest) ProtoMessage()
- func (x *ListSessionEntityTypesRequest) ProtoReflect() protoreflect.Message
- func (x *ListSessionEntityTypesRequest) Reset()
- func (x *ListSessionEntityTypesRequest) String() string
- type ListSessionEntityTypesResponse
- func (*ListSessionEntityTypesResponse) Descriptor() ([]byte, []int)
- func (x *ListSessionEntityTypesResponse) GetNextPageToken() string
- func (x *ListSessionEntityTypesResponse) GetSessionEntityTypes() []*SessionEntityType
- func (*ListSessionEntityTypesResponse) ProtoMessage()
- func (x *ListSessionEntityTypesResponse) ProtoReflect() protoreflect.Message
- func (x *ListSessionEntityTypesResponse) Reset()
- func (x *ListSessionEntityTypesResponse) String() string
- type ListSipTrunksRequest
- func (*ListSipTrunksRequest) Descriptor() ([]byte, []int)
- func (x *ListSipTrunksRequest) GetPageSize() int32
- func (x *ListSipTrunksRequest) GetPageToken() string
- func (x *ListSipTrunksRequest) GetParent() string
- func (*ListSipTrunksRequest) ProtoMessage()
- func (x *ListSipTrunksRequest) ProtoReflect() protoreflect.Message
- func (x *ListSipTrunksRequest) Reset()
- func (x *ListSipTrunksRequest) String() string
- type ListSipTrunksResponse
- func (*ListSipTrunksResponse) Descriptor() ([]byte, []int)
- func (x *ListSipTrunksResponse) GetNextPageToken() string
- func (x *ListSipTrunksResponse) GetSipTrunks() []*SipTrunk
- func (*ListSipTrunksResponse) ProtoMessage()
- func (x *ListSipTrunksResponse) ProtoReflect() protoreflect.Message
- func (x *ListSipTrunksResponse) Reset()
- func (x *ListSipTrunksResponse) String() string
- type ListSuggestionsRequest
- func (*ListSuggestionsRequest) Descriptor() ([]byte, []int)
- func (x *ListSuggestionsRequest) GetFilter() string
- func (x *ListSuggestionsRequest) GetPageSize() int32
- func (x *ListSuggestionsRequest) GetPageToken() string
- func (x *ListSuggestionsRequest) GetParent() string
- func (*ListSuggestionsRequest) ProtoMessage()
- func (x *ListSuggestionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSuggestionsRequest) Reset()
- func (x *ListSuggestionsRequest) String() string
- type ListSuggestionsResponse
- func (*ListSuggestionsResponse) Descriptor() ([]byte, []int)
- func (x *ListSuggestionsResponse) GetNextPageToken() string
- func (x *ListSuggestionsResponse) GetSuggestions() []*Suggestion
- func (*ListSuggestionsResponse) ProtoMessage()
- func (x *ListSuggestionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSuggestionsResponse) Reset()
- func (x *ListSuggestionsResponse) String() string
- type ListVersionsRequest
- func (*ListVersionsRequest) Descriptor() ([]byte, []int)
- func (x *ListVersionsRequest) GetPageSize() int32
- func (x *ListVersionsRequest) GetPageToken() string
- func (x *ListVersionsRequest) GetParent() string
- func (*ListVersionsRequest) ProtoMessage()
- func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListVersionsRequest) Reset()
- func (x *ListVersionsRequest) String() string
- type ListVersionsResponse
- func (*ListVersionsResponse) Descriptor() ([]byte, []int)
- func (x *ListVersionsResponse) GetNextPageToken() string
- func (x *ListVersionsResponse) GetVersions() []*Version
- func (*ListVersionsResponse) ProtoMessage()
- func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListVersionsResponse) Reset()
- func (x *ListVersionsResponse) String() string
- type LoggingConfig
- func (*LoggingConfig) Descriptor() ([]byte, []int)
- func (x *LoggingConfig) GetEnableStackdriverLogging() bool
- func (*LoggingConfig) ProtoMessage()
- func (x *LoggingConfig) ProtoReflect() protoreflect.Message
- func (x *LoggingConfig) Reset()
- func (x *LoggingConfig) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (x *Message) GetContent() string
- func (x *Message) GetCreateTime() *timestamppb.Timestamp
- func (x *Message) GetLanguageCode() string
- func (x *Message) GetMessageAnnotation() *MessageAnnotation
- func (x *Message) GetName() string
- func (x *Message) GetParticipant() string
- func (x *Message) GetParticipantRole() Participant_Role
- func (x *Message) GetResponseMessages() []*ResponseMessage
- func (x *Message) GetSendTime() *timestamppb.Timestamp
- func (x *Message) GetSentimentAnalysis() *SentimentAnalysisResult
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type MessageAnnotation
- func (*MessageAnnotation) Descriptor() ([]byte, []int)
- func (x *MessageAnnotation) GetContainEntities() bool
- func (x *MessageAnnotation) GetParts() []*AnnotatedMessagePart
- func (*MessageAnnotation) ProtoMessage()
- func (x *MessageAnnotation) ProtoReflect() protoreflect.Message
- func (x *MessageAnnotation) Reset()
- func (x *MessageAnnotation) String() string
- type MessageEntry
- func (*MessageEntry) Descriptor() ([]byte, []int)
- func (x *MessageEntry) GetCreateTime() *timestamppb.Timestamp
- func (x *MessageEntry) GetLanguageCode() string
- func (x *MessageEntry) GetRole() MessageEntry_Role
- func (x *MessageEntry) GetText() string
- func (*MessageEntry) ProtoMessage()
- func (x *MessageEntry) ProtoReflect() protoreflect.Message
- func (x *MessageEntry) Reset()
- func (x *MessageEntry) String() string
- type MessageEntry_Role
- func (MessageEntry_Role) Descriptor() protoreflect.EnumDescriptor
- func (x MessageEntry_Role) Enum() *MessageEntry_Role
- func (MessageEntry_Role) EnumDescriptor() ([]byte, []int)
- func (x MessageEntry_Role) Number() protoreflect.EnumNumber
- func (x MessageEntry_Role) String() string
- func (MessageEntry_Role) Type() protoreflect.EnumType
- type NotificationConfig
- func (*NotificationConfig) Descriptor() ([]byte, []int)
- func (x *NotificationConfig) GetMessageFormat() NotificationConfig_MessageFormat
- func (x *NotificationConfig) GetTopic() string
- func (*NotificationConfig) ProtoMessage()
- func (x *NotificationConfig) ProtoReflect() protoreflect.Message
- func (x *NotificationConfig) Reset()
- func (x *NotificationConfig) String() string
- type NotificationConfig_MessageFormat
- func (NotificationConfig_MessageFormat) Descriptor() protoreflect.EnumDescriptor
- func (x NotificationConfig_MessageFormat) Enum() *NotificationConfig_MessageFormat
- func (NotificationConfig_MessageFormat) EnumDescriptor() ([]byte, []int)
- func (x NotificationConfig_MessageFormat) Number() protoreflect.EnumNumber
- func (x NotificationConfig_MessageFormat) String() string
- func (NotificationConfig_MessageFormat) Type() protoreflect.EnumType
- type OriginalDetectIntentRequest
- func (*OriginalDetectIntentRequest) Descriptor() ([]byte, []int)
- func (x *OriginalDetectIntentRequest) GetPayload() *structpb.Struct
- func (x *OriginalDetectIntentRequest) GetSource() string
- func (x *OriginalDetectIntentRequest) GetVersion() string
- func (*OriginalDetectIntentRequest) ProtoMessage()
- func (x *OriginalDetectIntentRequest) ProtoReflect() protoreflect.Message
- func (x *OriginalDetectIntentRequest) Reset()
- func (x *OriginalDetectIntentRequest) String() string
- type OutputAudio
- func (*OutputAudio) Descriptor() ([]byte, []int)
- func (x *OutputAudio) GetAudio() []byte
- func (x *OutputAudio) GetConfig() *OutputAudioConfig
- func (*OutputAudio) ProtoMessage()
- func (x *OutputAudio) ProtoReflect() protoreflect.Message
- func (x *OutputAudio) Reset()
- func (x *OutputAudio) String() string
- type OutputAudioConfig
- func (*OutputAudioConfig) Descriptor() ([]byte, []int)
- func (x *OutputAudioConfig) GetAudioEncoding() OutputAudioEncoding
- func (x *OutputAudioConfig) GetSampleRateHertz() int32
- func (x *OutputAudioConfig) GetSynthesizeSpeechConfig() *SynthesizeSpeechConfig
- func (*OutputAudioConfig) ProtoMessage()
- func (x *OutputAudioConfig) ProtoReflect() protoreflect.Message
- func (x *OutputAudioConfig) Reset()
- func (x *OutputAudioConfig) String() string
- type OutputAudioEncoding
- func (OutputAudioEncoding) Descriptor() protoreflect.EnumDescriptor
- func (x OutputAudioEncoding) Enum() *OutputAudioEncoding
- func (OutputAudioEncoding) EnumDescriptor() ([]byte, []int)
- func (x OutputAudioEncoding) Number() protoreflect.EnumNumber
- func (x OutputAudioEncoding) String() string
- func (OutputAudioEncoding) Type() protoreflect.EnumType
- type Participant
- func (*Participant) Descriptor() ([]byte, []int)
- func (x *Participant) GetDocumentsMetadataFilters() map[string]string
- func (x *Participant) GetName() string
- func (x *Participant) GetObfuscatedExternalUserId() string
- func (x *Participant) GetRole() Participant_Role
- func (*Participant) ProtoMessage()
- func (x *Participant) ProtoReflect() protoreflect.Message
- func (x *Participant) Reset()
- func (x *Participant) String() string
- type Participant_Role
- func (Participant_Role) Descriptor() protoreflect.EnumDescriptor
- func (x Participant_Role) Enum() *Participant_Role
- func (Participant_Role) EnumDescriptor() ([]byte, []int)
- func (x Participant_Role) Number() protoreflect.EnumNumber
- func (x Participant_Role) String() string
- func (Participant_Role) Type() protoreflect.EnumType
- type ParticipantsClient
- type ParticipantsServer
- type Participants_StreamingAnalyzeContentClient
- type Participants_StreamingAnalyzeContentServer
- type PhoneNumber
- func (*PhoneNumber) Descriptor() ([]byte, []int)
- func (x *PhoneNumber) GetConversationProfile() string
- func (x *PhoneNumber) GetLifecycleState() PhoneNumber_LifecycleState
- func (x *PhoneNumber) GetName() string
- func (x *PhoneNumber) GetPhoneNumber() string
- func (*PhoneNumber) ProtoMessage()
- func (x *PhoneNumber) ProtoReflect() protoreflect.Message
- func (x *PhoneNumber) Reset()
- func (x *PhoneNumber) String() string
- type PhoneNumber_LifecycleState
- func (PhoneNumber_LifecycleState) Descriptor() protoreflect.EnumDescriptor
- func (x PhoneNumber_LifecycleState) Enum() *PhoneNumber_LifecycleState
- func (PhoneNumber_LifecycleState) EnumDescriptor() ([]byte, []int)
- func (x PhoneNumber_LifecycleState) Number() protoreflect.EnumNumber
- func (x PhoneNumber_LifecycleState) String() string
- func (PhoneNumber_LifecycleState) Type() protoreflect.EnumType
- type PhoneNumbersClient
- type PhoneNumbersServer
- type QueryInput
- func (*QueryInput) Descriptor() ([]byte, []int)
- func (x *QueryInput) GetAudioConfig() *InputAudioConfig
- func (x *QueryInput) GetDtmf() *TelephonyDtmfEvents
- func (x *QueryInput) GetEvent() *EventInput
- func (m *QueryInput) GetInput() isQueryInput_Input
- func (x *QueryInput) GetText() *TextInput
- func (*QueryInput) ProtoMessage()
- func (x *QueryInput) ProtoReflect() protoreflect.Message
- func (x *QueryInput) Reset()
- func (x *QueryInput) String() string
- type QueryInput_AudioConfig
- type QueryInput_Dtmf
- type QueryInput_Event
- type QueryInput_Text
- type QueryParameters
- func (*QueryParameters) Descriptor() ([]byte, []int)
- func (x *QueryParameters) GetContexts() []*Context
- func (x *QueryParameters) GetGeoLocation() *latlng.LatLng
- func (x *QueryParameters) GetKnowledgeBaseNames() []string
- func (x *QueryParameters) GetPayload() *structpb.Struct
- func (x *QueryParameters) GetPlatform() string
- func (x *QueryParameters) GetResetContexts() bool
- func (x *QueryParameters) GetSentimentAnalysisRequestConfig() *SentimentAnalysisRequestConfig
- func (x *QueryParameters) GetSessionEntityTypes() []*SessionEntityType
- func (x *QueryParameters) GetSubAgents() []*SubAgent
- func (x *QueryParameters) GetTimeZone() string
- func (x *QueryParameters) GetWebhookHeaders() map[string]string
- func (*QueryParameters) ProtoMessage()
- func (x *QueryParameters) ProtoReflect() protoreflect.Message
- func (x *QueryParameters) Reset()
- func (x *QueryParameters) String() string
- type QueryResult
- func (*QueryResult) Descriptor() ([]byte, []int)
- func (x *QueryResult) GetAction() string
- func (x *QueryResult) GetAllRequiredParamsPresent() bool
- func (x *QueryResult) GetCancelsSlotFilling() bool
- func (x *QueryResult) GetDiagnosticInfo() *structpb.Struct
- func (x *QueryResult) GetFulfillmentMessages() []*Intent_Message
- func (x *QueryResult) GetFulfillmentText() string
- func (x *QueryResult) GetIntent() *Intent
- func (x *QueryResult) GetIntentDetectionConfidence() float32
- func (x *QueryResult) GetKnowledgeAnswers() *KnowledgeAnswers
- func (x *QueryResult) GetLanguageCode() string
- func (x *QueryResult) GetOutputContexts() []*Context
- func (x *QueryResult) GetParameters() *structpb.Struct
- func (x *QueryResult) GetQueryText() string
- func (x *QueryResult) GetSentimentAnalysisResult() *SentimentAnalysisResult
- func (x *QueryResult) GetSpeechRecognitionConfidence() float32
- func (x *QueryResult) GetWebhookPayload() *structpb.Struct
- func (x *QueryResult) GetWebhookSource() string
- func (*QueryResult) ProtoMessage()
- func (x *QueryResult) ProtoReflect() protoreflect.Message
- func (x *QueryResult) Reset()
- func (x *QueryResult) String() string
- type ReloadDocumentRequest
- func (*ReloadDocumentRequest) Descriptor() ([]byte, []int)
- func (x *ReloadDocumentRequest) GetGcsSource() *GcsSource
- func (x *ReloadDocumentRequest) GetImportGcsCustomMetadata() bool
- func (x *ReloadDocumentRequest) GetName() string
- func (m *ReloadDocumentRequest) GetSource() isReloadDocumentRequest_Source
- func (*ReloadDocumentRequest) ProtoMessage()
- func (x *ReloadDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *ReloadDocumentRequest) Reset()
- func (x *ReloadDocumentRequest) String() string
- type ReloadDocumentRequest_GcsSource
- type ResponseMessage
- func (*ResponseMessage) Descriptor() ([]byte, []int)
- func (x *ResponseMessage) GetEndInteraction() *ResponseMessage_EndInteraction
- func (x *ResponseMessage) GetLiveAgentHandoff() *ResponseMessage_LiveAgentHandoff
- func (m *ResponseMessage) GetMessage() isResponseMessage_Message
- func (x *ResponseMessage) GetMixedAudio() *ResponseMessage_MixedAudio
- func (x *ResponseMessage) GetPayload() *structpb.Struct
- func (x *ResponseMessage) GetTelephonyTransferCall() *ResponseMessage_TelephonyTransferCall
- func (x *ResponseMessage) GetText() *ResponseMessage_Text
- func (*ResponseMessage) ProtoMessage()
- func (x *ResponseMessage) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage) Reset()
- func (x *ResponseMessage) String() string
- type ResponseMessage_EndInteraction
- func (*ResponseMessage_EndInteraction) Descriptor() ([]byte, []int)
- func (*ResponseMessage_EndInteraction) ProtoMessage()
- func (x *ResponseMessage_EndInteraction) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage_EndInteraction) Reset()
- func (x *ResponseMessage_EndInteraction) String() string
- type ResponseMessage_EndInteraction_
- type ResponseMessage_LiveAgentHandoff
- func (*ResponseMessage_LiveAgentHandoff) Descriptor() ([]byte, []int)
- func (x *ResponseMessage_LiveAgentHandoff) GetMetadata() *structpb.Struct
- func (*ResponseMessage_LiveAgentHandoff) ProtoMessage()
- func (x *ResponseMessage_LiveAgentHandoff) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage_LiveAgentHandoff) Reset()
- func (x *ResponseMessage_LiveAgentHandoff) String() string
- type ResponseMessage_LiveAgentHandoff_
- type ResponseMessage_MixedAudio
- func (*ResponseMessage_MixedAudio) Descriptor() ([]byte, []int)
- func (x *ResponseMessage_MixedAudio) GetSegments() []*ResponseMessage_MixedAudio_Segment
- func (*ResponseMessage_MixedAudio) ProtoMessage()
- func (x *ResponseMessage_MixedAudio) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage_MixedAudio) Reset()
- func (x *ResponseMessage_MixedAudio) String() string
- type ResponseMessage_MixedAudio_
- type ResponseMessage_MixedAudio_Segment
- func (*ResponseMessage_MixedAudio_Segment) Descriptor() ([]byte, []int)
- func (x *ResponseMessage_MixedAudio_Segment) GetAllowPlaybackInterruption() bool
- func (x *ResponseMessage_MixedAudio_Segment) GetAudio() []byte
- func (m *ResponseMessage_MixedAudio_Segment) GetContent() isResponseMessage_MixedAudio_Segment_Content
- func (x *ResponseMessage_MixedAudio_Segment) GetUri() string
- func (*ResponseMessage_MixedAudio_Segment) ProtoMessage()
- func (x *ResponseMessage_MixedAudio_Segment) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage_MixedAudio_Segment) Reset()
- func (x *ResponseMessage_MixedAudio_Segment) String() string
- type ResponseMessage_MixedAudio_Segment_Audio
- type ResponseMessage_MixedAudio_Segment_Uri
- type ResponseMessage_Payload
- type ResponseMessage_TelephonyTransferCall
- func (*ResponseMessage_TelephonyTransferCall) Descriptor() ([]byte, []int)
- func (m *ResponseMessage_TelephonyTransferCall) GetEndpoint() isResponseMessage_TelephonyTransferCall_Endpoint
- func (x *ResponseMessage_TelephonyTransferCall) GetPhoneNumber() string
- func (x *ResponseMessage_TelephonyTransferCall) GetSipUri() string
- func (*ResponseMessage_TelephonyTransferCall) ProtoMessage()
- func (x *ResponseMessage_TelephonyTransferCall) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage_TelephonyTransferCall) Reset()
- func (x *ResponseMessage_TelephonyTransferCall) String() string
- type ResponseMessage_TelephonyTransferCall_
- type ResponseMessage_TelephonyTransferCall_PhoneNumber
- type ResponseMessage_TelephonyTransferCall_SipUri
- type ResponseMessage_Text
- func (*ResponseMessage_Text) Descriptor() ([]byte, []int)
- func (x *ResponseMessage_Text) GetText() []string
- func (*ResponseMessage_Text) ProtoMessage()
- func (x *ResponseMessage_Text) ProtoReflect() protoreflect.Message
- func (x *ResponseMessage_Text) Reset()
- func (x *ResponseMessage_Text) String() string
- type ResponseMessage_Text_
- type RestoreAgentRequest
- func (*RestoreAgentRequest) Descriptor() ([]byte, []int)
- func (m *RestoreAgentRequest) GetAgent() isRestoreAgentRequest_Agent
- func (x *RestoreAgentRequest) GetAgentContent() []byte
- func (x *RestoreAgentRequest) GetAgentUri() string
- func (x *RestoreAgentRequest) GetParent() string
- func (*RestoreAgentRequest) ProtoMessage()
- func (x *RestoreAgentRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreAgentRequest) Reset()
- func (x *RestoreAgentRequest) String() string
- type RestoreAgentRequest_AgentContent
- type RestoreAgentRequest_AgentUri
- type SearchAgentsRequest
- func (*SearchAgentsRequest) Descriptor() ([]byte, []int)
- func (x *SearchAgentsRequest) GetPageSize() int32
- func (x *SearchAgentsRequest) GetPageToken() string
- func (x *SearchAgentsRequest) GetParent() string
- func (*SearchAgentsRequest) ProtoMessage()
- func (x *SearchAgentsRequest) ProtoReflect() protoreflect.Message
- func (x *SearchAgentsRequest) Reset()
- func (x *SearchAgentsRequest) String() string
- type SearchAgentsResponse
- func (*SearchAgentsResponse) Descriptor() ([]byte, []int)
- func (x *SearchAgentsResponse) GetAgents() []*Agent
- func (x *SearchAgentsResponse) GetNextPageToken() string
- func (*SearchAgentsResponse) ProtoMessage()
- func (x *SearchAgentsResponse) ProtoReflect() protoreflect.Message
- func (x *SearchAgentsResponse) Reset()
- func (x *SearchAgentsResponse) String() string
- type SearchKnowledgeAnswer
- func (*SearchKnowledgeAnswer) Descriptor() ([]byte, []int)
- func (x *SearchKnowledgeAnswer) GetAnswer() string
- func (x *SearchKnowledgeAnswer) GetAnswerRecord() string
- func (x *SearchKnowledgeAnswer) GetAnswerSources() []*SearchKnowledgeAnswer_AnswerSource
- func (x *SearchKnowledgeAnswer) GetAnswerType() SearchKnowledgeAnswer_AnswerType
- func (*SearchKnowledgeAnswer) ProtoMessage()
- func (x *SearchKnowledgeAnswer) ProtoReflect() protoreflect.Message
- func (x *SearchKnowledgeAnswer) Reset()
- func (x *SearchKnowledgeAnswer) String() string
- type SearchKnowledgeAnswer_AnswerSource
- func (*SearchKnowledgeAnswer_AnswerSource) Descriptor() ([]byte, []int)
- func (x *SearchKnowledgeAnswer_AnswerSource) GetMetadata() *structpb.Struct
- func (x *SearchKnowledgeAnswer_AnswerSource) GetSnippet() string
- func (x *SearchKnowledgeAnswer_AnswerSource) GetTitle() string
- func (x *SearchKnowledgeAnswer_AnswerSource) GetUri() string
- func (*SearchKnowledgeAnswer_AnswerSource) ProtoMessage()
- func (x *SearchKnowledgeAnswer_AnswerSource) ProtoReflect() protoreflect.Message
- func (x *SearchKnowledgeAnswer_AnswerSource) Reset()
- func (x *SearchKnowledgeAnswer_AnswerSource) String() string
- type SearchKnowledgeAnswer_AnswerType
- func (SearchKnowledgeAnswer_AnswerType) Descriptor() protoreflect.EnumDescriptor
- func (x SearchKnowledgeAnswer_AnswerType) Enum() *SearchKnowledgeAnswer_AnswerType
- func (SearchKnowledgeAnswer_AnswerType) EnumDescriptor() ([]byte, []int)
- func (x SearchKnowledgeAnswer_AnswerType) Number() protoreflect.EnumNumber
- func (x SearchKnowledgeAnswer_AnswerType) String() string
- func (SearchKnowledgeAnswer_AnswerType) Type() protoreflect.EnumType
- type SearchKnowledgeRequest
- func (*SearchKnowledgeRequest) Descriptor() ([]byte, []int)
- func (x *SearchKnowledgeRequest) GetConversation() string
- func (x *SearchKnowledgeRequest) GetConversationProfile() string
- func (x *SearchKnowledgeRequest) GetEndUserMetadata() *structpb.Struct
- func (x *SearchKnowledgeRequest) GetExactSearch() bool
- func (x *SearchKnowledgeRequest) GetLatestMessage() string
- func (x *SearchKnowledgeRequest) GetParent() string
- func (x *SearchKnowledgeRequest) GetQuery() *TextInput
- func (x *SearchKnowledgeRequest) GetQuerySource() SearchKnowledgeRequest_QuerySource
- func (x *SearchKnowledgeRequest) GetSearchConfig() *SearchKnowledgeRequest_SearchConfig
- func (x *SearchKnowledgeRequest) GetSessionId() string
- func (*SearchKnowledgeRequest) ProtoMessage()
- func (x *SearchKnowledgeRequest) ProtoReflect() protoreflect.Message
- func (x *SearchKnowledgeRequest) Reset()
- func (x *SearchKnowledgeRequest) String() string
- type SearchKnowledgeRequest_QuerySource
- func (SearchKnowledgeRequest_QuerySource) Descriptor() protoreflect.EnumDescriptor
- func (x SearchKnowledgeRequest_QuerySource) Enum() *SearchKnowledgeRequest_QuerySource
- func (SearchKnowledgeRequest_QuerySource) EnumDescriptor() ([]byte, []int)
- func (x SearchKnowledgeRequest_QuerySource) Number() protoreflect.EnumNumber
- func (x SearchKnowledgeRequest_QuerySource) String() string
- func (SearchKnowledgeRequest_QuerySource) Type() protoreflect.EnumType
- type SearchKnowledgeRequest_SearchConfig
- func (*SearchKnowledgeRequest_SearchConfig) Descriptor() ([]byte, []int)
- func (x *SearchKnowledgeRequest_SearchConfig) GetBoostSpecs() []*SearchKnowledgeRequest_SearchConfig_BoostSpecs
- func (x *SearchKnowledgeRequest_SearchConfig) GetFilterSpecs() []*SearchKnowledgeRequest_SearchConfig_FilterSpecs
- func (*SearchKnowledgeRequest_SearchConfig) ProtoMessage()
- func (x *SearchKnowledgeRequest_SearchConfig) ProtoReflect() protoreflect.Message
- func (x *SearchKnowledgeRequest_SearchConfig) Reset()
- func (x *SearchKnowledgeRequest_SearchConfig) String() string
- type SearchKnowledgeRequest_SearchConfig_BoostSpecs
- func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs) Descriptor() ([]byte, []int)
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs) GetDataStores() []string
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs) GetSpec() []*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec
- func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs) ProtoMessage()
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs) ProtoReflect() protoreflect.Message
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs) Reset()
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs) String() string
- type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec
- func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) Descriptor() ([]byte, []int)
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) GetConditionBoostSpecs() []*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec
- func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) ProtoMessage()
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) ProtoReflect() protoreflect.Message
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) Reset()
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) String() string
- type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec
- func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) Descriptor() ([]byte, []int)
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) GetBoost() float32
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) GetBoostControlSpec() *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) GetCondition() string
- func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) ProtoMessage()
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) ProtoReflect() protoreflect.Message
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) Reset()
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) String() string
- type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec
- func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) Descriptor() ([]byte, []int)
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) GetAttributeType() SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) GetControlPoints() []*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) GetFieldName() string
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) GetInterpolationType() SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType
- func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) ProtoMessage()
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) ProtoReflect() protoreflect.Message
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) Reset()
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) String() string
- type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType
- func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Descriptor() protoreflect.EnumDescriptor
- func (x SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Enum() *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType
- func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) EnumDescriptor() ([]byte, []int)
- func (x SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Number() protoreflect.EnumNumber
- func (x SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) String() string
- func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Type() protoreflect.EnumType
- type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint
- func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) Descriptor() ([]byte, []int)
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) GetAttributeValue() string
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) GetBoostAmount() float32
- func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) ProtoMessage()
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) ProtoReflect() protoreflect.Message
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) Reset()
- func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) String() string
- type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType
- func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Descriptor() protoreflect.EnumDescriptor
- func (x SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Enum() *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType
- func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) EnumDescriptor() ([]byte, []int)
- func (x SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Number() protoreflect.EnumNumber
- func (x SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) String() string
- func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Type() protoreflect.EnumType
- type SearchKnowledgeRequest_SearchConfig_FilterSpecs
- func (*SearchKnowledgeRequest_SearchConfig_FilterSpecs) Descriptor() ([]byte, []int)
- func (x *SearchKnowledgeRequest_SearchConfig_FilterSpecs) GetDataStores() []string
- func (x *SearchKnowledgeRequest_SearchConfig_FilterSpecs) GetFilter() string
- func (*SearchKnowledgeRequest_SearchConfig_FilterSpecs) ProtoMessage()
- func (x *SearchKnowledgeRequest_SearchConfig_FilterSpecs) ProtoReflect() protoreflect.Message
- func (x *SearchKnowledgeRequest_SearchConfig_FilterSpecs) Reset()
- func (x *SearchKnowledgeRequest_SearchConfig_FilterSpecs) String() string
- type SearchKnowledgeResponse
- func (*SearchKnowledgeResponse) Descriptor() ([]byte, []int)
- func (x *SearchKnowledgeResponse) GetAnswers() []*SearchKnowledgeAnswer
- func (x *SearchKnowledgeResponse) GetRewrittenQuery() string
- func (*SearchKnowledgeResponse) ProtoMessage()
- func (x *SearchKnowledgeResponse) ProtoReflect() protoreflect.Message
- func (x *SearchKnowledgeResponse) Reset()
- func (x *SearchKnowledgeResponse) String() string
- type Sentiment
- func (*Sentiment) Descriptor() ([]byte, []int)
- func (x *Sentiment) GetMagnitude() float32
- func (x *Sentiment) GetScore() float32
- func (*Sentiment) ProtoMessage()
- func (x *Sentiment) ProtoReflect() protoreflect.Message
- func (x *Sentiment) Reset()
- func (x *Sentiment) String() string
- type SentimentAnalysisRequestConfig
- func (*SentimentAnalysisRequestConfig) Descriptor() ([]byte, []int)
- func (x *SentimentAnalysisRequestConfig) GetAnalyzeQueryTextSentiment() bool
- func (*SentimentAnalysisRequestConfig) ProtoMessage()
- func (x *SentimentAnalysisRequestConfig) ProtoReflect() protoreflect.Message
- func (x *SentimentAnalysisRequestConfig) Reset()
- func (x *SentimentAnalysisRequestConfig) String() string
- type SentimentAnalysisResult
- func (*SentimentAnalysisResult) Descriptor() ([]byte, []int)
- func (x *SentimentAnalysisResult) GetQueryTextSentiment() *Sentiment
- func (*SentimentAnalysisResult) ProtoMessage()
- func (x *SentimentAnalysisResult) ProtoReflect() protoreflect.Message
- func (x *SentimentAnalysisResult) Reset()
- func (x *SentimentAnalysisResult) String() string
- type SessionEntityType
- func (*SessionEntityType) Descriptor() ([]byte, []int)
- func (x *SessionEntityType) GetEntities() []*EntityType_Entity
- func (x *SessionEntityType) GetEntityOverrideMode() SessionEntityType_EntityOverrideMode
- func (x *SessionEntityType) GetName() string
- func (*SessionEntityType) ProtoMessage()
- func (x *SessionEntityType) ProtoReflect() protoreflect.Message
- func (x *SessionEntityType) Reset()
- func (x *SessionEntityType) String() string
- type SessionEntityType_EntityOverrideMode
- func (SessionEntityType_EntityOverrideMode) Descriptor() protoreflect.EnumDescriptor
- func (x SessionEntityType_EntityOverrideMode) Enum() *SessionEntityType_EntityOverrideMode
- func (SessionEntityType_EntityOverrideMode) EnumDescriptor() ([]byte, []int)
- func (x SessionEntityType_EntityOverrideMode) Number() protoreflect.EnumNumber
- func (x SessionEntityType_EntityOverrideMode) String() string
- func (SessionEntityType_EntityOverrideMode) Type() protoreflect.EnumType
- type SessionEntityTypesClient
- type SessionEntityTypesServer
- type SessionsClient
- type SessionsServer
- type Sessions_StreamingDetectIntentClient
- type Sessions_StreamingDetectIntentServer
- type SetAgentRequest
- func (*SetAgentRequest) Descriptor() ([]byte, []int)
- func (x *SetAgentRequest) GetAgent() *Agent
- func (x *SetAgentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*SetAgentRequest) ProtoMessage()
- func (x *SetAgentRequest) ProtoReflect() protoreflect.Message
- func (x *SetAgentRequest) Reset()
- func (x *SetAgentRequest) String() string
- type SetSuggestionFeatureConfigOperationMetadata
- func (*SetSuggestionFeatureConfigOperationMetadata) Descriptor() ([]byte, []int)
- func (x *SetSuggestionFeatureConfigOperationMetadata) GetConversationProfile() string
- func (x *SetSuggestionFeatureConfigOperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *SetSuggestionFeatureConfigOperationMetadata) GetParticipantRole() Participant_Role
- func (x *SetSuggestionFeatureConfigOperationMetadata) GetSuggestionFeatureType() SuggestionFeature_Type
- func (*SetSuggestionFeatureConfigOperationMetadata) ProtoMessage()
- func (x *SetSuggestionFeatureConfigOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *SetSuggestionFeatureConfigOperationMetadata) Reset()
- func (x *SetSuggestionFeatureConfigOperationMetadata) String() string
- type SetSuggestionFeatureConfigRequest
- func (*SetSuggestionFeatureConfigRequest) Descriptor() ([]byte, []int)
- func (x *SetSuggestionFeatureConfigRequest) GetConversationProfile() string
- func (x *SetSuggestionFeatureConfigRequest) GetParticipantRole() Participant_Role
- func (x *SetSuggestionFeatureConfigRequest) GetSuggestionFeatureConfig() *HumanAgentAssistantConfig_SuggestionFeatureConfig
- func (*SetSuggestionFeatureConfigRequest) ProtoMessage()
- func (x *SetSuggestionFeatureConfigRequest) ProtoReflect() protoreflect.Message
- func (x *SetSuggestionFeatureConfigRequest) Reset()
- func (x *SetSuggestionFeatureConfigRequest) String() string
- type SipTrunk
- func (*SipTrunk) Descriptor() ([]byte, []int)
- func (x *SipTrunk) GetConnections() []*Connection
- func (x *SipTrunk) GetDisplayName() string
- func (x *SipTrunk) GetExpectedHostname() []string
- func (x *SipTrunk) GetName() string
- func (*SipTrunk) ProtoMessage()
- func (x *SipTrunk) ProtoReflect() protoreflect.Message
- func (x *SipTrunk) Reset()
- func (x *SipTrunk) String() string
- type SipTrunksClient
- type SipTrunksServer
- type SmartReplyAnswer
- func (*SmartReplyAnswer) Descriptor() ([]byte, []int)
- func (x *SmartReplyAnswer) GetAnswerRecord() string
- func (x *SmartReplyAnswer) GetConfidence() float32
- func (x *SmartReplyAnswer) GetReply() string
- func (*SmartReplyAnswer) ProtoMessage()
- func (x *SmartReplyAnswer) ProtoReflect() protoreflect.Message
- func (x *SmartReplyAnswer) Reset()
- func (x *SmartReplyAnswer) String() string
- type SpeechContext
- func (*SpeechContext) Descriptor() ([]byte, []int)
- func (x *SpeechContext) GetBoost() float32
- func (x *SpeechContext) GetPhrases() []string
- func (*SpeechContext) ProtoMessage()
- func (x *SpeechContext) ProtoReflect() protoreflect.Message
- func (x *SpeechContext) Reset()
- func (x *SpeechContext) String() string
- type SpeechModelVariant
- func (SpeechModelVariant) Descriptor() protoreflect.EnumDescriptor
- func (x SpeechModelVariant) Enum() *SpeechModelVariant
- func (SpeechModelVariant) EnumDescriptor() ([]byte, []int)
- func (x SpeechModelVariant) Number() protoreflect.EnumNumber
- func (x SpeechModelVariant) String() string
- func (SpeechModelVariant) Type() protoreflect.EnumType
- type SpeechToTextConfig
- func (*SpeechToTextConfig) Descriptor() ([]byte, []int)
- func (x *SpeechToTextConfig) GetAudioEncoding() AudioEncoding
- func (x *SpeechToTextConfig) GetEnableWordInfo() bool
- func (x *SpeechToTextConfig) GetLanguageCode() string
- func (x *SpeechToTextConfig) GetModel() string
- func (x *SpeechToTextConfig) GetPhraseSets() []string
- func (x *SpeechToTextConfig) GetSampleRateHertz() int32
- func (x *SpeechToTextConfig) GetSpeechModelVariant() SpeechModelVariant
- func (x *SpeechToTextConfig) GetUseTimeoutBasedEndpointing() bool
- func (*SpeechToTextConfig) ProtoMessage()
- func (x *SpeechToTextConfig) ProtoReflect() protoreflect.Message
- func (x *SpeechToTextConfig) Reset()
- func (x *SpeechToTextConfig) String() string
- type SpeechWordInfo
- func (*SpeechWordInfo) Descriptor() ([]byte, []int)
- func (x *SpeechWordInfo) GetConfidence() float32
- func (x *SpeechWordInfo) GetEndOffset() *durationpb.Duration
- func (x *SpeechWordInfo) GetStartOffset() *durationpb.Duration
- func (x *SpeechWordInfo) GetWord() string
- func (*SpeechWordInfo) ProtoMessage()
- func (x *SpeechWordInfo) ProtoReflect() protoreflect.Message
- func (x *SpeechWordInfo) Reset()
- func (x *SpeechWordInfo) String() string
- type SsmlVoiceGender
- func (SsmlVoiceGender) Descriptor() protoreflect.EnumDescriptor
- func (x SsmlVoiceGender) Enum() *SsmlVoiceGender
- func (SsmlVoiceGender) EnumDescriptor() ([]byte, []int)
- func (x SsmlVoiceGender) Number() protoreflect.EnumNumber
- func (x SsmlVoiceGender) String() string
- func (SsmlVoiceGender) Type() protoreflect.EnumType
- type StreamingAnalyzeContentRequest
- func (*StreamingAnalyzeContentRequest) Descriptor() ([]byte, []int)
- func (x *StreamingAnalyzeContentRequest) GetAssistQueryParams() *AssistQueryParameters
- func (x *StreamingAnalyzeContentRequest) GetAudioConfig() *InputAudioConfig
- func (m *StreamingAnalyzeContentRequest) GetConfig() isStreamingAnalyzeContentRequest_Config
- func (x *StreamingAnalyzeContentRequest) GetCxCurrentPage() string
- func (x *StreamingAnalyzeContentRequest) GetCxParameters() *structpb.Struct
- func (x *StreamingAnalyzeContentRequest) GetEnableDebuggingInfo() bool
- func (x *StreamingAnalyzeContentRequest) GetEnableExtendedStreaming() bool
- func (x *StreamingAnalyzeContentRequest) GetEnablePartialAutomatedAgentReply() bool
- func (m *StreamingAnalyzeContentRequest) GetInput() isStreamingAnalyzeContentRequest_Input
- func (x *StreamingAnalyzeContentRequest) GetInputAudio() []byte
- func (x *StreamingAnalyzeContentRequest) GetInputDtmf() *TelephonyDtmfEvents
- func (x *StreamingAnalyzeContentRequest) GetInputEvent() string
- func (x *StreamingAnalyzeContentRequest) GetInputIntent() string
- func (x *StreamingAnalyzeContentRequest) GetInputText() string
- func (x *StreamingAnalyzeContentRequest) GetParticipant() string
- func (x *StreamingAnalyzeContentRequest) GetQueryParams() *QueryParameters
- func (x *StreamingAnalyzeContentRequest) GetReplyAudioConfig() *OutputAudioConfig
- func (x *StreamingAnalyzeContentRequest) GetTextConfig() *InputTextConfig
- func (*StreamingAnalyzeContentRequest) ProtoMessage()
- func (x *StreamingAnalyzeContentRequest) ProtoReflect() protoreflect.Message
- func (x *StreamingAnalyzeContentRequest) Reset()
- func (x *StreamingAnalyzeContentRequest) String() string
- type StreamingAnalyzeContentRequest_AudioConfig
- type StreamingAnalyzeContentRequest_InputAudio
- type StreamingAnalyzeContentRequest_InputDtmf
- type StreamingAnalyzeContentRequest_InputEvent
- type StreamingAnalyzeContentRequest_InputIntent
- type StreamingAnalyzeContentRequest_InputText
- type StreamingAnalyzeContentRequest_TextConfig
- type StreamingAnalyzeContentResponse
- func (*StreamingAnalyzeContentResponse) Descriptor() ([]byte, []int)
- func (x *StreamingAnalyzeContentResponse) GetAutomatedAgentReply() *AutomatedAgentReply
- func (x *StreamingAnalyzeContentResponse) GetDebuggingInfo() *CloudConversationDebuggingInfo
- func (x *StreamingAnalyzeContentResponse) GetDtmfParameters() *DtmfParameters
- func (x *StreamingAnalyzeContentResponse) GetEndUserSuggestionResults() []*SuggestionResult
- func (x *StreamingAnalyzeContentResponse) GetHumanAgentSuggestionResults() []*SuggestionResult
- func (x *StreamingAnalyzeContentResponse) GetMessage() *Message
- func (x *StreamingAnalyzeContentResponse) GetRecognitionResult() *StreamingRecognitionResult
- func (x *StreamingAnalyzeContentResponse) GetReplyAudio() *OutputAudio
- func (x *StreamingAnalyzeContentResponse) GetReplyText() string
- func (x *StreamingAnalyzeContentResponse) GetSpeechModel() string
- func (*StreamingAnalyzeContentResponse) ProtoMessage()
- func (x *StreamingAnalyzeContentResponse) ProtoReflect() protoreflect.Message
- func (x *StreamingAnalyzeContentResponse) Reset()
- func (x *StreamingAnalyzeContentResponse) String() string
- type StreamingDetectIntentRequest
- func (*StreamingDetectIntentRequest) Descriptor() ([]byte, []int)
- func (x *StreamingDetectIntentRequest) GetEnableDebuggingInfo() bool
- func (x *StreamingDetectIntentRequest) GetInputAudio() []byte
- func (x *StreamingDetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig
- func (x *StreamingDetectIntentRequest) GetOutputAudioConfigMask() *fieldmaskpb.FieldMask
- func (x *StreamingDetectIntentRequest) GetQueryInput() *QueryInput
- func (x *StreamingDetectIntentRequest) GetQueryParams() *QueryParameters
- func (x *StreamingDetectIntentRequest) GetSession() string
- func (x *StreamingDetectIntentRequest) GetSingleUtterance() bool
- func (*StreamingDetectIntentRequest) ProtoMessage()
- func (x *StreamingDetectIntentRequest) ProtoReflect() protoreflect.Message
- func (x *StreamingDetectIntentRequest) Reset()
- func (x *StreamingDetectIntentRequest) String() string
- type StreamingDetectIntentResponse
- func (*StreamingDetectIntentResponse) Descriptor() ([]byte, []int)
- func (x *StreamingDetectIntentResponse) GetAlternativeQueryResults() []*QueryResult
- func (x *StreamingDetectIntentResponse) GetDebuggingInfo() *CloudConversationDebuggingInfo
- func (x *StreamingDetectIntentResponse) GetOutputAudio() []byte
- func (x *StreamingDetectIntentResponse) GetOutputAudioConfig() *OutputAudioConfig
- func (x *StreamingDetectIntentResponse) GetQueryResult() *QueryResult
- func (x *StreamingDetectIntentResponse) GetRecognitionResult() *StreamingRecognitionResult
- func (x *StreamingDetectIntentResponse) GetResponseId() string
- func (x *StreamingDetectIntentResponse) GetWebhookStatus() *status.Status
- func (*StreamingDetectIntentResponse) ProtoMessage()
- func (x *StreamingDetectIntentResponse) ProtoReflect() protoreflect.Message
- func (x *StreamingDetectIntentResponse) Reset()
- func (x *StreamingDetectIntentResponse) String() string
- type StreamingRecognitionResult
- func (*StreamingRecognitionResult) Descriptor() ([]byte, []int)
- func (x *StreamingRecognitionResult) GetConfidence() float32
- func (x *StreamingRecognitionResult) GetDtmfDigits() *TelephonyDtmfEvents
- func (x *StreamingRecognitionResult) GetIsFinal() bool
- func (x *StreamingRecognitionResult) GetLanguageCode() string
- func (x *StreamingRecognitionResult) GetMessageType() StreamingRecognitionResult_MessageType
- func (x *StreamingRecognitionResult) GetSpeechEndOffset() *durationpb.Duration
- func (x *StreamingRecognitionResult) GetSpeechWordInfo() []*SpeechWordInfo
- func (x *StreamingRecognitionResult) GetStability() float32
- func (x *StreamingRecognitionResult) GetTranscript() string
- func (*StreamingRecognitionResult) ProtoMessage()
- func (x *StreamingRecognitionResult) ProtoReflect() protoreflect.Message
- func (x *StreamingRecognitionResult) Reset()
- func (x *StreamingRecognitionResult) String() string
- type StreamingRecognitionResult_MessageType
- func (StreamingRecognitionResult_MessageType) Descriptor() protoreflect.EnumDescriptor
- func (x StreamingRecognitionResult_MessageType) Enum() *StreamingRecognitionResult_MessageType
- func (StreamingRecognitionResult_MessageType) EnumDescriptor() ([]byte, []int)
- func (x StreamingRecognitionResult_MessageType) Number() protoreflect.EnumNumber
- func (x StreamingRecognitionResult_MessageType) String() string
- func (StreamingRecognitionResult_MessageType) Type() protoreflect.EnumType
- type SubAgent
- func (*SubAgent) Descriptor() ([]byte, []int)
- func (x *SubAgent) GetEnvironment() string
- func (x *SubAgent) GetProject() string
- func (*SubAgent) ProtoMessage()
- func (x *SubAgent) ProtoReflect() protoreflect.Message
- func (x *SubAgent) Reset()
- func (x *SubAgent) String() string
- type SuggestArticlesRequest
- func (*SuggestArticlesRequest) Descriptor() ([]byte, []int)
- func (x *SuggestArticlesRequest) GetAssistQueryParams() *AssistQueryParameters
- func (x *SuggestArticlesRequest) GetContextSize() int32
- func (x *SuggestArticlesRequest) GetLatestMessage() string
- func (x *SuggestArticlesRequest) GetParent() string
- func (*SuggestArticlesRequest) ProtoMessage()
- func (x *SuggestArticlesRequest) ProtoReflect() protoreflect.Message
- func (x *SuggestArticlesRequest) Reset()
- func (x *SuggestArticlesRequest) String() string
- type SuggestArticlesResponse
- func (*SuggestArticlesResponse) Descriptor() ([]byte, []int)
- func (x *SuggestArticlesResponse) GetArticleAnswers() []*ArticleAnswer
- func (x *SuggestArticlesResponse) GetContextSize() int32
- func (x *SuggestArticlesResponse) GetLatestMessage() string
- func (*SuggestArticlesResponse) ProtoMessage()
- func (x *SuggestArticlesResponse) ProtoReflect() protoreflect.Message
- func (x *SuggestArticlesResponse) Reset()
- func (x *SuggestArticlesResponse) String() string
- type SuggestConversationSummaryRequest
- func (*SuggestConversationSummaryRequest) Descriptor() ([]byte, []int)
- func (x *SuggestConversationSummaryRequest) GetAssistQueryParams() *AssistQueryParameters
- func (x *SuggestConversationSummaryRequest) GetContextSize() int32
- func (x *SuggestConversationSummaryRequest) GetConversation() string
- func (x *SuggestConversationSummaryRequest) GetLatestMessage() string
- func (*SuggestConversationSummaryRequest) ProtoMessage()
- func (x *SuggestConversationSummaryRequest) ProtoReflect() protoreflect.Message
- func (x *SuggestConversationSummaryRequest) Reset()
- func (x *SuggestConversationSummaryRequest) String() string
- type SuggestConversationSummaryResponse
- func (*SuggestConversationSummaryResponse) Descriptor() ([]byte, []int)
- func (x *SuggestConversationSummaryResponse) GetContextSize() int32
- func (x *SuggestConversationSummaryResponse) GetLatestMessage() string
- func (x *SuggestConversationSummaryResponse) GetSummary() *SuggestConversationSummaryResponse_Summary
- func (*SuggestConversationSummaryResponse) ProtoMessage()
- func (x *SuggestConversationSummaryResponse) ProtoReflect() protoreflect.Message
- func (x *SuggestConversationSummaryResponse) Reset()
- func (x *SuggestConversationSummaryResponse) String() string
- type SuggestConversationSummaryResponse_Summary
- func (*SuggestConversationSummaryResponse_Summary) Descriptor() ([]byte, []int)
- func (x *SuggestConversationSummaryResponse_Summary) GetAnswerRecord() string
- func (x *SuggestConversationSummaryResponse_Summary) GetBaselineModelVersion() string
- func (x *SuggestConversationSummaryResponse_Summary) GetText() string
- func (x *SuggestConversationSummaryResponse_Summary) GetTextSections() map[string]string
- func (*SuggestConversationSummaryResponse_Summary) ProtoMessage()
- func (x *SuggestConversationSummaryResponse_Summary) ProtoReflect() protoreflect.Message
- func (x *SuggestConversationSummaryResponse_Summary) Reset()
- func (x *SuggestConversationSummaryResponse_Summary) String() string
- type SuggestDialogflowAssistsResponse
- func (*SuggestDialogflowAssistsResponse) Descriptor() ([]byte, []int)
- func (x *SuggestDialogflowAssistsResponse) GetContextSize() int32
- func (x *SuggestDialogflowAssistsResponse) GetDialogflowAssistAnswers() []*DialogflowAssistAnswer
- func (x *SuggestDialogflowAssistsResponse) GetLatestMessage() string
- func (*SuggestDialogflowAssistsResponse) ProtoMessage()
- func (x *SuggestDialogflowAssistsResponse) ProtoReflect() protoreflect.Message
- func (x *SuggestDialogflowAssistsResponse) Reset()
- func (x *SuggestDialogflowAssistsResponse) String() string
- type SuggestFaqAnswersRequest
- func (*SuggestFaqAnswersRequest) Descriptor() ([]byte, []int)
- func (x *SuggestFaqAnswersRequest) GetAssistQueryParams() *AssistQueryParameters
- func (x *SuggestFaqAnswersRequest) GetContextSize() int32
- func (x *SuggestFaqAnswersRequest) GetLatestMessage() string
- func (x *SuggestFaqAnswersRequest) GetParent() string
- func (*SuggestFaqAnswersRequest) ProtoMessage()
- func (x *SuggestFaqAnswersRequest) ProtoReflect() protoreflect.Message
- func (x *SuggestFaqAnswersRequest) Reset()
- func (x *SuggestFaqAnswersRequest) String() string
- type SuggestFaqAnswersResponse
- func (*SuggestFaqAnswersResponse) Descriptor() ([]byte, []int)
- func (x *SuggestFaqAnswersResponse) GetContextSize() int32
- func (x *SuggestFaqAnswersResponse) GetFaqAnswers() []*FaqAnswer
- func (x *SuggestFaqAnswersResponse) GetLatestMessage() string
- func (*SuggestFaqAnswersResponse) ProtoMessage()
- func (x *SuggestFaqAnswersResponse) ProtoReflect() protoreflect.Message
- func (x *SuggestFaqAnswersResponse) Reset()
- func (x *SuggestFaqAnswersResponse) String() string
- type SuggestKnowledgeAssistRequest
- func (*SuggestKnowledgeAssistRequest) Descriptor() ([]byte, []int)
- func (x *SuggestKnowledgeAssistRequest) GetContextSize() int32
- func (x *SuggestKnowledgeAssistRequest) GetLatestMessage() string
- func (x *SuggestKnowledgeAssistRequest) GetParent() string
- func (x *SuggestKnowledgeAssistRequest) GetPreviousSuggestedQuery() string
- func (*SuggestKnowledgeAssistRequest) ProtoMessage()
- func (x *SuggestKnowledgeAssistRequest) ProtoReflect() protoreflect.Message
- func (x *SuggestKnowledgeAssistRequest) Reset()
- func (x *SuggestKnowledgeAssistRequest) String() string
- type SuggestKnowledgeAssistResponse
- func (*SuggestKnowledgeAssistResponse) Descriptor() ([]byte, []int)
- func (x *SuggestKnowledgeAssistResponse) GetContextSize() int32
- func (x *SuggestKnowledgeAssistResponse) GetKnowledgeAssistAnswer() *KnowledgeAssistAnswer
- func (x *SuggestKnowledgeAssistResponse) GetLatestMessage() string
- func (*SuggestKnowledgeAssistResponse) ProtoMessage()
- func (x *SuggestKnowledgeAssistResponse) ProtoReflect() protoreflect.Message
- func (x *SuggestKnowledgeAssistResponse) Reset()
- func (x *SuggestKnowledgeAssistResponse) String() string
- type SuggestSmartRepliesRequest
- func (*SuggestSmartRepliesRequest) Descriptor() ([]byte, []int)
- func (x *SuggestSmartRepliesRequest) GetContextSize() int32
- func (x *SuggestSmartRepliesRequest) GetCurrentTextInput() *TextInput
- func (x *SuggestSmartRepliesRequest) GetLatestMessage() string
- func (x *SuggestSmartRepliesRequest) GetParent() string
- func (*SuggestSmartRepliesRequest) ProtoMessage()
- func (x *SuggestSmartRepliesRequest) ProtoReflect() protoreflect.Message
- func (x *SuggestSmartRepliesRequest) Reset()
- func (x *SuggestSmartRepliesRequest) String() string
- type SuggestSmartRepliesResponse
- func (*SuggestSmartRepliesResponse) Descriptor() ([]byte, []int)
- func (x *SuggestSmartRepliesResponse) GetContextSize() int32
- func (x *SuggestSmartRepliesResponse) GetLatestMessage() string
- func (x *SuggestSmartRepliesResponse) GetSmartReplyAnswers() []*SmartReplyAnswer
- func (*SuggestSmartRepliesResponse) ProtoMessage()
- func (x *SuggestSmartRepliesResponse) ProtoReflect() protoreflect.Message
- func (x *SuggestSmartRepliesResponse) Reset()
- func (x *SuggestSmartRepliesResponse) String() string
- type Suggestion
- func (*Suggestion) Descriptor() ([]byte, []int)
- func (x *Suggestion) GetArticles() []*Suggestion_Article
- func (x *Suggestion) GetCreateTime() *timestamppb.Timestamp
- func (x *Suggestion) GetFaqAnswers() []*Suggestion_FaqAnswer
- func (x *Suggestion) GetLatestMessage() string
- func (x *Suggestion) GetName() string
- func (*Suggestion) ProtoMessage()
- func (x *Suggestion) ProtoReflect() protoreflect.Message
- func (x *Suggestion) Reset()
- func (x *Suggestion) String() string
- type SuggestionFeature
- func (*SuggestionFeature) Descriptor() ([]byte, []int)
- func (x *SuggestionFeature) GetType() SuggestionFeature_Type
- func (*SuggestionFeature) ProtoMessage()
- func (x *SuggestionFeature) ProtoReflect() protoreflect.Message
- func (x *SuggestionFeature) Reset()
- func (x *SuggestionFeature) String() string
- type SuggestionFeature_Type
- func (SuggestionFeature_Type) Descriptor() protoreflect.EnumDescriptor
- func (x SuggestionFeature_Type) Enum() *SuggestionFeature_Type
- func (SuggestionFeature_Type) EnumDescriptor() ([]byte, []int)
- func (x SuggestionFeature_Type) Number() protoreflect.EnumNumber
- func (x SuggestionFeature_Type) String() string
- func (SuggestionFeature_Type) Type() protoreflect.EnumType
- type SuggestionInput
- func (*SuggestionInput) Descriptor() ([]byte, []int)
- func (x *SuggestionInput) GetAnswerRecord() string
- func (x *SuggestionInput) GetIntentInput() *IntentInput
- func (x *SuggestionInput) GetParameters() *structpb.Struct
- func (x *SuggestionInput) GetTextOverride() *TextInput
- func (*SuggestionInput) ProtoMessage()
- func (x *SuggestionInput) ProtoReflect() protoreflect.Message
- func (x *SuggestionInput) Reset()
- func (x *SuggestionInput) String() string
- type SuggestionResult
- func (*SuggestionResult) Descriptor() ([]byte, []int)
- func (x *SuggestionResult) GetError() *status.Status
- func (x *SuggestionResult) GetSuggestArticlesResponse() *SuggestArticlesResponse
- func (x *SuggestionResult) GetSuggestDialogflowAssistsResponse() *SuggestDialogflowAssistsResponse
- func (x *SuggestionResult) GetSuggestEntityExtractionResponse() *SuggestDialogflowAssistsResponse
- func (x *SuggestionResult) GetSuggestFaqAnswersResponse() *SuggestFaqAnswersResponse
- func (x *SuggestionResult) GetSuggestKnowledgeAssistResponse() *SuggestKnowledgeAssistResponse
- func (x *SuggestionResult) GetSuggestSmartRepliesResponse() *SuggestSmartRepliesResponse
- func (m *SuggestionResult) GetSuggestionResponse() isSuggestionResult_SuggestionResponse
- func (*SuggestionResult) ProtoMessage()
- func (x *SuggestionResult) ProtoReflect() protoreflect.Message
- func (x *SuggestionResult) Reset()
- func (x *SuggestionResult) String() string
- type SuggestionResult_Error
- type SuggestionResult_SuggestArticlesResponse
- type SuggestionResult_SuggestDialogflowAssistsResponse
- type SuggestionResult_SuggestEntityExtractionResponse
- type SuggestionResult_SuggestFaqAnswersResponse
- type SuggestionResult_SuggestKnowledgeAssistResponse
- type SuggestionResult_SuggestSmartRepliesResponse
- type Suggestion_Article
- func (*Suggestion_Article) Descriptor() ([]byte, []int)
- func (x *Suggestion_Article) GetAnswerRecord() string
- func (x *Suggestion_Article) GetMetadata() map[string]string
- func (x *Suggestion_Article) GetSnippets() []string
- func (x *Suggestion_Article) GetTitle() string
- func (x *Suggestion_Article) GetUri() string
- func (*Suggestion_Article) ProtoMessage()
- func (x *Suggestion_Article) ProtoReflect() protoreflect.Message
- func (x *Suggestion_Article) Reset()
- func (x *Suggestion_Article) String() string
- type Suggestion_FaqAnswer
- func (*Suggestion_FaqAnswer) Descriptor() ([]byte, []int)
- func (x *Suggestion_FaqAnswer) GetAnswer() string
- func (x *Suggestion_FaqAnswer) GetAnswerRecord() string
- func (x *Suggestion_FaqAnswer) GetConfidence() float32
- func (x *Suggestion_FaqAnswer) GetMetadata() map[string]string
- func (x *Suggestion_FaqAnswer) GetQuestion() string
- func (x *Suggestion_FaqAnswer) GetSource() string
- func (*Suggestion_FaqAnswer) ProtoMessage()
- func (x *Suggestion_FaqAnswer) ProtoReflect() protoreflect.Message
- func (x *Suggestion_FaqAnswer) Reset()
- func (x *Suggestion_FaqAnswer) String() string
- type SummarizationContext
- func (*SummarizationContext) Descriptor() ([]byte, []int)
- func (x *SummarizationContext) GetFewShotExamples() []*FewShotExample
- func (x *SummarizationContext) GetOutputLanguageCode() string
- func (x *SummarizationContext) GetSummarizationSections() []*SummarizationSection
- func (x *SummarizationContext) GetVersion() string
- func (*SummarizationContext) ProtoMessage()
- func (x *SummarizationContext) ProtoReflect() protoreflect.Message
- func (x *SummarizationContext) Reset()
- func (x *SummarizationContext) String() string
- type SummarizationSection
- func (*SummarizationSection) Descriptor() ([]byte, []int)
- func (x *SummarizationSection) GetDefinition() string
- func (x *SummarizationSection) GetKey() string
- func (x *SummarizationSection) GetType() SummarizationSection_Type
- func (*SummarizationSection) ProtoMessage()
- func (x *SummarizationSection) ProtoReflect() protoreflect.Message
- func (x *SummarizationSection) Reset()
- func (x *SummarizationSection) String() string
- type SummarizationSectionList
- func (*SummarizationSectionList) Descriptor() ([]byte, []int)
- func (x *SummarizationSectionList) GetSummarizationSections() []*SummarizationSection
- func (*SummarizationSectionList) ProtoMessage()
- func (x *SummarizationSectionList) ProtoReflect() protoreflect.Message
- func (x *SummarizationSectionList) Reset()
- func (x *SummarizationSectionList) String() string
- type SummarizationSection_Type
- func (SummarizationSection_Type) Descriptor() protoreflect.EnumDescriptor
- func (x SummarizationSection_Type) Enum() *SummarizationSection_Type
- func (SummarizationSection_Type) EnumDescriptor() ([]byte, []int)
- func (x SummarizationSection_Type) Number() protoreflect.EnumNumber
- func (x SummarizationSection_Type) String() string
- func (SummarizationSection_Type) Type() protoreflect.EnumType
- type SummarySuggestion
- func (*SummarySuggestion) Descriptor() ([]byte, []int)
- func (x *SummarySuggestion) GetSummarySections() []*SummarySuggestion_SummarySection
- func (*SummarySuggestion) ProtoMessage()
- func (x *SummarySuggestion) ProtoReflect() protoreflect.Message
- func (x *SummarySuggestion) Reset()
- func (x *SummarySuggestion) String() string
- type SummarySuggestion_SummarySection
- func (*SummarySuggestion_SummarySection) Descriptor() ([]byte, []int)
- func (x *SummarySuggestion_SummarySection) GetSection() string
- func (x *SummarySuggestion_SummarySection) GetSummary() string
- func (*SummarySuggestion_SummarySection) ProtoMessage()
- func (x *SummarySuggestion_SummarySection) ProtoReflect() protoreflect.Message
- func (x *SummarySuggestion_SummarySection) Reset()
- func (x *SummarySuggestion_SummarySection) String() string
- type SynthesizeSpeechConfig
- func (*SynthesizeSpeechConfig) Descriptor() ([]byte, []int)
- func (x *SynthesizeSpeechConfig) GetEffectsProfileId() []string
- func (x *SynthesizeSpeechConfig) GetPitch() float64
- func (x *SynthesizeSpeechConfig) GetSpeakingRate() float64
- func (x *SynthesizeSpeechConfig) GetVoice() *VoiceSelectionParams
- func (x *SynthesizeSpeechConfig) GetVolumeGainDb() float64
- func (*SynthesizeSpeechConfig) ProtoMessage()
- func (x *SynthesizeSpeechConfig) ProtoReflect() protoreflect.Message
- func (x *SynthesizeSpeechConfig) Reset()
- func (x *SynthesizeSpeechConfig) String() string
- type TelephonyDtmf
- func (TelephonyDtmf) Descriptor() protoreflect.EnumDescriptor
- func (x TelephonyDtmf) Enum() *TelephonyDtmf
- func (TelephonyDtmf) EnumDescriptor() ([]byte, []int)
- func (x TelephonyDtmf) Number() protoreflect.EnumNumber
- func (x TelephonyDtmf) String() string
- func (TelephonyDtmf) Type() protoreflect.EnumType
- type TelephonyDtmfEvents
- func (*TelephonyDtmfEvents) Descriptor() ([]byte, []int)
- func (x *TelephonyDtmfEvents) GetDtmfEvents() []TelephonyDtmf
- func (*TelephonyDtmfEvents) ProtoMessage()
- func (x *TelephonyDtmfEvents) ProtoReflect() protoreflect.Message
- func (x *TelephonyDtmfEvents) Reset()
- func (x *TelephonyDtmfEvents) String() string
- type TextInput
- func (*TextInput) Descriptor() ([]byte, []int)
- func (x *TextInput) GetLanguageCode() string
- func (x *TextInput) GetText() string
- func (*TextInput) ProtoMessage()
- func (x *TextInput) ProtoReflect() protoreflect.Message
- func (x *TextInput) Reset()
- func (x *TextInput) String() string
- type TextToSpeechSettings
- func (*TextToSpeechSettings) Descriptor() ([]byte, []int)
- func (x *TextToSpeechSettings) GetEnableTextToSpeech() bool
- func (x *TextToSpeechSettings) GetOutputAudioEncoding() OutputAudioEncoding
- func (x *TextToSpeechSettings) GetSampleRateHertz() int32
- func (x *TextToSpeechSettings) GetSynthesizeSpeechConfigs() map[string]*SynthesizeSpeechConfig
- func (*TextToSpeechSettings) ProtoMessage()
- func (x *TextToSpeechSettings) ProtoReflect() protoreflect.Message
- func (x *TextToSpeechSettings) Reset()
- func (x *TextToSpeechSettings) String() string
- type TrainAgentRequest
- func (*TrainAgentRequest) Descriptor() ([]byte, []int)
- func (x *TrainAgentRequest) GetParent() string
- func (*TrainAgentRequest) ProtoMessage()
- func (x *TrainAgentRequest) ProtoReflect() protoreflect.Message
- func (x *TrainAgentRequest) Reset()
- func (x *TrainAgentRequest) String() string
- type TriggerEvent
- func (TriggerEvent) Descriptor() protoreflect.EnumDescriptor
- func (x TriggerEvent) Enum() *TriggerEvent
- func (TriggerEvent) EnumDescriptor() ([]byte, []int)
- func (x TriggerEvent) Number() protoreflect.EnumNumber
- func (x TriggerEvent) String() string
- func (TriggerEvent) Type() protoreflect.EnumType
- type UndeletePhoneNumberRequest
- func (*UndeletePhoneNumberRequest) Descriptor() ([]byte, []int)
- func (x *UndeletePhoneNumberRequest) GetName() string
- func (*UndeletePhoneNumberRequest) ProtoMessage()
- func (x *UndeletePhoneNumberRequest) ProtoReflect() protoreflect.Message
- func (x *UndeletePhoneNumberRequest) Reset()
- func (x *UndeletePhoneNumberRequest) String() string
- type UnimplementedAgentsServer
- func (*UnimplementedAgentsServer) DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error)
- func (*UnimplementedAgentsServer) ExportAgent(context.Context, *ExportAgentRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedAgentsServer) GetAgent(context.Context, *GetAgentRequest) (*Agent, error)
- func (*UnimplementedAgentsServer) GetValidationResult(context.Context, *GetValidationResultRequest) (*ValidationResult, error)
- func (*UnimplementedAgentsServer) ImportAgent(context.Context, *ImportAgentRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedAgentsServer) RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedAgentsServer) SearchAgents(context.Context, *SearchAgentsRequest) (*SearchAgentsResponse, error)
- func (*UnimplementedAgentsServer) SetAgent(context.Context, *SetAgentRequest) (*Agent, error)
- func (*UnimplementedAgentsServer) TrainAgent(context.Context, *TrainAgentRequest) (*longrunningpb.Operation, error)
- type UnimplementedAnswerRecordsServer
- func (*UnimplementedAnswerRecordsServer) GetAnswerRecord(context.Context, *GetAnswerRecordRequest) (*AnswerRecord, error)
- func (*UnimplementedAnswerRecordsServer) ListAnswerRecords(context.Context, *ListAnswerRecordsRequest) (*ListAnswerRecordsResponse, error)
- func (*UnimplementedAnswerRecordsServer) UpdateAnswerRecord(context.Context, *UpdateAnswerRecordRequest) (*AnswerRecord, error)
- type UnimplementedContextsServer
- func (*UnimplementedContextsServer) CreateContext(context.Context, *CreateContextRequest) (*Context, error)
- func (*UnimplementedContextsServer) DeleteAllContexts(context.Context, *DeleteAllContextsRequest) (*emptypb.Empty, error)
- func (*UnimplementedContextsServer) DeleteContext(context.Context, *DeleteContextRequest) (*emptypb.Empty, error)
- func (*UnimplementedContextsServer) GetContext(context.Context, *GetContextRequest) (*Context, error)
- func (*UnimplementedContextsServer) ListContexts(context.Context, *ListContextsRequest) (*ListContextsResponse, error)
- func (*UnimplementedContextsServer) UpdateContext(context.Context, *UpdateContextRequest) (*Context, error)
- type UnimplementedConversationProfilesServer
- func (*UnimplementedConversationProfilesServer) ClearSuggestionFeatureConfig(context.Context, *ClearSuggestionFeatureConfigRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedConversationProfilesServer) CreateConversationProfile(context.Context, *CreateConversationProfileRequest) (*ConversationProfile, error)
- func (*UnimplementedConversationProfilesServer) DeleteConversationProfile(context.Context, *DeleteConversationProfileRequest) (*emptypb.Empty, error)
- func (*UnimplementedConversationProfilesServer) GetConversationProfile(context.Context, *GetConversationProfileRequest) (*ConversationProfile, error)
- func (*UnimplementedConversationProfilesServer) ListConversationProfiles(context.Context, *ListConversationProfilesRequest) (*ListConversationProfilesResponse, error)
- func (*UnimplementedConversationProfilesServer) SetSuggestionFeatureConfig(context.Context, *SetSuggestionFeatureConfigRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedConversationProfilesServer) UpdateConversationProfile(context.Context, *UpdateConversationProfileRequest) (*ConversationProfile, error)
- type UnimplementedConversationsServer
- func (*UnimplementedConversationsServer) BatchCreateMessages(context.Context, *BatchCreateMessagesRequest) (*BatchCreateMessagesResponse, error)
- func (*UnimplementedConversationsServer) CompleteConversation(context.Context, *CompleteConversationRequest) (*Conversation, error)
- func (*UnimplementedConversationsServer) CreateConversation(context.Context, *CreateConversationRequest) (*Conversation, error)
- func (*UnimplementedConversationsServer) GenerateStatelessSuggestion(context.Context, *GenerateStatelessSuggestionRequest) (*GenerateStatelessSuggestionResponse, error)
- func (*UnimplementedConversationsServer) GenerateStatelessSummary(context.Context, *GenerateStatelessSummaryRequest) (*GenerateStatelessSummaryResponse, error)
- func (*UnimplementedConversationsServer) GetConversation(context.Context, *GetConversationRequest) (*Conversation, error)
- func (*UnimplementedConversationsServer) ListConversations(context.Context, *ListConversationsRequest) (*ListConversationsResponse, error)
- func (*UnimplementedConversationsServer) ListMessages(context.Context, *ListMessagesRequest) (*ListMessagesResponse, error)
- func (*UnimplementedConversationsServer) SearchKnowledge(context.Context, *SearchKnowledgeRequest) (*SearchKnowledgeResponse, error)
- func (*UnimplementedConversationsServer) SuggestConversationSummary(context.Context, *SuggestConversationSummaryRequest) (*SuggestConversationSummaryResponse, error)
- type UnimplementedDocumentsServer
- func (*UnimplementedDocumentsServer) CreateDocument(context.Context, *CreateDocumentRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedDocumentsServer) DeleteDocument(context.Context, *DeleteDocumentRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedDocumentsServer) GetDocument(context.Context, *GetDocumentRequest) (*Document, error)
- func (*UnimplementedDocumentsServer) ImportDocuments(context.Context, *ImportDocumentsRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedDocumentsServer) ListDocuments(context.Context, *ListDocumentsRequest) (*ListDocumentsResponse, error)
- func (*UnimplementedDocumentsServer) ReloadDocument(context.Context, *ReloadDocumentRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedDocumentsServer) UpdateDocument(context.Context, *UpdateDocumentRequest) (*longrunningpb.Operation, error)
- type UnimplementedEncryptionSpecServiceServer
- func (*UnimplementedEncryptionSpecServiceServer) GetEncryptionSpec(context.Context, *GetEncryptionSpecRequest) (*EncryptionSpec, error)
- func (*UnimplementedEncryptionSpecServiceServer) InitializeEncryptionSpec(context.Context, *InitializeEncryptionSpecRequest) (*longrunningpb.Operation, error)
- type UnimplementedEntityTypesServer
- func (*UnimplementedEntityTypesServer) BatchCreateEntities(context.Context, *BatchCreateEntitiesRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedEntityTypesServer) BatchDeleteEntities(context.Context, *BatchDeleteEntitiesRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedEntityTypesServer) BatchDeleteEntityTypes(context.Context, *BatchDeleteEntityTypesRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedEntityTypesServer) BatchUpdateEntities(context.Context, *BatchUpdateEntitiesRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedEntityTypesServer) BatchUpdateEntityTypes(context.Context, *BatchUpdateEntityTypesRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedEntityTypesServer) CreateEntityType(context.Context, *CreateEntityTypeRequest) (*EntityType, error)
- func (*UnimplementedEntityTypesServer) DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*emptypb.Empty, error)
- func (*UnimplementedEntityTypesServer) GetEntityType(context.Context, *GetEntityTypeRequest) (*EntityType, error)
- func (*UnimplementedEntityTypesServer) ListEntityTypes(context.Context, *ListEntityTypesRequest) (*ListEntityTypesResponse, error)
- func (*UnimplementedEntityTypesServer) UpdateEntityType(context.Context, *UpdateEntityTypeRequest) (*EntityType, error)
- type UnimplementedEnvironmentsServer
- func (*UnimplementedEnvironmentsServer) CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*Environment, error)
- func (*UnimplementedEnvironmentsServer) DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*emptypb.Empty, error)
- func (*UnimplementedEnvironmentsServer) GetEnvironment(context.Context, *GetEnvironmentRequest) (*Environment, error)
- func (*UnimplementedEnvironmentsServer) GetEnvironmentHistory(context.Context, *GetEnvironmentHistoryRequest) (*EnvironmentHistory, error)
- func (*UnimplementedEnvironmentsServer) ListEnvironments(context.Context, *ListEnvironmentsRequest) (*ListEnvironmentsResponse, error)
- func (*UnimplementedEnvironmentsServer) UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*Environment, error)
- type UnimplementedFulfillmentsServer
- func (*UnimplementedFulfillmentsServer) GetFulfillment(context.Context, *GetFulfillmentRequest) (*Fulfillment, error)
- func (*UnimplementedFulfillmentsServer) UpdateFulfillment(context.Context, *UpdateFulfillmentRequest) (*Fulfillment, error)
- type UnimplementedGeneratorsServer
- func (*UnimplementedGeneratorsServer) CreateGenerator(context.Context, *CreateGeneratorRequest) (*Generator, error)
- func (*UnimplementedGeneratorsServer) DeleteGenerator(context.Context, *DeleteGeneratorRequest) (*emptypb.Empty, error)
- func (*UnimplementedGeneratorsServer) GetGenerator(context.Context, *GetGeneratorRequest) (*Generator, error)
- func (*UnimplementedGeneratorsServer) ListGenerators(context.Context, *ListGeneratorsRequest) (*ListGeneratorsResponse, error)
- func (*UnimplementedGeneratorsServer) UpdateGenerator(context.Context, *UpdateGeneratorRequest) (*Generator, error)
- type UnimplementedIntentsServer
- func (*UnimplementedIntentsServer) BatchDeleteIntents(context.Context, *BatchDeleteIntentsRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedIntentsServer) BatchUpdateIntents(context.Context, *BatchUpdateIntentsRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedIntentsServer) CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error)
- func (*UnimplementedIntentsServer) DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error)
- func (*UnimplementedIntentsServer) GetIntent(context.Context, *GetIntentRequest) (*Intent, error)
- func (*UnimplementedIntentsServer) ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error)
- func (*UnimplementedIntentsServer) UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error)
- type UnimplementedKnowledgeBasesServer
- func (*UnimplementedKnowledgeBasesServer) CreateKnowledgeBase(context.Context, *CreateKnowledgeBaseRequest) (*KnowledgeBase, error)
- func (*UnimplementedKnowledgeBasesServer) DeleteKnowledgeBase(context.Context, *DeleteKnowledgeBaseRequest) (*emptypb.Empty, error)
- func (*UnimplementedKnowledgeBasesServer) GetKnowledgeBase(context.Context, *GetKnowledgeBaseRequest) (*KnowledgeBase, error)
- func (*UnimplementedKnowledgeBasesServer) ListKnowledgeBases(context.Context, *ListKnowledgeBasesRequest) (*ListKnowledgeBasesResponse, error)
- func (*UnimplementedKnowledgeBasesServer) UpdateKnowledgeBase(context.Context, *UpdateKnowledgeBaseRequest) (*KnowledgeBase, error)
- type UnimplementedParticipantsServer
- func (*UnimplementedParticipantsServer) AnalyzeContent(context.Context, *AnalyzeContentRequest) (*AnalyzeContentResponse, error)
- func (*UnimplementedParticipantsServer) CompileSuggestion(context.Context, *CompileSuggestionRequest) (*CompileSuggestionResponse, error)
- func (*UnimplementedParticipantsServer) CreateParticipant(context.Context, *CreateParticipantRequest) (*Participant, error)
- func (*UnimplementedParticipantsServer) GetParticipant(context.Context, *GetParticipantRequest) (*Participant, error)
- func (*UnimplementedParticipantsServer) ListParticipants(context.Context, *ListParticipantsRequest) (*ListParticipantsResponse, error)
- func (*UnimplementedParticipantsServer) ListSuggestions(context.Context, *ListSuggestionsRequest) (*ListSuggestionsResponse, error)
- func (*UnimplementedParticipantsServer) StreamingAnalyzeContent(Participants_StreamingAnalyzeContentServer) error
- func (*UnimplementedParticipantsServer) SuggestArticles(context.Context, *SuggestArticlesRequest) (*SuggestArticlesResponse, error)
- func (*UnimplementedParticipantsServer) SuggestFaqAnswers(context.Context, *SuggestFaqAnswersRequest) (*SuggestFaqAnswersResponse, error)
- func (*UnimplementedParticipantsServer) SuggestKnowledgeAssist(context.Context, *SuggestKnowledgeAssistRequest) (*SuggestKnowledgeAssistResponse, error)
- func (*UnimplementedParticipantsServer) SuggestSmartReplies(context.Context, *SuggestSmartRepliesRequest) (*SuggestSmartRepliesResponse, error)
- func (*UnimplementedParticipantsServer) UpdateParticipant(context.Context, *UpdateParticipantRequest) (*Participant, error)
- type UnimplementedPhoneNumbersServer
- func (*UnimplementedPhoneNumbersServer) DeletePhoneNumber(context.Context, *DeletePhoneNumberRequest) (*PhoneNumber, error)
- func (*UnimplementedPhoneNumbersServer) ListPhoneNumbers(context.Context, *ListPhoneNumbersRequest) (*ListPhoneNumbersResponse, error)
- func (*UnimplementedPhoneNumbersServer) UndeletePhoneNumber(context.Context, *UndeletePhoneNumberRequest) (*PhoneNumber, error)
- func (*UnimplementedPhoneNumbersServer) UpdatePhoneNumber(context.Context, *UpdatePhoneNumberRequest) (*PhoneNumber, error)
- type UnimplementedSessionEntityTypesServer
- func (*UnimplementedSessionEntityTypesServer) CreateSessionEntityType(context.Context, *CreateSessionEntityTypeRequest) (*SessionEntityType, error)
- func (*UnimplementedSessionEntityTypesServer) DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*emptypb.Empty, error)
- func (*UnimplementedSessionEntityTypesServer) GetSessionEntityType(context.Context, *GetSessionEntityTypeRequest) (*SessionEntityType, error)
- func (*UnimplementedSessionEntityTypesServer) ListSessionEntityTypes(context.Context, *ListSessionEntityTypesRequest) (*ListSessionEntityTypesResponse, error)
- func (*UnimplementedSessionEntityTypesServer) UpdateSessionEntityType(context.Context, *UpdateSessionEntityTypeRequest) (*SessionEntityType, error)
- type UnimplementedSessionsServer
- func (*UnimplementedSessionsServer) DetectIntent(context.Context, *DetectIntentRequest) (*DetectIntentResponse, error)
- func (*UnimplementedSessionsServer) StreamingDetectIntent(Sessions_StreamingDetectIntentServer) error
- type UnimplementedSipTrunksServer
- func (*UnimplementedSipTrunksServer) CreateSipTrunk(context.Context, *CreateSipTrunkRequest) (*SipTrunk, error)
- func (*UnimplementedSipTrunksServer) DeleteSipTrunk(context.Context, *DeleteSipTrunkRequest) (*emptypb.Empty, error)
- func (*UnimplementedSipTrunksServer) GetSipTrunk(context.Context, *GetSipTrunkRequest) (*SipTrunk, error)
- func (*UnimplementedSipTrunksServer) ListSipTrunks(context.Context, *ListSipTrunksRequest) (*ListSipTrunksResponse, error)
- func (*UnimplementedSipTrunksServer) UpdateSipTrunk(context.Context, *UpdateSipTrunkRequest) (*SipTrunk, error)
- type UnimplementedVersionsServer
- func (*UnimplementedVersionsServer) CreateVersion(context.Context, *CreateVersionRequest) (*Version, error)
- func (*UnimplementedVersionsServer) DeleteVersion(context.Context, *DeleteVersionRequest) (*emptypb.Empty, error)
- func (*UnimplementedVersionsServer) GetVersion(context.Context, *GetVersionRequest) (*Version, error)
- func (*UnimplementedVersionsServer) ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
- func (*UnimplementedVersionsServer) UpdateVersion(context.Context, *UpdateVersionRequest) (*Version, error)
- type UpdateAnswerRecordRequest
- func (*UpdateAnswerRecordRequest) Descriptor() ([]byte, []int)
- func (x *UpdateAnswerRecordRequest) GetAnswerRecord() *AnswerRecord
- func (x *UpdateAnswerRecordRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateAnswerRecordRequest) ProtoMessage()
- func (x *UpdateAnswerRecordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAnswerRecordRequest) Reset()
- func (x *UpdateAnswerRecordRequest) String() string
- type UpdateContextRequest
- func (*UpdateContextRequest) Descriptor() ([]byte, []int)
- func (x *UpdateContextRequest) GetContext() *Context
- func (x *UpdateContextRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateContextRequest) ProtoMessage()
- func (x *UpdateContextRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateContextRequest) Reset()
- func (x *UpdateContextRequest) String() string
- type UpdateConversationProfileRequest
- func (*UpdateConversationProfileRequest) Descriptor() ([]byte, []int)
- func (x *UpdateConversationProfileRequest) GetConversationProfile() *ConversationProfile
- func (x *UpdateConversationProfileRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateConversationProfileRequest) ProtoMessage()
- func (x *UpdateConversationProfileRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateConversationProfileRequest) Reset()
- func (x *UpdateConversationProfileRequest) String() string
- type UpdateDocumentRequest
- func (*UpdateDocumentRequest) Descriptor() ([]byte, []int)
- func (x *UpdateDocumentRequest) GetDocument() *Document
- func (x *UpdateDocumentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateDocumentRequest) ProtoMessage()
- func (x *UpdateDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDocumentRequest) Reset()
- func (x *UpdateDocumentRequest) String() string
- type UpdateEntityTypeRequest
- func (*UpdateEntityTypeRequest) Descriptor() ([]byte, []int)
- func (x *UpdateEntityTypeRequest) GetEntityType() *EntityType
- func (x *UpdateEntityTypeRequest) GetLanguageCode() string
- func (x *UpdateEntityTypeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateEntityTypeRequest) ProtoMessage()
- func (x *UpdateEntityTypeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEntityTypeRequest) Reset()
- func (x *UpdateEntityTypeRequest) String() string
- type UpdateEnvironmentRequest
- func (*UpdateEnvironmentRequest) Descriptor() ([]byte, []int)
- func (x *UpdateEnvironmentRequest) GetAllowLoadToDraftAndDiscardChanges() bool
- func (x *UpdateEnvironmentRequest) GetEnvironment() *Environment
- func (x *UpdateEnvironmentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateEnvironmentRequest) ProtoMessage()
- func (x *UpdateEnvironmentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateEnvironmentRequest) Reset()
- func (x *UpdateEnvironmentRequest) String() string
- type UpdateFulfillmentRequest
- func (*UpdateFulfillmentRequest) Descriptor() ([]byte, []int)
- func (x *UpdateFulfillmentRequest) GetFulfillment() *Fulfillment
- func (x *UpdateFulfillmentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateFulfillmentRequest) ProtoMessage()
- func (x *UpdateFulfillmentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFulfillmentRequest) Reset()
- func (x *UpdateFulfillmentRequest) String() string
- type UpdateGeneratorRequest
- func (*UpdateGeneratorRequest) Descriptor() ([]byte, []int)
- func (x *UpdateGeneratorRequest) GetGenerator() *Generator
- func (x *UpdateGeneratorRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateGeneratorRequest) ProtoMessage()
- func (x *UpdateGeneratorRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateGeneratorRequest) Reset()
- func (x *UpdateGeneratorRequest) String() string
- type UpdateIntentRequest
- func (*UpdateIntentRequest) Descriptor() ([]byte, []int)
- func (x *UpdateIntentRequest) GetIntent() *Intent
- func (x *UpdateIntentRequest) GetIntentView() IntentView
- func (x *UpdateIntentRequest) GetLanguageCode() string
- func (x *UpdateIntentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateIntentRequest) ProtoMessage()
- func (x *UpdateIntentRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateIntentRequest) Reset()
- func (x *UpdateIntentRequest) String() string
- type UpdateKnowledgeBaseRequest
- func (*UpdateKnowledgeBaseRequest) Descriptor() ([]byte, []int)
- func (x *UpdateKnowledgeBaseRequest) GetKnowledgeBase() *KnowledgeBase
- func (x *UpdateKnowledgeBaseRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateKnowledgeBaseRequest) ProtoMessage()
- func (x *UpdateKnowledgeBaseRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateKnowledgeBaseRequest) Reset()
- func (x *UpdateKnowledgeBaseRequest) String() string
- type UpdateParticipantRequest
- func (*UpdateParticipantRequest) Descriptor() ([]byte, []int)
- func (x *UpdateParticipantRequest) GetParticipant() *Participant
- func (x *UpdateParticipantRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateParticipantRequest) ProtoMessage()
- func (x *UpdateParticipantRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateParticipantRequest) Reset()
- func (x *UpdateParticipantRequest) String() string
- type UpdatePhoneNumberRequest
- func (*UpdatePhoneNumberRequest) Descriptor() ([]byte, []int)
- func (x *UpdatePhoneNumberRequest) GetPhoneNumber() *PhoneNumber
- func (x *UpdatePhoneNumberRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdatePhoneNumberRequest) ProtoMessage()
- func (x *UpdatePhoneNumberRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePhoneNumberRequest) Reset()
- func (x *UpdatePhoneNumberRequest) String() string
- type UpdateSessionEntityTypeRequest
- func (*UpdateSessionEntityTypeRequest) Descriptor() ([]byte, []int)
- func (x *UpdateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType
- func (x *UpdateSessionEntityTypeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateSessionEntityTypeRequest) ProtoMessage()
- func (x *UpdateSessionEntityTypeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSessionEntityTypeRequest) Reset()
- func (x *UpdateSessionEntityTypeRequest) String() string
- type UpdateSipTrunkRequest
- func (*UpdateSipTrunkRequest) Descriptor() ([]byte, []int)
- func (x *UpdateSipTrunkRequest) GetSipTrunk() *SipTrunk
- func (x *UpdateSipTrunkRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateSipTrunkRequest) ProtoMessage()
- func (x *UpdateSipTrunkRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSipTrunkRequest) Reset()
- func (x *UpdateSipTrunkRequest) String() string
- type UpdateVersionRequest
- func (*UpdateVersionRequest) Descriptor() ([]byte, []int)
- func (x *UpdateVersionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateVersionRequest) GetVersion() *Version
- func (*UpdateVersionRequest) ProtoMessage()
- func (x *UpdateVersionRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateVersionRequest) Reset()
- func (x *UpdateVersionRequest) String() string
- type ValidationError
- func (*ValidationError) Descriptor() ([]byte, []int)
- func (x *ValidationError) GetEntries() []string
- func (x *ValidationError) GetErrorMessage() string
- func (x *ValidationError) GetSeverity() ValidationError_Severity
- func (*ValidationError) ProtoMessage()
- func (x *ValidationError) ProtoReflect() protoreflect.Message
- func (x *ValidationError) Reset()
- func (x *ValidationError) String() string
- type ValidationError_Severity
- func (ValidationError_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x ValidationError_Severity) Enum() *ValidationError_Severity
- func (ValidationError_Severity) EnumDescriptor() ([]byte, []int)
- func (x ValidationError_Severity) Number() protoreflect.EnumNumber
- func (x ValidationError_Severity) String() string
- func (ValidationError_Severity) Type() protoreflect.EnumType
- type ValidationResult
- func (*ValidationResult) Descriptor() ([]byte, []int)
- func (x *ValidationResult) GetValidationErrors() []*ValidationError
- func (*ValidationResult) ProtoMessage()
- func (x *ValidationResult) ProtoReflect() protoreflect.Message
- func (x *ValidationResult) Reset()
- func (x *ValidationResult) String() string
- type Version
- func (*Version) Descriptor() ([]byte, []int)
- func (x *Version) GetCreateTime() *timestamppb.Timestamp
- func (x *Version) GetDescription() string
- func (x *Version) GetName() string
- func (x *Version) GetStatus() Version_VersionStatus
- func (x *Version) GetVersionNumber() int32
- func (*Version) ProtoMessage()
- func (x *Version) ProtoReflect() protoreflect.Message
- func (x *Version) Reset()
- func (x *Version) String() string
- type Version_VersionStatus
- func (Version_VersionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x Version_VersionStatus) Enum() *Version_VersionStatus
- func (Version_VersionStatus) EnumDescriptor() ([]byte, []int)
- func (x Version_VersionStatus) Number() protoreflect.EnumNumber
- func (x Version_VersionStatus) String() string
- func (Version_VersionStatus) Type() protoreflect.EnumType
- type VersionsClient
- type VersionsServer
- type VoiceSelectionParams
- func (*VoiceSelectionParams) Descriptor() ([]byte, []int)
- func (x *VoiceSelectionParams) GetName() string
- func (x *VoiceSelectionParams) GetSsmlGender() SsmlVoiceGender
- func (*VoiceSelectionParams) ProtoMessage()
- func (x *VoiceSelectionParams) ProtoReflect() protoreflect.Message
- func (x *VoiceSelectionParams) Reset()
- func (x *VoiceSelectionParams) String() string
- type WebhookRequest
- func (*WebhookRequest) Descriptor() ([]byte, []int)
- func (x *WebhookRequest) GetAlternativeQueryResults() []*QueryResult
- func (x *WebhookRequest) GetOriginalDetectIntentRequest() *OriginalDetectIntentRequest
- func (x *WebhookRequest) GetQueryResult() *QueryResult
- func (x *WebhookRequest) GetResponseId() string
- func (x *WebhookRequest) GetSession() string
- func (*WebhookRequest) ProtoMessage()
- func (x *WebhookRequest) ProtoReflect() protoreflect.Message
- func (x *WebhookRequest) Reset()
- func (x *WebhookRequest) String() string
- type WebhookResponse
- func (*WebhookResponse) Descriptor() ([]byte, []int)
- func (x *WebhookResponse) GetEndInteraction() bool
- func (x *WebhookResponse) GetFollowupEventInput() *EventInput
- func (x *WebhookResponse) GetFulfillmentMessages() []*Intent_Message
- func (x *WebhookResponse) GetFulfillmentText() string
- func (x *WebhookResponse) GetLiveAgentHandoff() bool
- func (x *WebhookResponse) GetOutputContexts() []*Context
- func (x *WebhookResponse) GetPayload() *structpb.Struct
- func (x *WebhookResponse) GetSessionEntityTypes() []*SessionEntityType
- func (x *WebhookResponse) GetSource() string
- func (*WebhookResponse) ProtoMessage()
- func (x *WebhookResponse) ProtoReflect() protoreflect.Message
- func (x *WebhookResponse) Reset()
- func (x *WebhookResponse) String() string
Variables ¶
var ( Agent_MatchMode_name = map[int32]string{ 0: "MATCH_MODE_UNSPECIFIED", 1: "MATCH_MODE_HYBRID", 2: "MATCH_MODE_ML_ONLY", } Agent_MatchMode_value = map[string]int32{ "MATCH_MODE_UNSPECIFIED": 0, "MATCH_MODE_HYBRID": 1, "MATCH_MODE_ML_ONLY": 2, } )
Enum value maps for Agent_MatchMode.
var ( Agent_ApiVersion_name = map[int32]string{ 0: "API_VERSION_UNSPECIFIED", 1: "API_VERSION_V1", 2: "API_VERSION_V2", 3: "API_VERSION_V2_BETA_1", } Agent_ApiVersion_value = map[string]int32{ "API_VERSION_UNSPECIFIED": 0, "API_VERSION_V1": 1, "API_VERSION_V2": 2, "API_VERSION_V2_BETA_1": 3, } )
Enum value maps for Agent_ApiVersion.
var ( Agent_Tier_name = map[int32]string{ 0: "TIER_UNSPECIFIED", 1: "TIER_STANDARD", 2: "TIER_ENTERPRISE", 3: "TIER_ENTERPRISE_PLUS", } Agent_Tier_value = map[string]int32{ "TIER_UNSPECIFIED": 0, "TIER_STANDARD": 1, "TIER_ENTERPRISE": 2, "TIER_ENTERPRISE_PLUS": 3, } )
Enum value maps for Agent_Tier.
var ( AnswerFeedback_CorrectnessLevel_name = map[int32]string{ 0: "CORRECTNESS_LEVEL_UNSPECIFIED", 1: "NOT_CORRECT", 2: "PARTIALLY_CORRECT", 3: "FULLY_CORRECT", } AnswerFeedback_CorrectnessLevel_value = map[string]int32{ "CORRECTNESS_LEVEL_UNSPECIFIED": 0, "NOT_CORRECT": 1, "PARTIALLY_CORRECT": 2, "FULLY_CORRECT": 3, } )
Enum value maps for AnswerFeedback_CorrectnessLevel.
var ( AgentAssistantFeedback_AnswerRelevance_name = map[int32]string{ 0: "ANSWER_RELEVANCE_UNSPECIFIED", 1: "IRRELEVANT", 2: "RELEVANT", } AgentAssistantFeedback_AnswerRelevance_value = map[string]int32{ "ANSWER_RELEVANCE_UNSPECIFIED": 0, "IRRELEVANT": 1, "RELEVANT": 2, } )
Enum value maps for AgentAssistantFeedback_AnswerRelevance.
var ( AgentAssistantFeedback_DocumentCorrectness_name = map[int32]string{ 0: "DOCUMENT_CORRECTNESS_UNSPECIFIED", 1: "INCORRECT", 2: "CORRECT", } AgentAssistantFeedback_DocumentCorrectness_value = map[string]int32{ "DOCUMENT_CORRECTNESS_UNSPECIFIED": 0, "INCORRECT": 1, "CORRECT": 2, } )
Enum value maps for AgentAssistantFeedback_DocumentCorrectness.
var ( AgentAssistantFeedback_DocumentEfficiency_name = map[int32]string{ 0: "DOCUMENT_EFFICIENCY_UNSPECIFIED", 1: "INEFFICIENT", 2: "EFFICIENT", } AgentAssistantFeedback_DocumentEfficiency_value = map[string]int32{ "DOCUMENT_EFFICIENCY_UNSPECIFIED": 0, "INEFFICIENT": 1, "EFFICIENT": 2, } )
Enum value maps for AgentAssistantFeedback_DocumentEfficiency.
var ( TelephonyDtmf_name = map[int32]string{ 0: "TELEPHONY_DTMF_UNSPECIFIED", 1: "DTMF_ONE", 2: "DTMF_TWO", 3: "DTMF_THREE", 4: "DTMF_FOUR", 5: "DTMF_FIVE", 6: "DTMF_SIX", 7: "DTMF_SEVEN", 8: "DTMF_EIGHT", 9: "DTMF_NINE", 10: "DTMF_ZERO", 11: "DTMF_A", 12: "DTMF_B", 13: "DTMF_C", 14: "DTMF_D", 15: "DTMF_STAR", 16: "DTMF_POUND", } TelephonyDtmf_value = map[string]int32{ "TELEPHONY_DTMF_UNSPECIFIED": 0, "DTMF_ONE": 1, "DTMF_TWO": 2, "DTMF_THREE": 3, "DTMF_FOUR": 4, "DTMF_FIVE": 5, "DTMF_SIX": 6, "DTMF_SEVEN": 7, "DTMF_EIGHT": 8, "DTMF_NINE": 9, "DTMF_ZERO": 10, "DTMF_A": 11, "DTMF_B": 12, "DTMF_C": 13, "DTMF_D": 14, "DTMF_STAR": 15, "DTMF_POUND": 16, } )
Enum value maps for TelephonyDtmf.
var ( AudioEncoding_name = map[int32]string{ 0: "AUDIO_ENCODING_UNSPECIFIED", 1: "AUDIO_ENCODING_LINEAR_16", 2: "AUDIO_ENCODING_FLAC", 3: "AUDIO_ENCODING_MULAW", 4: "AUDIO_ENCODING_AMR", 5: "AUDIO_ENCODING_AMR_WB", 6: "AUDIO_ENCODING_OGG_OPUS", 7: "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE", 8: "AUDIO_ENCODING_ALAW", } AudioEncoding_value = map[string]int32{ "AUDIO_ENCODING_UNSPECIFIED": 0, "AUDIO_ENCODING_LINEAR_16": 1, "AUDIO_ENCODING_FLAC": 2, "AUDIO_ENCODING_MULAW": 3, "AUDIO_ENCODING_AMR": 4, "AUDIO_ENCODING_AMR_WB": 5, "AUDIO_ENCODING_OGG_OPUS": 6, "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE": 7, "AUDIO_ENCODING_ALAW": 8, } )
Enum value maps for AudioEncoding.
var ( SpeechModelVariant_name = map[int32]string{ 0: "SPEECH_MODEL_VARIANT_UNSPECIFIED", 1: "USE_BEST_AVAILABLE", 2: "USE_STANDARD", 3: "USE_ENHANCED", } SpeechModelVariant_value = map[string]int32{ "SPEECH_MODEL_VARIANT_UNSPECIFIED": 0, "USE_BEST_AVAILABLE": 1, "USE_STANDARD": 2, "USE_ENHANCED": 3, } )
Enum value maps for SpeechModelVariant.
var ( SsmlVoiceGender_name = map[int32]string{ 0: "SSML_VOICE_GENDER_UNSPECIFIED", 1: "SSML_VOICE_GENDER_MALE", 2: "SSML_VOICE_GENDER_FEMALE", 3: "SSML_VOICE_GENDER_NEUTRAL", } SsmlVoiceGender_value = map[string]int32{ "SSML_VOICE_GENDER_UNSPECIFIED": 0, "SSML_VOICE_GENDER_MALE": 1, "SSML_VOICE_GENDER_FEMALE": 2, "SSML_VOICE_GENDER_NEUTRAL": 3, } )
Enum value maps for SsmlVoiceGender.
var ( OutputAudioEncoding_name = map[int32]string{ 0: "OUTPUT_AUDIO_ENCODING_UNSPECIFIED", 1: "OUTPUT_AUDIO_ENCODING_LINEAR_16", 2: "OUTPUT_AUDIO_ENCODING_MP3", 4: "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS", 3: "OUTPUT_AUDIO_ENCODING_OGG_OPUS", 5: "OUTPUT_AUDIO_ENCODING_MULAW", 6: "OUTPUT_AUDIO_ENCODING_ALAW", } OutputAudioEncoding_value = map[string]int32{ "OUTPUT_AUDIO_ENCODING_UNSPECIFIED": 0, "OUTPUT_AUDIO_ENCODING_LINEAR_16": 1, "OUTPUT_AUDIO_ENCODING_MP3": 2, "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS": 4, "OUTPUT_AUDIO_ENCODING_OGG_OPUS": 3, "OUTPUT_AUDIO_ENCODING_MULAW": 5, "OUTPUT_AUDIO_ENCODING_ALAW": 6, } )
Enum value maps for OutputAudioEncoding.
var ( Conversation_LifecycleState_name = map[int32]string{ 0: "LIFECYCLE_STATE_UNSPECIFIED", 1: "IN_PROGRESS", 2: "COMPLETED", } Conversation_LifecycleState_value = map[string]int32{ "LIFECYCLE_STATE_UNSPECIFIED": 0, "IN_PROGRESS": 1, "COMPLETED": 2, } )
Enum value maps for Conversation_LifecycleState.
var ( Conversation_ConversationStage_name = map[int32]string{ 0: "CONVERSATION_STAGE_UNSPECIFIED", 1: "VIRTUAL_AGENT_STAGE", 2: "HUMAN_ASSIST_STAGE", } Conversation_ConversationStage_value = map[string]int32{ "CONVERSATION_STAGE_UNSPECIFIED": 0, "VIRTUAL_AGENT_STAGE": 1, "HUMAN_ASSIST_STAGE": 2, } )
Enum value maps for Conversation_ConversationStage.
var ( SearchKnowledgeRequest_QuerySource_name = map[int32]string{ 0: "QUERY_SOURCE_UNSPECIFIED", 1: "AGENT_QUERY", 2: "SUGGESTED_QUERY", } SearchKnowledgeRequest_QuerySource_value = map[string]int32{ "QUERY_SOURCE_UNSPECIFIED": 0, "AGENT_QUERY": 1, "SUGGESTED_QUERY": 2, } )
Enum value maps for SearchKnowledgeRequest_QuerySource.
var ( SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType_name = map[int32]string{ 0: "ATTRIBUTE_TYPE_UNSPECIFIED", 1: "NUMERICAL", 2: "FRESHNESS", } SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType_value = map[string]int32{ "ATTRIBUTE_TYPE_UNSPECIFIED": 0, "NUMERICAL": 1, "FRESHNESS": 2, } )
Enum value maps for SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType.
var ( SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType_name = map[int32]string{ 0: "INTERPOLATION_TYPE_UNSPECIFIED", 1: "LINEAR", } SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType_value = map[string]int32{ "INTERPOLATION_TYPE_UNSPECIFIED": 0, "LINEAR": 1, } )
Enum value maps for SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType.
var ( SearchKnowledgeAnswer_AnswerType_name = map[int32]string{ 0: "ANSWER_TYPE_UNSPECIFIED", 1: "FAQ", 2: "GENERATIVE", 3: "INTENT", } SearchKnowledgeAnswer_AnswerType_value = map[string]int32{ "ANSWER_TYPE_UNSPECIFIED": 0, "FAQ": 1, "GENERATIVE": 2, "INTENT": 3, } )
Enum value maps for SearchKnowledgeAnswer_AnswerType.
var ( ConversationEvent_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "CONVERSATION_STARTED", 2: "CONVERSATION_FINISHED", 3: "HUMAN_INTERVENTION_NEEDED", 5: "NEW_MESSAGE", 7: "NEW_RECOGNITION_RESULT", 4: "UNRECOVERABLE_ERROR", } ConversationEvent_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "CONVERSATION_STARTED": 1, "CONVERSATION_FINISHED": 2, "HUMAN_INTERVENTION_NEEDED": 3, "NEW_MESSAGE": 5, "NEW_RECOGNITION_RESULT": 7, "UNRECOVERABLE_ERROR": 4, } )
Enum value maps for ConversationEvent_Type.
var ( HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType_name = map[int32]string{ 0: "SECTION_TYPE_UNSPECIFIED", 1: "SITUATION", 2: "ACTION", 3: "RESOLUTION", 4: "REASON_FOR_CANCELLATION", 5: "CUSTOMER_SATISFACTION", 6: "ENTITIES", } HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType_value = map[string]int32{ "SECTION_TYPE_UNSPECIFIED": 0, "SITUATION": 1, "ACTION": 2, "RESOLUTION": 3, "REASON_FOR_CANCELLATION": 4, "CUSTOMER_SATISFACTION": 5, "ENTITIES": 6, } )
Enum value maps for HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType.
var ( NotificationConfig_MessageFormat_name = map[int32]string{ 0: "MESSAGE_FORMAT_UNSPECIFIED", 1: "PROTO", 2: "JSON", } NotificationConfig_MessageFormat_value = map[string]int32{ "MESSAGE_FORMAT_UNSPECIFIED": 0, "PROTO": 1, "JSON": 2, } )
Enum value maps for NotificationConfig_MessageFormat.
var ( Document_KnowledgeType_name = map[int32]string{ 0: "KNOWLEDGE_TYPE_UNSPECIFIED", 1: "FAQ", 2: "EXTRACTIVE_QA", 3: "ARTICLE_SUGGESTION", 4: "AGENT_FACING_SMART_REPLY", } Document_KnowledgeType_value = map[string]int32{ "KNOWLEDGE_TYPE_UNSPECIFIED": 0, "FAQ": 1, "EXTRACTIVE_QA": 2, "ARTICLE_SUGGESTION": 3, "AGENT_FACING_SMART_REPLY": 4, "SMART_REPLY": 4, } )
Enum value maps for Document_KnowledgeType.
var ( Document_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "UPDATING", 4: "RELOADING", 5: "DELETING", } Document_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "UPDATING": 3, "RELOADING": 4, "DELETING": 5, } )
Enum value maps for Document_State.
var ( KnowledgeOperationMetadata_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "PENDING", 2: "RUNNING", 3: "DONE", } KnowledgeOperationMetadata_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "PENDING": 1, "RUNNING": 2, "DONE": 3, } )
Enum value maps for KnowledgeOperationMetadata_State.
var ( EntityType_Kind_name = map[int32]string{ 0: "KIND_UNSPECIFIED", 1: "KIND_MAP", 2: "KIND_LIST", 3: "KIND_REGEXP", } EntityType_Kind_value = map[string]int32{ "KIND_UNSPECIFIED": 0, "KIND_MAP": 1, "KIND_LIST": 2, "KIND_REGEXP": 3, } )
Enum value maps for EntityType_Kind.
var ( EntityType_AutoExpansionMode_name = map[int32]string{ 0: "AUTO_EXPANSION_MODE_UNSPECIFIED", 1: "AUTO_EXPANSION_MODE_DEFAULT", } EntityType_AutoExpansionMode_value = map[string]int32{ "AUTO_EXPANSION_MODE_UNSPECIFIED": 0, "AUTO_EXPANSION_MODE_DEFAULT": 1, } )
Enum value maps for EntityType_AutoExpansionMode.
var ( Environment_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "STOPPED", 2: "LOADING", 3: "RUNNING", } Environment_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "STOPPED": 1, "LOADING": 2, "RUNNING": 3, } )
Enum value maps for Environment_State.
var ( Fulfillment_Feature_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "SMALLTALK", } Fulfillment_Feature_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "SMALLTALK": 1, } )
Enum value maps for Fulfillment_Feature_Type.
var ( TriggerEvent_name = map[int32]string{ 0: "TRIGGER_EVENT_UNSPECIFIED", 1: "END_OF_UTTERANCE", 2: "MANUAL_CALL", } TriggerEvent_value = map[string]int32{ "TRIGGER_EVENT_UNSPECIFIED": 0, "END_OF_UTTERANCE": 1, "MANUAL_CALL": 2, } )
Enum value maps for TriggerEvent.
var ( MessageEntry_Role_name = map[int32]string{ 0: "ROLE_UNSPECIFIED", 1: "HUMAN_AGENT", 2: "AUTOMATED_AGENT", 3: "END_USER", } MessageEntry_Role_value = map[string]int32{ "ROLE_UNSPECIFIED": 0, "HUMAN_AGENT": 1, "AUTOMATED_AGENT": 2, "END_USER": 3, } )
Enum value maps for MessageEntry_Role.
var ( SummarizationSection_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "SITUATION", 2: "ACTION", 3: "RESOLUTION", 4: "REASON_FOR_CANCELLATION", 5: "CUSTOMER_SATISFACTION", 6: "ENTITIES", 7: "CUSTOMER_DEFINED", } SummarizationSection_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "SITUATION": 1, "ACTION": 2, "RESOLUTION": 3, "REASON_FOR_CANCELLATION": 4, "CUSTOMER_SATISFACTION": 5, "ENTITIES": 6, "CUSTOMER_DEFINED": 7, } )
Enum value maps for SummarizationSection_Type.
var ( IntentView_name = map[int32]string{ 0: "INTENT_VIEW_UNSPECIFIED", 1: "INTENT_VIEW_FULL", } IntentView_value = map[string]int32{ "INTENT_VIEW_UNSPECIFIED": 0, "INTENT_VIEW_FULL": 1, } )
Enum value maps for IntentView.
var ( Intent_WebhookState_name = map[int32]string{ 0: "WEBHOOK_STATE_UNSPECIFIED", 1: "WEBHOOK_STATE_ENABLED", 2: "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING", } Intent_WebhookState_value = map[string]int32{ "WEBHOOK_STATE_UNSPECIFIED": 0, "WEBHOOK_STATE_ENABLED": 1, "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING": 2, } )
Enum value maps for Intent_WebhookState.
var ( Intent_TrainingPhrase_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "EXAMPLE", 2: "TEMPLATE", } Intent_TrainingPhrase_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "EXAMPLE": 1, "TEMPLATE": 2, } )
Enum value maps for Intent_TrainingPhrase_Type.
var ( Intent_Message_Platform_name = map[int32]string{ 0: "PLATFORM_UNSPECIFIED", 1: "FACEBOOK", 2: "SLACK", 3: "TELEGRAM", 4: "KIK", 5: "SKYPE", 6: "LINE", 7: "VIBER", 8: "ACTIONS_ON_GOOGLE", 10: "TELEPHONY", 11: "GOOGLE_HANGOUTS", } Intent_Message_Platform_value = map[string]int32{ "PLATFORM_UNSPECIFIED": 0, "FACEBOOK": 1, "SLACK": 2, "TELEGRAM": 3, "KIK": 4, "SKYPE": 5, "LINE": 6, "VIBER": 7, "ACTIONS_ON_GOOGLE": 8, "TELEPHONY": 10, "GOOGLE_HANGOUTS": 11, } )
Enum value maps for Intent_Message_Platform.
var ( Intent_Message_RbmCarouselCard_CardWidth_name = map[int32]string{ 0: "CARD_WIDTH_UNSPECIFIED", 1: "SMALL", 2: "MEDIUM", } Intent_Message_RbmCarouselCard_CardWidth_value = map[string]int32{ "CARD_WIDTH_UNSPECIFIED": 0, "SMALL": 1, "MEDIUM": 2, } )
Enum value maps for Intent_Message_RbmCarouselCard_CardWidth.
var ( Intent_Message_RbmStandaloneCard_CardOrientation_name = map[int32]string{ 0: "CARD_ORIENTATION_UNSPECIFIED", 1: "HORIZONTAL", 2: "VERTICAL", } Intent_Message_RbmStandaloneCard_CardOrientation_value = map[string]int32{ "CARD_ORIENTATION_UNSPECIFIED": 0, "HORIZONTAL": 1, "VERTICAL": 2, } )
Enum value maps for Intent_Message_RbmStandaloneCard_CardOrientation.
var ( Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment_name = map[int32]string{ 0: "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED", 1: "LEFT", 2: "RIGHT", } Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment_value = map[string]int32{ "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED": 0, "LEFT": 1, "RIGHT": 2, } )
Enum value maps for Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment.
var ( Intent_Message_RbmCardContent_RbmMedia_Height_name = map[int32]string{ 0: "HEIGHT_UNSPECIFIED", 1: "SHORT", 2: "MEDIUM", 3: "TALL", } Intent_Message_RbmCardContent_RbmMedia_Height_value = map[string]int32{ "HEIGHT_UNSPECIFIED": 0, "SHORT": 1, "MEDIUM": 2, "TALL": 3, } )
Enum value maps for Intent_Message_RbmCardContent_RbmMedia_Height.
var ( Intent_Message_MediaContent_ResponseMediaType_name = map[int32]string{ 0: "RESPONSE_MEDIA_TYPE_UNSPECIFIED", 1: "AUDIO", } Intent_Message_MediaContent_ResponseMediaType_value = map[string]int32{ "RESPONSE_MEDIA_TYPE_UNSPECIFIED": 0, "AUDIO": 1, } )
Enum value maps for Intent_Message_MediaContent_ResponseMediaType.
var ( Intent_Message_BrowseCarouselCard_ImageDisplayOptions_name = map[int32]string{ 0: "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED", 1: "GRAY", 2: "WHITE", 3: "CROPPED", 4: "BLURRED_BACKGROUND", } Intent_Message_BrowseCarouselCard_ImageDisplayOptions_value = map[string]int32{ "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED": 0, "GRAY": 1, "WHITE": 2, "CROPPED": 3, "BLURRED_BACKGROUND": 4, } )
Enum value maps for Intent_Message_BrowseCarouselCard_ImageDisplayOptions.
var ( Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint_name = map[int32]string{ 0: "URL_TYPE_HINT_UNSPECIFIED", 1: "AMP_ACTION", 2: "AMP_CONTENT", } Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint_value = map[string]int32{ "URL_TYPE_HINT_UNSPECIFIED": 0, "AMP_ACTION": 1, "AMP_CONTENT": 2, } )
Enum value maps for Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint.
var ( Intent_Message_ColumnProperties_HorizontalAlignment_name = map[int32]string{ 0: "HORIZONTAL_ALIGNMENT_UNSPECIFIED", 1: "LEADING", 2: "CENTER", 3: "TRAILING", } Intent_Message_ColumnProperties_HorizontalAlignment_value = map[string]int32{ "HORIZONTAL_ALIGNMENT_UNSPECIFIED": 0, "LEADING": 1, "CENTER": 2, "TRAILING": 3, } )
Enum value maps for Intent_Message_ColumnProperties_HorizontalAlignment.
var ( Participant_Role_name = map[int32]string{ 0: "ROLE_UNSPECIFIED", 1: "HUMAN_AGENT", 2: "AUTOMATED_AGENT", 3: "END_USER", } Participant_Role_value = map[string]int32{ "ROLE_UNSPECIFIED": 0, "HUMAN_AGENT": 1, "AUTOMATED_AGENT": 2, "END_USER": 3, } )
Enum value maps for Participant_Role.
var ( AutomatedAgentReply_AutomatedAgentReplyType_name = map[int32]string{ 0: "AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED", 1: "PARTIAL", 2: "FINAL", } AutomatedAgentReply_AutomatedAgentReplyType_value = map[string]int32{ "AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED": 0, "PARTIAL": 1, "FINAL": 2, } )
Enum value maps for AutomatedAgentReply_AutomatedAgentReplyType.
var ( SuggestionFeature_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "ARTICLE_SUGGESTION", 2: "FAQ", 3: "SMART_REPLY", 4: "DIALOGFLOW_ASSIST", 8: "CONVERSATION_SUMMARIZATION", 14: "KNOWLEDGE_SEARCH", 15: "KNOWLEDGE_ASSIST", } SuggestionFeature_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "ARTICLE_SUGGESTION": 1, "FAQ": 2, "SMART_REPLY": 3, "DIALOGFLOW_ASSIST": 4, "CONVERSATION_SUMMARIZATION": 8, "KNOWLEDGE_SEARCH": 14, "KNOWLEDGE_ASSIST": 15, } )
Enum value maps for SuggestionFeature_Type.
var ( PhoneNumber_LifecycleState_name = map[int32]string{ 0: "LIFECYCLE_STATE_UNSPECIFIED", 1: "ACTIVE", 2: "DELETE_REQUESTED", } PhoneNumber_LifecycleState_value = map[string]int32{ "LIFECYCLE_STATE_UNSPECIFIED": 0, "ACTIVE": 1, "DELETE_REQUESTED": 2, } )
Enum value maps for PhoneNumber_LifecycleState.
var ( KnowledgeAnswers_Answer_MatchConfidenceLevel_name = map[int32]string{ 0: "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED", 1: "LOW", 2: "MEDIUM", 3: "HIGH", } KnowledgeAnswers_Answer_MatchConfidenceLevel_value = map[string]int32{ "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED": 0, "LOW": 1, "MEDIUM": 2, "HIGH": 3, } )
Enum value maps for KnowledgeAnswers_Answer_MatchConfidenceLevel.
var ( StreamingRecognitionResult_MessageType_name = map[int32]string{ 0: "MESSAGE_TYPE_UNSPECIFIED", 1: "TRANSCRIPT", 3: "DTMF_DIGITS", 2: "END_OF_SINGLE_UTTERANCE", 4: "PARTIAL_DTMF_DIGITS", } StreamingRecognitionResult_MessageType_value = map[string]int32{ "MESSAGE_TYPE_UNSPECIFIED": 0, "TRANSCRIPT": 1, "DTMF_DIGITS": 3, "END_OF_SINGLE_UTTERANCE": 2, "PARTIAL_DTMF_DIGITS": 4, } )
Enum value maps for StreamingRecognitionResult_MessageType.
var ( SessionEntityType_EntityOverrideMode_name = map[int32]string{ 0: "ENTITY_OVERRIDE_MODE_UNSPECIFIED", 1: "ENTITY_OVERRIDE_MODE_OVERRIDE", 2: "ENTITY_OVERRIDE_MODE_SUPPLEMENT", } SessionEntityType_EntityOverrideMode_value = map[string]int32{ "ENTITY_OVERRIDE_MODE_UNSPECIFIED": 0, "ENTITY_OVERRIDE_MODE_OVERRIDE": 1, "ENTITY_OVERRIDE_MODE_SUPPLEMENT": 2, } )
Enum value maps for SessionEntityType_EntityOverrideMode.
var ( Connection_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CONNECTED", 2: "DISCONNECTED", 3: "AUTHENTICATION_FAILED", 4: "KEEPALIVE", } Connection_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CONNECTED": 1, "DISCONNECTED": 2, "AUTHENTICATION_FAILED": 3, "KEEPALIVE": 4, } )
Enum value maps for Connection_State.
var ( Connection_CertificateState_name = map[int32]string{ 0: "CERTIFICATE_STATE_UNSPECIFIED", 1: "CERTIFICATE_VALID", 2: "CERTIFICATE_INVALID", 3: "CERTIFICATE_EXPIRED", 4: "CERTIFICATE_HOSTNAME_NOT_FOUND", 5: "CERTIFICATE_UNAUTHENTICATED", 6: "CERTIFICATE_TRUST_STORE_NOT_FOUND", 7: "CERTIFICATE_HOSTNAME_INVALID_FORMAT", 8: "CERTIFICATE_QUOTA_EXCEEDED", } Connection_CertificateState_value = map[string]int32{ "CERTIFICATE_STATE_UNSPECIFIED": 0, "CERTIFICATE_VALID": 1, "CERTIFICATE_INVALID": 2, "CERTIFICATE_EXPIRED": 3, "CERTIFICATE_HOSTNAME_NOT_FOUND": 4, "CERTIFICATE_UNAUTHENTICATED": 5, "CERTIFICATE_TRUST_STORE_NOT_FOUND": 6, "CERTIFICATE_HOSTNAME_INVALID_FORMAT": 7, "CERTIFICATE_QUOTA_EXCEEDED": 8, } )
Enum value maps for Connection_CertificateState.
var ( ValidationError_Severity_name = map[int32]string{ 0: "SEVERITY_UNSPECIFIED", 1: "INFO", 2: "WARNING", 3: "ERROR", 4: "CRITICAL", } ValidationError_Severity_value = map[string]int32{ "SEVERITY_UNSPECIFIED": 0, "INFO": 1, "WARNING": 2, "ERROR": 3, "CRITICAL": 4, } )
Enum value maps for ValidationError_Severity.
var ( Version_VersionStatus_name = map[int32]string{ 0: "VERSION_STATUS_UNSPECIFIED", 1: "IN_PROGRESS", 2: "READY", 3: "FAILED", } Version_VersionStatus_value = map[string]int32{ "VERSION_STATUS_UNSPECIFIED": 0, "IN_PROGRESS": 1, "READY": 2, "FAILED": 3, } )
Enum value maps for Version_VersionStatus.
var File_google_cloud_dialogflow_v2beta1_agent_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_answer_record_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_audio_config_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_context_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_conversation_event_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_conversation_profile_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_conversation_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_document_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_encryption_spec_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_entity_type_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_environment_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_fulfillment_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_gcs_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_generator_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_human_agent_assistant_event_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_intent_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_knowledge_base_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_participant_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_phone_number_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_session_entity_type_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_session_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_sip_trunk_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_validation_result_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_version_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_webhook_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAgentsServer ¶
func RegisterAgentsServer(s *grpc.Server, srv AgentsServer)
func RegisterAnswerRecordsServer ¶
func RegisterAnswerRecordsServer(s *grpc.Server, srv AnswerRecordsServer)
func RegisterContextsServer ¶
func RegisterContextsServer(s *grpc.Server, srv ContextsServer)
func RegisterConversationProfilesServer ¶
func RegisterConversationProfilesServer(s *grpc.Server, srv ConversationProfilesServer)
func RegisterConversationsServer ¶
func RegisterConversationsServer(s *grpc.Server, srv ConversationsServer)
func RegisterDocumentsServer ¶
func RegisterDocumentsServer(s *grpc.Server, srv DocumentsServer)
func RegisterEncryptionSpecServiceServer ¶
func RegisterEncryptionSpecServiceServer(s *grpc.Server, srv EncryptionSpecServiceServer)
func RegisterEntityTypesServer ¶
func RegisterEntityTypesServer(s *grpc.Server, srv EntityTypesServer)
func RegisterEnvironmentsServer ¶
func RegisterEnvironmentsServer(s *grpc.Server, srv EnvironmentsServer)
func RegisterFulfillmentsServer ¶
func RegisterFulfillmentsServer(s *grpc.Server, srv FulfillmentsServer)
func RegisterGeneratorsServer ¶
func RegisterGeneratorsServer(s *grpc.Server, srv GeneratorsServer)
func RegisterIntentsServer ¶
func RegisterIntentsServer(s *grpc.Server, srv IntentsServer)
func RegisterKnowledgeBasesServer ¶
func RegisterKnowledgeBasesServer(s *grpc.Server, srv KnowledgeBasesServer)
func RegisterParticipantsServer ¶
func RegisterParticipantsServer(s *grpc.Server, srv ParticipantsServer)
func RegisterPhoneNumbersServer ¶
func RegisterPhoneNumbersServer(s *grpc.Server, srv PhoneNumbersServer)
func RegisterSessionEntityTypesServer ¶
func RegisterSessionEntityTypesServer(s *grpc.Server, srv SessionEntityTypesServer)
func RegisterSessionsServer ¶
func RegisterSessionsServer(s *grpc.Server, srv SessionsServer)
func RegisterSipTrunksServer ¶
func RegisterSipTrunksServer(s *grpc.Server, srv SipTrunksServer)
func RegisterVersionsServer ¶
func RegisterVersionsServer(s *grpc.Server, srv VersionsServer)
Types ¶
type Agent ¶
type Agent struct { // Required. The project of this agent. // Format: `projects/<Project ID>` or // // `projects/<Project ID>/locations/<Location ID>` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The name of this agent. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Required. The default language of the agent as a language tag. See // [Language // Support](https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. This field cannot be // set by the `Update` method. DefaultLanguageCode string `protobuf:"bytes,3,opt,name=default_language_code,json=defaultLanguageCode,proto3" json:"default_language_code,omitempty"` // Optional. The list of all languages supported by this agent (except for the // `default_language_code`). SupportedLanguageCodes []string `protobuf:"bytes,4,rep,name=supported_language_codes,json=supportedLanguageCodes,proto3" json:"supported_language_codes,omitempty"` // Required. The time zone of this agent from the // [time zone database](https://www.iana.org/time-zones), e.g., // America/New_York, Europe/Paris. TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` // Optional. The description of this agent. // The maximum length is 500 characters. If exceeded, the request is rejected. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // Optional. The URI of the agent's avatar. // Avatars are used throughout the Dialogflow console and in the self-hosted // [Web // Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) // integration. AvatarUri string `protobuf:"bytes,7,opt,name=avatar_uri,json=avatarUri,proto3" json:"avatar_uri,omitempty"` // Optional. Determines whether this agent should log conversation queries. EnableLogging bool `protobuf:"varint,8,opt,name=enable_logging,json=enableLogging,proto3" json:"enable_logging,omitempty"` // Optional. Determines how intents are detected from user queries. // // Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/agent.proto. MatchMode Agent_MatchMode `protobuf:"varint,9,opt,name=match_mode,json=matchMode,proto3,enum=google.cloud.dialogflow.v2beta1.Agent_MatchMode" json:"match_mode,omitempty"` // Optional. To filter out false positive results and still get variety in // matched natural language inputs for your agent, you can tune the machine // learning classification threshold. If the returned score value is less than // the threshold value, then a fallback intent will be triggered or, if there // are no fallback intents defined, no intent will be triggered. The score // values range from 0.0 (completely uncertain) to 1.0 (completely certain). // If set to 0.0, the default of 0.3 is used. ClassificationThreshold float32 `protobuf:"fixed32,10,opt,name=classification_threshold,json=classificationThreshold,proto3" json:"classification_threshold,omitempty"` // Optional. API version displayed in Dialogflow console. If not specified, // V2 API is assumed. Clients are free to query different service endpoints // for different API versions. However, bots connectors and webhook calls will // follow the specified API version. ApiVersion Agent_ApiVersion `protobuf:"varint,14,opt,name=api_version,json=apiVersion,proto3,enum=google.cloud.dialogflow.v2beta1.Agent_ApiVersion" json:"api_version,omitempty"` // Optional. The agent tier. If not specified, TIER_STANDARD is assumed. Tier Agent_Tier `protobuf:"varint,15,opt,name=tier,proto3,enum=google.cloud.dialogflow.v2beta1.Agent_Tier" json:"tier,omitempty"` // contains filtered or unexported fields }
A Dialogflow agent is a virtual agent that handles conversations with your end-users. It is a natural language understanding module that understands the nuances of human language. Dialogflow translates end-user text or audio during a conversation to structured data that your apps and services can understand. You design and build a Dialogflow agent to handle the types of conversations required for your system.
For more information about agents, see the [Agent guide](https://cloud.google.com/dialogflow/docs/agents-overview).
func (*Agent) Descriptor ¶
Deprecated: Use Agent.ProtoReflect.Descriptor instead.
func (*Agent) GetApiVersion ¶
func (x *Agent) GetApiVersion() Agent_ApiVersion
func (*Agent) GetAvatarUri ¶
func (*Agent) GetClassificationThreshold ¶
func (*Agent) GetDefaultLanguageCode ¶
func (*Agent) GetDescription ¶
func (*Agent) GetDisplayName ¶
func (*Agent) GetEnableLogging ¶
func (*Agent) GetMatchMode ¶
func (x *Agent) GetMatchMode() Agent_MatchMode
Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/agent.proto.
func (*Agent) GetParent ¶
func (*Agent) GetSupportedLanguageCodes ¶
func (*Agent) GetTier ¶
func (x *Agent) GetTier() Agent_Tier
func (*Agent) GetTimeZone ¶
func (*Agent) ProtoMessage ¶
func (*Agent) ProtoMessage()
func (*Agent) ProtoReflect ¶
func (x *Agent) ProtoReflect() protoreflect.Message
func (*Agent) Reset ¶
func (x *Agent) Reset()
func (*Agent) String ¶
type AgentAssistantFeedback ¶
type AgentAssistantFeedback struct { // Optional. Whether or not the suggested answer is relevant. // // For example: // // - Query: "Can I change my mailing address?" // - Suggested document says: "Items must be returned/exchanged within 60 // days of the purchase date." // - [answer_relevance][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.answer_relevance]: [AnswerRelevance.IRRELEVANT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.AnswerRelevance.IRRELEVANT] AnswerRelevance AgentAssistantFeedback_AnswerRelevance `protobuf:"varint,1,opt,name=answer_relevance,json=answerRelevance,proto3,enum=google.cloud.dialogflow.v2beta1.AgentAssistantFeedback_AnswerRelevance" json:"answer_relevance,omitempty"` // Optional. Whether or not the information in the document is correct. // // For example: // // - Query: "Can I return the package in 2 days once received?" // - Suggested document says: "Items must be returned/exchanged within 60 // days of the purchase date." // - Ground truth: "No return or exchange is allowed." // - [document_correctness]: INCORRECT DocumentCorrectness AgentAssistantFeedback_DocumentCorrectness `protobuf:"varint,2,opt,name=document_correctness,json=documentCorrectness,proto3,enum=google.cloud.dialogflow.v2beta1.AgentAssistantFeedback_DocumentCorrectness" json:"document_correctness,omitempty"` // Optional. Whether or not the suggested document is efficient. For example, // if the document is poorly written, hard to understand, hard to use or // too long to find useful information, // [document_efficiency][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_efficiency] // is // [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT]. DocumentEfficiency AgentAssistantFeedback_DocumentEfficiency `protobuf:"varint,3,opt,name=document_efficiency,json=documentEfficiency,proto3,enum=google.cloud.dialogflow.v2beta1.AgentAssistantFeedback_DocumentEfficiency" json:"document_efficiency,omitempty"` // Feedback for conversation summarization. SummarizationFeedback *AgentAssistantFeedback_SummarizationFeedback `protobuf:"bytes,4,opt,name=summarization_feedback,json=summarizationFeedback,proto3" json:"summarization_feedback,omitempty"` // Optional. Feedback for knowledge search. KnowledgeSearchFeedback *AgentAssistantFeedback_KnowledgeSearchFeedback `protobuf:"bytes,5,opt,name=knowledge_search_feedback,json=knowledgeSearchFeedback,proto3" json:"knowledge_search_feedback,omitempty"` // Optional. Feedback for knowledge assist. KnowledgeAssistFeedback *AgentAssistantFeedback_KnowledgeAssistFeedback `protobuf:"bytes,6,opt,name=knowledge_assist_feedback,json=knowledgeAssistFeedback,proto3" json:"knowledge_assist_feedback,omitempty"` // contains filtered or unexported fields }
Detail feedback of Agent Assistant result.
func (*AgentAssistantFeedback) Descriptor ¶
func (*AgentAssistantFeedback) Descriptor() ([]byte, []int)
Deprecated: Use AgentAssistantFeedback.ProtoReflect.Descriptor instead.
func (*AgentAssistantFeedback) GetAnswerRelevance ¶
func (x *AgentAssistantFeedback) GetAnswerRelevance() AgentAssistantFeedback_AnswerRelevance
func (*AgentAssistantFeedback) GetDocumentCorrectness ¶
func (x *AgentAssistantFeedback) GetDocumentCorrectness() AgentAssistantFeedback_DocumentCorrectness
func (*AgentAssistantFeedback) GetDocumentEfficiency ¶
func (x *AgentAssistantFeedback) GetDocumentEfficiency() AgentAssistantFeedback_DocumentEfficiency
func (*AgentAssistantFeedback) GetKnowledgeAssistFeedback ¶
func (x *AgentAssistantFeedback) GetKnowledgeAssistFeedback() *AgentAssistantFeedback_KnowledgeAssistFeedback
func (*AgentAssistantFeedback) GetKnowledgeSearchFeedback ¶
func (x *AgentAssistantFeedback) GetKnowledgeSearchFeedback() *AgentAssistantFeedback_KnowledgeSearchFeedback
func (*AgentAssistantFeedback) GetSummarizationFeedback ¶
func (x *AgentAssistantFeedback) GetSummarizationFeedback() *AgentAssistantFeedback_SummarizationFeedback
func (*AgentAssistantFeedback) ProtoMessage ¶
func (*AgentAssistantFeedback) ProtoMessage()
func (*AgentAssistantFeedback) ProtoReflect ¶
func (x *AgentAssistantFeedback) ProtoReflect() protoreflect.Message
func (*AgentAssistantFeedback) Reset ¶
func (x *AgentAssistantFeedback) Reset()
func (*AgentAssistantFeedback) String ¶
func (x *AgentAssistantFeedback) String() string
type AgentAssistantFeedback_AnswerRelevance ¶
type AgentAssistantFeedback_AnswerRelevance int32
Relevance of an answer.
const ( // Answer relevance unspecified. AgentAssistantFeedback_ANSWER_RELEVANCE_UNSPECIFIED AgentAssistantFeedback_AnswerRelevance = 0 // Answer is irrelevant to query. AgentAssistantFeedback_IRRELEVANT AgentAssistantFeedback_AnswerRelevance = 1 // Answer is relevant to query. AgentAssistantFeedback_RELEVANT AgentAssistantFeedback_AnswerRelevance = 2 )
func (AgentAssistantFeedback_AnswerRelevance) Descriptor ¶
func (AgentAssistantFeedback_AnswerRelevance) Descriptor() protoreflect.EnumDescriptor
func (AgentAssistantFeedback_AnswerRelevance) Enum ¶
func (AgentAssistantFeedback_AnswerRelevance) EnumDescriptor ¶
func (AgentAssistantFeedback_AnswerRelevance) EnumDescriptor() ([]byte, []int)
Deprecated: Use AgentAssistantFeedback_AnswerRelevance.Descriptor instead.
func (AgentAssistantFeedback_AnswerRelevance) Number ¶
func (x AgentAssistantFeedback_AnswerRelevance) Number() protoreflect.EnumNumber
func (AgentAssistantFeedback_AnswerRelevance) String ¶
func (x AgentAssistantFeedback_AnswerRelevance) String() string
func (AgentAssistantFeedback_AnswerRelevance) Type ¶
func (AgentAssistantFeedback_AnswerRelevance) Type() protoreflect.EnumType
type AgentAssistantFeedback_DocumentCorrectness ¶
type AgentAssistantFeedback_DocumentCorrectness int32
Correctness of document.
const ( // Document correctness unspecified. AgentAssistantFeedback_DOCUMENT_CORRECTNESS_UNSPECIFIED AgentAssistantFeedback_DocumentCorrectness = 0 // Information in document is incorrect. AgentAssistantFeedback_INCORRECT AgentAssistantFeedback_DocumentCorrectness = 1 // Information in document is correct. AgentAssistantFeedback_CORRECT AgentAssistantFeedback_DocumentCorrectness = 2 )
func (AgentAssistantFeedback_DocumentCorrectness) Descriptor ¶
func (AgentAssistantFeedback_DocumentCorrectness) Descriptor() protoreflect.EnumDescriptor
func (AgentAssistantFeedback_DocumentCorrectness) Enum ¶
func (x AgentAssistantFeedback_DocumentCorrectness) Enum() *AgentAssistantFeedback_DocumentCorrectness
func (AgentAssistantFeedback_DocumentCorrectness) EnumDescriptor ¶
func (AgentAssistantFeedback_DocumentCorrectness) EnumDescriptor() ([]byte, []int)
Deprecated: Use AgentAssistantFeedback_DocumentCorrectness.Descriptor instead.
func (AgentAssistantFeedback_DocumentCorrectness) Number ¶
func (x AgentAssistantFeedback_DocumentCorrectness) Number() protoreflect.EnumNumber
func (AgentAssistantFeedback_DocumentCorrectness) String ¶
func (x AgentAssistantFeedback_DocumentCorrectness) String() string
func (AgentAssistantFeedback_DocumentCorrectness) Type ¶
func (AgentAssistantFeedback_DocumentCorrectness) Type() protoreflect.EnumType
type AgentAssistantFeedback_DocumentEfficiency ¶
type AgentAssistantFeedback_DocumentEfficiency int32
Efficiency of document.
const ( // Document efficiency unspecified. AgentAssistantFeedback_DOCUMENT_EFFICIENCY_UNSPECIFIED AgentAssistantFeedback_DocumentEfficiency = 0 // Document is inefficient. AgentAssistantFeedback_INEFFICIENT AgentAssistantFeedback_DocumentEfficiency = 1 // Document is efficient. AgentAssistantFeedback_EFFICIENT AgentAssistantFeedback_DocumentEfficiency = 2 )
func (AgentAssistantFeedback_DocumentEfficiency) Descriptor ¶
func (AgentAssistantFeedback_DocumentEfficiency) Descriptor() protoreflect.EnumDescriptor
func (AgentAssistantFeedback_DocumentEfficiency) Enum ¶
func (x AgentAssistantFeedback_DocumentEfficiency) Enum() *AgentAssistantFeedback_DocumentEfficiency
func (AgentAssistantFeedback_DocumentEfficiency) EnumDescriptor ¶
func (AgentAssistantFeedback_DocumentEfficiency) EnumDescriptor() ([]byte, []int)
Deprecated: Use AgentAssistantFeedback_DocumentEfficiency.Descriptor instead.
func (AgentAssistantFeedback_DocumentEfficiency) Number ¶
func (x AgentAssistantFeedback_DocumentEfficiency) Number() protoreflect.EnumNumber
func (AgentAssistantFeedback_DocumentEfficiency) String ¶
func (x AgentAssistantFeedback_DocumentEfficiency) String() string
func (AgentAssistantFeedback_DocumentEfficiency) Type ¶
func (AgentAssistantFeedback_DocumentEfficiency) Type() protoreflect.EnumType
type AgentAssistantFeedback_KnowledgeAssistFeedback ¶
type AgentAssistantFeedback_KnowledgeAssistFeedback struct { // Whether the suggested answer was copied by the human agent. // If the value is set to be true, // [AnswerFeedback.clicked][google.cloud.dialogflow.v2beta1.AnswerFeedback.clicked] // will be updated to be true. AnswerCopied bool `protobuf:"varint,1,opt,name=answer_copied,json=answerCopied,proto3" json:"answer_copied,omitempty"` // The URIs clicked by the human agent. The value is appended for each // [UpdateAnswerRecordRequest][google.cloud.dialogflow.v2beta1.UpdateAnswerRecordRequest]. // If the value is not empty, // [AnswerFeedback.clicked][google.cloud.dialogflow.v2beta1.AnswerFeedback.clicked] // will be updated to be true. ClickedUris []string `protobuf:"bytes,2,rep,name=clicked_uris,json=clickedUris,proto3" json:"clicked_uris,omitempty"` // contains filtered or unexported fields }
Feedback for knowledge assist.
func (*AgentAssistantFeedback_KnowledgeAssistFeedback) Descriptor ¶
func (*AgentAssistantFeedback_KnowledgeAssistFeedback) Descriptor() ([]byte, []int)
Deprecated: Use AgentAssistantFeedback_KnowledgeAssistFeedback.ProtoReflect.Descriptor instead.
func (*AgentAssistantFeedback_KnowledgeAssistFeedback) GetAnswerCopied ¶
func (x *AgentAssistantFeedback_KnowledgeAssistFeedback) GetAnswerCopied() bool
func (*AgentAssistantFeedback_KnowledgeAssistFeedback) GetClickedUris ¶
func (x *AgentAssistantFeedback_KnowledgeAssistFeedback) GetClickedUris() []string
func (*AgentAssistantFeedback_KnowledgeAssistFeedback) ProtoMessage ¶
func (*AgentAssistantFeedback_KnowledgeAssistFeedback) ProtoMessage()
func (*AgentAssistantFeedback_KnowledgeAssistFeedback) ProtoReflect ¶
func (x *AgentAssistantFeedback_KnowledgeAssistFeedback) ProtoReflect() protoreflect.Message
func (*AgentAssistantFeedback_KnowledgeAssistFeedback) Reset ¶
func (x *AgentAssistantFeedback_KnowledgeAssistFeedback) Reset()
func (*AgentAssistantFeedback_KnowledgeAssistFeedback) String ¶
func (x *AgentAssistantFeedback_KnowledgeAssistFeedback) String() string
type AgentAssistantFeedback_KnowledgeSearchFeedback ¶
type AgentAssistantFeedback_KnowledgeSearchFeedback struct { // Whether the answer was copied by the human agent or not. // If the value is set to be true, // [AnswerFeedback.clicked][google.cloud.dialogflow.v2beta1.AnswerFeedback.clicked] // will be updated to be true. AnswerCopied bool `protobuf:"varint,1,opt,name=answer_copied,json=answerCopied,proto3" json:"answer_copied,omitempty"` // The URIs clicked by the human agent. The value is appended for each // UpdateAnswerRecordRequest. // If the value is not empty, // [AnswerFeedback.clicked][google.cloud.dialogflow.v2beta1.AnswerFeedback.clicked] // will be updated to be true. ClickedUris []string `protobuf:"bytes,2,rep,name=clicked_uris,json=clickedUris,proto3" json:"clicked_uris,omitempty"` // contains filtered or unexported fields }
Feedback for knowledge search.
func (*AgentAssistantFeedback_KnowledgeSearchFeedback) Descriptor ¶
func (*AgentAssistantFeedback_KnowledgeSearchFeedback) Descriptor() ([]byte, []int)
Deprecated: Use AgentAssistantFeedback_KnowledgeSearchFeedback.ProtoReflect.Descriptor instead.
func (*AgentAssistantFeedback_KnowledgeSearchFeedback) GetAnswerCopied ¶
func (x *AgentAssistantFeedback_KnowledgeSearchFeedback) GetAnswerCopied() bool
func (*AgentAssistantFeedback_KnowledgeSearchFeedback) GetClickedUris ¶
func (x *AgentAssistantFeedback_KnowledgeSearchFeedback) GetClickedUris() []string
func (*AgentAssistantFeedback_KnowledgeSearchFeedback) ProtoMessage ¶
func (*AgentAssistantFeedback_KnowledgeSearchFeedback) ProtoMessage()
func (*AgentAssistantFeedback_KnowledgeSearchFeedback) ProtoReflect ¶
func (x *AgentAssistantFeedback_KnowledgeSearchFeedback) ProtoReflect() protoreflect.Message
func (*AgentAssistantFeedback_KnowledgeSearchFeedback) Reset ¶
func (x *AgentAssistantFeedback_KnowledgeSearchFeedback) Reset()
func (*AgentAssistantFeedback_KnowledgeSearchFeedback) String ¶
func (x *AgentAssistantFeedback_KnowledgeSearchFeedback) String() string
type AgentAssistantFeedback_SummarizationFeedback ¶
type AgentAssistantFeedback_SummarizationFeedback struct { // Timestamp when composing of the summary starts. StartTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"` // Timestamp when the summary was submitted. SubmitTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=submit_timestamp,json=submitTimestamp,proto3" json:"submit_timestamp,omitempty"` // Text of actual submitted summary. SummaryText string `protobuf:"bytes,3,opt,name=summary_text,json=summaryText,proto3" json:"summary_text,omitempty"` // Optional. Actual text sections of submitted summary. TextSections map[string]string `protobuf:"bytes,4,rep,name=text_sections,json=textSections,proto3" json:"text_sections,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
Feedback for conversation summarization.
func (*AgentAssistantFeedback_SummarizationFeedback) Descriptor ¶
func (*AgentAssistantFeedback_SummarizationFeedback) Descriptor() ([]byte, []int)
Deprecated: Use AgentAssistantFeedback_SummarizationFeedback.ProtoReflect.Descriptor instead.
func (*AgentAssistantFeedback_SummarizationFeedback) GetStartTimestamp ¶
func (x *AgentAssistantFeedback_SummarizationFeedback) GetStartTimestamp() *timestamppb.Timestamp
func (*AgentAssistantFeedback_SummarizationFeedback) GetSubmitTimestamp ¶
func (x *AgentAssistantFeedback_SummarizationFeedback) GetSubmitTimestamp() *timestamppb.Timestamp
func (*AgentAssistantFeedback_SummarizationFeedback) GetSummaryText ¶
func (x *AgentAssistantFeedback_SummarizationFeedback) GetSummaryText() string
func (*AgentAssistantFeedback_SummarizationFeedback) GetTextSections ¶
func (x *AgentAssistantFeedback_SummarizationFeedback) GetTextSections() map[string]string
func (*AgentAssistantFeedback_SummarizationFeedback) ProtoMessage ¶
func (*AgentAssistantFeedback_SummarizationFeedback) ProtoMessage()
func (*AgentAssistantFeedback_SummarizationFeedback) ProtoReflect ¶
func (x *AgentAssistantFeedback_SummarizationFeedback) ProtoReflect() protoreflect.Message
func (*AgentAssistantFeedback_SummarizationFeedback) Reset ¶
func (x *AgentAssistantFeedback_SummarizationFeedback) Reset()
func (*AgentAssistantFeedback_SummarizationFeedback) String ¶
func (x *AgentAssistantFeedback_SummarizationFeedback) String() string
type AgentAssistantRecord ¶
type AgentAssistantRecord struct { // Output only. The agent assistant answer. // // Types that are assignable to Answer: // // *AgentAssistantRecord_ArticleSuggestionAnswer // *AgentAssistantRecord_FaqAnswer // *AgentAssistantRecord_DialogflowAssistAnswer Answer isAgentAssistantRecord_Answer `protobuf_oneof:"answer"` // contains filtered or unexported fields }
Represents a record of a human agent assistant answer.
func (*AgentAssistantRecord) Descriptor ¶
func (*AgentAssistantRecord) Descriptor() ([]byte, []int)
Deprecated: Use AgentAssistantRecord.ProtoReflect.Descriptor instead.
func (*AgentAssistantRecord) GetAnswer ¶
func (m *AgentAssistantRecord) GetAnswer() isAgentAssistantRecord_Answer
func (*AgentAssistantRecord) GetArticleSuggestionAnswer ¶
func (x *AgentAssistantRecord) GetArticleSuggestionAnswer() *ArticleAnswer
func (*AgentAssistantRecord) GetDialogflowAssistAnswer ¶
func (x *AgentAssistantRecord) GetDialogflowAssistAnswer() *DialogflowAssistAnswer
func (*AgentAssistantRecord) GetFaqAnswer ¶
func (x *AgentAssistantRecord) GetFaqAnswer() *FaqAnswer
func (*AgentAssistantRecord) ProtoMessage ¶
func (*AgentAssistantRecord) ProtoMessage()
func (*AgentAssistantRecord) ProtoReflect ¶
func (x *AgentAssistantRecord) ProtoReflect() protoreflect.Message
func (*AgentAssistantRecord) Reset ¶
func (x *AgentAssistantRecord) Reset()
func (*AgentAssistantRecord) String ¶
func (x *AgentAssistantRecord) String() string
type AgentAssistantRecord_ArticleSuggestionAnswer ¶
type AgentAssistantRecord_ArticleSuggestionAnswer struct { // Output only. The article suggestion answer. ArticleSuggestionAnswer *ArticleAnswer `protobuf:"bytes,5,opt,name=article_suggestion_answer,json=articleSuggestionAnswer,proto3,oneof"` }
type AgentAssistantRecord_DialogflowAssistAnswer ¶
type AgentAssistantRecord_DialogflowAssistAnswer struct { // Output only. The Dialogflow assist answer. DialogflowAssistAnswer *DialogflowAssistAnswer `protobuf:"bytes,7,opt,name=dialogflow_assist_answer,json=dialogflowAssistAnswer,proto3,oneof"` }
type AgentAssistantRecord_FaqAnswer ¶
type AgentAssistantRecord_FaqAnswer struct { // Output only. The FAQ answer. FaqAnswer *FaqAnswer `protobuf:"bytes,6,opt,name=faq_answer,json=faqAnswer,proto3,oneof"` }
type Agent_ApiVersion ¶
type Agent_ApiVersion int32
API version for the agent.
const ( // Not specified. Agent_API_VERSION_UNSPECIFIED Agent_ApiVersion = 0 // Legacy V1 API. Agent_API_VERSION_V1 Agent_ApiVersion = 1 // V2 API. Agent_API_VERSION_V2 Agent_ApiVersion = 2 // V2beta1 API. Agent_API_VERSION_V2_BETA_1 Agent_ApiVersion = 3 )
func (Agent_ApiVersion) Descriptor ¶
func (Agent_ApiVersion) Descriptor() protoreflect.EnumDescriptor
func (Agent_ApiVersion) Enum ¶
func (x Agent_ApiVersion) Enum() *Agent_ApiVersion
func (Agent_ApiVersion) EnumDescriptor ¶
func (Agent_ApiVersion) EnumDescriptor() ([]byte, []int)
Deprecated: Use Agent_ApiVersion.Descriptor instead.
func (Agent_ApiVersion) Number ¶
func (x Agent_ApiVersion) Number() protoreflect.EnumNumber
func (Agent_ApiVersion) String ¶
func (x Agent_ApiVersion) String() string
func (Agent_ApiVersion) Type ¶
func (Agent_ApiVersion) Type() protoreflect.EnumType
type Agent_MatchMode ¶
type Agent_MatchMode int32
Match mode determines how intents are detected from user queries.
const ( // Not specified. Agent_MATCH_MODE_UNSPECIFIED Agent_MatchMode = 0 // Best for agents with a small number of examples in intents and/or wide // use of templates syntax and composite entities. Agent_MATCH_MODE_HYBRID Agent_MatchMode = 1 // Can be used for agents with a large number of examples in intents, // especially the ones using @sys.any or very large custom entities. Agent_MATCH_MODE_ML_ONLY Agent_MatchMode = 2 )
func (Agent_MatchMode) Descriptor ¶
func (Agent_MatchMode) Descriptor() protoreflect.EnumDescriptor
func (Agent_MatchMode) Enum ¶
func (x Agent_MatchMode) Enum() *Agent_MatchMode
func (Agent_MatchMode) EnumDescriptor ¶
func (Agent_MatchMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Agent_MatchMode.Descriptor instead.
func (Agent_MatchMode) Number ¶
func (x Agent_MatchMode) Number() protoreflect.EnumNumber
func (Agent_MatchMode) String ¶
func (x Agent_MatchMode) String() string
func (Agent_MatchMode) Type ¶
func (Agent_MatchMode) Type() protoreflect.EnumType
type Agent_Tier ¶
type Agent_Tier int32
Represents the agent tier.
const ( // Not specified. This value should never be used. Agent_TIER_UNSPECIFIED Agent_Tier = 0 // Trial Edition, previously known as Standard Edition. Agent_TIER_STANDARD Agent_Tier = 1 // Essentials Edition, previously known as Enterprise Essential Edition. Agent_TIER_ENTERPRISE Agent_Tier = 2 // Essentials Edition (same as TIER_ENTERPRISE), previously known as // Enterprise Plus Edition. // // Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/agent.proto. Agent_TIER_ENTERPRISE_PLUS Agent_Tier = 3 )
func (Agent_Tier) Descriptor ¶
func (Agent_Tier) Descriptor() protoreflect.EnumDescriptor
func (Agent_Tier) Enum ¶
func (x Agent_Tier) Enum() *Agent_Tier
func (Agent_Tier) EnumDescriptor ¶
func (Agent_Tier) EnumDescriptor() ([]byte, []int)
Deprecated: Use Agent_Tier.Descriptor instead.
func (Agent_Tier) Number ¶
func (x Agent_Tier) Number() protoreflect.EnumNumber
func (Agent_Tier) String ¶
func (x Agent_Tier) String() string
func (Agent_Tier) Type ¶
func (Agent_Tier) Type() protoreflect.EnumType
type AgentsClient ¶
type AgentsClient interface { // Retrieves the specified agent. GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error) // Creates/updates the specified agent. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). SetAgent(ctx context.Context, in *SetAgentRequest, opts ...grpc.CallOption) (*Agent, error) // Deletes the specified agent. DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Returns the list of agents. // Since there is at most one conversational agent per project, this method is // useful primarily for listing all agents across projects the caller has // access to. One can achieve that with a wildcard project collection id "-". // Refer to [List // Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections). SearchAgents(ctx context.Context, in *SearchAgentsRequest, opts ...grpc.CallOption) (*SearchAgentsResponse, error) // Trains the specified agent. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). TrainAgent(ctx context.Context, in *TrainAgentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Exports the specified agent to a ZIP file. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: // // [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse] ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Imports the specified agent from a ZIP file. // // Uploads new intents and entity types without deleting the existing ones. // Intents and entity types with the same name are replaced with the new // versions from // [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest]. // After the import, the imported draft agent will be trained automatically // (unless disabled in agent settings). However, once the import is done, // training may not be completed yet. Please call // [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait // for the operation it returns in order to train explicitly. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when importing is complete, not when it is done // training. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). ImportAgent(ctx context.Context, in *ImportAgentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Restores the specified agent from a ZIP file. // // Replaces the current agent version with a new one. All the intents and // entity types in the older version are deleted. After the restore, the // restored draft agent will be trained automatically (unless disabled in // agent settings). However, once the restore is done, training may not be // completed yet. Please call // [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait // for the operation it returns in order to train explicitly. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when restoring is complete, not when it is done // training. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Gets agent validation result. Agent validation is performed during // training time and is updated automatically when training is completed. GetValidationResult(ctx context.Context, in *GetValidationResultRequest, opts ...grpc.CallOption) (*ValidationResult, error) }
AgentsClient is the client API for Agents service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAgentsClient ¶
func NewAgentsClient(cc grpc.ClientConnInterface) AgentsClient
type AgentsServer ¶
type AgentsServer interface { // Retrieves the specified agent. GetAgent(context.Context, *GetAgentRequest) (*Agent, error) // Creates/updates the specified agent. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). SetAgent(context.Context, *SetAgentRequest) (*Agent, error) // Deletes the specified agent. DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error) // Returns the list of agents. // Since there is at most one conversational agent per project, this method is // useful primarily for listing all agents across projects the caller has // access to. One can achieve that with a wildcard project collection id "-". // Refer to [List // Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections). SearchAgents(context.Context, *SearchAgentsRequest) (*SearchAgentsResponse, error) // Trains the specified agent. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). TrainAgent(context.Context, *TrainAgentRequest) (*longrunningpb.Operation, error) // Exports the specified agent to a ZIP file. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: // // [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse] ExportAgent(context.Context, *ExportAgentRequest) (*longrunningpb.Operation, error) // Imports the specified agent from a ZIP file. // // Uploads new intents and entity types without deleting the existing ones. // Intents and entity types with the same name are replaced with the new // versions from // [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest]. // After the import, the imported draft agent will be trained automatically // (unless disabled in agent settings). However, once the import is done, // training may not be completed yet. Please call // [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait // for the operation it returns in order to train explicitly. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when importing is complete, not when it is done // training. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). ImportAgent(context.Context, *ImportAgentRequest) (*longrunningpb.Operation, error) // Restores the specified agent from a ZIP file. // // Replaces the current agent version with a new one. All the intents and // entity types in the older version are deleted. After the restore, the // restored draft agent will be trained automatically (unless disabled in // agent settings). However, once the restore is done, training may not be // completed yet. Please call // [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait // for the operation it returns in order to train explicitly. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // The operation only tracks when restoring is complete, not when it is done // training. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunningpb.Operation, error) // Gets agent validation result. Agent validation is performed during // training time and is updated automatically when training is completed. GetValidationResult(context.Context, *GetValidationResultRequest) (*ValidationResult, error) }
AgentsServer is the server API for Agents service.
type AnalyzeContentRequest ¶
type AnalyzeContentRequest struct { // Required. The name of the participant this text comes from. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/participants/<Participant ID>`. Participant string `protobuf:"bytes,1,opt,name=participant,proto3" json:"participant,omitempty"` // Required. The input content. // // Types that are assignable to Input: // // *AnalyzeContentRequest_TextInput // *AnalyzeContentRequest_AudioInput // *AnalyzeContentRequest_EventInput // *AnalyzeContentRequest_SuggestionInput // *AnalyzeContentRequest_IntentInput Input isAnalyzeContentRequest_Input `protobuf_oneof:"input"` // Speech synthesis configuration. // The speech synthesis settings for a virtual agent that may be configured // for the associated conversation profile are not used when calling // AnalyzeContent. If this configuration is not supplied, speech synthesis // is disabled. ReplyAudioConfig *OutputAudioConfig `protobuf:"bytes,5,opt,name=reply_audio_config,json=replyAudioConfig,proto3" json:"reply_audio_config,omitempty"` // Parameters for a Dialogflow virtual-agent query. QueryParams *QueryParameters `protobuf:"bytes,9,opt,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"` // Parameters for a human assist query. AssistQueryParams *AssistQueryParameters `protobuf:"bytes,14,opt,name=assist_query_params,json=assistQueryParams,proto3" json:"assist_query_params,omitempty"` // Additional parameters to be put into Dialogflow CX session parameters. To // remove a parameter from the session, clients should explicitly set the // parameter value to null. // // Note: this field should only be used if you are connecting to a Dialogflow // CX agent. CxParameters *structpb.Struct `protobuf:"bytes,18,opt,name=cx_parameters,json=cxParameters,proto3" json:"cx_parameters,omitempty"` // The unique identifier of the CX page to override the `current_page` in the // session. // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent // ID>/flows/<Flow ID>/pages/<Page ID>`. // // If `cx_current_page` is specified, the previous state of the session will // be ignored by Dialogflow CX, including the [previous // page][QueryResult.current_page] and the [previous session // parameters][QueryResult.parameters]. In most cases, `cx_current_page` and // `cx_parameters` should be configured together to direct a session to a // specific state. // // Note: this field should only be used if you are connecting to a Dialogflow // CX agent. CxCurrentPage string `protobuf:"bytes,20,opt,name=cx_current_page,json=cxCurrentPage,proto3" json:"cx_current_page,omitempty"` // Optional. The send time of the message from end user or human agent's // perspective. It is used for identifying the same message under one // participant. // // For BatchCreateMessages API only: // Given two messages under the same participant: // * If send time are different regardless of whether the content of the // messages are exactly the same, the conversation will regard them as // two distinct messages sent by the participant. // * If send time is the same regardless of whether the content of the // messages are exactly the same, the conversation will regard them as // same message, and ignore the message received later. // // If the value is not provided, a new request will always be regarded as a // new message without any de-duplication. MessageSendTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=message_send_time,json=messageSendTime,proto3" json:"message_send_time,omitempty"` // A unique identifier for this request. Restricted to 36 ASCII characters. // A random UUID is recommended. // This request is only idempotent if a `request_id` is provided. RequestId string `protobuf:"bytes,11,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
The request message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].
func (*AnalyzeContentRequest) Descriptor ¶
func (*AnalyzeContentRequest) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeContentRequest.ProtoReflect.Descriptor instead.
func (*AnalyzeContentRequest) GetAssistQueryParams ¶
func (x *AnalyzeContentRequest) GetAssistQueryParams() *AssistQueryParameters
func (*AnalyzeContentRequest) GetAudioInput ¶
func (x *AnalyzeContentRequest) GetAudioInput() *AudioInput
func (*AnalyzeContentRequest) GetCxCurrentPage ¶
func (x *AnalyzeContentRequest) GetCxCurrentPage() string
func (*AnalyzeContentRequest) GetCxParameters ¶
func (x *AnalyzeContentRequest) GetCxParameters() *structpb.Struct
func (*AnalyzeContentRequest) GetEventInput ¶
func (x *AnalyzeContentRequest) GetEventInput() *EventInput
func (*AnalyzeContentRequest) GetInput ¶
func (m *AnalyzeContentRequest) GetInput() isAnalyzeContentRequest_Input
func (*AnalyzeContentRequest) GetIntentInput ¶
func (x *AnalyzeContentRequest) GetIntentInput() *IntentInput
func (*AnalyzeContentRequest) GetMessageSendTime ¶
func (x *AnalyzeContentRequest) GetMessageSendTime() *timestamppb.Timestamp
func (*AnalyzeContentRequest) GetParticipant ¶
func (x *AnalyzeContentRequest) GetParticipant() string
func (*AnalyzeContentRequest) GetQueryParams ¶
func (x *AnalyzeContentRequest) GetQueryParams() *QueryParameters
func (*AnalyzeContentRequest) GetReplyAudioConfig ¶
func (x *AnalyzeContentRequest) GetReplyAudioConfig() *OutputAudioConfig
func (*AnalyzeContentRequest) GetRequestId ¶
func (x *AnalyzeContentRequest) GetRequestId() string
func (*AnalyzeContentRequest) GetSuggestionInput ¶
func (x *AnalyzeContentRequest) GetSuggestionInput() *SuggestionInput
func (*AnalyzeContentRequest) GetTextInput ¶
func (x *AnalyzeContentRequest) GetTextInput() *TextInput
func (*AnalyzeContentRequest) ProtoMessage ¶
func (*AnalyzeContentRequest) ProtoMessage()
func (*AnalyzeContentRequest) ProtoReflect ¶
func (x *AnalyzeContentRequest) ProtoReflect() protoreflect.Message
func (*AnalyzeContentRequest) Reset ¶
func (x *AnalyzeContentRequest) Reset()
func (*AnalyzeContentRequest) String ¶
func (x *AnalyzeContentRequest) String() string
type AnalyzeContentRequest_AudioInput ¶
type AnalyzeContentRequest_AudioInput struct { // The natural language speech audio to be processed. AudioInput *AudioInput `protobuf:"bytes,7,opt,name=audio_input,json=audioInput,proto3,oneof"` }
type AnalyzeContentRequest_EventInput ¶
type AnalyzeContentRequest_EventInput struct { // An input event to send to Dialogflow. EventInput *EventInput `protobuf:"bytes,8,opt,name=event_input,json=eventInput,proto3,oneof"` }
type AnalyzeContentRequest_IntentInput ¶
type AnalyzeContentRequest_IntentInput struct { // The intent to be triggered on V3 agent. IntentInput *IntentInput `protobuf:"bytes,13,opt,name=intent_input,json=intentInput,proto3,oneof"` }
type AnalyzeContentRequest_SuggestionInput ¶
type AnalyzeContentRequest_SuggestionInput struct { // An input representing the selection of a suggestion. SuggestionInput *SuggestionInput `protobuf:"bytes,12,opt,name=suggestion_input,json=suggestionInput,proto3,oneof"` }
type AnalyzeContentRequest_TextInput ¶
type AnalyzeContentRequest_TextInput struct { // The natural language text to be processed. TextInput *TextInput `protobuf:"bytes,6,opt,name=text_input,json=textInput,proto3,oneof"` }
type AnalyzeContentResponse ¶
type AnalyzeContentResponse struct { // Output only. The output text content. // This field is set if the automated agent responded with text to show to // the user. ReplyText string `protobuf:"bytes,1,opt,name=reply_text,json=replyText,proto3" json:"reply_text,omitempty"` // Optional. The audio data bytes encoded as specified in the request. // This field is set if: // // - `reply_audio_config` was specified in the request, or // - The automated agent responded with audio to play to the user. In such // case, `reply_audio.config` contains settings used to synthesize the // speech. // // In some scenarios, multiple output audio fields may be present in the // response structure. In these cases, only the top-most-level audio output // has content. ReplyAudio *OutputAudio `protobuf:"bytes,2,opt,name=reply_audio,json=replyAudio,proto3" json:"reply_audio,omitempty"` // Optional. Only set if a Dialogflow automated agent has responded. // Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] // and [AutomatedAgentReply.detect_intent_response.output_audio_config][] // are always empty, use // [reply_audio][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.reply_audio] // instead. AutomatedAgentReply *AutomatedAgentReply `protobuf:"bytes,3,opt,name=automated_agent_reply,json=automatedAgentReply,proto3" json:"automated_agent_reply,omitempty"` // Output only. Message analyzed by CCAI. Message *Message `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` // The suggestions for most recent human agent. The order is the same as // [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] // of // [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config]. // // Note that any failure of Agent Assist features will not lead to the overall // failure of an AnalyzeContent API call. Instead, the features will // fail silently with the error field set in the corresponding // SuggestionResult. HumanAgentSuggestionResults []*SuggestionResult `protobuf:"bytes,6,rep,name=human_agent_suggestion_results,json=humanAgentSuggestionResults,proto3" json:"human_agent_suggestion_results,omitempty"` // The suggestions for end user. The order is the same as // [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] // of // [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config]. // // Same as human_agent_suggestion_results, any failure of Agent Assist // features will not lead to the overall failure of an AnalyzeContent API // call. Instead, the features will fail silently with the error field set in // the corresponding SuggestionResult. EndUserSuggestionResults []*SuggestionResult `protobuf:"bytes,7,rep,name=end_user_suggestion_results,json=endUserSuggestionResults,proto3" json:"end_user_suggestion_results,omitempty"` // Indicates the parameters of DTMF. DtmfParameters *DtmfParameters `protobuf:"bytes,9,opt,name=dtmf_parameters,json=dtmfParameters,proto3" json:"dtmf_parameters,omitempty"` // contains filtered or unexported fields }
The response message for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent].
func (*AnalyzeContentResponse) Descriptor ¶
func (*AnalyzeContentResponse) Descriptor() ([]byte, []int)
Deprecated: Use AnalyzeContentResponse.ProtoReflect.Descriptor instead.
func (*AnalyzeContentResponse) GetAutomatedAgentReply ¶
func (x *AnalyzeContentResponse) GetAutomatedAgentReply() *AutomatedAgentReply
func (*AnalyzeContentResponse) GetDtmfParameters ¶
func (x *AnalyzeContentResponse) GetDtmfParameters() *DtmfParameters
func (*AnalyzeContentResponse) GetEndUserSuggestionResults ¶
func (x *AnalyzeContentResponse) GetEndUserSuggestionResults() []*SuggestionResult
func (*AnalyzeContentResponse) GetHumanAgentSuggestionResults ¶
func (x *AnalyzeContentResponse) GetHumanAgentSuggestionResults() []*SuggestionResult
func (*AnalyzeContentResponse) GetMessage ¶
func (x *AnalyzeContentResponse) GetMessage() *Message
func (*AnalyzeContentResponse) GetReplyAudio ¶
func (x *AnalyzeContentResponse) GetReplyAudio() *OutputAudio
func (*AnalyzeContentResponse) GetReplyText ¶
func (x *AnalyzeContentResponse) GetReplyText() string
func (*AnalyzeContentResponse) ProtoMessage ¶
func (*AnalyzeContentResponse) ProtoMessage()
func (*AnalyzeContentResponse) ProtoReflect ¶
func (x *AnalyzeContentResponse) ProtoReflect() protoreflect.Message
func (*AnalyzeContentResponse) Reset ¶
func (x *AnalyzeContentResponse) Reset()
func (*AnalyzeContentResponse) String ¶
func (x *AnalyzeContentResponse) String() string
type AnnotatedMessagePart ¶
type AnnotatedMessagePart struct { // Required. A part of a message possibly annotated with an entity. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // Optional. The [Dialogflow system entity // type](https://cloud.google.com/dialogflow/docs/reference/system-entities) // of this message part. If this is empty, Dialogflow could not annotate the // phrase part with a system entity. EntityType string `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` // Optional. The [Dialogflow system entity formatted value // ](https://cloud.google.com/dialogflow/docs/reference/system-entities) of // this message part. For example for a system entity of type // `@sys.unit-currency`, this may contain: // <pre> // // { // "amount": 5, // "currency": "USD" // } // // </pre> FormattedValue *structpb.Value `protobuf:"bytes,3,opt,name=formatted_value,json=formattedValue,proto3" json:"formatted_value,omitempty"` // contains filtered or unexported fields }
Represents a part of a message possibly annotated with an entity. The part can be an entity or purely a part of the message between two entities or message start/end.
func (*AnnotatedMessagePart) Descriptor ¶
func (*AnnotatedMessagePart) Descriptor() ([]byte, []int)
Deprecated: Use AnnotatedMessagePart.ProtoReflect.Descriptor instead.
func (*AnnotatedMessagePart) GetEntityType ¶
func (x *AnnotatedMessagePart) GetEntityType() string
func (*AnnotatedMessagePart) GetFormattedValue ¶
func (x *AnnotatedMessagePart) GetFormattedValue() *structpb.Value
func (*AnnotatedMessagePart) GetText ¶
func (x *AnnotatedMessagePart) GetText() string
func (*AnnotatedMessagePart) ProtoMessage ¶
func (*AnnotatedMessagePart) ProtoMessage()
func (*AnnotatedMessagePart) ProtoReflect ¶
func (x *AnnotatedMessagePart) ProtoReflect() protoreflect.Message
func (*AnnotatedMessagePart) Reset ¶
func (x *AnnotatedMessagePart) Reset()
func (*AnnotatedMessagePart) String ¶
func (x *AnnotatedMessagePart) String() string
type AnswerFeedback ¶
type AnswerFeedback struct { // The correctness level of the specific answer. CorrectnessLevel AnswerFeedback_CorrectnessLevel `protobuf:"varint,1,opt,name=correctness_level,json=correctnessLevel,proto3,enum=google.cloud.dialogflow.v2beta1.AnswerFeedback_CorrectnessLevel" json:"correctness_level,omitempty"` // Normally, detail feedback is provided when answer is not fully correct. // // Types that are assignable to DetailFeedback: // // *AnswerFeedback_AgentAssistantDetailFeedback DetailFeedback isAnswerFeedback_DetailFeedback `protobuf_oneof:"detail_feedback"` // Indicates whether the answer/item was clicked by the human agent // or not. Default to false. // For knowledge search, the answer record is considered to be clicked if the // answer was copied or any URI was clicked. Clicked bool `protobuf:"varint,3,opt,name=clicked,proto3" json:"clicked,omitempty"` // Time when the answer/item was clicked. ClickTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=click_time,json=clickTime,proto3" json:"click_time,omitempty"` // Indicates whether the answer/item was displayed to the human // agent in the agent desktop UI. Default to false. Displayed bool `protobuf:"varint,4,opt,name=displayed,proto3" json:"displayed,omitempty"` // Time when the answer/item was displayed. DisplayTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=display_time,json=displayTime,proto3" json:"display_time,omitempty"` // contains filtered or unexported fields }
Represents feedback the customer has about the quality & correctness of a certain answer in a conversation.
func (*AnswerFeedback) Descriptor ¶
func (*AnswerFeedback) Descriptor() ([]byte, []int)
Deprecated: Use AnswerFeedback.ProtoReflect.Descriptor instead.
func (*AnswerFeedback) GetAgentAssistantDetailFeedback ¶
func (x *AnswerFeedback) GetAgentAssistantDetailFeedback() *AgentAssistantFeedback
func (*AnswerFeedback) GetClickTime ¶
func (x *AnswerFeedback) GetClickTime() *timestamppb.Timestamp
func (*AnswerFeedback) GetClicked ¶
func (x *AnswerFeedback) GetClicked() bool
func (*AnswerFeedback) GetCorrectnessLevel ¶
func (x *AnswerFeedback) GetCorrectnessLevel() AnswerFeedback_CorrectnessLevel
func (*AnswerFeedback) GetDetailFeedback ¶
func (m *AnswerFeedback) GetDetailFeedback() isAnswerFeedback_DetailFeedback
func (*AnswerFeedback) GetDisplayTime ¶
func (x *AnswerFeedback) GetDisplayTime() *timestamppb.Timestamp
func (*AnswerFeedback) GetDisplayed ¶
func (x *AnswerFeedback) GetDisplayed() bool
func (*AnswerFeedback) ProtoMessage ¶
func (*AnswerFeedback) ProtoMessage()
func (*AnswerFeedback) ProtoReflect ¶
func (x *AnswerFeedback) ProtoReflect() protoreflect.Message
func (*AnswerFeedback) Reset ¶
func (x *AnswerFeedback) Reset()
func (*AnswerFeedback) String ¶
func (x *AnswerFeedback) String() string
type AnswerFeedback_AgentAssistantDetailFeedback ¶
type AnswerFeedback_AgentAssistantDetailFeedback struct { // Optional. Detail feedback of agent assistant suggestions. AgentAssistantDetailFeedback *AgentAssistantFeedback `protobuf:"bytes,2,opt,name=agent_assistant_detail_feedback,json=agentAssistantDetailFeedback,proto3,oneof"` }
type AnswerFeedback_CorrectnessLevel ¶
type AnswerFeedback_CorrectnessLevel int32
The correctness level of an answer.
const ( // Correctness level unspecified. AnswerFeedback_CORRECTNESS_LEVEL_UNSPECIFIED AnswerFeedback_CorrectnessLevel = 0 // Answer is totally wrong. AnswerFeedback_NOT_CORRECT AnswerFeedback_CorrectnessLevel = 1 // Answer is partially correct. AnswerFeedback_PARTIALLY_CORRECT AnswerFeedback_CorrectnessLevel = 2 // Answer is fully correct. AnswerFeedback_FULLY_CORRECT AnswerFeedback_CorrectnessLevel = 3 )
func (AnswerFeedback_CorrectnessLevel) Descriptor ¶
func (AnswerFeedback_CorrectnessLevel) Descriptor() protoreflect.EnumDescriptor
func (AnswerFeedback_CorrectnessLevel) Enum ¶
func (x AnswerFeedback_CorrectnessLevel) Enum() *AnswerFeedback_CorrectnessLevel
func (AnswerFeedback_CorrectnessLevel) EnumDescriptor ¶
func (AnswerFeedback_CorrectnessLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnswerFeedback_CorrectnessLevel.Descriptor instead.
func (AnswerFeedback_CorrectnessLevel) Number ¶
func (x AnswerFeedback_CorrectnessLevel) Number() protoreflect.EnumNumber
func (AnswerFeedback_CorrectnessLevel) String ¶
func (x AnswerFeedback_CorrectnessLevel) String() string
func (AnswerFeedback_CorrectnessLevel) Type ¶
func (AnswerFeedback_CorrectnessLevel) Type() protoreflect.EnumType
type AnswerRecord ¶
type AnswerRecord struct { // The unique identifier of this answer record. // Required for // [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] // method. Format: `projects/<Project ID>/locations/<Location // ID>/answerRecords/<Answer Record ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The AnswerFeedback for this record. You can set this with // [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord] // in order to give us feedback about this answer. AnswerFeedback *AnswerFeedback `protobuf:"bytes,3,opt,name=answer_feedback,json=answerFeedback,proto3" json:"answer_feedback,omitempty"` // Output only. The record for this answer. // // Types that are assignable to Record: // // *AnswerRecord_AgentAssistantRecord Record isAnswerRecord_Record `protobuf_oneof:"record"` // contains filtered or unexported fields }
Answer records are records to manage answer history and feedbacks for Dialogflow.
Currently, answer record includes:
- human agent assistant article suggestion - human agent assistant faq article
It doesn't include:
- `DetectIntent` intent matching - `DetectIntent` knowledge
Answer records are not related to the conversation history in the Dialogflow Console. A Record is generated even when the end-user disables conversation history in the console. Records are created when there's a human agent assistant suggestion generated.
A typical workflow for customers provide feedback to an answer is:
- For human agent assistant, customers get suggestion via ListSuggestions API. Together with the answers, [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] are returned to the customers.
- The customer uses the
[AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] to call the
[UpdateAnswerRecord][] method to send feedback about a specific answer that they believe is wrong.
func (*AnswerRecord) Descriptor ¶
func (*AnswerRecord) Descriptor() ([]byte, []int)
Deprecated: Use AnswerRecord.ProtoReflect.Descriptor instead.
func (*AnswerRecord) GetAgentAssistantRecord ¶
func (x *AnswerRecord) GetAgentAssistantRecord() *AgentAssistantRecord
func (*AnswerRecord) GetAnswerFeedback ¶
func (x *AnswerRecord) GetAnswerFeedback() *AnswerFeedback
func (*AnswerRecord) GetName ¶
func (x *AnswerRecord) GetName() string
func (*AnswerRecord) GetRecord ¶
func (m *AnswerRecord) GetRecord() isAnswerRecord_Record
func (*AnswerRecord) ProtoMessage ¶
func (*AnswerRecord) ProtoMessage()
func (*AnswerRecord) ProtoReflect ¶
func (x *AnswerRecord) ProtoReflect() protoreflect.Message
func (*AnswerRecord) Reset ¶
func (x *AnswerRecord) Reset()
func (*AnswerRecord) String ¶
func (x *AnswerRecord) String() string
type AnswerRecord_AgentAssistantRecord ¶
type AnswerRecord_AgentAssistantRecord struct { // Output only. The record for human agent assistant. AgentAssistantRecord *AgentAssistantRecord `protobuf:"bytes,4,opt,name=agent_assistant_record,json=agentAssistantRecord,proto3,oneof"` }
type AnswerRecordsClient ¶
type AnswerRecordsClient interface { // Deprecated: Do not use. // Deprecated. // Retrieves a specific answer record. GetAnswerRecord(ctx context.Context, in *GetAnswerRecordRequest, opts ...grpc.CallOption) (*AnswerRecord, error) // Returns the list of all answer records in the specified project in reverse // chronological order. ListAnswerRecords(ctx context.Context, in *ListAnswerRecordsRequest, opts ...grpc.CallOption) (*ListAnswerRecordsResponse, error) // Updates the specified answer record. UpdateAnswerRecord(ctx context.Context, in *UpdateAnswerRecordRequest, opts ...grpc.CallOption) (*AnswerRecord, error) }
AnswerRecordsClient is the client API for AnswerRecords service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAnswerRecordsClient ¶
func NewAnswerRecordsClient(cc grpc.ClientConnInterface) AnswerRecordsClient
type AnswerRecordsServer ¶
type AnswerRecordsServer interface { // Deprecated: Do not use. // Deprecated. // Retrieves a specific answer record. GetAnswerRecord(context.Context, *GetAnswerRecordRequest) (*AnswerRecord, error) // Returns the list of all answer records in the specified project in reverse // chronological order. ListAnswerRecords(context.Context, *ListAnswerRecordsRequest) (*ListAnswerRecordsResponse, error) // Updates the specified answer record. UpdateAnswerRecord(context.Context, *UpdateAnswerRecordRequest) (*AnswerRecord, error) }
AnswerRecordsServer is the server API for AnswerRecords service.
type ArticleAnswer ¶
type ArticleAnswer struct { // The article title. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // The article URI. Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // Output only. Article snippets. Snippets []string `protobuf:"bytes,3,rep,name=snippets,proto3" json:"snippets,omitempty"` // A map that contains metadata about the answer and the // document from which it originates. Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The name of answer record, in the format of // "projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record // ID>" AnswerRecord string `protobuf:"bytes,6,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"` // contains filtered or unexported fields }
Represents article answer.
func (*ArticleAnswer) Descriptor ¶
func (*ArticleAnswer) Descriptor() ([]byte, []int)
Deprecated: Use ArticleAnswer.ProtoReflect.Descriptor instead.
func (*ArticleAnswer) GetAnswerRecord ¶
func (x *ArticleAnswer) GetAnswerRecord() string
func (*ArticleAnswer) GetMetadata ¶
func (x *ArticleAnswer) GetMetadata() map[string]string
func (*ArticleAnswer) GetSnippets ¶
func (x *ArticleAnswer) GetSnippets() []string
func (*ArticleAnswer) GetTitle ¶
func (x *ArticleAnswer) GetTitle() string
func (*ArticleAnswer) GetUri ¶
func (x *ArticleAnswer) GetUri() string
func (*ArticleAnswer) ProtoMessage ¶
func (*ArticleAnswer) ProtoMessage()
func (*ArticleAnswer) ProtoReflect ¶
func (x *ArticleAnswer) ProtoReflect() protoreflect.Message
func (*ArticleAnswer) Reset ¶
func (x *ArticleAnswer) Reset()
func (*ArticleAnswer) String ¶
func (x *ArticleAnswer) String() string
type AssistQueryParameters ¶
type AssistQueryParameters struct { // Key-value filters on the metadata of documents returned by article // suggestion. If specified, article suggestion only returns suggested // documents that match all filters in their // [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. // Multiple values for a metadata key should be concatenated by comma. For // example, filters to match all documents that have 'US' or 'CA' in their // market metadata values and 'agent' in their user metadata values will be // ``` // // documents_metadata_filters { // key: "market" // value: "US,CA" // } // // documents_metadata_filters { // key: "user" // value: "agent" // } // // ``` DocumentsMetadataFilters map[string]string `protobuf:"bytes,1,rep,name=documents_metadata_filters,json=documentsMetadataFilters,proto3" json:"documents_metadata_filters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
Represents the parameters of human assist query.
func (*AssistQueryParameters) Descriptor ¶
func (*AssistQueryParameters) Descriptor() ([]byte, []int)
Deprecated: Use AssistQueryParameters.ProtoReflect.Descriptor instead.
func (*AssistQueryParameters) GetDocumentsMetadataFilters ¶
func (x *AssistQueryParameters) GetDocumentsMetadataFilters() map[string]string
func (*AssistQueryParameters) ProtoMessage ¶
func (*AssistQueryParameters) ProtoMessage()
func (*AssistQueryParameters) ProtoReflect ¶
func (x *AssistQueryParameters) ProtoReflect() protoreflect.Message
func (*AssistQueryParameters) Reset ¶
func (x *AssistQueryParameters) Reset()
func (*AssistQueryParameters) String ¶
func (x *AssistQueryParameters) String() string
type AudioEncoding ¶
type AudioEncoding int32
Audio encoding of the audio content sent in the conversational query request. Refer to the [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.
const ( // Not specified. AudioEncoding_AUDIO_ENCODING_UNSPECIFIED AudioEncoding = 0 // Uncompressed 16-bit signed little-endian samples (Linear PCM). AudioEncoding_AUDIO_ENCODING_LINEAR_16 AudioEncoding = 1 // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio // Codec) is the recommended encoding because it is lossless (therefore // recognition is not compromised) and requires only about half the // bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and // 24-bit samples, however, not all fields in `STREAMINFO` are supported. AudioEncoding_AUDIO_ENCODING_FLAC AudioEncoding = 2 // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. AudioEncoding_AUDIO_ENCODING_MULAW AudioEncoding = 3 // Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000. AudioEncoding_AUDIO_ENCODING_AMR AudioEncoding = 4 // Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000. AudioEncoding_AUDIO_ENCODING_AMR_WB AudioEncoding = 5 // Opus encoded audio frames in Ogg container // ([OggOpus](https://wiki.xiph.org/OggOpus)). // `sample_rate_hertz` must be 16000. AudioEncoding_AUDIO_ENCODING_OGG_OPUS AudioEncoding = 6 // Although the use of lossy encodings is not recommended, if a very low // bitrate encoding is required, `OGG_OPUS` is highly preferred over // Speex encoding. The [Speex](https://speex.org/) encoding supported by // Dialogflow API has a header byte in each block, as in MIME type // `audio/x-speex-with-header-byte`. // It is a variant of the RTP Speex encoding defined in // [RFC 5574](https://tools.ietf.org/html/rfc5574). // The stream is a sequence of blocks, one block per RTP packet. Each block // starts with a byte containing the length of the block, in bytes, followed // by one or more frames of Speex data, padded to an integral number of // bytes (octets) as specified in RFC 5574. In other words, each RTP header // is replaced with a single byte containing the block length. Only Speex // wideband is supported. `sample_rate_hertz` must be 16000. AudioEncoding_AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE AudioEncoding = 7 // 8-bit samples that compand 13-bit audio samples using G.711 PCMU/a-law. AudioEncoding_AUDIO_ENCODING_ALAW AudioEncoding = 8 )
func (AudioEncoding) Descriptor ¶
func (AudioEncoding) Descriptor() protoreflect.EnumDescriptor
func (AudioEncoding) Enum ¶
func (x AudioEncoding) Enum() *AudioEncoding
func (AudioEncoding) EnumDescriptor ¶
func (AudioEncoding) EnumDescriptor() ([]byte, []int)
Deprecated: Use AudioEncoding.Descriptor instead.
func (AudioEncoding) Number ¶
func (x AudioEncoding) Number() protoreflect.EnumNumber
func (AudioEncoding) String ¶
func (x AudioEncoding) String() string
func (AudioEncoding) Type ¶
func (AudioEncoding) Type() protoreflect.EnumType
type AudioInput ¶
type AudioInput struct { // Required. Instructs the speech recognizer how to process the speech audio. Config *InputAudioConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // Required. The natural language speech audio to be processed. // A single request can contain up to 2 minutes of speech audio data. // The transcribed text cannot contain more than 256 bytes for virtual agent // interactions. Audio []byte `protobuf:"bytes,2,opt,name=audio,proto3" json:"audio,omitempty"` // contains filtered or unexported fields }
Represents the natural language speech audio to be processed.
func (*AudioInput) Descriptor ¶
func (*AudioInput) Descriptor() ([]byte, []int)
Deprecated: Use AudioInput.ProtoReflect.Descriptor instead.
func (*AudioInput) GetAudio ¶
func (x *AudioInput) GetAudio() []byte
func (*AudioInput) GetConfig ¶
func (x *AudioInput) GetConfig() *InputAudioConfig
func (*AudioInput) ProtoMessage ¶
func (*AudioInput) ProtoMessage()
func (*AudioInput) ProtoReflect ¶
func (x *AudioInput) ProtoReflect() protoreflect.Message
func (*AudioInput) Reset ¶
func (x *AudioInput) Reset()
func (*AudioInput) String ¶
func (x *AudioInput) String() string
type AutomatedAgentConfig ¶
type AutomatedAgentConfig struct { // Required. ID of the Dialogflow agent environment to use. // // This project needs to either be the same project as the conversation or you // need to grant `service-<Conversation Project // Number>@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow API // Service Agent` role in this project. // // - For ES agents, use format: `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID or '-'>`. If environment is not // specified, the default `draft` environment is used. Refer to // [DetectIntentRequest](/dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2beta1#google.cloud.dialogflow.v2beta1.DetectIntentRequest) // for more details. // // - For CX agents, use format `projects/<Project ID>/locations/<Location // ID>/agents/<Agent ID>/environments/<Environment ID // or '-'>`. If environment is not specified, the default `draft` environment // is used. Agent string `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` // Optional. Configure lifetime of the Dialogflow session. // By default, a Dialogflow CX session remains active and its data is stored // for 30 minutes after the last request is sent for the session. // This value should be no longer than 1 day. SessionTtl *durationpb.Duration `protobuf:"bytes,3,opt,name=session_ttl,json=sessionTtl,proto3" json:"session_ttl,omitempty"` // contains filtered or unexported fields }
Defines the Automated Agent to connect to a conversation.
func (*AutomatedAgentConfig) Descriptor ¶
func (*AutomatedAgentConfig) Descriptor() ([]byte, []int)
Deprecated: Use AutomatedAgentConfig.ProtoReflect.Descriptor instead.
func (*AutomatedAgentConfig) GetAgent ¶
func (x *AutomatedAgentConfig) GetAgent() string
func (*AutomatedAgentConfig) GetSessionTtl ¶
func (x *AutomatedAgentConfig) GetSessionTtl() *durationpb.Duration
func (*AutomatedAgentConfig) ProtoMessage ¶
func (*AutomatedAgentConfig) ProtoMessage()
func (*AutomatedAgentConfig) ProtoReflect ¶
func (x *AutomatedAgentConfig) ProtoReflect() protoreflect.Message
func (*AutomatedAgentConfig) Reset ¶
func (x *AutomatedAgentConfig) Reset()
func (*AutomatedAgentConfig) String ¶
func (x *AutomatedAgentConfig) String() string
type AutomatedAgentReply ¶
type AutomatedAgentReply struct { // Required. // // Types that are assignable to Response: // // *AutomatedAgentReply_DetectIntentResponse Response isAutomatedAgentReply_Response `protobuf_oneof:"response"` // Response messages from the automated agent. ResponseMessages []*ResponseMessage `protobuf:"bytes,3,rep,name=response_messages,json=responseMessages,proto3" json:"response_messages,omitempty"` // Info on the query match for the automated agent response. // // Types that are assignable to Match: // // *AutomatedAgentReply_Intent // *AutomatedAgentReply_Event Match isAutomatedAgentReply_Match `protobuf_oneof:"match"` // The confidence of the match. Values range from 0.0 (completely uncertain) // to 1.0 (completely certain). // This value is for informational purpose only and is only used to help match // the best intent within the classification threshold. This value may change // for the same end-user expression at any time due to a model retraining or // change in implementation. MatchConfidence float32 `protobuf:"fixed32,9,opt,name=match_confidence,json=matchConfidence,proto3" json:"match_confidence,omitempty"` // The collection of current parameters at the time of this response. Parameters *structpb.Struct `protobuf:"bytes,10,opt,name=parameters,proto3" json:"parameters,omitempty"` // The collection of current Dialogflow CX agent session parameters at the // time of this response. // Deprecated: Use `parameters` instead. // // Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/participant.proto. CxSessionParameters *structpb.Struct `protobuf:"bytes,6,opt,name=cx_session_parameters,json=cxSessionParameters,proto3" json:"cx_session_parameters,omitempty"` // AutomatedAgentReply type. AutomatedAgentReplyType AutomatedAgentReply_AutomatedAgentReplyType `protobuf:"varint,7,opt,name=automated_agent_reply_type,json=automatedAgentReplyType,proto3,enum=google.cloud.dialogflow.v2beta1.AutomatedAgentReply_AutomatedAgentReplyType" json:"automated_agent_reply_type,omitempty"` // Indicates whether the partial automated agent reply is interruptible when a // later reply message arrives. e.g. if the agent specified some music as // partial response, it can be cancelled. AllowCancellation bool `protobuf:"varint,8,opt,name=allow_cancellation,json=allowCancellation,proto3" json:"allow_cancellation,omitempty"` // The unique identifier of the current Dialogflow CX conversation page. // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent // ID>/flows/<Flow ID>/pages/<Page ID>`. CxCurrentPage string `protobuf:"bytes,11,opt,name=cx_current_page,json=cxCurrentPage,proto3" json:"cx_current_page,omitempty"` // The auth code for accessing Call Companion UI. CallCompanionAuthCode []byte `protobuf:"bytes,12,opt,name=call_companion_auth_code,json=callCompanionAuthCode,proto3" json:"call_companion_auth_code,omitempty"` // contains filtered or unexported fields }
Represents a response from an automated agent.
func (*AutomatedAgentReply) Descriptor ¶
func (*AutomatedAgentReply) Descriptor() ([]byte, []int)
Deprecated: Use AutomatedAgentReply.ProtoReflect.Descriptor instead.
func (*AutomatedAgentReply) GetAllowCancellation ¶
func (x *AutomatedAgentReply) GetAllowCancellation() bool
func (*AutomatedAgentReply) GetAutomatedAgentReplyType ¶
func (x *AutomatedAgentReply) GetAutomatedAgentReplyType() AutomatedAgentReply_AutomatedAgentReplyType
func (*AutomatedAgentReply) GetCallCompanionAuthCode ¶
func (x *AutomatedAgentReply) GetCallCompanionAuthCode() []byte
func (*AutomatedAgentReply) GetCxCurrentPage ¶
func (x *AutomatedAgentReply) GetCxCurrentPage() string
func (*AutomatedAgentReply) GetCxSessionParameters ¶
func (x *AutomatedAgentReply) GetCxSessionParameters() *structpb.Struct
Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/participant.proto.
func (*AutomatedAgentReply) GetDetectIntentResponse ¶
func (x *AutomatedAgentReply) GetDetectIntentResponse() *DetectIntentResponse
func (*AutomatedAgentReply) GetEvent ¶
func (x *AutomatedAgentReply) GetEvent() string
func (*AutomatedAgentReply) GetIntent ¶
func (x *AutomatedAgentReply) GetIntent() string
func (*AutomatedAgentReply) GetMatch ¶
func (m *AutomatedAgentReply) GetMatch() isAutomatedAgentReply_Match
func (*AutomatedAgentReply) GetMatchConfidence ¶
func (x *AutomatedAgentReply) GetMatchConfidence() float32
func (*AutomatedAgentReply) GetParameters ¶
func (x *AutomatedAgentReply) GetParameters() *structpb.Struct
func (*AutomatedAgentReply) GetResponse ¶
func (m *AutomatedAgentReply) GetResponse() isAutomatedAgentReply_Response
func (*AutomatedAgentReply) GetResponseMessages ¶
func (x *AutomatedAgentReply) GetResponseMessages() []*ResponseMessage
func (*AutomatedAgentReply) ProtoMessage ¶
func (*AutomatedAgentReply) ProtoMessage()
func (*AutomatedAgentReply) ProtoReflect ¶
func (x *AutomatedAgentReply) ProtoReflect() protoreflect.Message
func (*AutomatedAgentReply) Reset ¶
func (x *AutomatedAgentReply) Reset()
func (*AutomatedAgentReply) String ¶
func (x *AutomatedAgentReply) String() string
type AutomatedAgentReply_AutomatedAgentReplyType ¶
type AutomatedAgentReply_AutomatedAgentReplyType int32
Represents different automated agent reply types.
const ( // Not specified. This should never happen. AutomatedAgentReply_AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED AutomatedAgentReply_AutomatedAgentReplyType = 0 // Partial reply. e.g. Aggregated responses in a `Fulfillment` that enables // `return_partial_response` can be returned as partial reply. // WARNING: partial reply is not eligible for barge-in. AutomatedAgentReply_PARTIAL AutomatedAgentReply_AutomatedAgentReplyType = 1 // Final reply. AutomatedAgentReply_FINAL AutomatedAgentReply_AutomatedAgentReplyType = 2 )
func (AutomatedAgentReply_AutomatedAgentReplyType) Descriptor ¶
func (AutomatedAgentReply_AutomatedAgentReplyType) Descriptor() protoreflect.EnumDescriptor
func (AutomatedAgentReply_AutomatedAgentReplyType) Enum ¶
func (x AutomatedAgentReply_AutomatedAgentReplyType) Enum() *AutomatedAgentReply_AutomatedAgentReplyType
func (AutomatedAgentReply_AutomatedAgentReplyType) EnumDescriptor ¶
func (AutomatedAgentReply_AutomatedAgentReplyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use AutomatedAgentReply_AutomatedAgentReplyType.Descriptor instead.
func (AutomatedAgentReply_AutomatedAgentReplyType) Number ¶
func (x AutomatedAgentReply_AutomatedAgentReplyType) Number() protoreflect.EnumNumber
func (AutomatedAgentReply_AutomatedAgentReplyType) String ¶
func (x AutomatedAgentReply_AutomatedAgentReplyType) String() string
func (AutomatedAgentReply_AutomatedAgentReplyType) Type ¶
func (AutomatedAgentReply_AutomatedAgentReplyType) Type() protoreflect.EnumType
type AutomatedAgentReply_DetectIntentResponse ¶
type AutomatedAgentReply_DetectIntentResponse struct { // Response of the Dialogflow // [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent] // call. DetectIntentResponse *DetectIntentResponse `protobuf:"bytes,1,opt,name=detect_intent_response,json=detectIntentResponse,proto3,oneof"` }
type AutomatedAgentReply_Event ¶
type AutomatedAgentReply_Event struct { // Event name if an event is triggered for the query. Event string `protobuf:"bytes,5,opt,name=event,proto3,oneof"` }
type AutomatedAgentReply_Intent ¶
type AutomatedAgentReply_Intent struct { // Name of the intent if an intent is matched for the query. // For a V2 query, the value format is `projects/<Project ID>/locations/ // <Location ID>/agent/intents/<Intent ID>`. // For a V3 query, the value format is `projects/<Project ID>/locations/ // <Location ID>/agents/<Agent ID>/intents/<Intent ID>`. Intent string `protobuf:"bytes,4,opt,name=intent,proto3,oneof"` }
type BargeInConfig ¶
type BargeInConfig struct { // Duration that is not eligible for barge-in at the beginning of the input // audio. NoBargeInDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=no_barge_in_duration,json=noBargeInDuration,proto3" json:"no_barge_in_duration,omitempty"` // Total duration for the playback at the beginning of the input audio. TotalDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=total_duration,json=totalDuration,proto3" json:"total_duration,omitempty"` // contains filtered or unexported fields }
Configuration of the barge-in behavior. Barge-in instructs the API to return a detected utterance at a proper time while the client is playing back the response audio from a previous request. When the client sees the utterance, it should stop the playback and immediately get ready for receiving the responses for the current request.
The barge-in handling requires the client to start streaming audio input as soon as it starts playing back the audio from the previous response. The playback is modeled into two phases:
No barge-in phase: which goes first and during which speech detection should not be carried out.
Barge-in phase: which follows the no barge-in phase and during which the API starts speech detection and may inform the client that an utterance has been detected. Note that no-speech event is not expected in this phase.
The client provides this configuration in terms of the durations of those two phases. The durations are measured in terms of the audio length from the start of the input audio.
The flow goes like below:
``` --> Time
without speech detection | utterance only | utterance or no-speech event
| | +-------------+ | +------------+ | +---------------+
----------+ no barge-in +-|-+ barge-in +-|-+ normal period +-----------
+-------------+ | +------------+ | +---------------+
```
No-speech event is a response with END_OF_UTTERANCE without any transcript following up.
func (*BargeInConfig) Descriptor ¶
func (*BargeInConfig) Descriptor() ([]byte, []int)
Deprecated: Use BargeInConfig.ProtoReflect.Descriptor instead.
func (*BargeInConfig) GetNoBargeInDuration ¶
func (x *BargeInConfig) GetNoBargeInDuration() *durationpb.Duration
func (*BargeInConfig) GetTotalDuration ¶
func (x *BargeInConfig) GetTotalDuration() *durationpb.Duration
func (*BargeInConfig) ProtoMessage ¶
func (*BargeInConfig) ProtoMessage()
func (*BargeInConfig) ProtoReflect ¶
func (x *BargeInConfig) ProtoReflect() protoreflect.Message
func (*BargeInConfig) Reset ¶
func (x *BargeInConfig) Reset()
func (*BargeInConfig) String ¶
func (x *BargeInConfig) String() string
type BatchCreateEntitiesRequest ¶
type BatchCreateEntitiesRequest struct { // Required. The name of the entity type to create entities in. // Supported formats: // - `projects/<Project ID>/agent/entityTypes/<Entity Type ID>` // - `projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity // Type ID>` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The entities to create. Entities []*EntityType_Entity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"` // Optional. The language used to access language-specific data. // If not specified, the agent's default language is used. // For more information, see // [Multilingual intent and entity // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.BatchCreateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities].
func (*BatchCreateEntitiesRequest) Descriptor ¶
func (*BatchCreateEntitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateEntitiesRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateEntitiesRequest) GetEntities ¶
func (x *BatchCreateEntitiesRequest) GetEntities() []*EntityType_Entity
func (*BatchCreateEntitiesRequest) GetLanguageCode ¶
func (x *BatchCreateEntitiesRequest) GetLanguageCode() string
func (*BatchCreateEntitiesRequest) GetParent ¶
func (x *BatchCreateEntitiesRequest) GetParent() string
func (*BatchCreateEntitiesRequest) ProtoMessage ¶
func (*BatchCreateEntitiesRequest) ProtoMessage()
func (*BatchCreateEntitiesRequest) ProtoReflect ¶
func (x *BatchCreateEntitiesRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateEntitiesRequest) Reset ¶
func (x *BatchCreateEntitiesRequest) Reset()
func (*BatchCreateEntitiesRequest) String ¶
func (x *BatchCreateEntitiesRequest) String() string
type BatchCreateMessagesRequest ¶
type BatchCreateMessagesRequest struct { // Required. Resource identifier of the conversation to create message. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. A maximum of 300 messages can be created in a batch. // [CreateMessageRequest.message.send_time][] is required. All created // messages will have identical // [Message.create_time][google.cloud.dialogflow.v2beta1.Message.create_time]. Requests []*CreateMessageRequest `protobuf:"bytes,2,rep,name=requests,proto3" json:"requests,omitempty"` // contains filtered or unexported fields }
The request message for [Conversations.BatchCreateMessagesRequest][].
func (*BatchCreateMessagesRequest) Descriptor ¶
func (*BatchCreateMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateMessagesRequest.ProtoReflect.Descriptor instead.
func (*BatchCreateMessagesRequest) GetParent ¶
func (x *BatchCreateMessagesRequest) GetParent() string
func (*BatchCreateMessagesRequest) GetRequests ¶
func (x *BatchCreateMessagesRequest) GetRequests() []*CreateMessageRequest
func (*BatchCreateMessagesRequest) ProtoMessage ¶
func (*BatchCreateMessagesRequest) ProtoMessage()
func (*BatchCreateMessagesRequest) ProtoReflect ¶
func (x *BatchCreateMessagesRequest) ProtoReflect() protoreflect.Message
func (*BatchCreateMessagesRequest) Reset ¶
func (x *BatchCreateMessagesRequest) Reset()
func (*BatchCreateMessagesRequest) String ¶
func (x *BatchCreateMessagesRequest) String() string
type BatchCreateMessagesResponse ¶
type BatchCreateMessagesResponse struct { // Messages created. Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
The request message for [Conversations.BatchCreateMessagesResponse][].
func (*BatchCreateMessagesResponse) Descriptor ¶
func (*BatchCreateMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchCreateMessagesResponse.ProtoReflect.Descriptor instead.
func (*BatchCreateMessagesResponse) GetMessages ¶
func (x *BatchCreateMessagesResponse) GetMessages() []*Message
func (*BatchCreateMessagesResponse) ProtoMessage ¶
func (*BatchCreateMessagesResponse) ProtoMessage()
func (*BatchCreateMessagesResponse) ProtoReflect ¶
func (x *BatchCreateMessagesResponse) ProtoReflect() protoreflect.Message
func (*BatchCreateMessagesResponse) Reset ¶
func (x *BatchCreateMessagesResponse) Reset()
func (*BatchCreateMessagesResponse) String ¶
func (x *BatchCreateMessagesResponse) String() string
type BatchDeleteEntitiesRequest ¶
type BatchDeleteEntitiesRequest struct { // Required. The name of the entity type to delete entries for. // Supported formats: // - `projects/<Project ID>/agent/entityTypes/<Entity Type ID>` // - `projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity // Type ID>` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The reference `values` of the entities to delete. Note that // these are not fully-qualified names, i.e. they don't start with // `projects/<Project ID>`. EntityValues []string `protobuf:"bytes,2,rep,name=entity_values,json=entityValues,proto3" json:"entity_values,omitempty"` // Optional. The language used to access language-specific data. // If not specified, the agent's default language is used. // For more information, see // [Multilingual intent and entity // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.BatchDeleteEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities].
func (*BatchDeleteEntitiesRequest) Descriptor ¶
func (*BatchDeleteEntitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteEntitiesRequest.ProtoReflect.Descriptor instead.
func (*BatchDeleteEntitiesRequest) GetEntityValues ¶
func (x *BatchDeleteEntitiesRequest) GetEntityValues() []string
func (*BatchDeleteEntitiesRequest) GetLanguageCode ¶
func (x *BatchDeleteEntitiesRequest) GetLanguageCode() string
func (*BatchDeleteEntitiesRequest) GetParent ¶
func (x *BatchDeleteEntitiesRequest) GetParent() string
func (*BatchDeleteEntitiesRequest) ProtoMessage ¶
func (*BatchDeleteEntitiesRequest) ProtoMessage()
func (*BatchDeleteEntitiesRequest) ProtoReflect ¶
func (x *BatchDeleteEntitiesRequest) ProtoReflect() protoreflect.Message
func (*BatchDeleteEntitiesRequest) Reset ¶
func (x *BatchDeleteEntitiesRequest) Reset()
func (*BatchDeleteEntitiesRequest) String ¶
func (x *BatchDeleteEntitiesRequest) String() string
type BatchDeleteEntityTypesRequest ¶
type BatchDeleteEntityTypesRequest struct { // Required. The name of the agent to delete all entities types for. // Supported formats: // - `projects/<Project ID>/agent`, // - `projects/<Project ID>/locations/<Location ID>/agent`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The names entity types to delete. All names must point to the // same agent as `parent`. EntityTypeNames []string `protobuf:"bytes,2,rep,name=entity_type_names,json=entityTypeNames,proto3" json:"entity_type_names,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.BatchDeleteEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes].
func (*BatchDeleteEntityTypesRequest) Descriptor ¶
func (*BatchDeleteEntityTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteEntityTypesRequest.ProtoReflect.Descriptor instead.
func (*BatchDeleteEntityTypesRequest) GetEntityTypeNames ¶
func (x *BatchDeleteEntityTypesRequest) GetEntityTypeNames() []string
func (*BatchDeleteEntityTypesRequest) GetParent ¶
func (x *BatchDeleteEntityTypesRequest) GetParent() string
func (*BatchDeleteEntityTypesRequest) ProtoMessage ¶
func (*BatchDeleteEntityTypesRequest) ProtoMessage()
func (*BatchDeleteEntityTypesRequest) ProtoReflect ¶
func (x *BatchDeleteEntityTypesRequest) ProtoReflect() protoreflect.Message
func (*BatchDeleteEntityTypesRequest) Reset ¶
func (x *BatchDeleteEntityTypesRequest) Reset()
func (*BatchDeleteEntityTypesRequest) String ¶
func (x *BatchDeleteEntityTypesRequest) String() string
type BatchDeleteIntentsRequest ¶
type BatchDeleteIntentsRequest struct { // Required. The name of the agent to delete all entities types for. // Supported formats: // // - `projects/<Project ID>/agent` // - `projects/<Project ID>/locations/<Location ID>/agent` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The collection of intents to delete. Only intent `name` must be // filled in. Intents []*Intent `protobuf:"bytes,2,rep,name=intents,proto3" json:"intents,omitempty"` // contains filtered or unexported fields }
The request message for [Intents.BatchDeleteIntents][google.cloud.dialogflow.v2beta1.Intents.BatchDeleteIntents].
func (*BatchDeleteIntentsRequest) Descriptor ¶
func (*BatchDeleteIntentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchDeleteIntentsRequest.ProtoReflect.Descriptor instead.
func (*BatchDeleteIntentsRequest) GetIntents ¶
func (x *BatchDeleteIntentsRequest) GetIntents() []*Intent
func (*BatchDeleteIntentsRequest) GetParent ¶
func (x *BatchDeleteIntentsRequest) GetParent() string
func (*BatchDeleteIntentsRequest) ProtoMessage ¶
func (*BatchDeleteIntentsRequest) ProtoMessage()
func (*BatchDeleteIntentsRequest) ProtoReflect ¶
func (x *BatchDeleteIntentsRequest) ProtoReflect() protoreflect.Message
func (*BatchDeleteIntentsRequest) Reset ¶
func (x *BatchDeleteIntentsRequest) Reset()
func (*BatchDeleteIntentsRequest) String ¶
func (x *BatchDeleteIntentsRequest) String() string
type BatchUpdateEntitiesRequest ¶
type BatchUpdateEntitiesRequest struct { // Required. The name of the entity type to update or create entities in. // Supported formats: // - `projects/<Project ID>/agent/entityTypes/<Entity Type ID>` // - `projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity // Type ID>` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The entities to update or create. Entities []*EntityType_Entity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"` // Optional. The language used to access language-specific data. // If not specified, the agent's default language is used. // For more information, see // [Multilingual intent and entity // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Optional. The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.BatchUpdateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities].
func (*BatchUpdateEntitiesRequest) Descriptor ¶
func (*BatchUpdateEntitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateEntitiesRequest.ProtoReflect.Descriptor instead.
func (*BatchUpdateEntitiesRequest) GetEntities ¶
func (x *BatchUpdateEntitiesRequest) GetEntities() []*EntityType_Entity
func (*BatchUpdateEntitiesRequest) GetLanguageCode ¶
func (x *BatchUpdateEntitiesRequest) GetLanguageCode() string
func (*BatchUpdateEntitiesRequest) GetParent ¶
func (x *BatchUpdateEntitiesRequest) GetParent() string
func (*BatchUpdateEntitiesRequest) GetUpdateMask ¶
func (x *BatchUpdateEntitiesRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*BatchUpdateEntitiesRequest) ProtoMessage ¶
func (*BatchUpdateEntitiesRequest) ProtoMessage()
func (*BatchUpdateEntitiesRequest) ProtoReflect ¶
func (x *BatchUpdateEntitiesRequest) ProtoReflect() protoreflect.Message
func (*BatchUpdateEntitiesRequest) Reset ¶
func (x *BatchUpdateEntitiesRequest) Reset()
func (*BatchUpdateEntitiesRequest) String ¶
func (x *BatchUpdateEntitiesRequest) String() string
type BatchUpdateEntityTypesRequest ¶
type BatchUpdateEntityTypesRequest struct { // Required. The name of the agent to update or create entity types in. // Supported formats: // - `projects/<Project ID>/agent` // - `projects/<Project ID>/locations/<Location ID>/agent` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The source of the entity type batch. // // For each entity type in the batch: // // * If `name` is specified, we update an existing entity type. // * If `name` is not specified, we create a new entity type. // // Types that are assignable to EntityTypeBatch: // // *BatchUpdateEntityTypesRequest_EntityTypeBatchUri // *BatchUpdateEntityTypesRequest_EntityTypeBatchInline EntityTypeBatch isBatchUpdateEntityTypesRequest_EntityTypeBatch `protobuf_oneof:"entity_type_batch"` // Optional. The language used to access language-specific data. // If not specified, the agent's default language is used. // For more information, see // [Multilingual intent and entity // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Optional. The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].
func (*BatchUpdateEntityTypesRequest) Descriptor ¶
func (*BatchUpdateEntityTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateEntityTypesRequest.ProtoReflect.Descriptor instead.
func (*BatchUpdateEntityTypesRequest) GetEntityTypeBatch ¶
func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatch() isBatchUpdateEntityTypesRequest_EntityTypeBatch
func (*BatchUpdateEntityTypesRequest) GetEntityTypeBatchInline ¶
func (x *BatchUpdateEntityTypesRequest) GetEntityTypeBatchInline() *EntityTypeBatch
func (*BatchUpdateEntityTypesRequest) GetEntityTypeBatchUri ¶
func (x *BatchUpdateEntityTypesRequest) GetEntityTypeBatchUri() string
func (*BatchUpdateEntityTypesRequest) GetLanguageCode ¶
func (x *BatchUpdateEntityTypesRequest) GetLanguageCode() string
func (*BatchUpdateEntityTypesRequest) GetParent ¶
func (x *BatchUpdateEntityTypesRequest) GetParent() string
func (*BatchUpdateEntityTypesRequest) GetUpdateMask ¶
func (x *BatchUpdateEntityTypesRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*BatchUpdateEntityTypesRequest) ProtoMessage ¶
func (*BatchUpdateEntityTypesRequest) ProtoMessage()
func (*BatchUpdateEntityTypesRequest) ProtoReflect ¶
func (x *BatchUpdateEntityTypesRequest) ProtoReflect() protoreflect.Message
func (*BatchUpdateEntityTypesRequest) Reset ¶
func (x *BatchUpdateEntityTypesRequest) Reset()
func (*BatchUpdateEntityTypesRequest) String ¶
func (x *BatchUpdateEntityTypesRequest) String() string
type BatchUpdateEntityTypesRequest_EntityTypeBatchInline ¶
type BatchUpdateEntityTypesRequest_EntityTypeBatchInline struct { // The collection of entity types to update or create. EntityTypeBatchInline *EntityTypeBatch `protobuf:"bytes,3,opt,name=entity_type_batch_inline,json=entityTypeBatchInline,proto3,oneof"` }
type BatchUpdateEntityTypesRequest_EntityTypeBatchUri ¶
type BatchUpdateEntityTypesRequest_EntityTypeBatchUri struct { // The URI to a Google Cloud Storage file containing entity types to update // or create. The file format can either be a serialized proto (of // EntityBatch type) or a JSON object. Note: The URI must start with // "gs://". EntityTypeBatchUri string `protobuf:"bytes,2,opt,name=entity_type_batch_uri,json=entityTypeBatchUri,proto3,oneof"` }
type BatchUpdateEntityTypesResponse ¶
type BatchUpdateEntityTypesResponse struct { // The collection of updated or created entity types. EntityTypes []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,omitempty"` // contains filtered or unexported fields }
The response message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].
func (*BatchUpdateEntityTypesResponse) Descriptor ¶
func (*BatchUpdateEntityTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateEntityTypesResponse.ProtoReflect.Descriptor instead.
func (*BatchUpdateEntityTypesResponse) GetEntityTypes ¶
func (x *BatchUpdateEntityTypesResponse) GetEntityTypes() []*EntityType
func (*BatchUpdateEntityTypesResponse) ProtoMessage ¶
func (*BatchUpdateEntityTypesResponse) ProtoMessage()
func (*BatchUpdateEntityTypesResponse) ProtoReflect ¶
func (x *BatchUpdateEntityTypesResponse) ProtoReflect() protoreflect.Message
func (*BatchUpdateEntityTypesResponse) Reset ¶
func (x *BatchUpdateEntityTypesResponse) Reset()
func (*BatchUpdateEntityTypesResponse) String ¶
func (x *BatchUpdateEntityTypesResponse) String() string
type BatchUpdateIntentsRequest ¶
type BatchUpdateIntentsRequest struct { // Required. The name of the agent to update or create intents in. // Supported formats: // // - `projects/<Project ID>/agent` // - `projects/<Project ID>/locations/<Location ID>/agent` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The source of the intent batch. // // For each intent in the batch: // // * If `name` is specified, we update an existing intent. // * If `name` is not specified, we create a new intent. // // Types that are assignable to IntentBatch: // // *BatchUpdateIntentsRequest_IntentBatchUri // *BatchUpdateIntentsRequest_IntentBatchInline IntentBatch isBatchUpdateIntentsRequest_IntentBatch `protobuf_oneof:"intent_batch"` // Optional. The language used to access language-specific data. // If not specified, the agent's default language is used. // For more information, see // [Multilingual intent and entity // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Optional. The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Optional. The resource view to apply to the returned intent. IntentView IntentView `protobuf:"varint,6,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"` // contains filtered or unexported fields }
The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents].
func (*BatchUpdateIntentsRequest) Descriptor ¶
func (*BatchUpdateIntentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateIntentsRequest.ProtoReflect.Descriptor instead.
func (*BatchUpdateIntentsRequest) GetIntentBatch ¶
func (m *BatchUpdateIntentsRequest) GetIntentBatch() isBatchUpdateIntentsRequest_IntentBatch
func (*BatchUpdateIntentsRequest) GetIntentBatchInline ¶
func (x *BatchUpdateIntentsRequest) GetIntentBatchInline() *IntentBatch
func (*BatchUpdateIntentsRequest) GetIntentBatchUri ¶
func (x *BatchUpdateIntentsRequest) GetIntentBatchUri() string
func (*BatchUpdateIntentsRequest) GetIntentView ¶
func (x *BatchUpdateIntentsRequest) GetIntentView() IntentView
func (*BatchUpdateIntentsRequest) GetLanguageCode ¶
func (x *BatchUpdateIntentsRequest) GetLanguageCode() string
func (*BatchUpdateIntentsRequest) GetParent ¶
func (x *BatchUpdateIntentsRequest) GetParent() string
func (*BatchUpdateIntentsRequest) GetUpdateMask ¶
func (x *BatchUpdateIntentsRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*BatchUpdateIntentsRequest) ProtoMessage ¶
func (*BatchUpdateIntentsRequest) ProtoMessage()
func (*BatchUpdateIntentsRequest) ProtoReflect ¶
func (x *BatchUpdateIntentsRequest) ProtoReflect() protoreflect.Message
func (*BatchUpdateIntentsRequest) Reset ¶
func (x *BatchUpdateIntentsRequest) Reset()
func (*BatchUpdateIntentsRequest) String ¶
func (x *BatchUpdateIntentsRequest) String() string
type BatchUpdateIntentsRequest_IntentBatchInline ¶
type BatchUpdateIntentsRequest_IntentBatchInline struct { // The collection of intents to update or create. IntentBatchInline *IntentBatch `protobuf:"bytes,3,opt,name=intent_batch_inline,json=intentBatchInline,proto3,oneof"` }
type BatchUpdateIntentsRequest_IntentBatchUri ¶
type BatchUpdateIntentsRequest_IntentBatchUri struct { // The URI to a Google Cloud Storage file containing intents to update or // create. The file format can either be a serialized proto (of IntentBatch // type) or JSON object. Note: The URI must start with "gs://". IntentBatchUri string `protobuf:"bytes,2,opt,name=intent_batch_uri,json=intentBatchUri,proto3,oneof"` }
type BatchUpdateIntentsResponse ¶
type BatchUpdateIntentsResponse struct { // The collection of updated or created intents. Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` // contains filtered or unexported fields }
The response message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents].
func (*BatchUpdateIntentsResponse) Descriptor ¶
func (*BatchUpdateIntentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateIntentsResponse.ProtoReflect.Descriptor instead.
func (*BatchUpdateIntentsResponse) GetIntents ¶
func (x *BatchUpdateIntentsResponse) GetIntents() []*Intent
func (*BatchUpdateIntentsResponse) ProtoMessage ¶
func (*BatchUpdateIntentsResponse) ProtoMessage()
func (*BatchUpdateIntentsResponse) ProtoReflect ¶
func (x *BatchUpdateIntentsResponse) ProtoReflect() protoreflect.Message
func (*BatchUpdateIntentsResponse) Reset ¶
func (x *BatchUpdateIntentsResponse) Reset()
func (*BatchUpdateIntentsResponse) String ¶
func (x *BatchUpdateIntentsResponse) String() string
type ClearSuggestionFeatureConfigOperationMetadata ¶
type ClearSuggestionFeatureConfigOperationMetadata struct { // The resource name of the conversation profile. Format: // `projects/<Project ID>/locations/<Location // ID>/conversationProfiles/<Conversation Profile ID>` ConversationProfile string `protobuf:"bytes,1,opt,name=conversation_profile,json=conversationProfile,proto3" json:"conversation_profile,omitempty"` // Required. The participant role to remove the suggestion feature // config. Only HUMAN_AGENT or END_USER can be used. ParticipantRole Participant_Role `protobuf:"varint,2,opt,name=participant_role,json=participantRole,proto3,enum=google.cloud.dialogflow.v2beta1.Participant_Role" json:"participant_role,omitempty"` // Required. The type of the suggestion feature to remove. SuggestionFeatureType SuggestionFeature_Type `protobuf:"varint,3,opt,name=suggestion_feature_type,json=suggestionFeatureType,proto3,enum=google.cloud.dialogflow.v2beta1.SuggestionFeature_Type" json:"suggestion_feature_type,omitempty"` // Timestamp whe the request was created. The time is measured on server side. CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // contains filtered or unexported fields }
Metadata for a [ConversationProfile.ClearSuggestionFeatureConfig][] operation.
func (*ClearSuggestionFeatureConfigOperationMetadata) Descriptor ¶
func (*ClearSuggestionFeatureConfigOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ClearSuggestionFeatureConfigOperationMetadata.ProtoReflect.Descriptor instead.
func (*ClearSuggestionFeatureConfigOperationMetadata) GetConversationProfile ¶
func (x *ClearSuggestionFeatureConfigOperationMetadata) GetConversationProfile() string
func (*ClearSuggestionFeatureConfigOperationMetadata) GetCreateTime ¶
func (x *ClearSuggestionFeatureConfigOperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*ClearSuggestionFeatureConfigOperationMetadata) GetParticipantRole ¶
func (x *ClearSuggestionFeatureConfigOperationMetadata) GetParticipantRole() Participant_Role
func (*ClearSuggestionFeatureConfigOperationMetadata) GetSuggestionFeatureType ¶
func (x *ClearSuggestionFeatureConfigOperationMetadata) GetSuggestionFeatureType() SuggestionFeature_Type
func (*ClearSuggestionFeatureConfigOperationMetadata) ProtoMessage ¶
func (*ClearSuggestionFeatureConfigOperationMetadata) ProtoMessage()
func (*ClearSuggestionFeatureConfigOperationMetadata) ProtoReflect ¶
func (x *ClearSuggestionFeatureConfigOperationMetadata) ProtoReflect() protoreflect.Message
func (*ClearSuggestionFeatureConfigOperationMetadata) Reset ¶
func (x *ClearSuggestionFeatureConfigOperationMetadata) Reset()
func (*ClearSuggestionFeatureConfigOperationMetadata) String ¶
func (x *ClearSuggestionFeatureConfigOperationMetadata) String() string
type ClearSuggestionFeatureConfigRequest ¶
type ClearSuggestionFeatureConfigRequest struct { // Required. The Conversation Profile to add or update the suggestion feature // config. Format: `projects/<Project ID>/locations/<Location // ID>/conversationProfiles/<Conversation Profile ID>`. ConversationProfile string `protobuf:"bytes,1,opt,name=conversation_profile,json=conversationProfile,proto3" json:"conversation_profile,omitempty"` // Required. The participant role to remove the suggestion feature // config. Only HUMAN_AGENT or END_USER can be used. ParticipantRole Participant_Role `protobuf:"varint,2,opt,name=participant_role,json=participantRole,proto3,enum=google.cloud.dialogflow.v2beta1.Participant_Role" json:"participant_role,omitempty"` // Required. The type of the suggestion feature to remove. SuggestionFeatureType SuggestionFeature_Type `protobuf:"varint,3,opt,name=suggestion_feature_type,json=suggestionFeatureType,proto3,enum=google.cloud.dialogflow.v2beta1.SuggestionFeature_Type" json:"suggestion_feature_type,omitempty"` // contains filtered or unexported fields }
The request message for [ConversationProfiles.ClearFeature][].
func (*ClearSuggestionFeatureConfigRequest) Descriptor ¶
func (*ClearSuggestionFeatureConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClearSuggestionFeatureConfigRequest.ProtoReflect.Descriptor instead.
func (*ClearSuggestionFeatureConfigRequest) GetConversationProfile ¶
func (x *ClearSuggestionFeatureConfigRequest) GetConversationProfile() string
func (*ClearSuggestionFeatureConfigRequest) GetParticipantRole ¶
func (x *ClearSuggestionFeatureConfigRequest) GetParticipantRole() Participant_Role
func (*ClearSuggestionFeatureConfigRequest) GetSuggestionFeatureType ¶
func (x *ClearSuggestionFeatureConfigRequest) GetSuggestionFeatureType() SuggestionFeature_Type
func (*ClearSuggestionFeatureConfigRequest) ProtoMessage ¶
func (*ClearSuggestionFeatureConfigRequest) ProtoMessage()
func (*ClearSuggestionFeatureConfigRequest) ProtoReflect ¶
func (x *ClearSuggestionFeatureConfigRequest) ProtoReflect() protoreflect.Message
func (*ClearSuggestionFeatureConfigRequest) Reset ¶
func (x *ClearSuggestionFeatureConfigRequest) Reset()
func (*ClearSuggestionFeatureConfigRequest) String ¶
func (x *ClearSuggestionFeatureConfigRequest) String() string
type CloudConversationDebuggingInfo ¶
type CloudConversationDebuggingInfo struct { // Number of input audio data chunks in streaming requests. AudioDataChunks int32 `protobuf:"varint,1,opt,name=audio_data_chunks,json=audioDataChunks,proto3" json:"audio_data_chunks,omitempty"` // Time offset of the end of speech utterance relative to the // beginning of the first audio chunk. ResultEndTimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=result_end_time_offset,json=resultEndTimeOffset,proto3" json:"result_end_time_offset,omitempty"` // Duration of first audio chunk. FirstAudioDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=first_audio_duration,json=firstAudioDuration,proto3" json:"first_audio_duration,omitempty"` // Whether client used single utterance mode. SingleUtterance bool `protobuf:"varint,5,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"` // Time offsets of the speech partial results relative to the beginning of // the stream. SpeechPartialResultsEndTimes []*durationpb.Duration `protobuf:"bytes,6,rep,name=speech_partial_results_end_times,json=speechPartialResultsEndTimes,proto3" json:"speech_partial_results_end_times,omitempty"` // Time offsets of the speech final results (is_final=true) relative to the // beginning of the stream. SpeechFinalResultsEndTimes []*durationpb.Duration `protobuf:"bytes,7,rep,name=speech_final_results_end_times,json=speechFinalResultsEndTimes,proto3" json:"speech_final_results_end_times,omitempty"` // Total number of partial responses. PartialResponses int32 `protobuf:"varint,8,opt,name=partial_responses,json=partialResponses,proto3" json:"partial_responses,omitempty"` // Time offset of Speaker ID stream close time relative to the Speech stream // close time in milliseconds. Only meaningful for conversations involving // passive verification. SpeakerIdPassiveLatencyMsOffset int32 `protobuf:"varint,9,opt,name=speaker_id_passive_latency_ms_offset,json=speakerIdPassiveLatencyMsOffset,proto3" json:"speaker_id_passive_latency_ms_offset,omitempty"` // Whether a barge-in event is triggered in this request. BargeinEventTriggered bool `protobuf:"varint,10,opt,name=bargein_event_triggered,json=bargeinEventTriggered,proto3" json:"bargein_event_triggered,omitempty"` // Whether speech uses single utterance mode. SpeechSingleUtterance bool `protobuf:"varint,11,opt,name=speech_single_utterance,json=speechSingleUtterance,proto3" json:"speech_single_utterance,omitempty"` // Time offsets of the DTMF partial results relative to the beginning of // the stream. DtmfPartialResultsTimes []*durationpb.Duration `protobuf:"bytes,12,rep,name=dtmf_partial_results_times,json=dtmfPartialResultsTimes,proto3" json:"dtmf_partial_results_times,omitempty"` // Time offsets of the DTMF final results relative to the beginning of // the stream. DtmfFinalResultsTimes []*durationpb.Duration `protobuf:"bytes,13,rep,name=dtmf_final_results_times,json=dtmfFinalResultsTimes,proto3" json:"dtmf_final_results_times,omitempty"` // Time offset of the end-of-single-utterance signal relative to the // beginning of the stream. SingleUtteranceEndTimeOffset *durationpb.Duration `protobuf:"bytes,14,opt,name=single_utterance_end_time_offset,json=singleUtteranceEndTimeOffset,proto3" json:"single_utterance_end_time_offset,omitempty"` // No speech timeout settings for the stream. NoSpeechTimeout *durationpb.Duration `protobuf:"bytes,15,opt,name=no_speech_timeout,json=noSpeechTimeout,proto3" json:"no_speech_timeout,omitempty"` // Speech endpointing timeout settings for the stream. EndpointingTimeout *durationpb.Duration `protobuf:"bytes,19,opt,name=endpointing_timeout,json=endpointingTimeout,proto3" json:"endpointing_timeout,omitempty"` // Whether the streaming terminates with an injected text query. IsInputText bool `protobuf:"varint,16,opt,name=is_input_text,json=isInputText,proto3" json:"is_input_text,omitempty"` // Client half close time in terms of input audio duration. ClientHalfCloseTimeOffset *durationpb.Duration `protobuf:"bytes,17,opt,name=client_half_close_time_offset,json=clientHalfCloseTimeOffset,proto3" json:"client_half_close_time_offset,omitempty"` // Client half close time in terms of API streaming duration. ClientHalfCloseStreamingTimeOffset *durationpb.Duration `protobuf:"bytes,18,opt,name=client_half_close_streaming_time_offset,json=clientHalfCloseStreamingTimeOffset,proto3" json:"client_half_close_streaming_time_offset,omitempty"` // contains filtered or unexported fields }
Cloud conversation info for easier debugging. It will get populated in `StreamingDetectIntentResponse` or `StreamingAnalyzeContentResponse` when the flag `enable_debugging_info` is set to true in corresponding requests.
func (*CloudConversationDebuggingInfo) Descriptor ¶
func (*CloudConversationDebuggingInfo) Descriptor() ([]byte, []int)
Deprecated: Use CloudConversationDebuggingInfo.ProtoReflect.Descriptor instead.
func (*CloudConversationDebuggingInfo) GetAudioDataChunks ¶
func (x *CloudConversationDebuggingInfo) GetAudioDataChunks() int32
func (*CloudConversationDebuggingInfo) GetBargeinEventTriggered ¶
func (x *CloudConversationDebuggingInfo) GetBargeinEventTriggered() bool
func (*CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset ¶
func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetClientHalfCloseTimeOffset ¶
func (x *CloudConversationDebuggingInfo) GetClientHalfCloseTimeOffset() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetDtmfFinalResultsTimes ¶
func (x *CloudConversationDebuggingInfo) GetDtmfFinalResultsTimes() []*durationpb.Duration
func (*CloudConversationDebuggingInfo) GetDtmfPartialResultsTimes ¶
func (x *CloudConversationDebuggingInfo) GetDtmfPartialResultsTimes() []*durationpb.Duration
func (*CloudConversationDebuggingInfo) GetEndpointingTimeout ¶
func (x *CloudConversationDebuggingInfo) GetEndpointingTimeout() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetFirstAudioDuration ¶
func (x *CloudConversationDebuggingInfo) GetFirstAudioDuration() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetIsInputText ¶
func (x *CloudConversationDebuggingInfo) GetIsInputText() bool
func (*CloudConversationDebuggingInfo) GetNoSpeechTimeout ¶
func (x *CloudConversationDebuggingInfo) GetNoSpeechTimeout() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetPartialResponses ¶
func (x *CloudConversationDebuggingInfo) GetPartialResponses() int32
func (*CloudConversationDebuggingInfo) GetResultEndTimeOffset ¶
func (x *CloudConversationDebuggingInfo) GetResultEndTimeOffset() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetSingleUtterance ¶
func (x *CloudConversationDebuggingInfo) GetSingleUtterance() bool
func (*CloudConversationDebuggingInfo) GetSingleUtteranceEndTimeOffset ¶
func (x *CloudConversationDebuggingInfo) GetSingleUtteranceEndTimeOffset() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetSpeakerIdPassiveLatencyMsOffset ¶
func (x *CloudConversationDebuggingInfo) GetSpeakerIdPassiveLatencyMsOffset() int32
func (*CloudConversationDebuggingInfo) GetSpeechFinalResultsEndTimes ¶
func (x *CloudConversationDebuggingInfo) GetSpeechFinalResultsEndTimes() []*durationpb.Duration
func (*CloudConversationDebuggingInfo) GetSpeechPartialResultsEndTimes ¶
func (x *CloudConversationDebuggingInfo) GetSpeechPartialResultsEndTimes() []*durationpb.Duration
func (*CloudConversationDebuggingInfo) GetSpeechSingleUtterance ¶
func (x *CloudConversationDebuggingInfo) GetSpeechSingleUtterance() bool
func (*CloudConversationDebuggingInfo) ProtoMessage ¶
func (*CloudConversationDebuggingInfo) ProtoMessage()
func (*CloudConversationDebuggingInfo) ProtoReflect ¶
func (x *CloudConversationDebuggingInfo) ProtoReflect() protoreflect.Message
func (*CloudConversationDebuggingInfo) Reset ¶
func (x *CloudConversationDebuggingInfo) Reset()
func (*CloudConversationDebuggingInfo) String ¶
func (x *CloudConversationDebuggingInfo) String() string
type CompileSuggestionRequest ¶
type CompileSuggestionRequest struct { // Required. The name of the participant to fetch suggestion for. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/participants/<Participant ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The name of the latest conversation message to compile suggestion // for. If empty, it will be the latest message of the conversation. // // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/messages/<Message ID>`. LatestMessage string `protobuf:"bytes,2,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // Optional. Max number of messages prior to and including // [latest_message] to use as context when compiling the // suggestion. If zero or less than zero, 20 is used. ContextSize int32 `protobuf:"varint,3,opt,name=context_size,json=contextSize,proto3" json:"context_size,omitempty"` // contains filtered or unexported fields }
The request message for [Participants.CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion].
Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/participant.proto.
func (*CompileSuggestionRequest) Descriptor ¶
func (*CompileSuggestionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompileSuggestionRequest.ProtoReflect.Descriptor instead.
func (*CompileSuggestionRequest) GetContextSize ¶
func (x *CompileSuggestionRequest) GetContextSize() int32
func (*CompileSuggestionRequest) GetLatestMessage ¶
func (x *CompileSuggestionRequest) GetLatestMessage() string
func (*CompileSuggestionRequest) GetParent ¶
func (x *CompileSuggestionRequest) GetParent() string
func (*CompileSuggestionRequest) ProtoMessage ¶
func (*CompileSuggestionRequest) ProtoMessage()
func (*CompileSuggestionRequest) ProtoReflect ¶
func (x *CompileSuggestionRequest) ProtoReflect() protoreflect.Message
func (*CompileSuggestionRequest) Reset ¶
func (x *CompileSuggestionRequest) Reset()
func (*CompileSuggestionRequest) String ¶
func (x *CompileSuggestionRequest) String() string
type CompileSuggestionResponse ¶
type CompileSuggestionResponse struct { // The compiled suggestion. Suggestion *Suggestion `protobuf:"bytes,1,opt,name=suggestion,proto3" json:"suggestion,omitempty"` // The name of the latest conversation message used to compile // suggestion for. // // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/messages/<Message ID>`. LatestMessage string `protobuf:"bytes,2,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // Number of messages prior to and including // [latest_message][google.cloud.dialogflow.v2beta1.CompileSuggestionResponse.latest_message] // to compile the suggestion. It may be smaller than the // [CompileSuggestionRequest.context_size][google.cloud.dialogflow.v2beta1.CompileSuggestionRequest.context_size] // field in the request if there aren't that many messages in the // conversation. ContextSize int32 `protobuf:"varint,3,opt,name=context_size,json=contextSize,proto3" json:"context_size,omitempty"` // contains filtered or unexported fields }
The response message for [Participants.CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion].
Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/participant.proto.
func (*CompileSuggestionResponse) Descriptor ¶
func (*CompileSuggestionResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompileSuggestionResponse.ProtoReflect.Descriptor instead.
func (*CompileSuggestionResponse) GetContextSize ¶
func (x *CompileSuggestionResponse) GetContextSize() int32
func (*CompileSuggestionResponse) GetLatestMessage ¶
func (x *CompileSuggestionResponse) GetLatestMessage() string
func (*CompileSuggestionResponse) GetSuggestion ¶
func (x *CompileSuggestionResponse) GetSuggestion() *Suggestion
func (*CompileSuggestionResponse) ProtoMessage ¶
func (*CompileSuggestionResponse) ProtoMessage()
func (*CompileSuggestionResponse) ProtoReflect ¶
func (x *CompileSuggestionResponse) ProtoReflect() protoreflect.Message
func (*CompileSuggestionResponse) Reset ¶
func (x *CompileSuggestionResponse) Reset()
func (*CompileSuggestionResponse) String ¶
func (x *CompileSuggestionResponse) String() string
type CompleteConversationRequest ¶
type CompleteConversationRequest struct { // Required. Resource identifier of the conversation to close. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Conversations.CompleteConversation][google.cloud.dialogflow.v2beta1.Conversations.CompleteConversation].
func (*CompleteConversationRequest) Descriptor ¶
func (*CompleteConversationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompleteConversationRequest.ProtoReflect.Descriptor instead.
func (*CompleteConversationRequest) GetName ¶
func (x *CompleteConversationRequest) GetName() string
func (*CompleteConversationRequest) ProtoMessage ¶
func (*CompleteConversationRequest) ProtoMessage()
func (*CompleteConversationRequest) ProtoReflect ¶
func (x *CompleteConversationRequest) ProtoReflect() protoreflect.Message
func (*CompleteConversationRequest) Reset ¶
func (x *CompleteConversationRequest) Reset()
func (*CompleteConversationRequest) String ¶
func (x *CompleteConversationRequest) String() string
type Connection ¶
type Connection struct { // Output only. The unique identifier of the SIP Trunk connection. ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // Output only. State of the connection. State Connection_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.dialogflow.v2beta1.Connection_State" json:"state,omitempty"` // Output only. When the connection status changed. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3,oneof" json:"update_time,omitempty"` // Output only. The error details for the connection. Only populated when // authentication errors occur. ErrorDetails *Connection_ErrorDetails `protobuf:"bytes,4,opt,name=error_details,json=errorDetails,proto3,oneof" json:"error_details,omitempty"` // contains filtered or unexported fields }
Represents a connection for SIP Trunk.
func (*Connection) Descriptor ¶
func (*Connection) Descriptor() ([]byte, []int)
Deprecated: Use Connection.ProtoReflect.Descriptor instead.
func (*Connection) GetConnectionId ¶
func (x *Connection) GetConnectionId() string
func (*Connection) GetErrorDetails ¶
func (x *Connection) GetErrorDetails() *Connection_ErrorDetails
func (*Connection) GetState ¶
func (x *Connection) GetState() Connection_State
func (*Connection) GetUpdateTime ¶
func (x *Connection) GetUpdateTime() *timestamppb.Timestamp
func (*Connection) ProtoMessage ¶
func (*Connection) ProtoMessage()
func (*Connection) ProtoReflect ¶
func (x *Connection) ProtoReflect() protoreflect.Message
func (*Connection) Reset ¶
func (x *Connection) Reset()
func (*Connection) String ¶
func (x *Connection) String() string
type Connection_CertificateState ¶
type Connection_CertificateState int32
The state of Sip Trunk certificate authentication.
const ( // Certificate state is not specified. Connection_CERTIFICATE_STATE_UNSPECIFIED Connection_CertificateState = 0 // Certificate is valid. Connection_CERTIFICATE_VALID Connection_CertificateState = 1 // Catch all for any error not specified. Connection_CERTIFICATE_INVALID Connection_CertificateState = 2 // Certificate leaf node has expired. Connection_CERTIFICATE_EXPIRED Connection_CertificateState = 3 // There is no hostname defined to authenticate in SipTrunkingServer. Connection_CERTIFICATE_HOSTNAME_NOT_FOUND Connection_CertificateState = 4 // No path found from the leaf certificate to any root. Connection_CERTIFICATE_UNAUTHENTICATED Connection_CertificateState = 5 // Trust store does not exist. Connection_CERTIFICATE_TRUST_STORE_NOT_FOUND Connection_CertificateState = 6 // Hostname has invalid format. Connection_CERTIFICATE_HOSTNAME_INVALID_FORMAT Connection_CertificateState = 7 // Certificate has exhausted its quota. Connection_CERTIFICATE_QUOTA_EXCEEDED Connection_CertificateState = 8 )
func (Connection_CertificateState) Descriptor ¶
func (Connection_CertificateState) Descriptor() protoreflect.EnumDescriptor
func (Connection_CertificateState) Enum ¶
func (x Connection_CertificateState) Enum() *Connection_CertificateState
func (Connection_CertificateState) EnumDescriptor ¶
func (Connection_CertificateState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Connection_CertificateState.Descriptor instead.
func (Connection_CertificateState) Number ¶
func (x Connection_CertificateState) Number() protoreflect.EnumNumber
func (Connection_CertificateState) String ¶
func (x Connection_CertificateState) String() string
func (Connection_CertificateState) Type ¶
func (Connection_CertificateState) Type() protoreflect.EnumType
type Connection_ErrorDetails ¶
type Connection_ErrorDetails struct { // Output only. The status of the certificate authentication. CertificateState *Connection_CertificateState `protobuf:"varint,1,opt,name=certificate_state,json=certificateState,proto3,enum=google.cloud.dialogflow.v2beta1.Connection_CertificateState,oneof" json:"certificate_state,omitempty"` // The error message provided from SIP trunking auth service ErrorMessage *string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3,oneof" json:"error_message,omitempty"` // contains filtered or unexported fields }
The error details of Sip Trunk connection authentication.
func (*Connection_ErrorDetails) Descriptor ¶
func (*Connection_ErrorDetails) Descriptor() ([]byte, []int)
Deprecated: Use Connection_ErrorDetails.ProtoReflect.Descriptor instead.
func (*Connection_ErrorDetails) GetCertificateState ¶
func (x *Connection_ErrorDetails) GetCertificateState() Connection_CertificateState
func (*Connection_ErrorDetails) GetErrorMessage ¶
func (x *Connection_ErrorDetails) GetErrorMessage() string
func (*Connection_ErrorDetails) ProtoMessage ¶
func (*Connection_ErrorDetails) ProtoMessage()
func (*Connection_ErrorDetails) ProtoReflect ¶
func (x *Connection_ErrorDetails) ProtoReflect() protoreflect.Message
func (*Connection_ErrorDetails) Reset ¶
func (x *Connection_ErrorDetails) Reset()
func (*Connection_ErrorDetails) String ¶
func (x *Connection_ErrorDetails) String() string
type Connection_State ¶
type Connection_State int32
The state of Sip Trunk connection.
const ( // SIP Trunk connection state is Not specified. Connection_STATE_UNSPECIFIED Connection_State = 0 // SIP Trunk connection is connected. Connection_CONNECTED Connection_State = 1 // SIP Trunk connection is disconnected. Connection_DISCONNECTED Connection_State = 2 // SIP Trunk connection has authentication error. Connection_AUTHENTICATION_FAILED Connection_State = 3 // SIP Trunk connection is keepalive. Connection_KEEPALIVE Connection_State = 4 )
func (Connection_State) Descriptor ¶
func (Connection_State) Descriptor() protoreflect.EnumDescriptor
func (Connection_State) Enum ¶
func (x Connection_State) Enum() *Connection_State
func (Connection_State) EnumDescriptor ¶
func (Connection_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Connection_State.Descriptor instead.
func (Connection_State) Number ¶
func (x Connection_State) Number() protoreflect.EnumNumber
func (Connection_State) String ¶
func (x Connection_State) String() string
func (Connection_State) Type ¶
func (Connection_State) Type() protoreflect.EnumType
type Context ¶
type Context struct { // Required. The unique identifier of the context. Supported formats: // - `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context // ID>`, // - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session // ID>/contexts/<Context ID>`, // - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User // ID>/sessions/<Session ID>/contexts/<Context ID>`, // - `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session // ID>/contexts/<Context ID>`, // // The `Context ID` is always converted to lowercase, may only contain // characters in `a-zA-Z0-9_-%` and may be at most 250 bytes long. // // If `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' user. // // The following context names are reserved for internal use by Dialogflow. // You should not use these contexts or create contexts with these names: // // * `__system_counters__` // * `*_id_dialog_context` // * `*_dialog_params_size` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The number of conversational query requests after which the // context expires. The default is `0`. If set to `0`, the context expires // immediately. Contexts expire automatically after 20 minutes if there // are no matching queries. LifespanCount int32 `protobuf:"varint,2,opt,name=lifespan_count,json=lifespanCount,proto3" json:"lifespan_count,omitempty"` // Optional. The collection of parameters associated with this context. // // Depending on your protocol or client library language, this is a // map, associative array, symbol table, dictionary, or JSON object // composed of a collection of (MapKey, MapValue) pairs: // // * MapKey type: string // * MapKey value: parameter name // * MapValue type: If parameter's entity type is a composite entity then use // map, otherwise, depending on the parameter value type, it could be one of // string, number, boolean, null, list or map. // * MapValue value: If parameter's entity type is a composite entity then use // map from composite entity property names to property values, otherwise, // use parameter value. Parameters *structpb.Struct `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty"` // contains filtered or unexported fields }
Dialogflow contexts are similar to natural language context. If a person says to you "they are orange", you need context in order to understand what "they" is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent.
Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts.
For more information about context, see the [Contexts guide](https://cloud.google.com/dialogflow/docs/contexts-overview).
func (*Context) Descriptor ¶
Deprecated: Use Context.ProtoReflect.Descriptor instead.
func (*Context) GetLifespanCount ¶
func (*Context) GetName ¶
func (*Context) GetParameters ¶
func (*Context) ProtoMessage ¶
func (*Context) ProtoMessage()
func (*Context) ProtoReflect ¶
func (x *Context) ProtoReflect() protoreflect.Message
func (*Context) Reset ¶
func (x *Context) Reset()
func (*Context) String ¶
type ContextsClient ¶
type ContextsClient interface { // Returns the list of all contexts in the specified session. ListContexts(ctx context.Context, in *ListContextsRequest, opts ...grpc.CallOption) (*ListContextsResponse, error) // Retrieves the specified context. GetContext(ctx context.Context, in *GetContextRequest, opts ...grpc.CallOption) (*Context, error) // Creates a context. // // If the specified context already exists, overrides the context. CreateContext(ctx context.Context, in *CreateContextRequest, opts ...grpc.CallOption) (*Context, error) // Updates the specified context. UpdateContext(ctx context.Context, in *UpdateContextRequest, opts ...grpc.CallOption) (*Context, error) // Deletes the specified context. DeleteContext(ctx context.Context, in *DeleteContextRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Deletes all active contexts in the specified session. DeleteAllContexts(ctx context.Context, in *DeleteAllContextsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ContextsClient is the client API for Contexts service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewContextsClient ¶
func NewContextsClient(cc grpc.ClientConnInterface) ContextsClient
type ContextsServer ¶
type ContextsServer interface { // Returns the list of all contexts in the specified session. ListContexts(context.Context, *ListContextsRequest) (*ListContextsResponse, error) // Retrieves the specified context. GetContext(context.Context, *GetContextRequest) (*Context, error) // Creates a context. // // If the specified context already exists, overrides the context. CreateContext(context.Context, *CreateContextRequest) (*Context, error) // Updates the specified context. UpdateContext(context.Context, *UpdateContextRequest) (*Context, error) // Deletes the specified context. DeleteContext(context.Context, *DeleteContextRequest) (*emptypb.Empty, error) // Deletes all active contexts in the specified session. DeleteAllContexts(context.Context, *DeleteAllContextsRequest) (*emptypb.Empty, error) }
ContextsServer is the server API for Contexts service.
type Conversation ¶
type Conversation struct { // Output only. Identifier. The unique identifier of this conversation. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The current state of the Conversation. LifecycleState Conversation_LifecycleState `protobuf:"varint,2,opt,name=lifecycle_state,json=lifecycleState,proto3,enum=google.cloud.dialogflow.v2beta1.Conversation_LifecycleState" json:"lifecycle_state,omitempty"` // Required. The Conversation Profile to be used to configure this // Conversation. This field cannot be updated. // Format: `projects/<Project ID>/locations/<Location // ID>/conversationProfiles/<Conversation Profile ID>`. ConversationProfile string `protobuf:"bytes,3,opt,name=conversation_profile,json=conversationProfile,proto3" json:"conversation_profile,omitempty"` // Output only. Required if the conversation is to be connected over // telephony. PhoneNumber *ConversationPhoneNumber `protobuf:"bytes,4,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // Optional. The stage of a conversation. It indicates whether the virtual // agent or a human agent is handling the conversation. // // If the conversation is created with the conversation profile that has // Dialogflow config set, defaults to // [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]; // Otherwise, defaults to // [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. // // If the conversation is created with the conversation profile that has // Dialogflow config set but explicitly sets conversation_stage to // [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE], // it skips // [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE] // stage and directly goes to // [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2beta1.Conversation.ConversationStage.HUMAN_ASSIST_STAGE]. ConversationStage Conversation_ConversationStage `protobuf:"varint,7,opt,name=conversation_stage,json=conversationStage,proto3,enum=google.cloud.dialogflow.v2beta1.Conversation_ConversationStage" json:"conversation_stage,omitempty"` // Output only. The time the conversation was started. StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. The time the conversation was finished. EndTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. The telephony connection information. TelephonyConnectionInfo *Conversation_TelephonyConnectionInfo `protobuf:"bytes,10,opt,name=telephony_connection_info,json=telephonyConnectionInfo,proto3" json:"telephony_connection_info,omitempty"` // contains filtered or unexported fields }
Represents a conversation. A conversation is an interaction between an agent, including live agents and Dialogflow agents, and a support customer. Conversations can include phone calls and text-based chat sessions.
func (*Conversation) Descriptor ¶
func (*Conversation) Descriptor() ([]byte, []int)
Deprecated: Use Conversation.ProtoReflect.Descriptor instead.
func (*Conversation) GetConversationProfile ¶
func (x *Conversation) GetConversationProfile() string
func (*Conversation) GetConversationStage ¶
func (x *Conversation) GetConversationStage() Conversation_ConversationStage
func (*Conversation) GetEndTime ¶
func (x *Conversation) GetEndTime() *timestamppb.Timestamp
func (*Conversation) GetLifecycleState ¶
func (x *Conversation) GetLifecycleState() Conversation_LifecycleState
func (*Conversation) GetName ¶
func (x *Conversation) GetName() string
func (*Conversation) GetPhoneNumber ¶
func (x *Conversation) GetPhoneNumber() *ConversationPhoneNumber
func (*Conversation) GetStartTime ¶
func (x *Conversation) GetStartTime() *timestamppb.Timestamp
func (*Conversation) GetTelephonyConnectionInfo ¶
func (x *Conversation) GetTelephonyConnectionInfo() *Conversation_TelephonyConnectionInfo
func (*Conversation) ProtoMessage ¶
func (*Conversation) ProtoMessage()
func (*Conversation) ProtoReflect ¶
func (x *Conversation) ProtoReflect() protoreflect.Message
func (*Conversation) Reset ¶
func (x *Conversation) Reset()
func (*Conversation) String ¶
func (x *Conversation) String() string
type ConversationContext ¶
type ConversationContext struct { // Optional. List of message transcripts in the conversation. MessageEntries []*MessageEntry `protobuf:"bytes,1,rep,name=message_entries,json=messageEntries,proto3" json:"message_entries,omitempty"` // contains filtered or unexported fields }
Context of the conversation, including transcripts.
func (*ConversationContext) Descriptor ¶
func (*ConversationContext) Descriptor() ([]byte, []int)
Deprecated: Use ConversationContext.ProtoReflect.Descriptor instead.
func (*ConversationContext) GetMessageEntries ¶
func (x *ConversationContext) GetMessageEntries() []*MessageEntry
func (*ConversationContext) ProtoMessage ¶
func (*ConversationContext) ProtoMessage()
func (*ConversationContext) ProtoReflect ¶
func (x *ConversationContext) ProtoReflect() protoreflect.Message
func (*ConversationContext) Reset ¶
func (x *ConversationContext) Reset()
func (*ConversationContext) String ¶
func (x *ConversationContext) String() string
type ConversationEvent ¶
type ConversationEvent struct { // Required. The unique identifier of the conversation this notification // refers to. // Format: `projects/<Project ID>/conversations/<Conversation ID>`. Conversation string `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"` // Required. The type of the event that this notification refers to. Type ConversationEvent_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.dialogflow.v2beta1.ConversationEvent_Type" json:"type,omitempty"` // Optional. More detailed information about an error. Only set for type // UNRECOVERABLE_ERROR_IN_PHONE_CALL. ErrorStatus *status.Status `protobuf:"bytes,3,opt,name=error_status,json=errorStatus,proto3" json:"error_status,omitempty"` // Payload of conversation event. // // Types that are assignable to Payload: // // *ConversationEvent_NewMessagePayload // *ConversationEvent_NewRecognitionResultPayload Payload isConversationEvent_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
Represents a notification sent to Pub/Sub subscribers for conversation lifecycle events.
func (*ConversationEvent) Descriptor ¶
func (*ConversationEvent) Descriptor() ([]byte, []int)
Deprecated: Use ConversationEvent.ProtoReflect.Descriptor instead.
func (*ConversationEvent) GetConversation ¶
func (x *ConversationEvent) GetConversation() string
func (*ConversationEvent) GetErrorStatus ¶
func (x *ConversationEvent) GetErrorStatus() *status.Status
func (*ConversationEvent) GetNewMessagePayload ¶
func (x *ConversationEvent) GetNewMessagePayload() *Message
func (*ConversationEvent) GetNewRecognitionResultPayload ¶
func (x *ConversationEvent) GetNewRecognitionResultPayload() *StreamingRecognitionResult
func (*ConversationEvent) GetPayload ¶
func (m *ConversationEvent) GetPayload() isConversationEvent_Payload
func (*ConversationEvent) GetType ¶
func (x *ConversationEvent) GetType() ConversationEvent_Type
func (*ConversationEvent) ProtoMessage ¶
func (*ConversationEvent) ProtoMessage()
func (*ConversationEvent) ProtoReflect ¶
func (x *ConversationEvent) ProtoReflect() protoreflect.Message
func (*ConversationEvent) Reset ¶
func (x *ConversationEvent) Reset()
func (*ConversationEvent) String ¶
func (x *ConversationEvent) String() string
type ConversationEvent_NewMessagePayload ¶
type ConversationEvent_NewMessagePayload struct { // Payload of NEW_MESSAGE event. NewMessagePayload *Message `protobuf:"bytes,4,opt,name=new_message_payload,json=newMessagePayload,proto3,oneof"` }
type ConversationEvent_NewRecognitionResultPayload ¶
type ConversationEvent_NewRecognitionResultPayload struct { // Payload of NEW_RECOGNITION_RESULT event. NewRecognitionResultPayload *StreamingRecognitionResult `protobuf:"bytes,5,opt,name=new_recognition_result_payload,json=newRecognitionResultPayload,proto3,oneof"` }
type ConversationEvent_Type ¶
type ConversationEvent_Type int32
Enumeration of the types of events available.
const ( // Type not set. ConversationEvent_TYPE_UNSPECIFIED ConversationEvent_Type = 0 // A new conversation has been opened. This is fired when a telephone call // is answered, or a conversation is created via the API. ConversationEvent_CONVERSATION_STARTED ConversationEvent_Type = 1 // An existing conversation has closed. This is fired when a telephone call // is terminated, or a conversation is closed via the API. ConversationEvent_CONVERSATION_FINISHED ConversationEvent_Type = 2 // An existing conversation has received notification from Dialogflow that // human intervention is required. ConversationEvent_HUMAN_INTERVENTION_NEEDED ConversationEvent_Type = 3 // An existing conversation has received a new message, either from API or // telephony. It is configured in // [ConversationProfile.new_message_event_notification_config][google.cloud.dialogflow.v2beta1.ConversationProfile.new_message_event_notification_config] ConversationEvent_NEW_MESSAGE ConversationEvent_Type = 5 // An existing conversation has received a new speech recognition result. // This is mainly for delivering intermediate transcripts. The notification // is configured in // [ConversationProfile.new_recognition_event_notification_config][]. ConversationEvent_NEW_RECOGNITION_RESULT ConversationEvent_Type = 7 // Unrecoverable error during a telephone call. // // In general non-recoverable errors only occur if something was // misconfigured in the ConversationProfile corresponding to the call. After // a non-recoverable error, Dialogflow may stop responding. // // We don't fire this event: // // * in an API call because we can directly return the error, or, // * when we can recover from an error. ConversationEvent_UNRECOVERABLE_ERROR ConversationEvent_Type = 4 )
func (ConversationEvent_Type) Descriptor ¶
func (ConversationEvent_Type) Descriptor() protoreflect.EnumDescriptor
func (ConversationEvent_Type) Enum ¶
func (x ConversationEvent_Type) Enum() *ConversationEvent_Type
func (ConversationEvent_Type) EnumDescriptor ¶
func (ConversationEvent_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConversationEvent_Type.Descriptor instead.
func (ConversationEvent_Type) Number ¶
func (x ConversationEvent_Type) Number() protoreflect.EnumNumber
func (ConversationEvent_Type) String ¶
func (x ConversationEvent_Type) String() string
func (ConversationEvent_Type) Type ¶
func (ConversationEvent_Type) Type() protoreflect.EnumType
type ConversationPhoneNumber ¶
type ConversationPhoneNumber struct { // Output only. Desired country code for the phone number. CountryCode int32 `protobuf:"varint,2,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` // Output only. The phone number to connect to this conversation. PhoneNumber string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // contains filtered or unexported fields }
Represents a phone number for telephony integration. It allows for connecting a particular conversation over telephony.
func (*ConversationPhoneNumber) Descriptor ¶
func (*ConversationPhoneNumber) Descriptor() ([]byte, []int)
Deprecated: Use ConversationPhoneNumber.ProtoReflect.Descriptor instead.
func (*ConversationPhoneNumber) GetCountryCode ¶
func (x *ConversationPhoneNumber) GetCountryCode() int32
func (*ConversationPhoneNumber) GetPhoneNumber ¶
func (x *ConversationPhoneNumber) GetPhoneNumber() string
func (*ConversationPhoneNumber) ProtoMessage ¶
func (*ConversationPhoneNumber) ProtoMessage()
func (*ConversationPhoneNumber) ProtoReflect ¶
func (x *ConversationPhoneNumber) ProtoReflect() protoreflect.Message
func (*ConversationPhoneNumber) Reset ¶
func (x *ConversationPhoneNumber) Reset()
func (*ConversationPhoneNumber) String ¶
func (x *ConversationPhoneNumber) String() string
type ConversationProfile ¶
type ConversationProfile struct { // The unique identifier of this conversation profile. // Format: `projects/<Project ID>/locations/<Location // ID>/conversationProfiles/<Conversation Profile ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. Human readable name for this profile. Max length 1024 bytes. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. Create time of the conversation profile. CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Update time of the conversation profile. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Configuration for an automated agent to use with this profile. AutomatedAgentConfig *AutomatedAgentConfig `protobuf:"bytes,3,opt,name=automated_agent_config,json=automatedAgentConfig,proto3" json:"automated_agent_config,omitempty"` // Configuration for agent assistance to use with this profile. HumanAgentAssistantConfig *HumanAgentAssistantConfig `protobuf:"bytes,4,opt,name=human_agent_assistant_config,json=humanAgentAssistantConfig,proto3" json:"human_agent_assistant_config,omitempty"` // Configuration for connecting to a live agent. // // Currently, this feature is not general available, please contact Google // to get access. HumanAgentHandoffConfig *HumanAgentHandoffConfig `protobuf:"bytes,5,opt,name=human_agent_handoff_config,json=humanAgentHandoffConfig,proto3" json:"human_agent_handoff_config,omitempty"` // Configuration for publishing conversation lifecycle events. NotificationConfig *NotificationConfig `protobuf:"bytes,6,opt,name=notification_config,json=notificationConfig,proto3" json:"notification_config,omitempty"` // Configuration for logging conversation lifecycle events. LoggingConfig *LoggingConfig `protobuf:"bytes,7,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"` // Configuration for publishing new message events. Event will be sent in // format of // [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] NewMessageEventNotificationConfig *NotificationConfig `protobuf:"bytes,8,opt,name=new_message_event_notification_config,json=newMessageEventNotificationConfig,proto3" json:"new_message_event_notification_config,omitempty"` // Optional. Configuration for publishing transcription intermediate results. // Event will be sent in format of // [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent]. If // configured, the following information will be populated as // [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] // Pub/Sub message attributes: // - "participant_id" // - "participant_role" // - "message_id" NewRecognitionResultNotificationConfig *NotificationConfig `protobuf:"bytes,21,opt,name=new_recognition_result_notification_config,json=newRecognitionResultNotificationConfig,proto3" json:"new_recognition_result_notification_config,omitempty"` // Settings for speech transcription. SttConfig *SpeechToTextConfig `protobuf:"bytes,9,opt,name=stt_config,json=sttConfig,proto3" json:"stt_config,omitempty"` // Language code for the conversation profile. If not specified, the language // is en-US. Language at ConversationProfile should be set for all non en-us // languages. // This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) // language tag. Example: "en-US". LanguageCode string `protobuf:"bytes,10,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // The time zone of this conversational profile from the // [time zone database](https://www.iana.org/time-zones), e.g., // America/New_York, Europe/Paris. Defaults to America/New_York. TimeZone string `protobuf:"bytes,14,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` // Name of the CX SecuritySettings reference for the agent. // Format: `projects/<Project ID>/locations/<Location // ID>/securitySettings/<Security Settings ID>`. SecuritySettings string `protobuf:"bytes,13,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"` // Configuration for Text-to-Speech synthesization. // // Used by Phone Gateway to specify synthesization options. If agent defines // synthesization options as well, agent settings overrides the option here. TtsConfig *SynthesizeSpeechConfig `protobuf:"bytes,18,opt,name=tts_config,json=ttsConfig,proto3" json:"tts_config,omitempty"` // contains filtered or unexported fields }
Defines the services to connect to incoming Dialogflow conversations.
func (*ConversationProfile) Descriptor ¶
func (*ConversationProfile) Descriptor() ([]byte, []int)
Deprecated: Use ConversationProfile.ProtoReflect.Descriptor instead.
func (*ConversationProfile) GetAutomatedAgentConfig ¶
func (x *ConversationProfile) GetAutomatedAgentConfig() *AutomatedAgentConfig
func (*ConversationProfile) GetCreateTime ¶
func (x *ConversationProfile) GetCreateTime() *timestamppb.Timestamp
func (*ConversationProfile) GetDisplayName ¶
func (x *ConversationProfile) GetDisplayName() string
func (*ConversationProfile) GetHumanAgentAssistantConfig ¶
func (x *ConversationProfile) GetHumanAgentAssistantConfig() *HumanAgentAssistantConfig
func (*ConversationProfile) GetHumanAgentHandoffConfig ¶
func (x *ConversationProfile) GetHumanAgentHandoffConfig() *HumanAgentHandoffConfig
func (*ConversationProfile) GetLanguageCode ¶
func (x *ConversationProfile) GetLanguageCode() string
func (*ConversationProfile) GetLoggingConfig ¶
func (x *ConversationProfile) GetLoggingConfig() *LoggingConfig
func (*ConversationProfile) GetName ¶
func (x *ConversationProfile) GetName() string
func (*ConversationProfile) GetNewMessageEventNotificationConfig ¶
func (x *ConversationProfile) GetNewMessageEventNotificationConfig() *NotificationConfig
func (*ConversationProfile) GetNewRecognitionResultNotificationConfig ¶
func (x *ConversationProfile) GetNewRecognitionResultNotificationConfig() *NotificationConfig
func (*ConversationProfile) GetNotificationConfig ¶
func (x *ConversationProfile) GetNotificationConfig() *NotificationConfig
func (*ConversationProfile) GetSecuritySettings ¶
func (x *ConversationProfile) GetSecuritySettings() string
func (*ConversationProfile) GetSttConfig ¶
func (x *ConversationProfile) GetSttConfig() *SpeechToTextConfig
func (*ConversationProfile) GetTimeZone ¶
func (x *ConversationProfile) GetTimeZone() string
func (*ConversationProfile) GetTtsConfig ¶
func (x *ConversationProfile) GetTtsConfig() *SynthesizeSpeechConfig
func (*ConversationProfile) GetUpdateTime ¶
func (x *ConversationProfile) GetUpdateTime() *timestamppb.Timestamp
func (*ConversationProfile) ProtoMessage ¶
func (*ConversationProfile) ProtoMessage()
func (*ConversationProfile) ProtoReflect ¶
func (x *ConversationProfile) ProtoReflect() protoreflect.Message
func (*ConversationProfile) Reset ¶
func (x *ConversationProfile) Reset()
func (*ConversationProfile) String ¶
func (x *ConversationProfile) String() string
type ConversationProfilesClient ¶
type ConversationProfilesClient interface { // Returns the list of all conversation profiles in the specified project. ListConversationProfiles(ctx context.Context, in *ListConversationProfilesRequest, opts ...grpc.CallOption) (*ListConversationProfilesResponse, error) // Retrieves the specified conversation profile. GetConversationProfile(ctx context.Context, in *GetConversationProfileRequest, opts ...grpc.CallOption) (*ConversationProfile, error) // Creates a conversation profile in the specified project. // // [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] // aren't populated in the response. You can retrieve them via // [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] // API. CreateConversationProfile(ctx context.Context, in *CreateConversationProfileRequest, opts ...grpc.CallOption) (*ConversationProfile, error) // Updates the specified conversation profile. // // [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] // aren't populated in the response. You can retrieve them via // [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] // API. UpdateConversationProfile(ctx context.Context, in *UpdateConversationProfileRequest, opts ...grpc.CallOption) (*ConversationProfile, error) // Deletes the specified conversation profile. DeleteConversationProfile(ctx context.Context, in *DeleteConversationProfileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Adds or updates a suggestion feature in a conversation profile. // If the conversation profile contains the type of suggestion feature for // the participant role, it will update it. Otherwise it will insert the // suggestion feature. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: // [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata] // - `response`: // [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] // // If a long running operation to add or update suggestion feature // config for the same conversation profile, participant role and suggestion // feature type exists, please cancel the existing long running operation // before sending such request, otherwise the request will be rejected. SetSuggestionFeatureConfig(ctx context.Context, in *SetSuggestionFeatureConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Clears a suggestion feature from a conversation profile for the given // participant role. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: // [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata] // - `response`: // [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] ClearSuggestionFeatureConfig(ctx context.Context, in *ClearSuggestionFeatureConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) }
ConversationProfilesClient is the client API for ConversationProfiles service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewConversationProfilesClient ¶
func NewConversationProfilesClient(cc grpc.ClientConnInterface) ConversationProfilesClient
type ConversationProfilesServer ¶
type ConversationProfilesServer interface { // Returns the list of all conversation profiles in the specified project. ListConversationProfiles(context.Context, *ListConversationProfilesRequest) (*ListConversationProfilesResponse, error) // Retrieves the specified conversation profile. GetConversationProfile(context.Context, *GetConversationProfileRequest) (*ConversationProfile, error) // Creates a conversation profile in the specified project. // // [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] // aren't populated in the response. You can retrieve them via // [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] // API. CreateConversationProfile(context.Context, *CreateConversationProfileRequest) (*ConversationProfile, error) // Updates the specified conversation profile. // // [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][] // aren't populated in the response. You can retrieve them via // [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile] // API. UpdateConversationProfile(context.Context, *UpdateConversationProfileRequest) (*ConversationProfile, error) // Deletes the specified conversation profile. DeleteConversationProfile(context.Context, *DeleteConversationProfileRequest) (*emptypb.Empty, error) // Adds or updates a suggestion feature in a conversation profile. // If the conversation profile contains the type of suggestion feature for // the participant role, it will update it. Otherwise it will insert the // suggestion feature. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: // [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata] // - `response`: // [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] // // If a long running operation to add or update suggestion feature // config for the same conversation profile, participant role and suggestion // feature type exists, please cancel the existing long running operation // before sending such request, otherwise the request will be rejected. SetSuggestionFeatureConfig(context.Context, *SetSuggestionFeatureConfigRequest) (*longrunningpb.Operation, error) // Clears a suggestion feature from a conversation profile for the given // participant role. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: // [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata] // - `response`: // [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile] ClearSuggestionFeatureConfig(context.Context, *ClearSuggestionFeatureConfigRequest) (*longrunningpb.Operation, error) }
ConversationProfilesServer is the server API for ConversationProfiles service.
type Conversation_ConversationStage ¶
type Conversation_ConversationStage int32
Enumeration of the different conversation stages a conversation can be in. Reference: https://cloud.google.com/agent-assist/docs/basics#conversation_stages
const ( // Unknown. Should never be used after a conversation is successfully // created. Conversation_CONVERSATION_STAGE_UNSPECIFIED Conversation_ConversationStage = 0 // The conversation should return virtual agent responses into the // conversation. Conversation_VIRTUAL_AGENT_STAGE Conversation_ConversationStage = 1 // The conversation should not provide responses, just listen and provide // suggestions. Conversation_HUMAN_ASSIST_STAGE Conversation_ConversationStage = 2 )
func (Conversation_ConversationStage) Descriptor ¶
func (Conversation_ConversationStage) Descriptor() protoreflect.EnumDescriptor
func (Conversation_ConversationStage) Enum ¶
func (x Conversation_ConversationStage) Enum() *Conversation_ConversationStage
func (Conversation_ConversationStage) EnumDescriptor ¶
func (Conversation_ConversationStage) EnumDescriptor() ([]byte, []int)
Deprecated: Use Conversation_ConversationStage.Descriptor instead.
func (Conversation_ConversationStage) Number ¶
func (x Conversation_ConversationStage) Number() protoreflect.EnumNumber
func (Conversation_ConversationStage) String ¶
func (x Conversation_ConversationStage) String() string
func (Conversation_ConversationStage) Type ¶
func (Conversation_ConversationStage) Type() protoreflect.EnumType
type Conversation_LifecycleState ¶
type Conversation_LifecycleState int32
Enumeration of the completion status of the conversation.
const ( // Unknown. Conversation_LIFECYCLE_STATE_UNSPECIFIED Conversation_LifecycleState = 0 // Conversation is currently open for media analysis. Conversation_IN_PROGRESS Conversation_LifecycleState = 1 // Conversation has been completed. Conversation_COMPLETED Conversation_LifecycleState = 2 )
func (Conversation_LifecycleState) Descriptor ¶
func (Conversation_LifecycleState) Descriptor() protoreflect.EnumDescriptor
func (Conversation_LifecycleState) Enum ¶
func (x Conversation_LifecycleState) Enum() *Conversation_LifecycleState
func (Conversation_LifecycleState) EnumDescriptor ¶
func (Conversation_LifecycleState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Conversation_LifecycleState.Descriptor instead.
func (Conversation_LifecycleState) Number ¶
func (x Conversation_LifecycleState) Number() protoreflect.EnumNumber
func (Conversation_LifecycleState) String ¶
func (x Conversation_LifecycleState) String() string
func (Conversation_LifecycleState) Type ¶
func (Conversation_LifecycleState) Type() protoreflect.EnumType
type Conversation_TelephonyConnectionInfo ¶
type Conversation_TelephonyConnectionInfo struct { // Output only. The number dialed to connect this call in E.164 format. DialedNumber string `protobuf:"bytes,2,opt,name=dialed_number,json=dialedNumber,proto3" json:"dialed_number,omitempty"` // Optional. SDP of the call. It's initially the SDP answer to the endpoint, // but maybe later updated for the purpose of making the link active, etc. Sdp string `protobuf:"bytes,5,opt,name=sdp,proto3" json:"sdp,omitempty"` // Output only. The SIP headers from the initial SIP INVITE. SipHeaders []*Conversation_TelephonyConnectionInfo_SipHeader `protobuf:"bytes,12,rep,name=sip_headers,json=sipHeaders,proto3" json:"sip_headers,omitempty"` // Output only. The mime content from the initial SIP INVITE. ExtraMimeContents []*Conversation_TelephonyConnectionInfo_MimeContent `protobuf:"bytes,13,rep,name=extra_mime_contents,json=extraMimeContents,proto3" json:"extra_mime_contents,omitempty"` // contains filtered or unexported fields }
The information about phone calls connected via phone gateway to the conversation.
func (*Conversation_TelephonyConnectionInfo) Descriptor ¶
func (*Conversation_TelephonyConnectionInfo) Descriptor() ([]byte, []int)
Deprecated: Use Conversation_TelephonyConnectionInfo.ProtoReflect.Descriptor instead.
func (*Conversation_TelephonyConnectionInfo) GetDialedNumber ¶
func (x *Conversation_TelephonyConnectionInfo) GetDialedNumber() string
func (*Conversation_TelephonyConnectionInfo) GetExtraMimeContents ¶
func (x *Conversation_TelephonyConnectionInfo) GetExtraMimeContents() []*Conversation_TelephonyConnectionInfo_MimeContent
func (*Conversation_TelephonyConnectionInfo) GetSdp ¶
func (x *Conversation_TelephonyConnectionInfo) GetSdp() string
func (*Conversation_TelephonyConnectionInfo) GetSipHeaders ¶
func (x *Conversation_TelephonyConnectionInfo) GetSipHeaders() []*Conversation_TelephonyConnectionInfo_SipHeader
func (*Conversation_TelephonyConnectionInfo) ProtoMessage ¶
func (*Conversation_TelephonyConnectionInfo) ProtoMessage()
func (*Conversation_TelephonyConnectionInfo) ProtoReflect ¶
func (x *Conversation_TelephonyConnectionInfo) ProtoReflect() protoreflect.Message
func (*Conversation_TelephonyConnectionInfo) Reset ¶
func (x *Conversation_TelephonyConnectionInfo) Reset()
func (*Conversation_TelephonyConnectionInfo) String ¶
func (x *Conversation_TelephonyConnectionInfo) String() string
type Conversation_TelephonyConnectionInfo_MimeContent ¶
type Conversation_TelephonyConnectionInfo_MimeContent struct { // Optional. The mime type of the content. MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // Optional. The content payload. Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
The mime content from the initial SIP INVITE.
func (*Conversation_TelephonyConnectionInfo_MimeContent) Descriptor ¶
func (*Conversation_TelephonyConnectionInfo_MimeContent) Descriptor() ([]byte, []int)
Deprecated: Use Conversation_TelephonyConnectionInfo_MimeContent.ProtoReflect.Descriptor instead.
func (*Conversation_TelephonyConnectionInfo_MimeContent) GetContent ¶
func (x *Conversation_TelephonyConnectionInfo_MimeContent) GetContent() []byte
func (*Conversation_TelephonyConnectionInfo_MimeContent) GetMimeType ¶
func (x *Conversation_TelephonyConnectionInfo_MimeContent) GetMimeType() string
func (*Conversation_TelephonyConnectionInfo_MimeContent) ProtoMessage ¶
func (*Conversation_TelephonyConnectionInfo_MimeContent) ProtoMessage()
func (*Conversation_TelephonyConnectionInfo_MimeContent) ProtoReflect ¶
func (x *Conversation_TelephonyConnectionInfo_MimeContent) ProtoReflect() protoreflect.Message
func (*Conversation_TelephonyConnectionInfo_MimeContent) Reset ¶
func (x *Conversation_TelephonyConnectionInfo_MimeContent) Reset()
func (*Conversation_TelephonyConnectionInfo_MimeContent) String ¶
func (x *Conversation_TelephonyConnectionInfo_MimeContent) String() string
type Conversation_TelephonyConnectionInfo_SipHeader ¶
type Conversation_TelephonyConnectionInfo_SipHeader struct { // Optional. The name of the header. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The value of the header. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
The SIP headers from the initial SIP INVITE.
func (*Conversation_TelephonyConnectionInfo_SipHeader) Descriptor ¶
func (*Conversation_TelephonyConnectionInfo_SipHeader) Descriptor() ([]byte, []int)
Deprecated: Use Conversation_TelephonyConnectionInfo_SipHeader.ProtoReflect.Descriptor instead.
func (*Conversation_TelephonyConnectionInfo_SipHeader) GetName ¶
func (x *Conversation_TelephonyConnectionInfo_SipHeader) GetName() string
func (*Conversation_TelephonyConnectionInfo_SipHeader) GetValue ¶
func (x *Conversation_TelephonyConnectionInfo_SipHeader) GetValue() string
func (*Conversation_TelephonyConnectionInfo_SipHeader) ProtoMessage ¶
func (*Conversation_TelephonyConnectionInfo_SipHeader) ProtoMessage()
func (*Conversation_TelephonyConnectionInfo_SipHeader) ProtoReflect ¶
func (x *Conversation_TelephonyConnectionInfo_SipHeader) ProtoReflect() protoreflect.Message
func (*Conversation_TelephonyConnectionInfo_SipHeader) Reset ¶
func (x *Conversation_TelephonyConnectionInfo_SipHeader) Reset()
func (*Conversation_TelephonyConnectionInfo_SipHeader) String ¶
func (x *Conversation_TelephonyConnectionInfo_SipHeader) String() string
type ConversationsClient ¶
type ConversationsClient interface { // Creates a new conversation. Conversations are auto-completed after 24 // hours. // // Conversation Lifecycle: // There are two stages during a conversation: Automated Agent Stage and // Assist Stage. // // For Automated Agent Stage, there will be a dialogflow agent responding to // user queries. // // For Assist Stage, there's no dialogflow agent responding to user queries. // But we will provide suggestions which are generated from conversation. // // If // [Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile] // is configured for a dialogflow agent, conversation will start from // `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And // during `Automated Agent Stage`, once an // [Intent][google.cloud.dialogflow.v2beta1.Intent] with // [Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff] // is triggered, conversation will transfer to Assist Stage. CreateConversation(ctx context.Context, in *CreateConversationRequest, opts ...grpc.CallOption) (*Conversation, error) // Returns the list of all conversations in the specified project. ListConversations(ctx context.Context, in *ListConversationsRequest, opts ...grpc.CallOption) (*ListConversationsResponse, error) // Retrieves the specific conversation. GetConversation(ctx context.Context, in *GetConversationRequest, opts ...grpc.CallOption) (*Conversation, error) // Completes the specified conversation. Finished conversations are purged // from the database after 30 days. CompleteConversation(ctx context.Context, in *CompleteConversationRequest, opts ...grpc.CallOption) (*Conversation, error) // Batch ingests messages to conversation. Customers can use this RPC to // ingest historical messages to conversation. BatchCreateMessages(ctx context.Context, in *BatchCreateMessagesRequest, opts ...grpc.CallOption) (*BatchCreateMessagesResponse, error) // Lists messages that belong to a given conversation. // `messages` are ordered by `create_time` in descending order. To fetch // updates without duplication, send request with filter // `create_time_epoch_microseconds > // [first item's create_time of previous request]` and empty page_token. ListMessages(ctx context.Context, in *ListMessagesRequest, opts ...grpc.CallOption) (*ListMessagesResponse, error) // Suggest summary for a conversation based on specific historical messages. // The range of the messages to be used for summary can be specified in the // request. SuggestConversationSummary(ctx context.Context, in *SuggestConversationSummaryRequest, opts ...grpc.CallOption) (*SuggestConversationSummaryResponse, error) // Generates and returns a summary for a conversation that does not have a // resource created for it. GenerateStatelessSummary(ctx context.Context, in *GenerateStatelessSummaryRequest, opts ...grpc.CallOption) (*GenerateStatelessSummaryResponse, error) // Generates and returns a suggestion for a conversation that does not have a // resource created for it. GenerateStatelessSuggestion(ctx context.Context, in *GenerateStatelessSuggestionRequest, opts ...grpc.CallOption) (*GenerateStatelessSuggestionResponse, error) // Get answers for the given query based on knowledge documents. SearchKnowledge(ctx context.Context, in *SearchKnowledgeRequest, opts ...grpc.CallOption) (*SearchKnowledgeResponse, error) }
ConversationsClient is the client API for Conversations service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewConversationsClient ¶
func NewConversationsClient(cc grpc.ClientConnInterface) ConversationsClient
type ConversationsServer ¶
type ConversationsServer interface { // Creates a new conversation. Conversations are auto-completed after 24 // hours. // // Conversation Lifecycle: // There are two stages during a conversation: Automated Agent Stage and // Assist Stage. // // For Automated Agent Stage, there will be a dialogflow agent responding to // user queries. // // For Assist Stage, there's no dialogflow agent responding to user queries. // But we will provide suggestions which are generated from conversation. // // If // [Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile] // is configured for a dialogflow agent, conversation will start from // `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And // during `Automated Agent Stage`, once an // [Intent][google.cloud.dialogflow.v2beta1.Intent] with // [Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff] // is triggered, conversation will transfer to Assist Stage. CreateConversation(context.Context, *CreateConversationRequest) (*Conversation, error) // Returns the list of all conversations in the specified project. ListConversations(context.Context, *ListConversationsRequest) (*ListConversationsResponse, error) // Retrieves the specific conversation. GetConversation(context.Context, *GetConversationRequest) (*Conversation, error) // Completes the specified conversation. Finished conversations are purged // from the database after 30 days. CompleteConversation(context.Context, *CompleteConversationRequest) (*Conversation, error) // Batch ingests messages to conversation. Customers can use this RPC to // ingest historical messages to conversation. BatchCreateMessages(context.Context, *BatchCreateMessagesRequest) (*BatchCreateMessagesResponse, error) // Lists messages that belong to a given conversation. // `messages` are ordered by `create_time` in descending order. To fetch // updates without duplication, send request with filter // `create_time_epoch_microseconds > // [first item's create_time of previous request]` and empty page_token. ListMessages(context.Context, *ListMessagesRequest) (*ListMessagesResponse, error) // Suggest summary for a conversation based on specific historical messages. // The range of the messages to be used for summary can be specified in the // request. SuggestConversationSummary(context.Context, *SuggestConversationSummaryRequest) (*SuggestConversationSummaryResponse, error) // Generates and returns a summary for a conversation that does not have a // resource created for it. GenerateStatelessSummary(context.Context, *GenerateStatelessSummaryRequest) (*GenerateStatelessSummaryResponse, error) // Generates and returns a suggestion for a conversation that does not have a // resource created for it. GenerateStatelessSuggestion(context.Context, *GenerateStatelessSuggestionRequest) (*GenerateStatelessSuggestionResponse, error) // Get answers for the given query based on knowledge documents. SearchKnowledge(context.Context, *SearchKnowledgeRequest) (*SearchKnowledgeResponse, error) }
ConversationsServer is the server API for Conversations service.
type CreateContextRequest ¶
type CreateContextRequest struct { // Required. The session to create a context for. Supported formats: // - `projects/<Project ID>/agent/sessions/<Session ID>, // - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session // ID>`, // - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User // ID>/sessions/<Session ID>`, // - `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session // ID>`, // // If `Location ID` is not specified we assume default 'us' location. If // `Environment ID` is not specified, we assume default 'draft' environment. // If `User ID` is not specified, we assume default '-' user. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The context to create. Context *Context `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
The request message for [Contexts.CreateContext][google.cloud.dialogflow.v2beta1.Contexts.CreateContext].
func (*CreateContextRequest) Descriptor ¶
func (*CreateContextRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateContextRequest.ProtoReflect.Descriptor instead.
func (*CreateContextRequest) GetContext ¶
func (x *CreateContextRequest) GetContext() *Context
func (*CreateContextRequest) GetParent ¶
func (x *CreateContextRequest) GetParent() string
func (*CreateContextRequest) ProtoMessage ¶
func (*CreateContextRequest) ProtoMessage()
func (*CreateContextRequest) ProtoReflect ¶
func (x *CreateContextRequest) ProtoReflect() protoreflect.Message
func (*CreateContextRequest) Reset ¶
func (x *CreateContextRequest) Reset()
func (*CreateContextRequest) String ¶
func (x *CreateContextRequest) String() string
type CreateConversationProfileRequest ¶
type CreateConversationProfileRequest struct { // Required. The project to create a conversation profile for. // Format: `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The conversation profile to create. ConversationProfile *ConversationProfile `protobuf:"bytes,2,opt,name=conversation_profile,json=conversationProfile,proto3" json:"conversation_profile,omitempty"` // contains filtered or unexported fields }
The request message for [ConversationProfiles.CreateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfile].
func (*CreateConversationProfileRequest) Descriptor ¶
func (*CreateConversationProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateConversationProfileRequest.ProtoReflect.Descriptor instead.
func (*CreateConversationProfileRequest) GetConversationProfile ¶
func (x *CreateConversationProfileRequest) GetConversationProfile() *ConversationProfile
func (*CreateConversationProfileRequest) GetParent ¶
func (x *CreateConversationProfileRequest) GetParent() string
func (*CreateConversationProfileRequest) ProtoMessage ¶
func (*CreateConversationProfileRequest) ProtoMessage()
func (*CreateConversationProfileRequest) ProtoReflect ¶
func (x *CreateConversationProfileRequest) ProtoReflect() protoreflect.Message
func (*CreateConversationProfileRequest) Reset ¶
func (x *CreateConversationProfileRequest) Reset()
func (*CreateConversationProfileRequest) String ¶
func (x *CreateConversationProfileRequest) String() string
type CreateConversationRequest ¶
type CreateConversationRequest struct { // Required. Resource identifier of the project creating the conversation. // Format: `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The conversation to create. Conversation *Conversation `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation,omitempty"` // Optional. Identifier of the conversation. Generally it's auto generated by // Google. Only set it if you cannot wait for the response to return a // auto-generated one to you. // // The conversation ID must be compliant with the regression formula // `[a-zA-Z][a-zA-Z0-9_-]*` with the characters length in range of [3,64]. // If the field is provided, the caller is responsible for // 1. the uniqueness of the ID, otherwise the request will be rejected. // 2. the consistency for whether to use custom ID or not under a project to // better ensure uniqueness. ConversationId string `protobuf:"bytes,3,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"` // contains filtered or unexported fields }
The request message for [Conversations.CreateConversation][google.cloud.dialogflow.v2beta1.Conversations.CreateConversation].
func (*CreateConversationRequest) Descriptor ¶
func (*CreateConversationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateConversationRequest.ProtoReflect.Descriptor instead.
func (*CreateConversationRequest) GetConversation ¶
func (x *CreateConversationRequest) GetConversation() *Conversation
func (*CreateConversationRequest) GetConversationId ¶
func (x *CreateConversationRequest) GetConversationId() string
func (*CreateConversationRequest) GetParent ¶
func (x *CreateConversationRequest) GetParent() string
func (*CreateConversationRequest) ProtoMessage ¶
func (*CreateConversationRequest) ProtoMessage()
func (*CreateConversationRequest) ProtoReflect ¶
func (x *CreateConversationRequest) ProtoReflect() protoreflect.Message
func (*CreateConversationRequest) Reset ¶
func (x *CreateConversationRequest) Reset()
func (*CreateConversationRequest) String ¶
func (x *CreateConversationRequest) String() string
type CreateDocumentRequest ¶
type CreateDocumentRequest struct { // Required. The knowledge base to create a document for. // Format: `projects/<Project ID>/locations/<Location // ID>/knowledgeBases/<Knowledge Base ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The document to create. Document *Document `protobuf:"bytes,2,opt,name=document,proto3" json:"document,omitempty"` // Whether to import custom metadata from Google Cloud Storage. // Only valid when the document source is Google Cloud Storage URI. ImportGcsCustomMetadata bool `protobuf:"varint,3,opt,name=import_gcs_custom_metadata,json=importGcsCustomMetadata,proto3" json:"import_gcs_custom_metadata,omitempty"` // contains filtered or unexported fields }
Request message for [Documents.CreateDocument][google.cloud.dialogflow.v2beta1.Documents.CreateDocument].
func (*CreateDocumentRequest) Descriptor ¶
func (*CreateDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDocumentRequest.ProtoReflect.Descriptor instead.
func (*CreateDocumentRequest) GetDocument ¶
func (x *CreateDocumentRequest) GetDocument() *Document
func (*CreateDocumentRequest) GetImportGcsCustomMetadata ¶
func (x *CreateDocumentRequest) GetImportGcsCustomMetadata() bool
func (*CreateDocumentRequest) GetParent ¶
func (x *CreateDocumentRequest) GetParent() string
func (*CreateDocumentRequest) ProtoMessage ¶
func (*CreateDocumentRequest) ProtoMessage()
func (*CreateDocumentRequest) ProtoReflect ¶
func (x *CreateDocumentRequest) ProtoReflect() protoreflect.Message
func (*CreateDocumentRequest) Reset ¶
func (x *CreateDocumentRequest) Reset()
func (*CreateDocumentRequest) String ¶
func (x *CreateDocumentRequest) String() string
type CreateEntityTypeRequest ¶
type CreateEntityTypeRequest struct { // Required. The agent to create a entity type for. // Supported formats: // - `projects/<Project ID>/agent` // - `projects/<Project ID>/locations/<Location ID>/agent` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The entity type to create. EntityType *EntityType `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` // Optional. The language used to access language-specific data. // If not specified, the agent's default language is used. // For more information, see // [Multilingual intent and entity // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.CreateEntityType].
func (*CreateEntityTypeRequest) Descriptor ¶
func (*CreateEntityTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*CreateEntityTypeRequest) GetEntityType ¶
func (x *CreateEntityTypeRequest) GetEntityType() *EntityType
func (*CreateEntityTypeRequest) GetLanguageCode ¶
func (x *CreateEntityTypeRequest) GetLanguageCode() string
func (*CreateEntityTypeRequest) GetParent ¶
func (x *CreateEntityTypeRequest) GetParent() string
func (*CreateEntityTypeRequest) ProtoMessage ¶
func (*CreateEntityTypeRequest) ProtoMessage()
func (*CreateEntityTypeRequest) ProtoReflect ¶
func (x *CreateEntityTypeRequest) ProtoReflect() protoreflect.Message
func (*CreateEntityTypeRequest) Reset ¶
func (x *CreateEntityTypeRequest) Reset()
func (*CreateEntityTypeRequest) String ¶
func (x *CreateEntityTypeRequest) String() string
type CreateEnvironmentRequest ¶
type CreateEnvironmentRequest struct { // Required. The agent to create an environment for. // Supported formats: // - `projects/<Project ID>/agent` // - `projects/<Project ID>/locations/<Location ID>/agent` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The environment to create. Environment *Environment `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"` // Required. The unique id of the new environment. EnvironmentId string `protobuf:"bytes,3,opt,name=environment_id,json=environmentId,proto3" json:"environment_id,omitempty"` // contains filtered or unexported fields }
The request message for [Environments.CreateEnvironment][google.cloud.dialogflow.v2beta1.Environments.CreateEnvironment].
func (*CreateEnvironmentRequest) Descriptor ¶
func (*CreateEnvironmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*CreateEnvironmentRequest) GetEnvironment ¶
func (x *CreateEnvironmentRequest) GetEnvironment() *Environment
func (*CreateEnvironmentRequest) GetEnvironmentId ¶
func (x *CreateEnvironmentRequest) GetEnvironmentId() string
func (*CreateEnvironmentRequest) GetParent ¶
func (x *CreateEnvironmentRequest) GetParent() string
func (*CreateEnvironmentRequest) ProtoMessage ¶
func (*CreateEnvironmentRequest) ProtoMessage()
func (*CreateEnvironmentRequest) ProtoReflect ¶
func (x *CreateEnvironmentRequest) ProtoReflect() protoreflect.Message
func (*CreateEnvironmentRequest) Reset ¶
func (x *CreateEnvironmentRequest) Reset()
func (*CreateEnvironmentRequest) String ¶
func (x *CreateEnvironmentRequest) String() string
type CreateGeneratorRequest ¶
type CreateGeneratorRequest struct { // Required. The project/location to create generator for. Format: // `projects/<Project ID>/locations/<Location ID>` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The generator to create. Generator *Generator `protobuf:"bytes,2,opt,name=generator,proto3" json:"generator,omitempty"` // Optional. The ID to use for the generator, which will become the final // component of the generator's resource name. // // The generator ID must be compliant with the regression formula // `[a-zA-Z][a-zA-Z0-9_-]*` with the characters length in range of [3,64]. // If the field is not provided, an Id will be auto-generated. // If the field is provided, the caller is responsible for // 1. the uniqueness of the ID, otherwise the request will be rejected. // 2. the consistency for whether to use custom ID or not under a project to // better ensure uniqueness. GeneratorId string `protobuf:"bytes,3,opt,name=generator_id,json=generatorId,proto3" json:"generator_id,omitempty"` // contains filtered or unexported fields }
Request message of CreateGenerator.
func (*CreateGeneratorRequest) Descriptor ¶
func (*CreateGeneratorRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGeneratorRequest.ProtoReflect.Descriptor instead.
func (*CreateGeneratorRequest) GetGenerator ¶
func (x *CreateGeneratorRequest) GetGenerator() *Generator
func (*CreateGeneratorRequest) GetGeneratorId ¶
func (x *CreateGeneratorRequest) GetGeneratorId() string
func (*CreateGeneratorRequest) GetParent ¶
func (x *CreateGeneratorRequest) GetParent() string
func (*CreateGeneratorRequest) ProtoMessage ¶
func (*CreateGeneratorRequest) ProtoMessage()
func (*CreateGeneratorRequest) ProtoReflect ¶
func (x *CreateGeneratorRequest) ProtoReflect() protoreflect.Message
func (*CreateGeneratorRequest) Reset ¶
func (x *CreateGeneratorRequest) Reset()
func (*CreateGeneratorRequest) String ¶
func (x *CreateGeneratorRequest) String() string
type CreateIntentRequest ¶
type CreateIntentRequest struct { // Required. The agent to create a intent for. // Supported formats: // // - `projects/<Project ID>/agent` // - `projects/<Project ID>/locations/<Location ID>/agent` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The intent to create. Intent *Intent `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"` // Optional. The language used to access language-specific data. // If not specified, the agent's default language is used. // For more information, see // [Multilingual intent and entity // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Optional. The resource view to apply to the returned intent. IntentView IntentView `protobuf:"varint,4,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"` // contains filtered or unexported fields }
The request message for [Intents.CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent].
func (*CreateIntentRequest) Descriptor ¶
func (*CreateIntentRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIntentRequest.ProtoReflect.Descriptor instead.
func (*CreateIntentRequest) GetIntent ¶
func (x *CreateIntentRequest) GetIntent() *Intent
func (*CreateIntentRequest) GetIntentView ¶
func (x *CreateIntentRequest) GetIntentView() IntentView
func (*CreateIntentRequest) GetLanguageCode ¶
func (x *CreateIntentRequest) GetLanguageCode() string
func (*CreateIntentRequest) GetParent ¶
func (x *CreateIntentRequest) GetParent() string
func (*CreateIntentRequest) ProtoMessage ¶
func (*CreateIntentRequest) ProtoMessage()
func (*CreateIntentRequest) ProtoReflect ¶
func (x *CreateIntentRequest) ProtoReflect() protoreflect.Message
func (*CreateIntentRequest) Reset ¶
func (x *CreateIntentRequest) Reset()
func (*CreateIntentRequest) String ¶
func (x *CreateIntentRequest) String() string
type CreateKnowledgeBaseRequest ¶
type CreateKnowledgeBaseRequest struct { // Required. The project to create a knowledge base for. // Format: `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The knowledge base to create. KnowledgeBase *KnowledgeBase `protobuf:"bytes,2,opt,name=knowledge_base,json=knowledgeBase,proto3" json:"knowledge_base,omitempty"` // contains filtered or unexported fields }
Request message for [KnowledgeBases.CreateKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.CreateKnowledgeBase].
func (*CreateKnowledgeBaseRequest) Descriptor ¶
func (*CreateKnowledgeBaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateKnowledgeBaseRequest.ProtoReflect.Descriptor instead.
func (*CreateKnowledgeBaseRequest) GetKnowledgeBase ¶
func (x *CreateKnowledgeBaseRequest) GetKnowledgeBase() *KnowledgeBase
func (*CreateKnowledgeBaseRequest) GetParent ¶
func (x *CreateKnowledgeBaseRequest) GetParent() string
func (*CreateKnowledgeBaseRequest) ProtoMessage ¶
func (*CreateKnowledgeBaseRequest) ProtoMessage()
func (*CreateKnowledgeBaseRequest) ProtoReflect ¶
func (x *CreateKnowledgeBaseRequest) ProtoReflect() protoreflect.Message
func (*CreateKnowledgeBaseRequest) Reset ¶
func (x *CreateKnowledgeBaseRequest) Reset()
func (*CreateKnowledgeBaseRequest) String ¶
func (x *CreateKnowledgeBaseRequest) String() string
type CreateMessageRequest ¶
type CreateMessageRequest struct { // Required. Resource identifier of the conversation to create message. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The message to create. // [Message.participant][google.cloud.dialogflow.v2beta1.Message.participant] // is required. Message *Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
The request message to create one Message. Currently it is only used in BatchCreateMessagesRequest.
func (*CreateMessageRequest) Descriptor ¶
func (*CreateMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMessageRequest.ProtoReflect.Descriptor instead.
func (*CreateMessageRequest) GetMessage ¶
func (x *CreateMessageRequest) GetMessage() *Message
func (*CreateMessageRequest) GetParent ¶
func (x *CreateMessageRequest) GetParent() string
func (*CreateMessageRequest) ProtoMessage ¶
func (*CreateMessageRequest) ProtoMessage()
func (*CreateMessageRequest) ProtoReflect ¶
func (x *CreateMessageRequest) ProtoReflect() protoreflect.Message
func (*CreateMessageRequest) Reset ¶
func (x *CreateMessageRequest) Reset()
func (*CreateMessageRequest) String ¶
func (x *CreateMessageRequest) String() string
type CreateParticipantRequest ¶
type CreateParticipantRequest struct { // Required. Resource identifier of the conversation adding the participant. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The participant to create. Participant *Participant `protobuf:"bytes,2,opt,name=participant,proto3" json:"participant,omitempty"` // contains filtered or unexported fields }
The request message for [Participants.CreateParticipant][google.cloud.dialogflow.v2beta1.Participants.CreateParticipant].
func (*CreateParticipantRequest) Descriptor ¶
func (*CreateParticipantRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateParticipantRequest.ProtoReflect.Descriptor instead.
func (*CreateParticipantRequest) GetParent ¶
func (x *CreateParticipantRequest) GetParent() string
func (*CreateParticipantRequest) GetParticipant ¶
func (x *CreateParticipantRequest) GetParticipant() *Participant
func (*CreateParticipantRequest) ProtoMessage ¶
func (*CreateParticipantRequest) ProtoMessage()
func (*CreateParticipantRequest) ProtoReflect ¶
func (x *CreateParticipantRequest) ProtoReflect() protoreflect.Message
func (*CreateParticipantRequest) Reset ¶
func (x *CreateParticipantRequest) Reset()
func (*CreateParticipantRequest) String ¶
func (x *CreateParticipantRequest) String() string
type CreateSessionEntityTypeRequest ¶
type CreateSessionEntityTypeRequest struct { // Required. The session to create a session entity type for. // Supported formats: // - `projects/<Project ID>/agent/sessions/<Session ID>, // - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session // ID>`, // - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User // ID>/sessions/<Session ID>`, // - `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session // ID>`, // // If `Location ID` is not specified we assume default 'us' location. If // `Environment ID` is not specified, we assume default 'draft' environment. // If `User ID` is not specified, we assume default '-' user. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The session entity type to create. SessionEntityType *SessionEntityType `protobuf:"bytes,2,opt,name=session_entity_type,json=sessionEntityType,proto3" json:"session_entity_type,omitempty"` // contains filtered or unexported fields }
The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType].
func (*CreateSessionEntityTypeRequest) Descriptor ¶
func (*CreateSessionEntityTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSessionEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*CreateSessionEntityTypeRequest) GetParent ¶
func (x *CreateSessionEntityTypeRequest) GetParent() string
func (*CreateSessionEntityTypeRequest) GetSessionEntityType ¶
func (x *CreateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType
func (*CreateSessionEntityTypeRequest) ProtoMessage ¶
func (*CreateSessionEntityTypeRequest) ProtoMessage()
func (*CreateSessionEntityTypeRequest) ProtoReflect ¶
func (x *CreateSessionEntityTypeRequest) ProtoReflect() protoreflect.Message
func (*CreateSessionEntityTypeRequest) Reset ¶
func (x *CreateSessionEntityTypeRequest) Reset()
func (*CreateSessionEntityTypeRequest) String ¶
func (x *CreateSessionEntityTypeRequest) String() string
type CreateSipTrunkRequest ¶
type CreateSipTrunkRequest struct { // Required. The location to create a SIP trunk for. // Format: `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The SIP trunk to create. SipTrunk *SipTrunk `protobuf:"bytes,2,opt,name=sip_trunk,json=sipTrunk,proto3" json:"sip_trunk,omitempty"` // contains filtered or unexported fields }
The request message for [SipTrunks.CreateSipTrunk][google.cloud.dialogflow.v2beta1.SipTrunks.CreateSipTrunk].
func (*CreateSipTrunkRequest) Descriptor ¶
func (*CreateSipTrunkRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSipTrunkRequest.ProtoReflect.Descriptor instead.
func (*CreateSipTrunkRequest) GetParent ¶
func (x *CreateSipTrunkRequest) GetParent() string
func (*CreateSipTrunkRequest) GetSipTrunk ¶
func (x *CreateSipTrunkRequest) GetSipTrunk() *SipTrunk
func (*CreateSipTrunkRequest) ProtoMessage ¶
func (*CreateSipTrunkRequest) ProtoMessage()
func (*CreateSipTrunkRequest) ProtoReflect ¶
func (x *CreateSipTrunkRequest) ProtoReflect() protoreflect.Message
func (*CreateSipTrunkRequest) Reset ¶
func (x *CreateSipTrunkRequest) Reset()
func (*CreateSipTrunkRequest) String ¶
func (x *CreateSipTrunkRequest) String() string
type CreateVersionRequest ¶
type CreateVersionRequest struct { // Required. The agent to create a version for. // Supported formats: // - `projects/<Project ID>/agent` // - `projects/<Project ID>/locations/<Location ID>/agent` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The version to create. Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
The request message for [Versions.CreateVersion][google.cloud.dialogflow.v2beta1.Versions.CreateVersion].
func (*CreateVersionRequest) Descriptor ¶
func (*CreateVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVersionRequest.ProtoReflect.Descriptor instead.
func (*CreateVersionRequest) GetParent ¶
func (x *CreateVersionRequest) GetParent() string
func (*CreateVersionRequest) GetVersion ¶
func (x *CreateVersionRequest) GetVersion() *Version
func (*CreateVersionRequest) ProtoMessage ¶
func (*CreateVersionRequest) ProtoMessage()
func (*CreateVersionRequest) ProtoReflect ¶
func (x *CreateVersionRequest) ProtoReflect() protoreflect.Message
func (*CreateVersionRequest) Reset ¶
func (x *CreateVersionRequest) Reset()
func (*CreateVersionRequest) String ¶
func (x *CreateVersionRequest) String() string
type DeleteAgentRequest ¶
type DeleteAgentRequest struct { // Required. The project that the agent to delete is associated with. // Format: `projects/<Project ID>` or // // `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
The request message for [Agents.DeleteAgent][google.cloud.dialogflow.v2beta1.Agents.DeleteAgent].
func (*DeleteAgentRequest) Descriptor ¶
func (*DeleteAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAgentRequest.ProtoReflect.Descriptor instead.
func (*DeleteAgentRequest) GetParent ¶
func (x *DeleteAgentRequest) GetParent() string
func (*DeleteAgentRequest) ProtoMessage ¶
func (*DeleteAgentRequest) ProtoMessage()
func (*DeleteAgentRequest) ProtoReflect ¶
func (x *DeleteAgentRequest) ProtoReflect() protoreflect.Message
func (*DeleteAgentRequest) Reset ¶
func (x *DeleteAgentRequest) Reset()
func (*DeleteAgentRequest) String ¶
func (x *DeleteAgentRequest) String() string
type DeleteAllContextsRequest ¶
type DeleteAllContextsRequest struct { // Required. The name of the session to delete all contexts from. Supported // formats: // - `projects/<Project ID>/agent/sessions/<Session ID>, // - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session // ID>`, // - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User // ID>/sessions/<Session ID>`, // - `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session // ID>`, // // If `Location ID` is not specified we assume default 'us' location. If // `Environment ID` is not specified we assume default 'draft' environment. If // `User ID` is not specified, we assume default '-' user. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
The request message for [Contexts.DeleteAllContexts][google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts].
func (*DeleteAllContextsRequest) Descriptor ¶
func (*DeleteAllContextsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAllContextsRequest.ProtoReflect.Descriptor instead.
func (*DeleteAllContextsRequest) GetParent ¶
func (x *DeleteAllContextsRequest) GetParent() string
func (*DeleteAllContextsRequest) ProtoMessage ¶
func (*DeleteAllContextsRequest) ProtoMessage()
func (*DeleteAllContextsRequest) ProtoReflect ¶
func (x *DeleteAllContextsRequest) ProtoReflect() protoreflect.Message
func (*DeleteAllContextsRequest) Reset ¶
func (x *DeleteAllContextsRequest) Reset()
func (*DeleteAllContextsRequest) String ¶
func (x *DeleteAllContextsRequest) String() string
type DeleteContextRequest ¶
type DeleteContextRequest struct { // Required. The name of the context to delete. Supported formats: // - `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context // ID>`, // - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session // ID>/contexts/<Context ID>`, // - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User // ID>/sessions/<Session ID>/contexts/<Context ID>`, // - `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session // ID>/contexts/<Context ID>`, // // If `Location ID` is not specified we assume default 'us' location. If // `Environment ID` is not specified, we assume default 'draft' environment. // If `User ID` is not specified, we assume default '-' user. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Contexts.DeleteContext][google.cloud.dialogflow.v2beta1.Contexts.DeleteContext].
func (*DeleteContextRequest) Descriptor ¶
func (*DeleteContextRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteContextRequest.ProtoReflect.Descriptor instead.
func (*DeleteContextRequest) GetName ¶
func (x *DeleteContextRequest) GetName() string
func (*DeleteContextRequest) ProtoMessage ¶
func (*DeleteContextRequest) ProtoMessage()
func (*DeleteContextRequest) ProtoReflect ¶
func (x *DeleteContextRequest) ProtoReflect() protoreflect.Message
func (*DeleteContextRequest) Reset ¶
func (x *DeleteContextRequest) Reset()
func (*DeleteContextRequest) String ¶
func (x *DeleteContextRequest) String() string
type DeleteConversationProfileRequest ¶
type DeleteConversationProfileRequest struct { // Required. The name of the conversation profile to delete. // Format: `projects/<Project ID>/locations/<Location // ID>/conversationProfiles/<Conversation Profile ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [ConversationProfiles.DeleteConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile].
This operation fails if the conversation profile is still referenced from a phone number.
func (*DeleteConversationProfileRequest) Descriptor ¶
func (*DeleteConversationProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteConversationProfileRequest.ProtoReflect.Descriptor instead.
func (*DeleteConversationProfileRequest) GetName ¶
func (x *DeleteConversationProfileRequest) GetName() string
func (*DeleteConversationProfileRequest) ProtoMessage ¶
func (*DeleteConversationProfileRequest) ProtoMessage()
func (*DeleteConversationProfileRequest) ProtoReflect ¶
func (x *DeleteConversationProfileRequest) ProtoReflect() protoreflect.Message
func (*DeleteConversationProfileRequest) Reset ¶
func (x *DeleteConversationProfileRequest) Reset()
func (*DeleteConversationProfileRequest) String ¶
func (x *DeleteConversationProfileRequest) String() string
type DeleteDocumentRequest ¶
type DeleteDocumentRequest struct { // Required. The name of the document to delete. // Format: `projects/<Project ID>/locations/<Location // ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for [Documents.DeleteDocument][google.cloud.dialogflow.v2beta1.Documents.DeleteDocument].
func (*DeleteDocumentRequest) Descriptor ¶
func (*DeleteDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDocumentRequest.ProtoReflect.Descriptor instead.
func (*DeleteDocumentRequest) GetName ¶
func (x *DeleteDocumentRequest) GetName() string
func (*DeleteDocumentRequest) ProtoMessage ¶
func (*DeleteDocumentRequest) ProtoMessage()
func (*DeleteDocumentRequest) ProtoReflect ¶
func (x *DeleteDocumentRequest) ProtoReflect() protoreflect.Message
func (*DeleteDocumentRequest) Reset ¶
func (x *DeleteDocumentRequest) Reset()
func (*DeleteDocumentRequest) String ¶
func (x *DeleteDocumentRequest) String() string
type DeleteEntityTypeRequest ¶
type DeleteEntityTypeRequest struct { // Required. The name of the entity type to delete. // Supported formats: // - `projects/<Project ID>/agent/entityTypes/<Entity Type ID>` // - `projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity // Type ID>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.DeleteEntityType].
func (*DeleteEntityTypeRequest) Descriptor ¶
func (*DeleteEntityTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*DeleteEntityTypeRequest) GetName ¶
func (x *DeleteEntityTypeRequest) GetName() string
func (*DeleteEntityTypeRequest) ProtoMessage ¶
func (*DeleteEntityTypeRequest) ProtoMessage()
func (*DeleteEntityTypeRequest) ProtoReflect ¶
func (x *DeleteEntityTypeRequest) ProtoReflect() protoreflect.Message
func (*DeleteEntityTypeRequest) Reset ¶
func (x *DeleteEntityTypeRequest) Reset()
func (*DeleteEntityTypeRequest) String ¶
func (x *DeleteEntityTypeRequest) String() string
type DeleteEnvironmentRequest ¶
type DeleteEnvironmentRequest struct { // Required. The name of the environment to delete. // / Format: // - `projects/<Project ID>/agent/environments/<Environment ID>` // - `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Environments.DeleteEnvironment][google.cloud.dialogflow.v2beta1.Environments.DeleteEnvironment].
func (*DeleteEnvironmentRequest) Descriptor ¶
func (*DeleteEnvironmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*DeleteEnvironmentRequest) GetName ¶
func (x *DeleteEnvironmentRequest) GetName() string
func (*DeleteEnvironmentRequest) ProtoMessage ¶
func (*DeleteEnvironmentRequest) ProtoMessage()
func (*DeleteEnvironmentRequest) ProtoReflect ¶
func (x *DeleteEnvironmentRequest) ProtoReflect() protoreflect.Message
func (*DeleteEnvironmentRequest) Reset ¶
func (x *DeleteEnvironmentRequest) Reset()
func (*DeleteEnvironmentRequest) String ¶
func (x *DeleteEnvironmentRequest) String() string
type DeleteGeneratorRequest ¶
type DeleteGeneratorRequest struct { // Required. The generator resource name to delete. Format: // `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request of DeleteGenerator.
func (*DeleteGeneratorRequest) Descriptor ¶
func (*DeleteGeneratorRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGeneratorRequest.ProtoReflect.Descriptor instead.
func (*DeleteGeneratorRequest) GetName ¶
func (x *DeleteGeneratorRequest) GetName() string
func (*DeleteGeneratorRequest) ProtoMessage ¶
func (*DeleteGeneratorRequest) ProtoMessage()
func (*DeleteGeneratorRequest) ProtoReflect ¶
func (x *DeleteGeneratorRequest) ProtoReflect() protoreflect.Message
func (*DeleteGeneratorRequest) Reset ¶
func (x *DeleteGeneratorRequest) Reset()
func (*DeleteGeneratorRequest) String ¶
func (x *DeleteGeneratorRequest) String() string
type DeleteIntentRequest ¶
type DeleteIntentRequest struct { // Required. The name of the intent to delete. If this intent has direct or // indirect followup intents, we also delete them. // // Supported formats: // // - `projects/<Project ID>/agent/intents/<Intent ID>` // - `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Intents.DeleteIntent][google.cloud.dialogflow.v2beta1.Intents.DeleteIntent].
func (*DeleteIntentRequest) Descriptor ¶
func (*DeleteIntentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIntentRequest.ProtoReflect.Descriptor instead.
func (*DeleteIntentRequest) GetName ¶
func (x *DeleteIntentRequest) GetName() string
func (*DeleteIntentRequest) ProtoMessage ¶
func (*DeleteIntentRequest) ProtoMessage()
func (*DeleteIntentRequest) ProtoReflect ¶
func (x *DeleteIntentRequest) ProtoReflect() protoreflect.Message
func (*DeleteIntentRequest) Reset ¶
func (x *DeleteIntentRequest) Reset()
func (*DeleteIntentRequest) String ¶
func (x *DeleteIntentRequest) String() string
type DeleteKnowledgeBaseRequest ¶
type DeleteKnowledgeBaseRequest struct { // Required. The name of the knowledge base to delete. // Format: `projects/<Project ID>/locations/<Location // ID>/knowledgeBases/<Knowledge Base ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. Force deletes the knowledge base. When set to true, any documents // in the knowledge base are also deleted. Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` // contains filtered or unexported fields }
Request message for [KnowledgeBases.DeleteKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase].
func (*DeleteKnowledgeBaseRequest) Descriptor ¶
func (*DeleteKnowledgeBaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteKnowledgeBaseRequest.ProtoReflect.Descriptor instead.
func (*DeleteKnowledgeBaseRequest) GetForce ¶
func (x *DeleteKnowledgeBaseRequest) GetForce() bool
func (*DeleteKnowledgeBaseRequest) GetName ¶
func (x *DeleteKnowledgeBaseRequest) GetName() string
func (*DeleteKnowledgeBaseRequest) ProtoMessage ¶
func (*DeleteKnowledgeBaseRequest) ProtoMessage()
func (*DeleteKnowledgeBaseRequest) ProtoReflect ¶
func (x *DeleteKnowledgeBaseRequest) ProtoReflect() protoreflect.Message
func (*DeleteKnowledgeBaseRequest) Reset ¶
func (x *DeleteKnowledgeBaseRequest) Reset()
func (*DeleteKnowledgeBaseRequest) String ¶
func (x *DeleteKnowledgeBaseRequest) String() string
type DeletePhoneNumberRequest ¶
type DeletePhoneNumberRequest struct { // Required. The unique identifier of the `PhoneNumber` to delete. // Format: `projects/<Project ID>/phoneNumbers/<PhoneNumber ID>`. // Format: `projects/<Project ID>/locations/<Location // ID>/phoneNumbers/<PhoneNumber ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [PhoneNumbers.DeletePhoneNumber][google.cloud.dialogflow.v2beta1.PhoneNumbers.DeletePhoneNumber].
func (*DeletePhoneNumberRequest) Descriptor ¶
func (*DeletePhoneNumberRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePhoneNumberRequest.ProtoReflect.Descriptor instead.
func (*DeletePhoneNumberRequest) GetName ¶
func (x *DeletePhoneNumberRequest) GetName() string
func (*DeletePhoneNumberRequest) ProtoMessage ¶
func (*DeletePhoneNumberRequest) ProtoMessage()
func (*DeletePhoneNumberRequest) ProtoReflect ¶
func (x *DeletePhoneNumberRequest) ProtoReflect() protoreflect.Message
func (*DeletePhoneNumberRequest) Reset ¶
func (x *DeletePhoneNumberRequest) Reset()
func (*DeletePhoneNumberRequest) String ¶
func (x *DeletePhoneNumberRequest) String() string
type DeleteSessionEntityTypeRequest ¶
type DeleteSessionEntityTypeRequest struct { // Required. The name of the entity type to delete. // Supported formats: // - `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity // Type Display Name>` // - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session // ID>/entityTypes/<Entity Type Display Name>` // - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User // ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>` // - `projects/<Project ID>/locations/<Location ID>/agent/environments/ // <Environment ID>/users/<User ID>/sessions/<Session // ID>/entityTypes/<Entity Type Display Name>` // // If `Location ID` is not specified we assume default 'us' location. If // `Environment ID` is not specified, we assume default 'draft' environment. // If `User ID` is not specified, we assume default '-' user. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType].
func (*DeleteSessionEntityTypeRequest) Descriptor ¶
func (*DeleteSessionEntityTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSessionEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*DeleteSessionEntityTypeRequest) GetName ¶
func (x *DeleteSessionEntityTypeRequest) GetName() string
func (*DeleteSessionEntityTypeRequest) ProtoMessage ¶
func (*DeleteSessionEntityTypeRequest) ProtoMessage()
func (*DeleteSessionEntityTypeRequest) ProtoReflect ¶
func (x *DeleteSessionEntityTypeRequest) ProtoReflect() protoreflect.Message
func (*DeleteSessionEntityTypeRequest) Reset ¶
func (x *DeleteSessionEntityTypeRequest) Reset()
func (*DeleteSessionEntityTypeRequest) String ¶
func (x *DeleteSessionEntityTypeRequest) String() string
type DeleteSipTrunkRequest ¶
type DeleteSipTrunkRequest struct { // Required. The name of the SIP trunk to delete. // Format: `projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk // ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [SipTrunks.DeleteSipTrunk][google.cloud.dialogflow.v2beta1.SipTrunks.DeleteSipTrunk].
func (*DeleteSipTrunkRequest) Descriptor ¶
func (*DeleteSipTrunkRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSipTrunkRequest.ProtoReflect.Descriptor instead.
func (*DeleteSipTrunkRequest) GetName ¶
func (x *DeleteSipTrunkRequest) GetName() string
func (*DeleteSipTrunkRequest) ProtoMessage ¶
func (*DeleteSipTrunkRequest) ProtoMessage()
func (*DeleteSipTrunkRequest) ProtoReflect ¶
func (x *DeleteSipTrunkRequest) ProtoReflect() protoreflect.Message
func (*DeleteSipTrunkRequest) Reset ¶
func (x *DeleteSipTrunkRequest) Reset()
func (*DeleteSipTrunkRequest) String ¶
func (x *DeleteSipTrunkRequest) String() string
type DeleteVersionRequest ¶
type DeleteVersionRequest struct { // Required. The name of the version to delete. // Supported formats: // - `projects/<Project ID>/agent/versions/<Version ID>` // - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version // ID>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Versions.DeleteVersion][google.cloud.dialogflow.v2beta1.Versions.DeleteVersion].
func (*DeleteVersionRequest) Descriptor ¶
func (*DeleteVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.
func (*DeleteVersionRequest) GetName ¶
func (x *DeleteVersionRequest) GetName() string
func (*DeleteVersionRequest) ProtoMessage ¶
func (*DeleteVersionRequest) ProtoMessage()
func (*DeleteVersionRequest) ProtoReflect ¶
func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message
func (*DeleteVersionRequest) Reset ¶
func (x *DeleteVersionRequest) Reset()
func (*DeleteVersionRequest) String ¶
func (x *DeleteVersionRequest) String() string
type DetectIntentRequest ¶
type DetectIntentRequest struct { // Required. The name of the session this query is sent to. Supported formats: // - `projects/<Project ID>/agent/sessions/<Session ID>, // - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session // ID>`, // - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User // ID>/sessions/<Session ID>`, // - `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session // ID>`, // // If `Location ID` is not specified we assume default 'us' location. If // `Environment ID` is not specified, we assume default 'draft' environment // (`Environment ID` might be referred to as environment name at some places). // If `User ID` is not specified, we are using "-". It's up to the API caller // to choose an appropriate `Session ID` and `User Id`. They can be a random // number or some type of user and session identifiers (preferably hashed). // The length of the `Session ID` and `User ID` must not exceed 36 characters. // For more information, see the [API interactions // guide](https://cloud.google.com/dialogflow/docs/api-overview). // // Note: Always use agent versions for production traffic. // See [Versions and // environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // The parameters of this query. QueryParams *QueryParameters `protobuf:"bytes,2,opt,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"` // Required. The input specification. It can be set to: // // 1. an audio config which instructs the speech recognizer how to process // the speech audio, // // 2. a conversational query in the form of text, or // // 3. an event that specifies which intent to trigger. QueryInput *QueryInput `protobuf:"bytes,3,opt,name=query_input,json=queryInput,proto3" json:"query_input,omitempty"` // Instructs the speech synthesizer how to generate the output // audio. If this field is not set and agent-level speech synthesizer is not // configured, no output audio is generated. OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,4,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` // Mask for // [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] // indicating which settings in this request-level config should override // speech synthesizer settings defined at agent-level. // // If unspecified or empty, // [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] // replaces the agent-level config in its entirety. OutputAudioConfigMask *fieldmaskpb.FieldMask `protobuf:"bytes,7,opt,name=output_audio_config_mask,json=outputAudioConfigMask,proto3" json:"output_audio_config_mask,omitempty"` // The natural language speech audio to be processed. This field // should be populated iff `query_input` is set to an input audio config. // A single request can contain up to 1 minute of speech audio data. InputAudio []byte `protobuf:"bytes,5,opt,name=input_audio,json=inputAudio,proto3" json:"input_audio,omitempty"` // contains filtered or unexported fields }
The request to detect user's intent.
func (*DetectIntentRequest) Descriptor ¶
func (*DetectIntentRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetectIntentRequest.ProtoReflect.Descriptor instead.
func (*DetectIntentRequest) GetInputAudio ¶
func (x *DetectIntentRequest) GetInputAudio() []byte
func (*DetectIntentRequest) GetOutputAudioConfig ¶
func (x *DetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig
func (*DetectIntentRequest) GetOutputAudioConfigMask ¶
func (x *DetectIntentRequest) GetOutputAudioConfigMask() *fieldmaskpb.FieldMask
func (*DetectIntentRequest) GetQueryInput ¶
func (x *DetectIntentRequest) GetQueryInput() *QueryInput
func (*DetectIntentRequest) GetQueryParams ¶
func (x *DetectIntentRequest) GetQueryParams() *QueryParameters
func (*DetectIntentRequest) GetSession ¶
func (x *DetectIntentRequest) GetSession() string
func (*DetectIntentRequest) ProtoMessage ¶
func (*DetectIntentRequest) ProtoMessage()
func (*DetectIntentRequest) ProtoReflect ¶
func (x *DetectIntentRequest) ProtoReflect() protoreflect.Message
func (*DetectIntentRequest) Reset ¶
func (x *DetectIntentRequest) Reset()
func (*DetectIntentRequest) String ¶
func (x *DetectIntentRequest) String() string
type DetectIntentResponse ¶
type DetectIntentResponse struct { // The unique identifier of the response. It can be used to // locate a response in the training example set or for reporting issues. ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"` // The selected results of the conversational query or event processing. // See `alternative_query_results` for additional potential results. QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"` // If Knowledge Connectors are enabled, there could be more than one result // returned for a given query or event, and this field will contain all // results except for the top one, which is captured in query_result. The // alternative results are ordered by decreasing // `QueryResult.intent_detection_confidence`. If Knowledge Connectors are // disabled, this field will be empty until multiple responses for regular // intents are supported, at which point those additional results will be // surfaced here. AlternativeQueryResults []*QueryResult `protobuf:"bytes,5,rep,name=alternative_query_results,json=alternativeQueryResults,proto3" json:"alternative_query_results,omitempty"` // Specifies the status of the webhook request. WebhookStatus *status.Status `protobuf:"bytes,3,opt,name=webhook_status,json=webhookStatus,proto3" json:"webhook_status,omitempty"` // The audio data bytes encoded as specified in the request. // Note: The output audio is generated based on the values of default platform // text responses found in the `query_result.fulfillment_messages` field. If // multiple default text responses exist, they will be concatenated when // generating audio. If no default platform text responses exist, the // generated audio content will be empty. // // In some scenarios, multiple output audio fields may be present in the // response structure. In these cases, only the top-most-level audio output // has content. OutputAudio []byte `protobuf:"bytes,4,opt,name=output_audio,json=outputAudio,proto3" json:"output_audio,omitempty"` // The config used by the speech synthesizer to generate the output audio. OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,6,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` // contains filtered or unexported fields }
The message returned from the DetectIntent method.
func (*DetectIntentResponse) Descriptor ¶
func (*DetectIntentResponse) Descriptor() ([]byte, []int)
Deprecated: Use DetectIntentResponse.ProtoReflect.Descriptor instead.
func (*DetectIntentResponse) GetAlternativeQueryResults ¶
func (x *DetectIntentResponse) GetAlternativeQueryResults() []*QueryResult
func (*DetectIntentResponse) GetOutputAudio ¶
func (x *DetectIntentResponse) GetOutputAudio() []byte
func (*DetectIntentResponse) GetOutputAudioConfig ¶
func (x *DetectIntentResponse) GetOutputAudioConfig() *OutputAudioConfig
func (*DetectIntentResponse) GetQueryResult ¶
func (x *DetectIntentResponse) GetQueryResult() *QueryResult
func (*DetectIntentResponse) GetResponseId ¶
func (x *DetectIntentResponse) GetResponseId() string
func (*DetectIntentResponse) GetWebhookStatus ¶
func (x *DetectIntentResponse) GetWebhookStatus() *status.Status
func (*DetectIntentResponse) ProtoMessage ¶
func (*DetectIntentResponse) ProtoMessage()
func (*DetectIntentResponse) ProtoReflect ¶
func (x *DetectIntentResponse) ProtoReflect() protoreflect.Message
func (*DetectIntentResponse) Reset ¶
func (x *DetectIntentResponse) Reset()
func (*DetectIntentResponse) String ¶
func (x *DetectIntentResponse) String() string
type DialogflowAssistAnswer ¶
type DialogflowAssistAnswer struct { // Result from DetectIntent for one matched intent. // // Types that are assignable to Result: // // *DialogflowAssistAnswer_QueryResult // *DialogflowAssistAnswer_IntentSuggestion Result isDialogflowAssistAnswer_Result `protobuf_oneof:"result"` // The name of answer record, in the format of // "projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record // ID>" AnswerRecord string `protobuf:"bytes,2,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"` // contains filtered or unexported fields }
Represents a Dialogflow assist answer.
func (*DialogflowAssistAnswer) Descriptor ¶
func (*DialogflowAssistAnswer) Descriptor() ([]byte, []int)
Deprecated: Use DialogflowAssistAnswer.ProtoReflect.Descriptor instead.
func (*DialogflowAssistAnswer) GetAnswerRecord ¶
func (x *DialogflowAssistAnswer) GetAnswerRecord() string
func (*DialogflowAssistAnswer) GetIntentSuggestion ¶
func (x *DialogflowAssistAnswer) GetIntentSuggestion() *IntentSuggestion
func (*DialogflowAssistAnswer) GetQueryResult ¶
func (x *DialogflowAssistAnswer) GetQueryResult() *QueryResult
func (*DialogflowAssistAnswer) GetResult ¶
func (m *DialogflowAssistAnswer) GetResult() isDialogflowAssistAnswer_Result
func (*DialogflowAssistAnswer) ProtoMessage ¶
func (*DialogflowAssistAnswer) ProtoMessage()
func (*DialogflowAssistAnswer) ProtoReflect ¶
func (x *DialogflowAssistAnswer) ProtoReflect() protoreflect.Message
func (*DialogflowAssistAnswer) Reset ¶
func (x *DialogflowAssistAnswer) Reset()
func (*DialogflowAssistAnswer) String ¶
func (x *DialogflowAssistAnswer) String() string
type DialogflowAssistAnswer_IntentSuggestion ¶
type DialogflowAssistAnswer_IntentSuggestion struct { // An intent suggestion generated from conversation. IntentSuggestion *IntentSuggestion `protobuf:"bytes,5,opt,name=intent_suggestion,json=intentSuggestion,proto3,oneof"` }
type DialogflowAssistAnswer_QueryResult ¶
type DialogflowAssistAnswer_QueryResult struct { // Result from v2 agent. QueryResult *QueryResult `protobuf:"bytes,1,opt,name=query_result,json=queryResult,proto3,oneof"` }
type Document ¶
type Document struct { // Optional. The document resource name. // The name must be empty when creating a document. // Format: `projects/<Project ID>/locations/<Location // ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The display name of the document. The name must be 1024 bytes or // less; otherwise, the creation request fails. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Required. The MIME type of this document. MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // Required. The knowledge type of document content. KnowledgeTypes []Document_KnowledgeType `protobuf:"varint,4,rep,packed,name=knowledge_types,json=knowledgeTypes,proto3,enum=google.cloud.dialogflow.v2beta1.Document_KnowledgeType" json:"knowledge_types,omitempty"` // The source of this document. // // Types that are assignable to Source: // // *Document_ContentUri // *Document_Content // *Document_RawContent Source isDocument_Source `protobuf_oneof:"source"` // Optional. If true, we try to automatically reload the document every day // (at a time picked by the system). If false or unspecified, we don't try // to automatically reload the document. // // Currently you can only enable automatic reload for documents sourced from // a public url, see `source` field for the source types. // // Reload status can be tracked in `latest_reload_status`. If a reload // fails, we will keep the document unchanged. // // If a reload fails with internal errors, the system will try to reload the // document on the next day. // If a reload fails with non-retriable errors (e.g. PERMISSION_DENIED), the // system will not try to reload the document anymore. You need to manually // reload the document successfully by calling `ReloadDocument` and clear the // errors. EnableAutoReload bool `protobuf:"varint,11,opt,name=enable_auto_reload,json=enableAutoReload,proto3" json:"enable_auto_reload,omitempty"` // Output only. The time and status of the latest reload. // This reload may have been triggered automatically or manually // and may not have succeeded. LatestReloadStatus *Document_ReloadStatus `protobuf:"bytes,12,opt,name=latest_reload_status,json=latestReloadStatus,proto3" json:"latest_reload_status,omitempty"` // Optional. Metadata for the document. The metadata supports arbitrary // key-value pairs. Suggested use cases include storing a document's title, // an external URL distinct from the document's content_uri, etc. // The max size of a `key` or a `value` of the metadata is 1024 bytes. Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. The current state of the document. State Document_State `protobuf:"varint,13,opt,name=state,proto3,enum=google.cloud.dialogflow.v2beta1.Document_State" json:"state,omitempty"` // contains filtered or unexported fields }
A knowledge document to be used by a KnowledgeBase[google.cloud.dialogflow.v2beta1.KnowledgeBase].
For more information, see the [knowledge base guide](https://cloud.google.com/dialogflow/docs/how/knowledge-bases).
Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
func (*Document) Descriptor ¶
Deprecated: Use Document.ProtoReflect.Descriptor instead.
func (*Document) GetContent ¶
Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/document.proto.
func (*Document) GetContentUri ¶
func (*Document) GetDisplayName ¶
func (*Document) GetEnableAutoReload ¶
func (*Document) GetKnowledgeTypes ¶
func (x *Document) GetKnowledgeTypes() []Document_KnowledgeType
func (*Document) GetLatestReloadStatus ¶
func (x *Document) GetLatestReloadStatus() *Document_ReloadStatus
func (*Document) GetMetadata ¶
func (*Document) GetMimeType ¶
func (*Document) GetName ¶
func (*Document) GetRawContent ¶
func (*Document) GetSource ¶
func (m *Document) GetSource() isDocument_Source
func (*Document) GetState ¶
func (x *Document) GetState() Document_State
func (*Document) ProtoMessage ¶
func (*Document) ProtoMessage()
func (*Document) ProtoReflect ¶
func (x *Document) ProtoReflect() protoreflect.Message
func (*Document) Reset ¶
func (x *Document) Reset()
func (*Document) String ¶
type Document_Content ¶
type Document_Content struct { // The raw content of the document. This field is only permitted for // EXTRACTIVE_QA and FAQ knowledge types. // Note: This field is in the process of being deprecated, please use // raw_content instead. // // Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/document.proto. Content string `protobuf:"bytes,6,opt,name=content,proto3,oneof"` }
type Document_ContentUri ¶
type Document_ContentUri struct { // The URI where the file content is located. // // For documents stored in Google Cloud Storage, these URIs must have // the form `gs://<bucket-name>/<object-name>`. // // NOTE: External URLs must correspond to public webpages, i.e., they must // be indexed by Google Search. In particular, URLs for showing documents in // Google Cloud Storage (i.e. the URL in your browser) are not supported. // Instead use the `gs://` format URI described above. ContentUri string `protobuf:"bytes,5,opt,name=content_uri,json=contentUri,proto3,oneof"` }
type Document_KnowledgeType ¶
type Document_KnowledgeType int32
The knowledge type of document content.
const ( // The type is unspecified or arbitrary. Document_KNOWLEDGE_TYPE_UNSPECIFIED Document_KnowledgeType = 0 // The document content contains question and answer pairs as either HTML or // CSV. Typical FAQ HTML formats are parsed accurately, but unusual formats // may fail to be parsed. // // CSV must have questions in the first column and answers in the second, // with no header. Because of this explicit format, they are always parsed // accurately. Document_FAQ Document_KnowledgeType = 1 // Documents for which unstructured text is extracted and used for // question answering. Document_EXTRACTIVE_QA Document_KnowledgeType = 2 // The entire document content as a whole can be used for query results. // Only for Contact Center Solutions on Dialogflow. Document_ARTICLE_SUGGESTION Document_KnowledgeType = 3 // The document contains agent-facing Smart Reply entries. Document_AGENT_FACING_SMART_REPLY Document_KnowledgeType = 4 // The legacy enum for agent-facing smart reply feature. Document_SMART_REPLY Document_KnowledgeType = 4 )
func (Document_KnowledgeType) Descriptor ¶
func (Document_KnowledgeType) Descriptor() protoreflect.EnumDescriptor
func (Document_KnowledgeType) Enum ¶
func (x Document_KnowledgeType) Enum() *Document_KnowledgeType
func (Document_KnowledgeType) EnumDescriptor ¶
func (Document_KnowledgeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Document_KnowledgeType.Descriptor instead.
func (Document_KnowledgeType) Number ¶
func (x Document_KnowledgeType) Number() protoreflect.EnumNumber
func (Document_KnowledgeType) String ¶
func (x Document_KnowledgeType) String() string
func (Document_KnowledgeType) Type ¶
func (Document_KnowledgeType) Type() protoreflect.EnumType
type Document_RawContent ¶
type Document_RawContent struct { // The raw content of the document. This field is only permitted for // EXTRACTIVE_QA and FAQ knowledge types. RawContent []byte `protobuf:"bytes,9,opt,name=raw_content,json=rawContent,proto3,oneof"` }
type Document_ReloadStatus ¶
type Document_ReloadStatus struct { // Output only. The time of a reload attempt. // This reload may have been triggered automatically or manually and may // not have succeeded. Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` // Output only. The status of a reload attempt or the initial load. Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
The status of a reload attempt.
func (*Document_ReloadStatus) Descriptor ¶
func (*Document_ReloadStatus) Descriptor() ([]byte, []int)
Deprecated: Use Document_ReloadStatus.ProtoReflect.Descriptor instead.
func (*Document_ReloadStatus) GetStatus ¶
func (x *Document_ReloadStatus) GetStatus() *status.Status
func (*Document_ReloadStatus) GetTime ¶
func (x *Document_ReloadStatus) GetTime() *timestamppb.Timestamp
func (*Document_ReloadStatus) ProtoMessage ¶
func (*Document_ReloadStatus) ProtoMessage()
func (*Document_ReloadStatus) ProtoReflect ¶
func (x *Document_ReloadStatus) ProtoReflect() protoreflect.Message
func (*Document_ReloadStatus) Reset ¶
func (x *Document_ReloadStatus) Reset()
func (*Document_ReloadStatus) String ¶
func (x *Document_ReloadStatus) String() string
type Document_State ¶
type Document_State int32
Possible states of the document
const ( // The document state is unspecified. Document_STATE_UNSPECIFIED Document_State = 0 // The document creation is in progress. Document_CREATING Document_State = 1 // The document is active and ready to use. Document_ACTIVE Document_State = 2 // The document updation is in progress. Document_UPDATING Document_State = 3 // The document is reloading. Document_RELOADING Document_State = 4 // The document deletion is in progress. Document_DELETING Document_State = 5 )
func (Document_State) Descriptor ¶
func (Document_State) Descriptor() protoreflect.EnumDescriptor
func (Document_State) Enum ¶
func (x Document_State) Enum() *Document_State
func (Document_State) EnumDescriptor ¶
func (Document_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Document_State.Descriptor instead.
func (Document_State) Number ¶
func (x Document_State) Number() protoreflect.EnumNumber
func (Document_State) String ¶
func (x Document_State) String() string
func (Document_State) Type ¶
func (Document_State) Type() protoreflect.EnumType
type DocumentsClient ¶
type DocumentsClient interface { // Returns the list of all documents of the knowledge base. // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. ListDocuments(ctx context.Context, in *ListDocumentsRequest, opts ...grpc.CallOption) (*ListDocumentsResponse, error) // Retrieves the specified document. // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. GetDocument(ctx context.Context, in *GetDocumentRequest, opts ...grpc.CallOption) (*Document, error) // Creates a new document. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: // [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] // - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. CreateDocument(ctx context.Context, in *CreateDocumentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Create documents by importing data from external sources. // Dialogflow supports up to 350 documents in each request. If you try to // import more, Dialogflow will return an error. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: // [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] // - `response`: // [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse] ImportDocuments(ctx context.Context, in *ImportDocumentsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes the specified document. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: // [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. DeleteDocument(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Updates the specified document. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: // [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] // - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Reloads the specified document from its specified source, content_uri or // content. The previously loaded content of the document will be deleted. // Note: Even when the content of the document has not changed, there still // may be side effects because of internal implementation changes. // Note: If the document source is Google Cloud Storage URI, its metadata will // be replaced with the custom metadata from Google Cloud Storage if the // `import_gcs_custom_metadata` field is set to true in the request. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: // [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] // - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. ReloadDocument(ctx context.Context, in *ReloadDocumentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) }
DocumentsClient is the client API for Documents service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDocumentsClient ¶
func NewDocumentsClient(cc grpc.ClientConnInterface) DocumentsClient
type DocumentsServer ¶
type DocumentsServer interface { // Returns the list of all documents of the knowledge base. // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. ListDocuments(context.Context, *ListDocumentsRequest) (*ListDocumentsResponse, error) // Retrieves the specified document. // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. GetDocument(context.Context, *GetDocumentRequest) (*Document, error) // Creates a new document. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: // [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] // - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. CreateDocument(context.Context, *CreateDocumentRequest) (*longrunningpb.Operation, error) // Create documents by importing data from external sources. // Dialogflow supports up to 350 documents in each request. If you try to // import more, Dialogflow will return an error. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: // [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] // - `response`: // [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse] ImportDocuments(context.Context, *ImportDocumentsRequest) (*longrunningpb.Operation, error) // Deletes the specified document. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: // [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. DeleteDocument(context.Context, *DeleteDocumentRequest) (*longrunningpb.Operation, error) // Updates the specified document. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: // [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] // - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. UpdateDocument(context.Context, *UpdateDocumentRequest) (*longrunningpb.Operation, error) // Reloads the specified document from its specified source, content_uri or // content. The previously loaded content of the document will be deleted. // Note: Even when the content of the document has not changed, there still // may be side effects because of internal implementation changes. // Note: If the document source is Google Cloud Storage URI, its metadata will // be replaced with the custom metadata from Google Cloud Storage if the // `import_gcs_custom_metadata` field is set to true in the request. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: // [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata] // - `response`: [Document][google.cloud.dialogflow.v2beta1.Document] // // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; // only use `projects.knowledgeBases.documents`. ReloadDocument(context.Context, *ReloadDocumentRequest) (*longrunningpb.Operation, error) }
DocumentsServer is the server API for Documents service.
type DtmfParameters ¶
type DtmfParameters struct { // Indicates whether DTMF input can be handled in the next request. AcceptsDtmfInput bool `protobuf:"varint,1,opt,name=accepts_dtmf_input,json=acceptsDtmfInput,proto3" json:"accepts_dtmf_input,omitempty"` // contains filtered or unexported fields }
The message in the response that indicates the parameters of DTMF.
func (*DtmfParameters) Descriptor ¶
func (*DtmfParameters) Descriptor() ([]byte, []int)
Deprecated: Use DtmfParameters.ProtoReflect.Descriptor instead.
func (*DtmfParameters) GetAcceptsDtmfInput ¶
func (x *DtmfParameters) GetAcceptsDtmfInput() bool
func (*DtmfParameters) ProtoMessage ¶
func (*DtmfParameters) ProtoMessage()
func (*DtmfParameters) ProtoReflect ¶
func (x *DtmfParameters) ProtoReflect() protoreflect.Message
func (*DtmfParameters) Reset ¶
func (x *DtmfParameters) Reset()
func (*DtmfParameters) String ¶
func (x *DtmfParameters) String() string
type EncryptionSpec ¶
type EncryptionSpec struct { // Immutable. The resource name of the encryption key specification resource. // Format: // projects/{project}/locations/{location}/encryptionSpec Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The name of customer-managed encryption key that is used to // secure a resource and its sub-resources. If empty, the resource is secured // by the default Google encryption key. Only the key in the same location as // this resource is allowed to be used for encryption. Format: // `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}` KmsKey string `protobuf:"bytes,2,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"` // contains filtered or unexported fields }
A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation).
func (*EncryptionSpec) Descriptor ¶
func (*EncryptionSpec) Descriptor() ([]byte, []int)
Deprecated: Use EncryptionSpec.ProtoReflect.Descriptor instead.
func (*EncryptionSpec) GetKmsKey ¶
func (x *EncryptionSpec) GetKmsKey() string
func (*EncryptionSpec) GetName ¶
func (x *EncryptionSpec) GetName() string
func (*EncryptionSpec) ProtoMessage ¶
func (*EncryptionSpec) ProtoMessage()
func (*EncryptionSpec) ProtoReflect ¶
func (x *EncryptionSpec) ProtoReflect() protoreflect.Message
func (*EncryptionSpec) Reset ¶
func (x *EncryptionSpec) Reset()
func (*EncryptionSpec) String ¶
func (x *EncryptionSpec) String() string
type EncryptionSpecServiceClient ¶
type EncryptionSpecServiceClient interface { // Gets location-level encryption key specification. GetEncryptionSpec(ctx context.Context, in *GetEncryptionSpecRequest, opts ...grpc.CallOption) (*EncryptionSpec, error) // Initializes a location-level encryption key specification. An error will // be thrown if the location has resources already created before the // initialization. Once the encryption specification is initialized at a // location, it is immutable and all newly created resources under the // location will be encrypted with the existing specification. InitializeEncryptionSpec(ctx context.Context, in *InitializeEncryptionSpecRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) }
EncryptionSpecServiceClient is the client API for EncryptionSpecService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEncryptionSpecServiceClient ¶
func NewEncryptionSpecServiceClient(cc grpc.ClientConnInterface) EncryptionSpecServiceClient
type EncryptionSpecServiceServer ¶
type EncryptionSpecServiceServer interface { // Gets location-level encryption key specification. GetEncryptionSpec(context.Context, *GetEncryptionSpecRequest) (*EncryptionSpec, error) // Initializes a location-level encryption key specification. An error will // be thrown if the location has resources already created before the // initialization. Once the encryption specification is initialized at a // location, it is immutable and all newly created resources under the // location will be encrypted with the existing specification. InitializeEncryptionSpec(context.Context, *InitializeEncryptionSpecRequest) (*longrunningpb.Operation, error) }
EncryptionSpecServiceServer is the server API for EncryptionSpecService service.
type EntityType ¶
type EntityType struct { // The unique identifier of the entity type. // Required for // [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType] // and // [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes] // methods. Supported formats: // - `projects/<Project ID>/agent/entityTypes/<Entity Type ID>` // - `projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity // Type ID>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The name of the entity type. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Required. Indicates the kind of entity type. Kind EntityType_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=google.cloud.dialogflow.v2beta1.EntityType_Kind" json:"kind,omitempty"` // Optional. Indicates whether the entity type can be automatically // expanded. AutoExpansionMode EntityType_AutoExpansionMode `protobuf:"varint,4,opt,name=auto_expansion_mode,json=autoExpansionMode,proto3,enum=google.cloud.dialogflow.v2beta1.EntityType_AutoExpansionMode" json:"auto_expansion_mode,omitempty"` // Optional. The collection of entity entries associated with the entity type. Entities []*EntityType_Entity `protobuf:"bytes,6,rep,name=entities,proto3" json:"entities,omitempty"` // Optional. Enables fuzzy entity extraction during classification. EnableFuzzyExtraction bool `protobuf:"varint,7,opt,name=enable_fuzzy_extraction,json=enableFuzzyExtraction,proto3" json:"enable_fuzzy_extraction,omitempty"` // contains filtered or unexported fields }
Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted.
Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent.
For more information, see the [Entity guide](https://cloud.google.com/dialogflow/docs/entities-overview).
func (*EntityType) Descriptor ¶
func (*EntityType) Descriptor() ([]byte, []int)
Deprecated: Use EntityType.ProtoReflect.Descriptor instead.
func (*EntityType) GetAutoExpansionMode ¶
func (x *EntityType) GetAutoExpansionMode() EntityType_AutoExpansionMode
func (*EntityType) GetDisplayName ¶
func (x *EntityType) GetDisplayName() string
func (*EntityType) GetEnableFuzzyExtraction ¶
func (x *EntityType) GetEnableFuzzyExtraction() bool
func (*EntityType) GetEntities ¶
func (x *EntityType) GetEntities() []*EntityType_Entity
func (*EntityType) GetKind ¶
func (x *EntityType) GetKind() EntityType_Kind
func (*EntityType) GetName ¶
func (x *EntityType) GetName() string
func (*EntityType) ProtoMessage ¶
func (*EntityType) ProtoMessage()
func (*EntityType) ProtoReflect ¶
func (x *EntityType) ProtoReflect() protoreflect.Message
func (*EntityType) Reset ¶
func (x *EntityType) Reset()
func (*EntityType) String ¶
func (x *EntityType) String() string
type EntityTypeBatch ¶
type EntityTypeBatch struct { // A collection of entity types. EntityTypes []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,omitempty"` // contains filtered or unexported fields }
This message is a wrapper around a collection of entity types.
func (*EntityTypeBatch) Descriptor ¶
func (*EntityTypeBatch) Descriptor() ([]byte, []int)
Deprecated: Use EntityTypeBatch.ProtoReflect.Descriptor instead.
func (*EntityTypeBatch) GetEntityTypes ¶
func (x *EntityTypeBatch) GetEntityTypes() []*EntityType
func (*EntityTypeBatch) ProtoMessage ¶
func (*EntityTypeBatch) ProtoMessage()
func (*EntityTypeBatch) ProtoReflect ¶
func (x *EntityTypeBatch) ProtoReflect() protoreflect.Message
func (*EntityTypeBatch) Reset ¶
func (x *EntityTypeBatch) Reset()
func (*EntityTypeBatch) String ¶
func (x *EntityTypeBatch) String() string
type EntityType_AutoExpansionMode ¶
type EntityType_AutoExpansionMode int32
Represents different entity type expansion modes. Automated expansion allows an agent to recognize values that have not been explicitly listed in the entity (for example, new kinds of shopping list items).
const ( // Auto expansion disabled for the entity. EntityType_AUTO_EXPANSION_MODE_UNSPECIFIED EntityType_AutoExpansionMode = 0 // Allows an agent to recognize values that have not been explicitly // listed in the entity. EntityType_AUTO_EXPANSION_MODE_DEFAULT EntityType_AutoExpansionMode = 1 )
func (EntityType_AutoExpansionMode) Descriptor ¶
func (EntityType_AutoExpansionMode) Descriptor() protoreflect.EnumDescriptor
func (EntityType_AutoExpansionMode) Enum ¶
func (x EntityType_AutoExpansionMode) Enum() *EntityType_AutoExpansionMode
func (EntityType_AutoExpansionMode) EnumDescriptor ¶
func (EntityType_AutoExpansionMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use EntityType_AutoExpansionMode.Descriptor instead.
func (EntityType_AutoExpansionMode) Number ¶
func (x EntityType_AutoExpansionMode) Number() protoreflect.EnumNumber
func (EntityType_AutoExpansionMode) String ¶
func (x EntityType_AutoExpansionMode) String() string
func (EntityType_AutoExpansionMode) Type ¶
func (EntityType_AutoExpansionMode) Type() protoreflect.EnumType
type EntityType_Entity ¶
type EntityType_Entity struct { // Required. The primary value associated with this entity entry. // For example, if the entity type is *vegetable*, the value could be // *scallions*. // // For `KIND_MAP` entity types: // // * A reference value to be used in place of synonyms. // // For `KIND_LIST` entity types: // // - A string that can contain references to other entity types (with or // without aliases). Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Required. A collection of value synonyms. For example, if the entity type // is *vegetable*, and `value` is *scallions*, a synonym could be *green // onions*. // // For `KIND_LIST` entity types: // // * This collection must contain exactly one synonym equal to `value`. Synonyms []string `protobuf:"bytes,2,rep,name=synonyms,proto3" json:"synonyms,omitempty"` // contains filtered or unexported fields }
An **entity entry** for an associated entity type.
func (*EntityType_Entity) Descriptor ¶
func (*EntityType_Entity) Descriptor() ([]byte, []int)
Deprecated: Use EntityType_Entity.ProtoReflect.Descriptor instead.
func (*EntityType_Entity) GetSynonyms ¶
func (x *EntityType_Entity) GetSynonyms() []string
func (*EntityType_Entity) GetValue ¶
func (x *EntityType_Entity) GetValue() string
func (*EntityType_Entity) ProtoMessage ¶
func (*EntityType_Entity) ProtoMessage()
func (*EntityType_Entity) ProtoReflect ¶
func (x *EntityType_Entity) ProtoReflect() protoreflect.Message
func (*EntityType_Entity) Reset ¶
func (x *EntityType_Entity) Reset()
func (*EntityType_Entity) String ¶
func (x *EntityType_Entity) String() string
type EntityType_Kind ¶
type EntityType_Kind int32
Represents kinds of entities.
const ( // Not specified. This value should be never used. EntityType_KIND_UNSPECIFIED EntityType_Kind = 0 // Map entity types allow mapping of a group of synonyms to a reference // value. EntityType_KIND_MAP EntityType_Kind = 1 // List entity types contain a set of entries that do not map to reference // values. However, list entity types can contain references to other entity // types (with or without aliases). EntityType_KIND_LIST EntityType_Kind = 2 // Regexp entity types allow to specify regular expressions in entries // values. EntityType_KIND_REGEXP EntityType_Kind = 3 )
func (EntityType_Kind) Descriptor ¶
func (EntityType_Kind) Descriptor() protoreflect.EnumDescriptor
func (EntityType_Kind) Enum ¶
func (x EntityType_Kind) Enum() *EntityType_Kind
func (EntityType_Kind) EnumDescriptor ¶
func (EntityType_Kind) EnumDescriptor() ([]byte, []int)
Deprecated: Use EntityType_Kind.Descriptor instead.
func (EntityType_Kind) Number ¶
func (x EntityType_Kind) Number() protoreflect.EnumNumber
func (EntityType_Kind) String ¶
func (x EntityType_Kind) String() string
func (EntityType_Kind) Type ¶
func (EntityType_Kind) Type() protoreflect.EnumType
type EntityTypesClient ¶
type EntityTypesClient interface { // Returns the list of all entity types in the specified agent. ListEntityTypes(ctx context.Context, in *ListEntityTypesRequest, opts ...grpc.CallOption) (*ListEntityTypesResponse, error) // Retrieves the specified entity type. GetEntityType(ctx context.Context, in *GetEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) // Creates an entity type in the specified agent. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). CreateEntityType(ctx context.Context, in *CreateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) // Updates the specified entity type. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). UpdateEntityType(ctx context.Context, in *UpdateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error) // Deletes the specified entity type. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Updates/Creates multiple entity types in the specified agent. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: // // [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse] // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). BatchUpdateEntityTypes(ctx context.Context, in *BatchUpdateEntityTypesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes entity types in the specified agent. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). BatchDeleteEntityTypes(ctx context.Context, in *BatchDeleteEntityTypesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Creates multiple new entities in the specified entity type. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). BatchCreateEntities(ctx context.Context, in *BatchCreateEntitiesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Updates or creates multiple entities in the specified entity type. This // method does not affect entities in the entity type that aren't explicitly // specified in the request. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) BatchUpdateEntities(ctx context.Context, in *BatchUpdateEntitiesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes entities in the specified entity type. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). BatchDeleteEntities(ctx context.Context, in *BatchDeleteEntitiesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) }
EntityTypesClient is the client API for EntityTypes service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEntityTypesClient ¶
func NewEntityTypesClient(cc grpc.ClientConnInterface) EntityTypesClient
type EntityTypesServer ¶
type EntityTypesServer interface { // Returns the list of all entity types in the specified agent. ListEntityTypes(context.Context, *ListEntityTypesRequest) (*ListEntityTypesResponse, error) // Retrieves the specified entity type. GetEntityType(context.Context, *GetEntityTypeRequest) (*EntityType, error) // Creates an entity type in the specified agent. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). CreateEntityType(context.Context, *CreateEntityTypeRequest) (*EntityType, error) // Updates the specified entity type. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). UpdateEntityType(context.Context, *UpdateEntityTypeRequest) (*EntityType, error) // Deletes the specified entity type. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*emptypb.Empty, error) // Updates/Creates multiple entity types in the specified agent. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: // // [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse] // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). BatchUpdateEntityTypes(context.Context, *BatchUpdateEntityTypesRequest) (*longrunningpb.Operation, error) // Deletes entity types in the specified agent. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). BatchDeleteEntityTypes(context.Context, *BatchDeleteEntityTypesRequest) (*longrunningpb.Operation, error) // Creates multiple new entities in the specified entity type. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). BatchCreateEntities(context.Context, *BatchCreateEntitiesRequest) (*longrunningpb.Operation, error) // Updates or creates multiple entities in the specified entity type. This // method does not affect entities in the entity type that aren't explicitly // specified in the request. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) BatchUpdateEntities(context.Context, *BatchUpdateEntitiesRequest) (*longrunningpb.Operation, error) // Deletes entities in the specified entity type. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). BatchDeleteEntities(context.Context, *BatchDeleteEntitiesRequest) (*longrunningpb.Operation, error) }
EntityTypesServer is the server API for EntityTypes service.
type Environment ¶
type Environment struct { // Output only. The unique identifier of this agent environment. // Supported formats: // - `projects/<Project ID>/agent/environments/<Environment ID>` // - `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The developer-provided description for this environment. // The maximum length is 500 characters. If exceeded, the request is rejected. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Optional. The agent version loaded into this environment. // Supported formats: // - `projects/<Project ID>/agent/versions/<Version ID>` // - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version // ID>` AgentVersion string `protobuf:"bytes,3,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"` // Output only. The state of this environment. This field is read-only, i.e., // it cannot be set by create and update methods. State Environment_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.dialogflow.v2beta1.Environment_State" json:"state,omitempty"` // Output only. The last update time of this environment. This field is // read-only, i.e., it cannot be set by create and update methods. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. Text to speech settings for this environment. TextToSpeechSettings *TextToSpeechSettings `protobuf:"bytes,7,opt,name=text_to_speech_settings,json=textToSpeechSettings,proto3" json:"text_to_speech_settings,omitempty"` // Optional. The fulfillment settings to use for this environment. Fulfillment *Fulfillment `protobuf:"bytes,8,opt,name=fulfillment,proto3" json:"fulfillment,omitempty"` // contains filtered or unexported fields }
You can create multiple versions of your agent and publish them to separate environments.
When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent.
When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for:
- testing - development - production - etc.
For more information, see the [versions and environments guide](https://cloud.google.com/dialogflow/docs/agents-versions).
func (*Environment) Descriptor ¶
func (*Environment) Descriptor() ([]byte, []int)
Deprecated: Use Environment.ProtoReflect.Descriptor instead.
func (*Environment) GetAgentVersion ¶
func (x *Environment) GetAgentVersion() string
func (*Environment) GetDescription ¶
func (x *Environment) GetDescription() string
func (*Environment) GetFulfillment ¶
func (x *Environment) GetFulfillment() *Fulfillment
func (*Environment) GetName ¶
func (x *Environment) GetName() string
func (*Environment) GetState ¶
func (x *Environment) GetState() Environment_State
func (*Environment) GetTextToSpeechSettings ¶
func (x *Environment) GetTextToSpeechSettings() *TextToSpeechSettings
func (*Environment) GetUpdateTime ¶
func (x *Environment) GetUpdateTime() *timestamppb.Timestamp
func (*Environment) ProtoMessage ¶
func (*Environment) ProtoMessage()
func (*Environment) ProtoReflect ¶
func (x *Environment) ProtoReflect() protoreflect.Message
func (*Environment) Reset ¶
func (x *Environment) Reset()
func (*Environment) String ¶
func (x *Environment) String() string
type EnvironmentHistory ¶
type EnvironmentHistory struct { // Output only. The name of the environment this history is for. // Supported formats: // - `projects/<Project ID>/agent/environments/<Environment ID>` // - `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Output only. The list of agent environments. There will be a maximum number // of items returned based on the page_size field in the request. Entries []*EnvironmentHistory_Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` // Output only. Token to retrieve the next page of results, or empty if there // are no more results in the list. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory].
func (*EnvironmentHistory) Descriptor ¶
func (*EnvironmentHistory) Descriptor() ([]byte, []int)
Deprecated: Use EnvironmentHistory.ProtoReflect.Descriptor instead.
func (*EnvironmentHistory) GetEntries ¶
func (x *EnvironmentHistory) GetEntries() []*EnvironmentHistory_Entry
func (*EnvironmentHistory) GetNextPageToken ¶
func (x *EnvironmentHistory) GetNextPageToken() string
func (*EnvironmentHistory) GetParent ¶
func (x *EnvironmentHistory) GetParent() string
func (*EnvironmentHistory) ProtoMessage ¶
func (*EnvironmentHistory) ProtoMessage()
func (*EnvironmentHistory) ProtoReflect ¶
func (x *EnvironmentHistory) ProtoReflect() protoreflect.Message
func (*EnvironmentHistory) Reset ¶
func (x *EnvironmentHistory) Reset()
func (*EnvironmentHistory) String ¶
func (x *EnvironmentHistory) String() string
type EnvironmentHistory_Entry ¶
type EnvironmentHistory_Entry struct { // The agent version loaded into this environment history entry. AgentVersion string `protobuf:"bytes,1,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"` // The developer-provided description for this environment history entry. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // The creation time of this environment history entry. CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // contains filtered or unexported fields }
Represents an environment history entry.
func (*EnvironmentHistory_Entry) Descriptor ¶
func (*EnvironmentHistory_Entry) Descriptor() ([]byte, []int)
Deprecated: Use EnvironmentHistory_Entry.ProtoReflect.Descriptor instead.
func (*EnvironmentHistory_Entry) GetAgentVersion ¶
func (x *EnvironmentHistory_Entry) GetAgentVersion() string
func (*EnvironmentHistory_Entry) GetCreateTime ¶
func (x *EnvironmentHistory_Entry) GetCreateTime() *timestamppb.Timestamp
func (*EnvironmentHistory_Entry) GetDescription ¶
func (x *EnvironmentHistory_Entry) GetDescription() string
func (*EnvironmentHistory_Entry) ProtoMessage ¶
func (*EnvironmentHistory_Entry) ProtoMessage()
func (*EnvironmentHistory_Entry) ProtoReflect ¶
func (x *EnvironmentHistory_Entry) ProtoReflect() protoreflect.Message
func (*EnvironmentHistory_Entry) Reset ¶
func (x *EnvironmentHistory_Entry) Reset()
func (*EnvironmentHistory_Entry) String ¶
func (x *EnvironmentHistory_Entry) String() string
type Environment_State ¶
type Environment_State int32
Represents an environment state. When an environment is pointed to a new agent version, the environment is temporarily set to the `LOADING` state. During that time, the environment keeps on serving the previous version of the agent. After the new agent version is done loading, the environment is set back to the `RUNNING` state.
const ( // Not specified. This value is not used. Environment_STATE_UNSPECIFIED Environment_State = 0 // Stopped. Environment_STOPPED Environment_State = 1 // Loading. Environment_LOADING Environment_State = 2 // Running. Environment_RUNNING Environment_State = 3 )
func (Environment_State) Descriptor ¶
func (Environment_State) Descriptor() protoreflect.EnumDescriptor
func (Environment_State) Enum ¶
func (x Environment_State) Enum() *Environment_State
func (Environment_State) EnumDescriptor ¶
func (Environment_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Environment_State.Descriptor instead.
func (Environment_State) Number ¶
func (x Environment_State) Number() protoreflect.EnumNumber
func (Environment_State) String ¶
func (x Environment_State) String() string
func (Environment_State) Type ¶
func (Environment_State) Type() protoreflect.EnumType
type EnvironmentsClient ¶
type EnvironmentsClient interface { // Returns the list of all non-draft environments of the specified agent. ListEnvironments(ctx context.Context, in *ListEnvironmentsRequest, opts ...grpc.CallOption) (*ListEnvironmentsResponse, error) // Retrieves the specified agent environment. GetEnvironment(ctx context.Context, in *GetEnvironmentRequest, opts ...grpc.CallOption) (*Environment, error) // Creates an agent environment. CreateEnvironment(ctx context.Context, in *CreateEnvironmentRequest, opts ...grpc.CallOption) (*Environment, error) // Updates the specified agent environment. // // This method allows you to deploy new agent versions into the environment. // When an environment is pointed to a new agent version by setting // `environment.agent_version`, the environment is temporarily set to the // `LOADING` state. During that time, the environment keeps on serving the // previous version of the agent. After the new agent version is done loading, // the environment is set back to the `RUNNING` state. // You can use "-" as Environment ID in environment name to update version // in "draft" environment. WARNING: this will negate all recent changes to // draft and can't be undone. You may want to save the draft to a version // before calling this function. UpdateEnvironment(ctx context.Context, in *UpdateEnvironmentRequest, opts ...grpc.CallOption) (*Environment, error) // Deletes the specified agent environment. DeleteEnvironment(ctx context.Context, in *DeleteEnvironmentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Gets the history of the specified environment. GetEnvironmentHistory(ctx context.Context, in *GetEnvironmentHistoryRequest, opts ...grpc.CallOption) (*EnvironmentHistory, error) }
EnvironmentsClient is the client API for Environments service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEnvironmentsClient ¶
func NewEnvironmentsClient(cc grpc.ClientConnInterface) EnvironmentsClient
type EnvironmentsServer ¶
type EnvironmentsServer interface { // Returns the list of all non-draft environments of the specified agent. ListEnvironments(context.Context, *ListEnvironmentsRequest) (*ListEnvironmentsResponse, error) // Retrieves the specified agent environment. GetEnvironment(context.Context, *GetEnvironmentRequest) (*Environment, error) // Creates an agent environment. CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*Environment, error) // Updates the specified agent environment. // // This method allows you to deploy new agent versions into the environment. // When an environment is pointed to a new agent version by setting // `environment.agent_version`, the environment is temporarily set to the // `LOADING` state. During that time, the environment keeps on serving the // previous version of the agent. After the new agent version is done loading, // the environment is set back to the `RUNNING` state. // You can use "-" as Environment ID in environment name to update version // in "draft" environment. WARNING: this will negate all recent changes to // draft and can't be undone. You may want to save the draft to a version // before calling this function. UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*Environment, error) // Deletes the specified agent environment. DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*emptypb.Empty, error) // Gets the history of the specified environment. GetEnvironmentHistory(context.Context, *GetEnvironmentHistoryRequest) (*EnvironmentHistory, error) }
EnvironmentsServer is the server API for Environments service.
type EventInput ¶
type EventInput struct { // Required. The unique identifier of the event. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The collection of parameters associated with the event. // // Depending on your protocol or client library language, this is a // map, associative array, symbol table, dictionary, or JSON object // composed of a collection of (MapKey, MapValue) pairs: // // * MapKey type: string // * MapKey value: parameter name // * MapValue type: If parameter's entity type is a composite entity then use // map, otherwise, depending on the parameter value type, it could be one of // string, number, boolean, null, list or map. // * MapValue value: If parameter's entity type is a composite entity then use // map from composite entity property names to property values, otherwise, // use parameter value. Parameters *structpb.Struct `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"` // Required. The language of this query. See [Language // Support](https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that queries in // the same session do not necessarily need to specify the same language. // // This field is ignored when used in the context of a // [WebhookResponse.followup_event_input][google.cloud.dialogflow.v2beta1.WebhookResponse.followup_event_input] // field, because the language was already defined in the originating detect // intent request. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Events allow for matching intents by event name instead of the natural language input. For instance, input `<event: { name: "welcome_event", parameters: { name: "Sam" } }>` can trigger a personalized welcome response. The parameter `name` may be used by the agent in the response: `"Hello #welcome_event.name! What can I do for you today?"`.
func (*EventInput) Descriptor ¶
func (*EventInput) Descriptor() ([]byte, []int)
Deprecated: Use EventInput.ProtoReflect.Descriptor instead.
func (*EventInput) GetLanguageCode ¶
func (x *EventInput) GetLanguageCode() string
func (*EventInput) GetName ¶
func (x *EventInput) GetName() string
func (*EventInput) GetParameters ¶
func (x *EventInput) GetParameters() *structpb.Struct
func (*EventInput) ProtoMessage ¶
func (*EventInput) ProtoMessage()
func (*EventInput) ProtoReflect ¶
func (x *EventInput) ProtoReflect() protoreflect.Message
func (*EventInput) Reset ¶
func (x *EventInput) Reset()
func (*EventInput) String ¶
func (x *EventInput) String() string
type ExportAgentRequest ¶
type ExportAgentRequest struct { // Required. The project that the agent to export is associated with. // Format: `projects/<Project ID>` or // // `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The // [Google Cloud Storage](https://cloud.google.com/storage/docs/) // URI to export the agent to. // The format of this URI must be `gs://<bucket-name>/<object-name>`. // If left unspecified, the serialized agent is returned inline. // // Dialogflow performs a write operation for the Cloud Storage object // on the caller's behalf, so your request authentication must // have write permissions for the object. For more information, see // [Dialogflow access // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3" json:"agent_uri,omitempty"` // contains filtered or unexported fields }
The request message for [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent].
func (*ExportAgentRequest) Descriptor ¶
func (*ExportAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportAgentRequest.ProtoReflect.Descriptor instead.
func (*ExportAgentRequest) GetAgentUri ¶
func (x *ExportAgentRequest) GetAgentUri() string
func (*ExportAgentRequest) GetParent ¶
func (x *ExportAgentRequest) GetParent() string
func (*ExportAgentRequest) ProtoMessage ¶
func (*ExportAgentRequest) ProtoMessage()
func (*ExportAgentRequest) ProtoReflect ¶
func (x *ExportAgentRequest) ProtoReflect() protoreflect.Message
func (*ExportAgentRequest) Reset ¶
func (x *ExportAgentRequest) Reset()
func (*ExportAgentRequest) String ¶
func (x *ExportAgentRequest) String() string
type ExportAgentResponse ¶
type ExportAgentResponse struct { // The exported agent. // // Types that are assignable to Agent: // // *ExportAgentResponse_AgentUri // *ExportAgentResponse_AgentContent Agent isExportAgentResponse_Agent `protobuf_oneof:"agent"` // contains filtered or unexported fields }
The response message for [Agents.ExportAgent][google.cloud.dialogflow.v2beta1.Agents.ExportAgent].
func (*ExportAgentResponse) Descriptor ¶
func (*ExportAgentResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExportAgentResponse.ProtoReflect.Descriptor instead.
func (*ExportAgentResponse) GetAgent ¶
func (m *ExportAgentResponse) GetAgent() isExportAgentResponse_Agent
func (*ExportAgentResponse) GetAgentContent ¶
func (x *ExportAgentResponse) GetAgentContent() []byte
func (*ExportAgentResponse) GetAgentUri ¶
func (x *ExportAgentResponse) GetAgentUri() string
func (*ExportAgentResponse) ProtoMessage ¶
func (*ExportAgentResponse) ProtoMessage()
func (*ExportAgentResponse) ProtoReflect ¶
func (x *ExportAgentResponse) ProtoReflect() protoreflect.Message
func (*ExportAgentResponse) Reset ¶
func (x *ExportAgentResponse) Reset()
func (*ExportAgentResponse) String ¶
func (x *ExportAgentResponse) String() string
type ExportAgentResponse_AgentContent ¶
type ExportAgentResponse_AgentContent struct { // Zip compressed raw byte content for agent. AgentContent []byte `protobuf:"bytes,2,opt,name=agent_content,json=agentContent,proto3,oneof"` }
type ExportAgentResponse_AgentUri ¶
type ExportAgentResponse_AgentUri struct { // The URI to a file containing the exported agent. This field is populated // only if `agent_uri` is specified in `ExportAgentRequest`. AgentUri string `protobuf:"bytes,1,opt,name=agent_uri,json=agentUri,proto3,oneof"` }
type ExportOperationMetadata ¶
type ExportOperationMetadata struct { // Cloud Storage file path of the exported data. ExportedGcsDestination *GcsDestination `protobuf:"bytes,1,opt,name=exported_gcs_destination,json=exportedGcsDestination,proto3" json:"exported_gcs_destination,omitempty"` // contains filtered or unexported fields }
Metadata related to the Export Data Operations (e.g. ExportDocument).
func (*ExportOperationMetadata) Descriptor ¶
func (*ExportOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ExportOperationMetadata.ProtoReflect.Descriptor instead.
func (*ExportOperationMetadata) GetExportedGcsDestination ¶
func (x *ExportOperationMetadata) GetExportedGcsDestination() *GcsDestination
func (*ExportOperationMetadata) ProtoMessage ¶
func (*ExportOperationMetadata) ProtoMessage()
func (*ExportOperationMetadata) ProtoReflect ¶
func (x *ExportOperationMetadata) ProtoReflect() protoreflect.Message
func (*ExportOperationMetadata) Reset ¶
func (x *ExportOperationMetadata) Reset()
func (*ExportOperationMetadata) String ¶
func (x *ExportOperationMetadata) String() string
type FaqAnswer ¶
type FaqAnswer struct { // The piece of text from the `source` knowledge base document. Answer string `protobuf:"bytes,1,opt,name=answer,proto3" json:"answer,omitempty"` // The system's confidence score that this Knowledge answer is a good match // for this conversational query, range from 0.0 (completely uncertain) // to 1.0 (completely certain). Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` // The corresponding FAQ question. Question string `protobuf:"bytes,3,opt,name=question,proto3" json:"question,omitempty"` // Indicates which Knowledge Document this answer was extracted // from. // Format: `projects/<Project ID>/locations/<Location // ID>/agent/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>`. Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` // A map that contains metadata about the answer and the // document from which it originates. Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The name of answer record, in the format of // "projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record // ID>" AnswerRecord string `protobuf:"bytes,6,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"` // contains filtered or unexported fields }
Represents answer from "frequently asked questions".
func (*FaqAnswer) Descriptor ¶
Deprecated: Use FaqAnswer.ProtoReflect.Descriptor instead.
func (*FaqAnswer) GetAnswer ¶
func (*FaqAnswer) GetAnswerRecord ¶
func (*FaqAnswer) GetConfidence ¶
func (*FaqAnswer) GetMetadata ¶
func (*FaqAnswer) GetQuestion ¶
func (*FaqAnswer) GetSource ¶
func (*FaqAnswer) ProtoMessage ¶
func (*FaqAnswer) ProtoMessage()
func (*FaqAnswer) ProtoReflect ¶
func (x *FaqAnswer) ProtoReflect() protoreflect.Message
func (*FaqAnswer) Reset ¶
func (x *FaqAnswer) Reset()
func (*FaqAnswer) String ¶
type FewShotExample ¶
type FewShotExample struct { // Optional. Conversation transcripts. ConversationContext *ConversationContext `protobuf:"bytes,3,opt,name=conversation_context,json=conversationContext,proto3" json:"conversation_context,omitempty"` // Optional. Key is the placeholder field name in input, value is the value of // the placeholder. E.g. instruction contains "@price", and ingested data has // <"price", "10"> ExtraInfo map[string]string `protobuf:"bytes,4,rep,name=extra_info,json=extraInfo,proto3" json:"extra_info,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Instruction list of this few_shot example. // // Types that are assignable to InstructionList: // // *FewShotExample_SummarizationSectionList InstructionList isFewShotExample_InstructionList `protobuf_oneof:"instruction_list"` // Required. Example output of the model. Output *GeneratorSuggestion `protobuf:"bytes,7,opt,name=output,proto3" json:"output,omitempty"` // contains filtered or unexported fields }
Providing examples in the generator (i.e. building a few-shot generator) helps convey the desired format of the LLM response.
func (*FewShotExample) Descriptor ¶
func (*FewShotExample) Descriptor() ([]byte, []int)
Deprecated: Use FewShotExample.ProtoReflect.Descriptor instead.
func (*FewShotExample) GetConversationContext ¶
func (x *FewShotExample) GetConversationContext() *ConversationContext
func (*FewShotExample) GetExtraInfo ¶
func (x *FewShotExample) GetExtraInfo() map[string]string
func (*FewShotExample) GetInstructionList ¶
func (m *FewShotExample) GetInstructionList() isFewShotExample_InstructionList
func (*FewShotExample) GetOutput ¶
func (x *FewShotExample) GetOutput() *GeneratorSuggestion
func (*FewShotExample) GetSummarizationSectionList ¶
func (x *FewShotExample) GetSummarizationSectionList() *SummarizationSectionList
func (*FewShotExample) ProtoMessage ¶
func (*FewShotExample) ProtoMessage()
func (*FewShotExample) ProtoReflect ¶
func (x *FewShotExample) ProtoReflect() protoreflect.Message
func (*FewShotExample) Reset ¶
func (x *FewShotExample) Reset()
func (*FewShotExample) String ¶
func (x *FewShotExample) String() string
type FewShotExample_SummarizationSectionList ¶
type FewShotExample_SummarizationSectionList struct { // Summarization sections. SummarizationSectionList *SummarizationSectionList `protobuf:"bytes,6,opt,name=summarization_section_list,json=summarizationSectionList,proto3,oneof"` }
type Fulfillment ¶
type Fulfillment struct { // Required. The unique identifier of the fulfillment. // Supported formats: // // - `projects/<Project ID>/agent/fulfillment` // - `projects/<Project ID>/locations/<Location ID>/agent/fulfillment` // // This field is not used for Fulfillment in an Environment. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The human-readable name of the fulfillment, unique within the agent. // // This field is not used for Fulfillment in an Environment. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Required. The fulfillment configuration. // // Types that are assignable to Fulfillment: // // *Fulfillment_GenericWebService_ Fulfillment isFulfillment_Fulfillment `protobuf_oneof:"fulfillment"` // Whether fulfillment is enabled. Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"` // The field defines whether the fulfillment is enabled for certain features. Features []*Fulfillment_Feature `protobuf:"bytes,5,rep,name=features,proto3" json:"features,omitempty"` // contains filtered or unexported fields }
By default, your agent responds to a matched intent with a static response. As an alternative, you can provide a more dynamic response by using fulfillment. When you enable fulfillment for an intent, Dialogflow responds to that intent by calling a service that you define. For example, if an end-user wants to schedule a haircut on Friday, your service can check your database and respond to the end-user with availability information for Friday.
For more information, see the [fulfillment guide](https://cloud.google.com/dialogflow/docs/fulfillment-overview).
func (*Fulfillment) Descriptor ¶
func (*Fulfillment) Descriptor() ([]byte, []int)
Deprecated: Use Fulfillment.ProtoReflect.Descriptor instead.
func (*Fulfillment) GetDisplayName ¶
func (x *Fulfillment) GetDisplayName() string
func (*Fulfillment) GetEnabled ¶
func (x *Fulfillment) GetEnabled() bool
func (*Fulfillment) GetFeatures ¶
func (x *Fulfillment) GetFeatures() []*Fulfillment_Feature
func (*Fulfillment) GetFulfillment ¶
func (m *Fulfillment) GetFulfillment() isFulfillment_Fulfillment
func (*Fulfillment) GetGenericWebService ¶
func (x *Fulfillment) GetGenericWebService() *Fulfillment_GenericWebService
func (*Fulfillment) GetName ¶
func (x *Fulfillment) GetName() string
func (*Fulfillment) ProtoMessage ¶
func (*Fulfillment) ProtoMessage()
func (*Fulfillment) ProtoReflect ¶
func (x *Fulfillment) ProtoReflect() protoreflect.Message
func (*Fulfillment) Reset ¶
func (x *Fulfillment) Reset()
func (*Fulfillment) String ¶
func (x *Fulfillment) String() string
type Fulfillment_Feature ¶
type Fulfillment_Feature struct { // The type of the feature that enabled for fulfillment. Type Fulfillment_Feature_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.dialogflow.v2beta1.Fulfillment_Feature_Type" json:"type,omitempty"` // contains filtered or unexported fields }
Whether fulfillment is enabled for the specific feature.
func (*Fulfillment_Feature) Descriptor ¶
func (*Fulfillment_Feature) Descriptor() ([]byte, []int)
Deprecated: Use Fulfillment_Feature.ProtoReflect.Descriptor instead.
func (*Fulfillment_Feature) GetType ¶
func (x *Fulfillment_Feature) GetType() Fulfillment_Feature_Type
func (*Fulfillment_Feature) ProtoMessage ¶
func (*Fulfillment_Feature) ProtoMessage()
func (*Fulfillment_Feature) ProtoReflect ¶
func (x *Fulfillment_Feature) ProtoReflect() protoreflect.Message
func (*Fulfillment_Feature) Reset ¶
func (x *Fulfillment_Feature) Reset()
func (*Fulfillment_Feature) String ¶
func (x *Fulfillment_Feature) String() string
type Fulfillment_Feature_Type ¶
type Fulfillment_Feature_Type int32
The type of the feature.
const ( // Feature type not specified. Fulfillment_Feature_TYPE_UNSPECIFIED Fulfillment_Feature_Type = 0 // Fulfillment is enabled for SmallTalk. Fulfillment_Feature_SMALLTALK Fulfillment_Feature_Type = 1 )
func (Fulfillment_Feature_Type) Descriptor ¶
func (Fulfillment_Feature_Type) Descriptor() protoreflect.EnumDescriptor
func (Fulfillment_Feature_Type) Enum ¶
func (x Fulfillment_Feature_Type) Enum() *Fulfillment_Feature_Type
func (Fulfillment_Feature_Type) EnumDescriptor ¶
func (Fulfillment_Feature_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Fulfillment_Feature_Type.Descriptor instead.
func (Fulfillment_Feature_Type) Number ¶
func (x Fulfillment_Feature_Type) Number() protoreflect.EnumNumber
func (Fulfillment_Feature_Type) String ¶
func (x Fulfillment_Feature_Type) String() string
func (Fulfillment_Feature_Type) Type ¶
func (Fulfillment_Feature_Type) Type() protoreflect.EnumType
type Fulfillment_GenericWebService ¶
type Fulfillment_GenericWebService struct { // Required. The fulfillment URI for receiving POST requests. // It must use https protocol. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // The user name for HTTP Basic authentication. Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` // The password for HTTP Basic authentication. Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // The HTTP request headers to send together with fulfillment requests. RequestHeaders map[string]string `protobuf:"bytes,4,rep,name=request_headers,json=requestHeaders,proto3" json:"request_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Optional. Indicates if generic web service is created through Cloud // Functions integration. Defaults to false. // // is_cloud_function is deprecated. Cloud functions can be configured by // its uri as a regular web service now. // // Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/fulfillment.proto. IsCloudFunction bool `protobuf:"varint,5,opt,name=is_cloud_function,json=isCloudFunction,proto3" json:"is_cloud_function,omitempty"` // contains filtered or unexported fields }
Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications:
- Basic authentication with username and password. - Authentication with additional authentication headers.
More information could be found at: https://cloud.google.com/dialogflow/docs/fulfillment-configure.
func (*Fulfillment_GenericWebService) Descriptor ¶
func (*Fulfillment_GenericWebService) Descriptor() ([]byte, []int)
Deprecated: Use Fulfillment_GenericWebService.ProtoReflect.Descriptor instead.
func (*Fulfillment_GenericWebService) GetIsCloudFunction ¶
func (x *Fulfillment_GenericWebService) GetIsCloudFunction() bool
Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/fulfillment.proto.
func (*Fulfillment_GenericWebService) GetPassword ¶
func (x *Fulfillment_GenericWebService) GetPassword() string
func (*Fulfillment_GenericWebService) GetRequestHeaders ¶
func (x *Fulfillment_GenericWebService) GetRequestHeaders() map[string]string
func (*Fulfillment_GenericWebService) GetUri ¶
func (x *Fulfillment_GenericWebService) GetUri() string
func (*Fulfillment_GenericWebService) GetUsername ¶
func (x *Fulfillment_GenericWebService) GetUsername() string
func (*Fulfillment_GenericWebService) ProtoMessage ¶
func (*Fulfillment_GenericWebService) ProtoMessage()
func (*Fulfillment_GenericWebService) ProtoReflect ¶
func (x *Fulfillment_GenericWebService) ProtoReflect() protoreflect.Message
func (*Fulfillment_GenericWebService) Reset ¶
func (x *Fulfillment_GenericWebService) Reset()
func (*Fulfillment_GenericWebService) String ¶
func (x *Fulfillment_GenericWebService) String() string
type Fulfillment_GenericWebService_ ¶
type Fulfillment_GenericWebService_ struct { // Configuration for a generic web service. GenericWebService *Fulfillment_GenericWebService `protobuf:"bytes,3,opt,name=generic_web_service,json=genericWebService,proto3,oneof"` }
type FulfillmentsClient ¶
type FulfillmentsClient interface { // Retrieves the fulfillment. GetFulfillment(ctx context.Context, in *GetFulfillmentRequest, opts ...grpc.CallOption) (*Fulfillment, error) // Updates the fulfillment. UpdateFulfillment(ctx context.Context, in *UpdateFulfillmentRequest, opts ...grpc.CallOption) (*Fulfillment, error) }
FulfillmentsClient is the client API for Fulfillments service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFulfillmentsClient ¶
func NewFulfillmentsClient(cc grpc.ClientConnInterface) FulfillmentsClient
type FulfillmentsServer ¶
type FulfillmentsServer interface { // Retrieves the fulfillment. GetFulfillment(context.Context, *GetFulfillmentRequest) (*Fulfillment, error) // Updates the fulfillment. UpdateFulfillment(context.Context, *UpdateFulfillmentRequest) (*Fulfillment, error) }
FulfillmentsServer is the server API for Fulfillments service.
type GcsDestination ¶
type GcsDestination struct { // Required. The Google Cloud Storage URIs for the output. A URI is of the // form: // `gs://bucket/object-prefix-or-name` // Whether a prefix or name is used depends on the use case. The requesting // user must have "write-permission" to the bucket. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
Google Cloud Storage location for the output.
func (*GcsDestination) Descriptor ¶
func (*GcsDestination) Descriptor() ([]byte, []int)
Deprecated: Use GcsDestination.ProtoReflect.Descriptor instead.
func (*GcsDestination) GetUri ¶
func (x *GcsDestination) GetUri() string
func (*GcsDestination) ProtoMessage ¶
func (*GcsDestination) ProtoMessage()
func (*GcsDestination) ProtoReflect ¶
func (x *GcsDestination) ProtoReflect() protoreflect.Message
func (*GcsDestination) Reset ¶
func (x *GcsDestination) Reset()
func (*GcsDestination) String ¶
func (x *GcsDestination) String() string
type GcsSource ¶
type GcsSource struct { // Required. The Google Cloud Storage URIs for the inputs. A URI is of the // form: // `gs://bucket/object-prefix-or-name` // Whether a prefix or name is used depends on the use case. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
Google Cloud Storage location for single input.
func (*GcsSource) Descriptor ¶
Deprecated: Use GcsSource.ProtoReflect.Descriptor instead.
func (*GcsSource) GetUri ¶
func (*GcsSource) ProtoMessage ¶
func (*GcsSource) ProtoMessage()
func (*GcsSource) ProtoReflect ¶
func (x *GcsSource) ProtoReflect() protoreflect.Message
func (*GcsSource) Reset ¶
func (x *GcsSource) Reset()
func (*GcsSource) String ¶
type GcsSources ¶
type GcsSources struct { // Required. Google Cloud Storage URIs for the inputs. A URI is of the // form: // `gs://bucket/object-prefix-or-name` // Whether a prefix or name is used depends on the use case. Uris []string `protobuf:"bytes,2,rep,name=uris,proto3" json:"uris,omitempty"` // contains filtered or unexported fields }
Google Cloud Storage locations for the inputs.
func (*GcsSources) Descriptor ¶
func (*GcsSources) Descriptor() ([]byte, []int)
Deprecated: Use GcsSources.ProtoReflect.Descriptor instead.
func (*GcsSources) GetUris ¶
func (x *GcsSources) GetUris() []string
func (*GcsSources) ProtoMessage ¶
func (*GcsSources) ProtoMessage()
func (*GcsSources) ProtoReflect ¶
func (x *GcsSources) ProtoReflect() protoreflect.Message
func (*GcsSources) Reset ¶
func (x *GcsSources) Reset()
func (*GcsSources) String ¶
func (x *GcsSources) String() string
type GenerateStatelessSuggestionRequest ¶
type GenerateStatelessSuggestionRequest struct { // Required. The parent resource to charge for the Suggestion's generation. // Format: `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Generator. // // Types that are assignable to GeneratorResource: // // *GenerateStatelessSuggestionRequest_Generator // *GenerateStatelessSuggestionRequest_GeneratorName GeneratorResource isGenerateStatelessSuggestionRequest_GeneratorResource `protobuf_oneof:"generator_resource"` // Optional. Context of the conversation, including transcripts. ConversationContext *ConversationContext `protobuf:"bytes,5,opt,name=conversation_context,json=conversationContext,proto3" json:"conversation_context,omitempty"` // Optional. A list of trigger events. Generator will be triggered only if // it's trigger event is included here. TriggerEvents []TriggerEvent `protobuf:"varint,6,rep,packed,name=trigger_events,json=triggerEvents,proto3,enum=google.cloud.dialogflow.v2beta1.TriggerEvent" json:"trigger_events,omitempty"` // contains filtered or unexported fields }
The request message for [Conversations.GenerateStatelessSuggestion][google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSuggestion].
func (*GenerateStatelessSuggestionRequest) Descriptor ¶
func (*GenerateStatelessSuggestionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateStatelessSuggestionRequest.ProtoReflect.Descriptor instead.
func (*GenerateStatelessSuggestionRequest) GetConversationContext ¶
func (x *GenerateStatelessSuggestionRequest) GetConversationContext() *ConversationContext
func (*GenerateStatelessSuggestionRequest) GetGenerator ¶
func (x *GenerateStatelessSuggestionRequest) GetGenerator() *Generator
func (*GenerateStatelessSuggestionRequest) GetGeneratorName ¶
func (x *GenerateStatelessSuggestionRequest) GetGeneratorName() string
func (*GenerateStatelessSuggestionRequest) GetGeneratorResource ¶
func (m *GenerateStatelessSuggestionRequest) GetGeneratorResource() isGenerateStatelessSuggestionRequest_GeneratorResource
func (*GenerateStatelessSuggestionRequest) GetParent ¶
func (x *GenerateStatelessSuggestionRequest) GetParent() string
func (*GenerateStatelessSuggestionRequest) GetTriggerEvents ¶
func (x *GenerateStatelessSuggestionRequest) GetTriggerEvents() []TriggerEvent
func (*GenerateStatelessSuggestionRequest) ProtoMessage ¶
func (*GenerateStatelessSuggestionRequest) ProtoMessage()
func (*GenerateStatelessSuggestionRequest) ProtoReflect ¶
func (x *GenerateStatelessSuggestionRequest) ProtoReflect() protoreflect.Message
func (*GenerateStatelessSuggestionRequest) Reset ¶
func (x *GenerateStatelessSuggestionRequest) Reset()
func (*GenerateStatelessSuggestionRequest) String ¶
func (x *GenerateStatelessSuggestionRequest) String() string
type GenerateStatelessSuggestionRequest_Generator ¶
type GenerateStatelessSuggestionRequest_Generator struct { // Uncreated generator. It should be a complete generator that includes all // information about the generator. Generator *Generator `protobuf:"bytes,2,opt,name=generator,proto3,oneof"` }
type GenerateStatelessSuggestionRequest_GeneratorName ¶
type GenerateStatelessSuggestionRequest_GeneratorName struct { // The resource name of the existing created generator. Format: // `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>` GeneratorName string `protobuf:"bytes,3,opt,name=generator_name,json=generatorName,proto3,oneof"` }
type GenerateStatelessSuggestionResponse ¶
type GenerateStatelessSuggestionResponse struct { // Required. Generated suggestion for a conversation. GeneratorSuggestion *GeneratorSuggestion `protobuf:"bytes,1,opt,name=generator_suggestion,json=generatorSuggestion,proto3" json:"generator_suggestion,omitempty"` // contains filtered or unexported fields }
The response message for [Conversations.GenerateStatelessSuggestion][google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSuggestion].
func (*GenerateStatelessSuggestionResponse) Descriptor ¶
func (*GenerateStatelessSuggestionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateStatelessSuggestionResponse.ProtoReflect.Descriptor instead.
func (*GenerateStatelessSuggestionResponse) GetGeneratorSuggestion ¶
func (x *GenerateStatelessSuggestionResponse) GetGeneratorSuggestion() *GeneratorSuggestion
func (*GenerateStatelessSuggestionResponse) ProtoMessage ¶
func (*GenerateStatelessSuggestionResponse) ProtoMessage()
func (*GenerateStatelessSuggestionResponse) ProtoReflect ¶
func (x *GenerateStatelessSuggestionResponse) ProtoReflect() protoreflect.Message
func (*GenerateStatelessSuggestionResponse) Reset ¶
func (x *GenerateStatelessSuggestionResponse) Reset()
func (*GenerateStatelessSuggestionResponse) String ¶
func (x *GenerateStatelessSuggestionResponse) String() string
type GenerateStatelessSummaryRequest ¶
type GenerateStatelessSummaryRequest struct { // Required. The conversation to suggest a summary for. StatelessConversation *GenerateStatelessSummaryRequest_MinimalConversation `protobuf:"bytes,1,opt,name=stateless_conversation,json=statelessConversation,proto3" json:"stateless_conversation,omitempty"` // Required. A ConversationProfile containing information required for Summary // generation. // Required fields: {language_code, security_settings} // Optional fields: {agent_assistant_config} ConversationProfile *ConversationProfile `protobuf:"bytes,2,opt,name=conversation_profile,json=conversationProfile,proto3" json:"conversation_profile,omitempty"` // Optional. The name of the latest conversation message used as context for // generating a Summary. If empty, the latest message of the conversation will // be used. The format is specific to the user and the names of the messages // provided. LatestMessage string `protobuf:"bytes,3,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // Optional. Max number of messages prior to and including // [latest_message] to use as context when compiling the // suggestion. By default 500 and at most 1000. MaxContextSize int32 `protobuf:"varint,4,opt,name=max_context_size,json=maxContextSize,proto3" json:"max_context_size,omitempty"` // contains filtered or unexported fields }
The request message for [Conversations.GenerateStatelessSummary][google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSummary].
func (*GenerateStatelessSummaryRequest) Descriptor ¶
func (*GenerateStatelessSummaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateStatelessSummaryRequest.ProtoReflect.Descriptor instead.
func (*GenerateStatelessSummaryRequest) GetConversationProfile ¶
func (x *GenerateStatelessSummaryRequest) GetConversationProfile() *ConversationProfile
func (*GenerateStatelessSummaryRequest) GetLatestMessage ¶
func (x *GenerateStatelessSummaryRequest) GetLatestMessage() string
func (*GenerateStatelessSummaryRequest) GetMaxContextSize ¶
func (x *GenerateStatelessSummaryRequest) GetMaxContextSize() int32
func (*GenerateStatelessSummaryRequest) GetStatelessConversation ¶
func (x *GenerateStatelessSummaryRequest) GetStatelessConversation() *GenerateStatelessSummaryRequest_MinimalConversation
func (*GenerateStatelessSummaryRequest) ProtoMessage ¶
func (*GenerateStatelessSummaryRequest) ProtoMessage()
func (*GenerateStatelessSummaryRequest) ProtoReflect ¶
func (x *GenerateStatelessSummaryRequest) ProtoReflect() protoreflect.Message
func (*GenerateStatelessSummaryRequest) Reset ¶
func (x *GenerateStatelessSummaryRequest) Reset()
func (*GenerateStatelessSummaryRequest) String ¶
func (x *GenerateStatelessSummaryRequest) String() string
type GenerateStatelessSummaryRequest_MinimalConversation ¶
type GenerateStatelessSummaryRequest_MinimalConversation struct { // Required. The messages that the Summary will be generated from. It is // expected that this message content is already redacted and does not // contain any PII. Required fields: {content, language_code, participant, // participant_role} Optional fields: {send_time} If send_time is not // provided, then the messages must be provided in chronological order. Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // Required. The parent resource to charge for the Summary's generation. // Format: `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
The minimum amount of information required to generate a Summary without having a Conversation resource created.
func (*GenerateStatelessSummaryRequest_MinimalConversation) Descriptor ¶
func (*GenerateStatelessSummaryRequest_MinimalConversation) Descriptor() ([]byte, []int)
Deprecated: Use GenerateStatelessSummaryRequest_MinimalConversation.ProtoReflect.Descriptor instead.
func (*GenerateStatelessSummaryRequest_MinimalConversation) GetMessages ¶
func (x *GenerateStatelessSummaryRequest_MinimalConversation) GetMessages() []*Message
func (*GenerateStatelessSummaryRequest_MinimalConversation) GetParent ¶
func (x *GenerateStatelessSummaryRequest_MinimalConversation) GetParent() string
func (*GenerateStatelessSummaryRequest_MinimalConversation) ProtoMessage ¶
func (*GenerateStatelessSummaryRequest_MinimalConversation) ProtoMessage()
func (*GenerateStatelessSummaryRequest_MinimalConversation) ProtoReflect ¶
func (x *GenerateStatelessSummaryRequest_MinimalConversation) ProtoReflect() protoreflect.Message
func (*GenerateStatelessSummaryRequest_MinimalConversation) Reset ¶
func (x *GenerateStatelessSummaryRequest_MinimalConversation) Reset()
func (*GenerateStatelessSummaryRequest_MinimalConversation) String ¶
func (x *GenerateStatelessSummaryRequest_MinimalConversation) String() string
type GenerateStatelessSummaryResponse ¶
type GenerateStatelessSummaryResponse struct { // Generated summary. Summary *GenerateStatelessSummaryResponse_Summary `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` // The name of the latest conversation message used as context for // compiling suggestion. The format is specific to the user and the names of // the messages provided. LatestMessage string `protobuf:"bytes,2,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // Number of messages prior to and including // [last_conversation_message][] used to compile the suggestion. It may be // smaller than the [GenerateStatelessSummaryRequest.context_size][] field in // the request if there weren't that many messages in the conversation. ContextSize int32 `protobuf:"varint,3,opt,name=context_size,json=contextSize,proto3" json:"context_size,omitempty"` // contains filtered or unexported fields }
The response message for [Conversations.GenerateStatelessSummary][google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSummary].
func (*GenerateStatelessSummaryResponse) Descriptor ¶
func (*GenerateStatelessSummaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateStatelessSummaryResponse.ProtoReflect.Descriptor instead.
func (*GenerateStatelessSummaryResponse) GetContextSize ¶
func (x *GenerateStatelessSummaryResponse) GetContextSize() int32
func (*GenerateStatelessSummaryResponse) GetLatestMessage ¶
func (x *GenerateStatelessSummaryResponse) GetLatestMessage() string
func (*GenerateStatelessSummaryResponse) GetSummary ¶
func (x *GenerateStatelessSummaryResponse) GetSummary() *GenerateStatelessSummaryResponse_Summary
func (*GenerateStatelessSummaryResponse) ProtoMessage ¶
func (*GenerateStatelessSummaryResponse) ProtoMessage()
func (*GenerateStatelessSummaryResponse) ProtoReflect ¶
func (x *GenerateStatelessSummaryResponse) ProtoReflect() protoreflect.Message
func (*GenerateStatelessSummaryResponse) Reset ¶
func (x *GenerateStatelessSummaryResponse) Reset()
func (*GenerateStatelessSummaryResponse) String ¶
func (x *GenerateStatelessSummaryResponse) String() string
type GenerateStatelessSummaryResponse_Summary ¶
type GenerateStatelessSummaryResponse_Summary struct { // The summary content that is concatenated into one string. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // The summary content that is divided into sections. The key is the // section's name and the value is the section's content. There is no // specific format for the key or value. TextSections map[string]string `protobuf:"bytes,2,rep,name=text_sections,json=textSections,proto3" json:"text_sections,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The baseline model version used to generate this summary. It is empty if // a baseline model was not used to generate this summary. BaselineModelVersion string `protobuf:"bytes,4,opt,name=baseline_model_version,json=baselineModelVersion,proto3" json:"baseline_model_version,omitempty"` // contains filtered or unexported fields }
Generated summary for a conversation.
func (*GenerateStatelessSummaryResponse_Summary) Descriptor ¶
func (*GenerateStatelessSummaryResponse_Summary) Descriptor() ([]byte, []int)
Deprecated: Use GenerateStatelessSummaryResponse_Summary.ProtoReflect.Descriptor instead.
func (*GenerateStatelessSummaryResponse_Summary) GetBaselineModelVersion ¶
func (x *GenerateStatelessSummaryResponse_Summary) GetBaselineModelVersion() string
func (*GenerateStatelessSummaryResponse_Summary) GetText ¶
func (x *GenerateStatelessSummaryResponse_Summary) GetText() string
func (*GenerateStatelessSummaryResponse_Summary) GetTextSections ¶
func (x *GenerateStatelessSummaryResponse_Summary) GetTextSections() map[string]string
func (*GenerateStatelessSummaryResponse_Summary) ProtoMessage ¶
func (*GenerateStatelessSummaryResponse_Summary) ProtoMessage()
func (*GenerateStatelessSummaryResponse_Summary) ProtoReflect ¶
func (x *GenerateStatelessSummaryResponse_Summary) ProtoReflect() protoreflect.Message
func (*GenerateStatelessSummaryResponse_Summary) Reset ¶
func (x *GenerateStatelessSummaryResponse_Summary) Reset()
func (*GenerateStatelessSummaryResponse_Summary) String ¶
func (x *GenerateStatelessSummaryResponse_Summary) String() string
type Generator ¶
type Generator struct { // Output only. Identifier. The resource name of the generator. Format: // `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. Human readable description of the generator. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Required. Input context of the generator. // // Types that are assignable to Context: // // *Generator_SummarizationContext Context isGenerator_Context `protobuf_oneof:"context"` // Optional. Inference parameters for this generator. InferenceParameter *InferenceParameter `protobuf:"bytes,4,opt,name=inference_parameter,json=inferenceParameter,proto3" json:"inference_parameter,omitempty"` // Optional. The trigger event of the generator. It defines when the generator // is triggered in a conversation. TriggerEvent TriggerEvent `protobuf:"varint,5,opt,name=trigger_event,json=triggerEvent,proto3,enum=google.cloud.dialogflow.v2beta1.TriggerEvent" json:"trigger_event,omitempty"` // Output only. Creation time of this generator. CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Update time of this generator. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // contains filtered or unexported fields }
LLM generator.
func (*Generator) Descriptor ¶
Deprecated: Use Generator.ProtoReflect.Descriptor instead.
func (*Generator) GetContext ¶
func (m *Generator) GetContext() isGenerator_Context
func (*Generator) GetCreateTime ¶
func (x *Generator) GetCreateTime() *timestamppb.Timestamp
func (*Generator) GetDescription ¶
func (*Generator) GetInferenceParameter ¶
func (x *Generator) GetInferenceParameter() *InferenceParameter
func (*Generator) GetName ¶
func (*Generator) GetSummarizationContext ¶
func (x *Generator) GetSummarizationContext() *SummarizationContext
func (*Generator) GetTriggerEvent ¶
func (x *Generator) GetTriggerEvent() TriggerEvent
func (*Generator) GetUpdateTime ¶
func (x *Generator) GetUpdateTime() *timestamppb.Timestamp
func (*Generator) ProtoMessage ¶
func (*Generator) ProtoMessage()
func (*Generator) ProtoReflect ¶
func (x *Generator) ProtoReflect() protoreflect.Message
func (*Generator) Reset ¶
func (x *Generator) Reset()
func (*Generator) String ¶
type GeneratorSuggestion ¶
type GeneratorSuggestion struct { // The suggestion could be one of the many types // // Types that are assignable to Suggestion: // // *GeneratorSuggestion_SummarySuggestion Suggestion isGeneratorSuggestion_Suggestion `protobuf_oneof:"suggestion"` // contains filtered or unexported fields }
Suggestion generated using a Generator.
func (*GeneratorSuggestion) Descriptor ¶
func (*GeneratorSuggestion) Descriptor() ([]byte, []int)
Deprecated: Use GeneratorSuggestion.ProtoReflect.Descriptor instead.
func (*GeneratorSuggestion) GetSuggestion ¶
func (m *GeneratorSuggestion) GetSuggestion() isGeneratorSuggestion_Suggestion
func (*GeneratorSuggestion) GetSummarySuggestion ¶
func (x *GeneratorSuggestion) GetSummarySuggestion() *SummarySuggestion
func (*GeneratorSuggestion) ProtoMessage ¶
func (*GeneratorSuggestion) ProtoMessage()
func (*GeneratorSuggestion) ProtoReflect ¶
func (x *GeneratorSuggestion) ProtoReflect() protoreflect.Message
func (*GeneratorSuggestion) Reset ¶
func (x *GeneratorSuggestion) Reset()
func (*GeneratorSuggestion) String ¶
func (x *GeneratorSuggestion) String() string
type GeneratorSuggestion_SummarySuggestion ¶
type GeneratorSuggestion_SummarySuggestion struct { // Optional. Suggested summary. SummarySuggestion *SummarySuggestion `protobuf:"bytes,2,opt,name=summary_suggestion,json=summarySuggestion,proto3,oneof"` }
type Generator_SummarizationContext ¶
type Generator_SummarizationContext struct { // Input of Summarization feature. SummarizationContext *SummarizationContext `protobuf:"bytes,13,opt,name=summarization_context,json=summarizationContext,proto3,oneof"` }
type GeneratorsClient ¶
type GeneratorsClient interface { // Creates a generator. CreateGenerator(ctx context.Context, in *CreateGeneratorRequest, opts ...grpc.CallOption) (*Generator, error) // Retrieves a generator. GetGenerator(ctx context.Context, in *GetGeneratorRequest, opts ...grpc.CallOption) (*Generator, error) // Lists generators. ListGenerators(ctx context.Context, in *ListGeneratorsRequest, opts ...grpc.CallOption) (*ListGeneratorsResponse, error) // Deletes a generator. DeleteGenerator(ctx context.Context, in *DeleteGeneratorRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Updates a generator. UpdateGenerator(ctx context.Context, in *UpdateGeneratorRequest, opts ...grpc.CallOption) (*Generator, error) }
GeneratorsClient is the client API for Generators service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGeneratorsClient ¶
func NewGeneratorsClient(cc grpc.ClientConnInterface) GeneratorsClient
type GeneratorsServer ¶
type GeneratorsServer interface { // Creates a generator. CreateGenerator(context.Context, *CreateGeneratorRequest) (*Generator, error) // Retrieves a generator. GetGenerator(context.Context, *GetGeneratorRequest) (*Generator, error) // Lists generators. ListGenerators(context.Context, *ListGeneratorsRequest) (*ListGeneratorsResponse, error) // Deletes a generator. DeleteGenerator(context.Context, *DeleteGeneratorRequest) (*emptypb.Empty, error) // Updates a generator. UpdateGenerator(context.Context, *UpdateGeneratorRequest) (*Generator, error) }
GeneratorsServer is the server API for Generators service.
type GetAgentRequest ¶
type GetAgentRequest struct { // Required. The project that the agent to fetch is associated with. // Format: `projects/<Project ID>` or // // `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
The request message for [Agents.GetAgent][google.cloud.dialogflow.v2beta1.Agents.GetAgent].
func (*GetAgentRequest) Descriptor ¶
func (*GetAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentRequest.ProtoReflect.Descriptor instead.
func (*GetAgentRequest) GetParent ¶
func (x *GetAgentRequest) GetParent() string
func (*GetAgentRequest) ProtoMessage ¶
func (*GetAgentRequest) ProtoMessage()
func (*GetAgentRequest) ProtoReflect ¶
func (x *GetAgentRequest) ProtoReflect() protoreflect.Message
func (*GetAgentRequest) Reset ¶
func (x *GetAgentRequest) Reset()
func (*GetAgentRequest) String ¶
func (x *GetAgentRequest) String() string
type GetAnswerRecordRequest ¶
type GetAnswerRecordRequest struct { // Required. The name of the answer record to retrieve. // Format: `projects/<Project ID>/locations/<Location // ID>/answerRecords/<Answer Record Id>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for [AnswerRecords.GetAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.GetAnswerRecord].
func (*GetAnswerRecordRequest) Descriptor ¶
func (*GetAnswerRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAnswerRecordRequest.ProtoReflect.Descriptor instead.
func (*GetAnswerRecordRequest) GetName ¶
func (x *GetAnswerRecordRequest) GetName() string
func (*GetAnswerRecordRequest) ProtoMessage ¶
func (*GetAnswerRecordRequest) ProtoMessage()
func (*GetAnswerRecordRequest) ProtoReflect ¶
func (x *GetAnswerRecordRequest) ProtoReflect() protoreflect.Message
func (*GetAnswerRecordRequest) Reset ¶
func (x *GetAnswerRecordRequest) Reset()
func (*GetAnswerRecordRequest) String ¶
func (x *GetAnswerRecordRequest) String() string
type GetContextRequest ¶
type GetContextRequest struct { // Required. The name of the context. Supported formats: // - `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context // ID>`, // - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session // ID>/contexts/<Context ID>`, // - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User // ID>/sessions/<Session ID>/contexts/<Context ID>`, // - `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session // ID>/contexts/<Context ID>`, // // If `Location ID` is not specified we assume default 'us' location. If // `Environment ID` is not specified, we assume default 'draft' environment. // If `User ID` is not specified, we assume default '-' user. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Contexts.GetContext][google.cloud.dialogflow.v2beta1.Contexts.GetContext].
func (*GetContextRequest) Descriptor ¶
func (*GetContextRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetContextRequest.ProtoReflect.Descriptor instead.
func (*GetContextRequest) GetName ¶
func (x *GetContextRequest) GetName() string
func (*GetContextRequest) ProtoMessage ¶
func (*GetContextRequest) ProtoMessage()
func (*GetContextRequest) ProtoReflect ¶
func (x *GetContextRequest) ProtoReflect() protoreflect.Message
func (*GetContextRequest) Reset ¶
func (x *GetContextRequest) Reset()
func (*GetContextRequest) String ¶
func (x *GetContextRequest) String() string
type GetConversationProfileRequest ¶
type GetConversationProfileRequest struct { // Required. The resource name of the conversation profile. // Format: `projects/<Project ID>/locations/<Location // ID>/conversationProfiles/<Conversation Profile ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [ConversationProfiles.GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile].
func (*GetConversationProfileRequest) Descriptor ¶
func (*GetConversationProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationProfileRequest.ProtoReflect.Descriptor instead.
func (*GetConversationProfileRequest) GetName ¶
func (x *GetConversationProfileRequest) GetName() string
func (*GetConversationProfileRequest) ProtoMessage ¶
func (*GetConversationProfileRequest) ProtoMessage()
func (*GetConversationProfileRequest) ProtoReflect ¶
func (x *GetConversationProfileRequest) ProtoReflect() protoreflect.Message
func (*GetConversationProfileRequest) Reset ¶
func (x *GetConversationProfileRequest) Reset()
func (*GetConversationProfileRequest) String ¶
func (x *GetConversationProfileRequest) String() string
type GetConversationRequest ¶
type GetConversationRequest struct { // Required. The name of the conversation. Format: // `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation // ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Conversations.GetConversation][google.cloud.dialogflow.v2beta1.Conversations.GetConversation].
func (*GetConversationRequest) Descriptor ¶
func (*GetConversationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConversationRequest.ProtoReflect.Descriptor instead.
func (*GetConversationRequest) GetName ¶
func (x *GetConversationRequest) GetName() string
func (*GetConversationRequest) ProtoMessage ¶
func (*GetConversationRequest) ProtoMessage()
func (*GetConversationRequest) ProtoReflect ¶
func (x *GetConversationRequest) ProtoReflect() protoreflect.Message
func (*GetConversationRequest) Reset ¶
func (x *GetConversationRequest) Reset()
func (*GetConversationRequest) String ¶
func (x *GetConversationRequest) String() string
type GetDocumentRequest ¶
type GetDocumentRequest struct { // Required. The name of the document to retrieve. // Format `projects/<Project ID>/locations/<Location // ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for [Documents.GetDocument][google.cloud.dialogflow.v2beta1.Documents.GetDocument].
func (*GetDocumentRequest) Descriptor ¶
func (*GetDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDocumentRequest.ProtoReflect.Descriptor instead.
func (*GetDocumentRequest) GetName ¶
func (x *GetDocumentRequest) GetName() string
func (*GetDocumentRequest) ProtoMessage ¶
func (*GetDocumentRequest) ProtoMessage()
func (*GetDocumentRequest) ProtoReflect ¶
func (x *GetDocumentRequest) ProtoReflect() protoreflect.Message
func (*GetDocumentRequest) Reset ¶
func (x *GetDocumentRequest) Reset()
func (*GetDocumentRequest) String ¶
func (x *GetDocumentRequest) String() string
type GetEncryptionSpecRequest ¶
type GetEncryptionSpecRequest struct { // Required. The name of the encryption spec resource to get. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request to get location-level encryption specification.
func (*GetEncryptionSpecRequest) Descriptor ¶
func (*GetEncryptionSpecRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEncryptionSpecRequest.ProtoReflect.Descriptor instead.
func (*GetEncryptionSpecRequest) GetName ¶
func (x *GetEncryptionSpecRequest) GetName() string
func (*GetEncryptionSpecRequest) ProtoMessage ¶
func (*GetEncryptionSpecRequest) ProtoMessage()
func (*GetEncryptionSpecRequest) ProtoReflect ¶
func (x *GetEncryptionSpecRequest) ProtoReflect() protoreflect.Message
func (*GetEncryptionSpecRequest) Reset ¶
func (x *GetEncryptionSpecRequest) Reset()
func (*GetEncryptionSpecRequest) String ¶
func (x *GetEncryptionSpecRequest) String() string
type GetEntityTypeRequest ¶
type GetEntityTypeRequest struct { // Required. The name of the entity type. // Supported formats: // - `projects/<Project ID>/agent/entityTypes/<Entity Type ID>` // - `projects/<Project ID>/locations/<Location ID>/agent/entityTypes/<Entity // Type ID>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The language used to access language-specific data. // If not specified, the agent's default language is used. // For more information, see // [Multilingual intent and entity // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType].
func (*GetEntityTypeRequest) Descriptor ¶
func (*GetEntityTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*GetEntityTypeRequest) GetLanguageCode ¶
func (x *GetEntityTypeRequest) GetLanguageCode() string
func (*GetEntityTypeRequest) GetName ¶
func (x *GetEntityTypeRequest) GetName() string
func (*GetEntityTypeRequest) ProtoMessage ¶
func (*GetEntityTypeRequest) ProtoMessage()
func (*GetEntityTypeRequest) ProtoReflect ¶
func (x *GetEntityTypeRequest) ProtoReflect() protoreflect.Message
func (*GetEntityTypeRequest) Reset ¶
func (x *GetEntityTypeRequest) Reset()
func (*GetEntityTypeRequest) String ¶
func (x *GetEntityTypeRequest) String() string
type GetEnvironmentHistoryRequest ¶
type GetEnvironmentHistoryRequest struct { // Required. The name of the environment to retrieve history for. // Supported formats: // - `projects/<Project ID>/agent/environments/<Environment ID>` // - `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of items to return in a single page. By // default 100 and at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory].
func (*GetEnvironmentHistoryRequest) Descriptor ¶
func (*GetEnvironmentHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEnvironmentHistoryRequest.ProtoReflect.Descriptor instead.
func (*GetEnvironmentHistoryRequest) GetPageSize ¶
func (x *GetEnvironmentHistoryRequest) GetPageSize() int32
func (*GetEnvironmentHistoryRequest) GetPageToken ¶
func (x *GetEnvironmentHistoryRequest) GetPageToken() string
func (*GetEnvironmentHistoryRequest) GetParent ¶
func (x *GetEnvironmentHistoryRequest) GetParent() string
func (*GetEnvironmentHistoryRequest) ProtoMessage ¶
func (*GetEnvironmentHistoryRequest) ProtoMessage()
func (*GetEnvironmentHistoryRequest) ProtoReflect ¶
func (x *GetEnvironmentHistoryRequest) ProtoReflect() protoreflect.Message
func (*GetEnvironmentHistoryRequest) Reset ¶
func (x *GetEnvironmentHistoryRequest) Reset()
func (*GetEnvironmentHistoryRequest) String ¶
func (x *GetEnvironmentHistoryRequest) String() string
type GetEnvironmentRequest ¶
type GetEnvironmentRequest struct { // Required. The name of the environment. // Supported formats: // - `projects/<Project ID>/agent/environments/<Environment ID>` // - `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Environments.GetEnvironment][google.cloud.dialogflow.v2beta1.Environments.GetEnvironment].
func (*GetEnvironmentRequest) Descriptor ¶
func (*GetEnvironmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*GetEnvironmentRequest) GetName ¶
func (x *GetEnvironmentRequest) GetName() string
func (*GetEnvironmentRequest) ProtoMessage ¶
func (*GetEnvironmentRequest) ProtoMessage()
func (*GetEnvironmentRequest) ProtoReflect ¶
func (x *GetEnvironmentRequest) ProtoReflect() protoreflect.Message
func (*GetEnvironmentRequest) Reset ¶
func (x *GetEnvironmentRequest) Reset()
func (*GetEnvironmentRequest) String ¶
func (x *GetEnvironmentRequest) String() string
type GetFulfillmentRequest ¶
type GetFulfillmentRequest struct { // Required. The name of the fulfillment. // Supported formats: // // - `projects/<Project ID>/agent/fulfillment` // - `projects/<Project ID>/locations/<Location ID>/agent/fulfillment` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Fulfillments.GetFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.GetFulfillment].
func (*GetFulfillmentRequest) Descriptor ¶
func (*GetFulfillmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFulfillmentRequest.ProtoReflect.Descriptor instead.
func (*GetFulfillmentRequest) GetName ¶
func (x *GetFulfillmentRequest) GetName() string
func (*GetFulfillmentRequest) ProtoMessage ¶
func (*GetFulfillmentRequest) ProtoMessage()
func (*GetFulfillmentRequest) ProtoReflect ¶
func (x *GetFulfillmentRequest) ProtoReflect() protoreflect.Message
func (*GetFulfillmentRequest) Reset ¶
func (x *GetFulfillmentRequest) Reset()
func (*GetFulfillmentRequest) String ¶
func (x *GetFulfillmentRequest) String() string
type GetGeneratorRequest ¶
type GetGeneratorRequest struct { // Required. The generator resource name to retrieve. Format: // `projects/<Project ID>/locations/<Location ID>`/generators/<Generator ID>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message of GetGenerator.
func (*GetGeneratorRequest) Descriptor ¶
func (*GetGeneratorRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGeneratorRequest.ProtoReflect.Descriptor instead.
func (*GetGeneratorRequest) GetName ¶
func (x *GetGeneratorRequest) GetName() string
func (*GetGeneratorRequest) ProtoMessage ¶
func (*GetGeneratorRequest) ProtoMessage()
func (*GetGeneratorRequest) ProtoReflect ¶
func (x *GetGeneratorRequest) ProtoReflect() protoreflect.Message
func (*GetGeneratorRequest) Reset ¶
func (x *GetGeneratorRequest) Reset()
func (*GetGeneratorRequest) String ¶
func (x *GetGeneratorRequest) String() string
type GetIntentRequest ¶
type GetIntentRequest struct { // Required. The name of the intent. // Supported formats: // // - `projects/<Project ID>/agent/intents/<Intent ID>` // - `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The language used to access language-specific data. // If not specified, the agent's default language is used. // For more information, see // [Multilingual intent and entity // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Optional. The resource view to apply to the returned intent. IntentView IntentView `protobuf:"varint,3,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"` // contains filtered or unexported fields }
The request message for [Intents.GetIntent][google.cloud.dialogflow.v2beta1.Intents.GetIntent].
func (*GetIntentRequest) Descriptor ¶
func (*GetIntentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIntentRequest.ProtoReflect.Descriptor instead.
func (*GetIntentRequest) GetIntentView ¶
func (x *GetIntentRequest) GetIntentView() IntentView
func (*GetIntentRequest) GetLanguageCode ¶
func (x *GetIntentRequest) GetLanguageCode() string
func (*GetIntentRequest) GetName ¶
func (x *GetIntentRequest) GetName() string
func (*GetIntentRequest) ProtoMessage ¶
func (*GetIntentRequest) ProtoMessage()
func (*GetIntentRequest) ProtoReflect ¶
func (x *GetIntentRequest) ProtoReflect() protoreflect.Message
func (*GetIntentRequest) Reset ¶
func (x *GetIntentRequest) Reset()
func (*GetIntentRequest) String ¶
func (x *GetIntentRequest) String() string
type GetKnowledgeBaseRequest ¶
type GetKnowledgeBaseRequest struct { // Required. The name of the knowledge base to retrieve. // Format `projects/<Project ID>/locations/<Location // ID>/knowledgeBases/<Knowledge Base ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for [KnowledgeBases.GetKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.GetKnowledgeBase].
func (*GetKnowledgeBaseRequest) Descriptor ¶
func (*GetKnowledgeBaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetKnowledgeBaseRequest.ProtoReflect.Descriptor instead.
func (*GetKnowledgeBaseRequest) GetName ¶
func (x *GetKnowledgeBaseRequest) GetName() string
func (*GetKnowledgeBaseRequest) ProtoMessage ¶
func (*GetKnowledgeBaseRequest) ProtoMessage()
func (*GetKnowledgeBaseRequest) ProtoReflect ¶
func (x *GetKnowledgeBaseRequest) ProtoReflect() protoreflect.Message
func (*GetKnowledgeBaseRequest) Reset ¶
func (x *GetKnowledgeBaseRequest) Reset()
func (*GetKnowledgeBaseRequest) String ¶
func (x *GetKnowledgeBaseRequest) String() string
type GetParticipantRequest ¶
type GetParticipantRequest struct { // Required. The name of the participant. Format: // `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation // ID>/participants/<Participant ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Participants.GetParticipant][google.cloud.dialogflow.v2beta1.Participants.GetParticipant].
func (*GetParticipantRequest) Descriptor ¶
func (*GetParticipantRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetParticipantRequest.ProtoReflect.Descriptor instead.
func (*GetParticipantRequest) GetName ¶
func (x *GetParticipantRequest) GetName() string
func (*GetParticipantRequest) ProtoMessage ¶
func (*GetParticipantRequest) ProtoMessage()
func (*GetParticipantRequest) ProtoReflect ¶
func (x *GetParticipantRequest) ProtoReflect() protoreflect.Message
func (*GetParticipantRequest) Reset ¶
func (x *GetParticipantRequest) Reset()
func (*GetParticipantRequest) String ¶
func (x *GetParticipantRequest) String() string
type GetSessionEntityTypeRequest ¶
type GetSessionEntityTypeRequest struct { // Required. The name of the session entity type. Supported formats: // - `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity // Type Display Name>` // - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session // ID>/entityTypes/<Entity Type Display Name>` // - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User // ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>` // - `projects/<Project ID>/locations/<Location ID>/agent/environments/ // <Environment ID>/users/<User ID>/sessions/<Session // ID>/entityTypes/<Entity Type Display Name>` // // If `Location ID` is not specified we assume default 'us' location. If // `Environment ID` is not specified, we assume default 'draft' environment. // If `User ID` is not specified, we assume default '-' user. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityType].
func (*GetSessionEntityTypeRequest) Descriptor ¶
func (*GetSessionEntityTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSessionEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*GetSessionEntityTypeRequest) GetName ¶
func (x *GetSessionEntityTypeRequest) GetName() string
func (*GetSessionEntityTypeRequest) ProtoMessage ¶
func (*GetSessionEntityTypeRequest) ProtoMessage()
func (*GetSessionEntityTypeRequest) ProtoReflect ¶
func (x *GetSessionEntityTypeRequest) ProtoReflect() protoreflect.Message
func (*GetSessionEntityTypeRequest) Reset ¶
func (x *GetSessionEntityTypeRequest) Reset()
func (*GetSessionEntityTypeRequest) String ¶
func (x *GetSessionEntityTypeRequest) String() string
type GetSipTrunkRequest ¶
type GetSipTrunkRequest struct { // Required. The name of the SIP trunk to delete. // Format: `projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk // ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [SipTrunks.GetSipTrunk][google.cloud.dialogflow.v2beta1.SipTrunks.GetSipTrunk].
func (*GetSipTrunkRequest) Descriptor ¶
func (*GetSipTrunkRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSipTrunkRequest.ProtoReflect.Descriptor instead.
func (*GetSipTrunkRequest) GetName ¶
func (x *GetSipTrunkRequest) GetName() string
func (*GetSipTrunkRequest) ProtoMessage ¶
func (*GetSipTrunkRequest) ProtoMessage()
func (*GetSipTrunkRequest) ProtoReflect ¶
func (x *GetSipTrunkRequest) ProtoReflect() protoreflect.Message
func (*GetSipTrunkRequest) Reset ¶
func (x *GetSipTrunkRequest) Reset()
func (*GetSipTrunkRequest) String ¶
func (x *GetSipTrunkRequest) String() string
type GetValidationResultRequest ¶
type GetValidationResultRequest struct { // Required. The project that the agent is associated with. // Format: `projects/<Project ID>` or // // `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The language for which you want a validation result. If not // specified, the agent's default language is used. [Many // languages](https://cloud.google.com/dialogflow/docs/reference/language) // are supported. Note: languages must be enabled in the agent before they can // be used. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
The request message for [Agents.GetValidationResult][google.cloud.dialogflow.v2beta1.Agents.GetValidationResult].
func (*GetValidationResultRequest) Descriptor ¶
func (*GetValidationResultRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetValidationResultRequest.ProtoReflect.Descriptor instead.
func (*GetValidationResultRequest) GetLanguageCode ¶
func (x *GetValidationResultRequest) GetLanguageCode() string
func (*GetValidationResultRequest) GetParent ¶
func (x *GetValidationResultRequest) GetParent() string
func (*GetValidationResultRequest) ProtoMessage ¶
func (*GetValidationResultRequest) ProtoMessage()
func (*GetValidationResultRequest) ProtoReflect ¶
func (x *GetValidationResultRequest) ProtoReflect() protoreflect.Message
func (*GetValidationResultRequest) Reset ¶
func (x *GetValidationResultRequest) Reset()
func (*GetValidationResultRequest) String ¶
func (x *GetValidationResultRequest) String() string
type GetVersionRequest ¶
type GetVersionRequest struct { // Required. The name of the version. // Supported formats: // - `projects/<Project ID>/agent/versions/<Version ID>` // - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version // ID>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [Versions.GetVersion][google.cloud.dialogflow.v2beta1.Versions.GetVersion].
func (*GetVersionRequest) Descriptor ¶
func (*GetVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
func (*GetVersionRequest) GetName ¶
func (x *GetVersionRequest) GetName() string
func (*GetVersionRequest) ProtoMessage ¶
func (*GetVersionRequest) ProtoMessage()
func (*GetVersionRequest) ProtoReflect ¶
func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
func (*GetVersionRequest) Reset ¶
func (x *GetVersionRequest) Reset()
func (*GetVersionRequest) String ¶
func (x *GetVersionRequest) String() string
type HumanAgentAssistantConfig ¶
type HumanAgentAssistantConfig struct { // Pub/Sub topic on which to publish new agent assistant events. NotificationConfig *NotificationConfig `protobuf:"bytes,2,opt,name=notification_config,json=notificationConfig,proto3" json:"notification_config,omitempty"` // Configuration for agent assistance of human agent participant. HumanAgentSuggestionConfig *HumanAgentAssistantConfig_SuggestionConfig `protobuf:"bytes,3,opt,name=human_agent_suggestion_config,json=humanAgentSuggestionConfig,proto3" json:"human_agent_suggestion_config,omitempty"` // Configuration for agent assistance of end user participant. // // Currently, this feature is not general available, please contact Google // to get access. EndUserSuggestionConfig *HumanAgentAssistantConfig_SuggestionConfig `protobuf:"bytes,4,opt,name=end_user_suggestion_config,json=endUserSuggestionConfig,proto3" json:"end_user_suggestion_config,omitempty"` // Configuration for message analysis. MessageAnalysisConfig *HumanAgentAssistantConfig_MessageAnalysisConfig `protobuf:"bytes,5,opt,name=message_analysis_config,json=messageAnalysisConfig,proto3" json:"message_analysis_config,omitempty"` // contains filtered or unexported fields }
Defines the Human Agent Assistant to connect to a conversation.
func (*HumanAgentAssistantConfig) Descriptor ¶
func (*HumanAgentAssistantConfig) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentAssistantConfig.ProtoReflect.Descriptor instead.
func (*HumanAgentAssistantConfig) GetEndUserSuggestionConfig ¶
func (x *HumanAgentAssistantConfig) GetEndUserSuggestionConfig() *HumanAgentAssistantConfig_SuggestionConfig
func (*HumanAgentAssistantConfig) GetHumanAgentSuggestionConfig ¶
func (x *HumanAgentAssistantConfig) GetHumanAgentSuggestionConfig() *HumanAgentAssistantConfig_SuggestionConfig
func (*HumanAgentAssistantConfig) GetMessageAnalysisConfig ¶
func (x *HumanAgentAssistantConfig) GetMessageAnalysisConfig() *HumanAgentAssistantConfig_MessageAnalysisConfig
func (*HumanAgentAssistantConfig) GetNotificationConfig ¶
func (x *HumanAgentAssistantConfig) GetNotificationConfig() *NotificationConfig
func (*HumanAgentAssistantConfig) ProtoMessage ¶
func (*HumanAgentAssistantConfig) ProtoMessage()
func (*HumanAgentAssistantConfig) ProtoReflect ¶
func (x *HumanAgentAssistantConfig) ProtoReflect() protoreflect.Message
func (*HumanAgentAssistantConfig) Reset ¶
func (x *HumanAgentAssistantConfig) Reset()
func (*HumanAgentAssistantConfig) String ¶
func (x *HumanAgentAssistantConfig) String() string
type HumanAgentAssistantConfig_ConversationModelConfig ¶
type HumanAgentAssistantConfig_ConversationModelConfig struct { // Conversation model resource name. Format: `projects/<Project // ID>/conversationModels/<Model ID>`. Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // Version of current baseline model. It will be ignored if // [model][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig.model] // is set. Valid versions are: // // Article Suggestion baseline model: // - 0.9 // - 1.0 (default) // Summarization baseline model: // - 1.0 BaselineModelVersion string `protobuf:"bytes,8,opt,name=baseline_model_version,json=baselineModelVersion,proto3" json:"baseline_model_version,omitempty"` // contains filtered or unexported fields }
Custom conversation models used in agent assist feature.
Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.
func (*HumanAgentAssistantConfig_ConversationModelConfig) Descriptor ¶
func (*HumanAgentAssistantConfig_ConversationModelConfig) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentAssistantConfig_ConversationModelConfig.ProtoReflect.Descriptor instead.
func (*HumanAgentAssistantConfig_ConversationModelConfig) GetBaselineModelVersion ¶
func (x *HumanAgentAssistantConfig_ConversationModelConfig) GetBaselineModelVersion() string
func (*HumanAgentAssistantConfig_ConversationModelConfig) GetModel ¶
func (x *HumanAgentAssistantConfig_ConversationModelConfig) GetModel() string
func (*HumanAgentAssistantConfig_ConversationModelConfig) ProtoMessage ¶
func (*HumanAgentAssistantConfig_ConversationModelConfig) ProtoMessage()
func (*HumanAgentAssistantConfig_ConversationModelConfig) ProtoReflect ¶
func (x *HumanAgentAssistantConfig_ConversationModelConfig) ProtoReflect() protoreflect.Message
func (*HumanAgentAssistantConfig_ConversationModelConfig) Reset ¶
func (x *HumanAgentAssistantConfig_ConversationModelConfig) Reset()
func (*HumanAgentAssistantConfig_ConversationModelConfig) String ¶
func (x *HumanAgentAssistantConfig_ConversationModelConfig) String() string
type HumanAgentAssistantConfig_ConversationProcessConfig ¶
type HumanAgentAssistantConfig_ConversationProcessConfig struct { // Number of recent non-small-talk sentences to use as context for article // and FAQ suggestion RecentSentencesCount int32 `protobuf:"varint,2,opt,name=recent_sentences_count,json=recentSentencesCount,proto3" json:"recent_sentences_count,omitempty"` // contains filtered or unexported fields }
Config to process conversation.
func (*HumanAgentAssistantConfig_ConversationProcessConfig) Descriptor ¶
func (*HumanAgentAssistantConfig_ConversationProcessConfig) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentAssistantConfig_ConversationProcessConfig.ProtoReflect.Descriptor instead.
func (*HumanAgentAssistantConfig_ConversationProcessConfig) GetRecentSentencesCount ¶
func (x *HumanAgentAssistantConfig_ConversationProcessConfig) GetRecentSentencesCount() int32
func (*HumanAgentAssistantConfig_ConversationProcessConfig) ProtoMessage ¶
func (*HumanAgentAssistantConfig_ConversationProcessConfig) ProtoMessage()
func (*HumanAgentAssistantConfig_ConversationProcessConfig) ProtoReflect ¶
func (x *HumanAgentAssistantConfig_ConversationProcessConfig) ProtoReflect() protoreflect.Message
func (*HumanAgentAssistantConfig_ConversationProcessConfig) Reset ¶
func (x *HumanAgentAssistantConfig_ConversationProcessConfig) Reset()
func (*HumanAgentAssistantConfig_ConversationProcessConfig) String ¶
func (x *HumanAgentAssistantConfig_ConversationProcessConfig) String() string
type HumanAgentAssistantConfig_MessageAnalysisConfig ¶
type HumanAgentAssistantConfig_MessageAnalysisConfig struct { // Enable entity extraction in conversation messages on [agent assist // stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages). // If unspecified, defaults to false. // // Currently, this feature is not general available, please contact Google // to get access. EnableEntityExtraction bool `protobuf:"varint,2,opt,name=enable_entity_extraction,json=enableEntityExtraction,proto3" json:"enable_entity_extraction,omitempty"` // Enable sentiment analysis in conversation messages on [agent assist // stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages). // If unspecified, defaults to false. Sentiment analysis inspects user input // and identifies the prevailing subjective opinion, especially to determine // a user's attitude as positive, negative, or neutral: // https://cloud.google.com/natural-language/docs/basics#sentiment_analysis // For // [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] // method, result will be in // [StreamingAnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.message]. // For // [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] // method, result will be in // [AnalyzeContentResponse.message.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.AnalyzeContentResponse.message] // For // [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages] // method, result will be in // [ListMessagesResponse.messages.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ListMessagesResponse.messages] // If Pub/Sub notification is configured, result will be in // [ConversationEvent.new_message_payload.SentimentAnalysisResult][google.cloud.dialogflow.v2beta1.ConversationEvent.new_message_payload]. EnableSentimentAnalysis bool `protobuf:"varint,3,opt,name=enable_sentiment_analysis,json=enableSentimentAnalysis,proto3" json:"enable_sentiment_analysis,omitempty"` // contains filtered or unexported fields }
Configuration for analyses to run on each conversation message.
func (*HumanAgentAssistantConfig_MessageAnalysisConfig) Descriptor ¶
func (*HumanAgentAssistantConfig_MessageAnalysisConfig) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentAssistantConfig_MessageAnalysisConfig.ProtoReflect.Descriptor instead.
func (*HumanAgentAssistantConfig_MessageAnalysisConfig) GetEnableEntityExtraction ¶
func (x *HumanAgentAssistantConfig_MessageAnalysisConfig) GetEnableEntityExtraction() bool
func (*HumanAgentAssistantConfig_MessageAnalysisConfig) GetEnableSentimentAnalysis ¶
func (x *HumanAgentAssistantConfig_MessageAnalysisConfig) GetEnableSentimentAnalysis() bool
func (*HumanAgentAssistantConfig_MessageAnalysisConfig) ProtoMessage ¶
func (*HumanAgentAssistantConfig_MessageAnalysisConfig) ProtoMessage()
func (*HumanAgentAssistantConfig_MessageAnalysisConfig) ProtoReflect ¶
func (x *HumanAgentAssistantConfig_MessageAnalysisConfig) ProtoReflect() protoreflect.Message
func (*HumanAgentAssistantConfig_MessageAnalysisConfig) Reset ¶
func (x *HumanAgentAssistantConfig_MessageAnalysisConfig) Reset()
func (*HumanAgentAssistantConfig_MessageAnalysisConfig) String ¶
func (x *HumanAgentAssistantConfig_MessageAnalysisConfig) String() string
type HumanAgentAssistantConfig_SuggestionConfig ¶
type HumanAgentAssistantConfig_SuggestionConfig struct { // Configuration of different suggestion features. One feature can have only // one config. FeatureConfigs []*HumanAgentAssistantConfig_SuggestionFeatureConfig `protobuf:"bytes,2,rep,name=feature_configs,json=featureConfigs,proto3" json:"feature_configs,omitempty"` // If `group_suggestion_responses` is false, and there are multiple // `feature_configs` in `event based suggestion` or // StreamingAnalyzeContent, we will try to deliver suggestions to customers // as soon as we get new suggestion. Different type of suggestions based on // the same context will be in separate Pub/Sub event or // `StreamingAnalyzeContentResponse`. // // If `group_suggestion_responses` set to true. All the suggestions to the // same participant based on the same context will be grouped into a single // Pub/Sub event or StreamingAnalyzeContentResponse. GroupSuggestionResponses bool `protobuf:"varint,3,opt,name=group_suggestion_responses,json=groupSuggestionResponses,proto3" json:"group_suggestion_responses,omitempty"` // Optional. List of various generator resource names used in the // conversation profile. Generators []string `protobuf:"bytes,4,rep,name=generators,proto3" json:"generators,omitempty"` // Optional. When disable_high_latency_features_sync_delivery is true and // using the AnalyzeContent API, we will not deliver the responses from high // latency features in the API response. The // human_agent_assistant_config.notification_config must be configured and // enable_event_based_suggestion must be set to true to receive the // responses from high latency features in Pub/Sub. High latency feature(s): // KNOWLEDGE_ASSIST DisableHighLatencyFeaturesSyncDelivery bool `protobuf:"varint,5,opt,name=disable_high_latency_features_sync_delivery,json=disableHighLatencyFeaturesSyncDelivery,proto3" json:"disable_high_latency_features_sync_delivery,omitempty"` // contains filtered or unexported fields }
Detail human agent assistant config.
func (*HumanAgentAssistantConfig_SuggestionConfig) Descriptor ¶
func (*HumanAgentAssistantConfig_SuggestionConfig) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentAssistantConfig_SuggestionConfig.ProtoReflect.Descriptor instead.
func (*HumanAgentAssistantConfig_SuggestionConfig) GetDisableHighLatencyFeaturesSyncDelivery ¶
func (x *HumanAgentAssistantConfig_SuggestionConfig) GetDisableHighLatencyFeaturesSyncDelivery() bool
func (*HumanAgentAssistantConfig_SuggestionConfig) GetFeatureConfigs ¶
func (x *HumanAgentAssistantConfig_SuggestionConfig) GetFeatureConfigs() []*HumanAgentAssistantConfig_SuggestionFeatureConfig
func (*HumanAgentAssistantConfig_SuggestionConfig) GetGenerators ¶
func (x *HumanAgentAssistantConfig_SuggestionConfig) GetGenerators() []string
func (*HumanAgentAssistantConfig_SuggestionConfig) GetGroupSuggestionResponses ¶
func (x *HumanAgentAssistantConfig_SuggestionConfig) GetGroupSuggestionResponses() bool
func (*HumanAgentAssistantConfig_SuggestionConfig) ProtoMessage ¶
func (*HumanAgentAssistantConfig_SuggestionConfig) ProtoMessage()
func (*HumanAgentAssistantConfig_SuggestionConfig) ProtoReflect ¶
func (x *HumanAgentAssistantConfig_SuggestionConfig) ProtoReflect() protoreflect.Message
func (*HumanAgentAssistantConfig_SuggestionConfig) Reset ¶
func (x *HumanAgentAssistantConfig_SuggestionConfig) Reset()
func (*HumanAgentAssistantConfig_SuggestionConfig) String ¶
func (x *HumanAgentAssistantConfig_SuggestionConfig) String() string
type HumanAgentAssistantConfig_SuggestionFeatureConfig ¶
type HumanAgentAssistantConfig_SuggestionFeatureConfig struct { // The suggestion feature. SuggestionFeature *SuggestionFeature `protobuf:"bytes,5,opt,name=suggestion_feature,json=suggestionFeature,proto3" json:"suggestion_feature,omitempty"` // Automatically iterates all participants and tries to compile // suggestions. // // Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST, // ENTITY_EXTRACTION, KNOWLEDGE_ASSIST. EnableEventBasedSuggestion bool `protobuf:"varint,3,opt,name=enable_event_based_suggestion,json=enableEventBasedSuggestion,proto3" json:"enable_event_based_suggestion,omitempty"` // Optional. Disable the logging of search queries sent by human agents. It // can prevent those queries from being stored at answer records. // // Supported features: KNOWLEDGE_SEARCH. DisableAgentQueryLogging bool `protobuf:"varint,14,opt,name=disable_agent_query_logging,json=disableAgentQueryLogging,proto3" json:"disable_agent_query_logging,omitempty"` // Optional. Enable query suggestion even if we can't find its answer. // By default, queries are suggested only if we find its answer. // Supported features: KNOWLEDGE_ASSIST EnableQuerySuggestionWhenNoAnswer bool `protobuf:"varint,15,opt,name=enable_query_suggestion_when_no_answer,json=enableQuerySuggestionWhenNoAnswer,proto3" json:"enable_query_suggestion_when_no_answer,omitempty"` // Optional. Enable including conversation context during query answer // generation. Supported features: KNOWLEDGE_SEARCH. EnableConversationAugmentedQuery bool `protobuf:"varint,16,opt,name=enable_conversation_augmented_query,json=enableConversationAugmentedQuery,proto3" json:"enable_conversation_augmented_query,omitempty"` // Optional. Enable query suggestion only. // Supported features: KNOWLEDGE_ASSIST EnableQuerySuggestionOnly bool `protobuf:"varint,17,opt,name=enable_query_suggestion_only,json=enableQuerySuggestionOnly,proto3" json:"enable_query_suggestion_only,omitempty"` // Settings of suggestion trigger. // // Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use // this field. SuggestionTriggerSettings *HumanAgentAssistantConfig_SuggestionTriggerSettings `protobuf:"bytes,10,opt,name=suggestion_trigger_settings,json=suggestionTriggerSettings,proto3" json:"suggestion_trigger_settings,omitempty"` // Configs of query. QueryConfig *HumanAgentAssistantConfig_SuggestionQueryConfig `protobuf:"bytes,6,opt,name=query_config,json=queryConfig,proto3" json:"query_config,omitempty"` // Configs of custom conversation model. ConversationModelConfig *HumanAgentAssistantConfig_ConversationModelConfig `protobuf:"bytes,7,opt,name=conversation_model_config,json=conversationModelConfig,proto3" json:"conversation_model_config,omitempty"` // Configs for processing conversation. ConversationProcessConfig *HumanAgentAssistantConfig_ConversationProcessConfig `protobuf:"bytes,8,opt,name=conversation_process_config,json=conversationProcessConfig,proto3" json:"conversation_process_config,omitempty"` // contains filtered or unexported fields }
Config for suggestion features.
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) Descriptor ¶
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentAssistantConfig_SuggestionFeatureConfig.ProtoReflect.Descriptor instead.
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetConversationModelConfig ¶
func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetConversationModelConfig() *HumanAgentAssistantConfig_ConversationModelConfig
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetConversationProcessConfig ¶
func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetConversationProcessConfig() *HumanAgentAssistantConfig_ConversationProcessConfig
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetDisableAgentQueryLogging ¶
func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetDisableAgentQueryLogging() bool
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableConversationAugmentedQuery ¶
func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableConversationAugmentedQuery() bool
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableEventBasedSuggestion ¶
func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableEventBasedSuggestion() bool
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableQuerySuggestionOnly ¶
func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableQuerySuggestionOnly() bool
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableQuerySuggestionWhenNoAnswer ¶
func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableQuerySuggestionWhenNoAnswer() bool
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetQueryConfig ¶
func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetQueryConfig() *HumanAgentAssistantConfig_SuggestionQueryConfig
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetSuggestionFeature ¶
func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetSuggestionFeature() *SuggestionFeature
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetSuggestionTriggerSettings ¶
func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetSuggestionTriggerSettings() *HumanAgentAssistantConfig_SuggestionTriggerSettings
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) ProtoMessage ¶
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) ProtoMessage()
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) ProtoReflect ¶
func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) ProtoReflect() protoreflect.Message
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) Reset ¶
func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) Reset()
func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) String ¶
func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) String() string
type HumanAgentAssistantConfig_SuggestionQueryConfig ¶
type HumanAgentAssistantConfig_SuggestionQueryConfig struct { // Source of query. // // Types that are assignable to QuerySource: // // *HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource_ // *HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource_ // *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_ QuerySource isHumanAgentAssistantConfig_SuggestionQueryConfig_QuerySource `protobuf_oneof:"query_source"` // Maximum number of results to return. Currently, if unset, defaults to 10. // And the max number is 20. MaxResults int32 `protobuf:"varint,4,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` // Confidence threshold of query result. // // Agent Assist gives each suggestion a score in the range [0.0, 1.0], based // on the relevance between the suggestion and the current conversation // context. A score of 0.0 has no relevance, while a score of 1.0 has high // relevance. Only suggestions with a score greater than or equal to the // value of this field are included in the results. // // For a baseline model (the default), the recommended value is in the range // [0.05, 0.1]. // // For a custom model, there is no recommended value. Tune this value by // starting from a very low value and slowly increasing until you have // desired results. // // If this field is not set, it is default to 0.0, which means that all // suggestions are returned. // // Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE, // KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION. ConfidenceThreshold float32 `protobuf:"fixed32,5,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` // Determines how recent conversation context is filtered when generating // suggestions. If unspecified, no messages will be dropped. ContextFilterSettings *HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings `protobuf:"bytes,7,opt,name=context_filter_settings,json=contextFilterSettings,proto3" json:"context_filter_settings,omitempty"` // Optional. The customized sections chosen to return when requesting a // summary of a conversation. Sections *HumanAgentAssistantConfig_SuggestionQueryConfig_Sections `protobuf:"bytes,8,opt,name=sections,proto3" json:"sections,omitempty"` // Optional. The number of recent messages to include in the context. // Supported features: KNOWLEDGE_ASSIST. ContextSize int32 `protobuf:"varint,9,opt,name=context_size,json=contextSize,proto3" json:"context_size,omitempty"` // contains filtered or unexported fields }
Config for suggestion query.
func (*HumanAgentAssistantConfig_SuggestionQueryConfig) Descriptor ¶
func (*HumanAgentAssistantConfig_SuggestionQueryConfig) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentAssistantConfig_SuggestionQueryConfig.ProtoReflect.Descriptor instead.
func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetConfidenceThreshold ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetConfidenceThreshold() float32
func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetContextFilterSettings ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetContextFilterSettings() *HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings
func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetContextSize ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetContextSize() int32
func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetDialogflowQuerySource ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetDialogflowQuerySource() *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource
func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetDocumentQuerySource ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetDocumentQuerySource() *HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource
func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetKnowledgeBaseQuerySource ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetKnowledgeBaseQuerySource() *HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource
func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetMaxResults ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetMaxResults() int32
func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetQuerySource ¶
func (m *HumanAgentAssistantConfig_SuggestionQueryConfig) GetQuerySource() isHumanAgentAssistantConfig_SuggestionQueryConfig_QuerySource
func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetSections ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetSections() *HumanAgentAssistantConfig_SuggestionQueryConfig_Sections
func (*HumanAgentAssistantConfig_SuggestionQueryConfig) ProtoMessage ¶
func (*HumanAgentAssistantConfig_SuggestionQueryConfig) ProtoMessage()
func (*HumanAgentAssistantConfig_SuggestionQueryConfig) ProtoReflect ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) ProtoReflect() protoreflect.Message
func (*HumanAgentAssistantConfig_SuggestionQueryConfig) Reset ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) Reset()
func (*HumanAgentAssistantConfig_SuggestionQueryConfig) String ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) String() string
type HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings ¶
type HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings struct { // If set to true, the last message from virtual agent (hand off message) // and the message before it (trigger message of hand off) are dropped. DropHandoffMessages bool `protobuf:"varint,1,opt,name=drop_handoff_messages,json=dropHandoffMessages,proto3" json:"drop_handoff_messages,omitempty"` // If set to true, all messages from virtual agent are dropped. DropVirtualAgentMessages bool `protobuf:"varint,2,opt,name=drop_virtual_agent_messages,json=dropVirtualAgentMessages,proto3" json:"drop_virtual_agent_messages,omitempty"` // If set to true, all messages from ivr stage are dropped. DropIvrMessages bool `protobuf:"varint,3,opt,name=drop_ivr_messages,json=dropIvrMessages,proto3" json:"drop_ivr_messages,omitempty"` // contains filtered or unexported fields }
Settings that determine how to filter recent conversation context when generating suggestions.
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) Descriptor ¶
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings.ProtoReflect.Descriptor instead.
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) GetDropHandoffMessages ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) GetDropHandoffMessages() bool
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) GetDropIvrMessages ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) GetDropIvrMessages() bool
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) GetDropVirtualAgentMessages ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) GetDropVirtualAgentMessages() bool
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) ProtoMessage ¶
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) ProtoMessage()
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) ProtoReflect ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) ProtoReflect() protoreflect.Message
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) Reset ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) Reset()
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) String ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) String() string
type HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource ¶
type HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource struct { // Required. The name of a dialogflow virtual agent used for end user side // intent detection and suggestion. Format: `projects/<Project // ID>/locations/<Location ID>/agent`. When multiple agents are allowed in // the same Dialogflow project. Agent string `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` // The Dialogflow assist configuration for human agent. HumanAgentSideConfig *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig `protobuf:"bytes,3,opt,name=human_agent_side_config,json=humanAgentSideConfig,proto3" json:"human_agent_side_config,omitempty"` // contains filtered or unexported fields }
Dialogflow source setting.
Supported feature: DIALOGFLOW_ASSIST, ENTITY_EXTRACTION.
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) Descriptor ¶
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource.ProtoReflect.Descriptor instead.
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) GetAgent ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) GetAgent() string
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) GetHumanAgentSideConfig ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) GetHumanAgentSideConfig() *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) ProtoMessage ¶
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) ProtoMessage()
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) ProtoReflect ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) ProtoReflect() protoreflect.Message
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) Reset ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) Reset()
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) String ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) String() string
type HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_ ¶
type HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_ struct { // Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST, // ENTITY_EXTRACTION. DialogflowQuerySource *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource `protobuf:"bytes,3,opt,name=dialogflow_query_source,json=dialogflowQuerySource,proto3,oneof"` }
type HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig ¶
type HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig struct { // Optional. The name of a dialogflow virtual agent used for intent // detection and suggestion triggered by human agent. // Format: `projects/<Project ID>/locations/<Location ID>/agent`. Agent string `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` // contains filtered or unexported fields }
The configuration used for human agent side Dialogflow assist suggestion.
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) Descriptor ¶
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig.ProtoReflect.Descriptor instead.
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) GetAgent ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) GetAgent() string
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) ProtoMessage ¶
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) ProtoMessage()
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) ProtoReflect ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) ProtoReflect() protoreflect.Message
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) Reset ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) Reset()
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) String ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) String() string
type HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource ¶
type HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource struct { // Required. Knowledge documents to query from. Format: // `projects/<Project ID>/locations/<Location // ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>`. // Currently, only one document is supported. Documents []string `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"` // contains filtered or unexported fields }
Document source settings.
Supported features: SMART_REPLY, SMART_COMPOSE.
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) Descriptor ¶
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource.ProtoReflect.Descriptor instead.
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) GetDocuments ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) GetDocuments() []string
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) ProtoMessage ¶
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) ProtoMessage()
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) ProtoReflect ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) ProtoReflect() protoreflect.Message
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) Reset ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) Reset()
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) String ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) String() string
type HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource_ ¶
type HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource_ struct { // Query from knowledge base document. It is used by: // SMART_REPLY, SMART_COMPOSE. DocumentQuerySource *HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource `protobuf:"bytes,2,opt,name=document_query_source,json=documentQuerySource,proto3,oneof"` }
type HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource ¶
type HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource struct { // Required. Knowledge bases to query. Format: // `projects/<Project ID>/locations/<Location // ID>/knowledgeBases/<Knowledge Base ID>`. Currently, only one knowledge // base is supported. KnowledgeBases []string `protobuf:"bytes,1,rep,name=knowledge_bases,json=knowledgeBases,proto3" json:"knowledge_bases,omitempty"` // contains filtered or unexported fields }
Knowledge base source settings.
Supported features: ARTICLE_SUGGESTION, FAQ.
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) Descriptor ¶
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource.ProtoReflect.Descriptor instead.
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) GetKnowledgeBases ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) GetKnowledgeBases() []string
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) ProtoMessage ¶
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) ProtoMessage()
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) ProtoReflect ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) ProtoReflect() protoreflect.Message
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) Reset ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) Reset()
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) String ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) String() string
type HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource_ ¶
type HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource_ struct { // Query from knowledgebase. It is used by: // ARTICLE_SUGGESTION, FAQ. KnowledgeBaseQuerySource *HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource `protobuf:"bytes,1,opt,name=knowledge_base_query_source,json=knowledgeBaseQuerySource,proto3,oneof"` }
type HumanAgentAssistantConfig_SuggestionQueryConfig_Sections ¶
type HumanAgentAssistantConfig_SuggestionQueryConfig_Sections struct { // The selected sections chosen to return when requesting a summary of a // conversation. A duplicate selected section will be treated as a single // selected section. If section types are not provided, the default will // be {SITUATION, ACTION, RESULT}. SectionTypes []HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType `protobuf:"varint,1,rep,packed,name=section_types,json=sectionTypes,proto3,enum=google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType" json:"section_types,omitempty"` // contains filtered or unexported fields }
Custom sections to return when requesting a summary of a conversation. This is only supported when `baseline_model_version` == '2.0'.
Supported features: CONVERSATION_SUMMARIZATION, CONVERSATION_SUMMARIZATION_VOICE.
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) Descriptor ¶
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentAssistantConfig_SuggestionQueryConfig_Sections.ProtoReflect.Descriptor instead.
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) GetSectionTypes ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) GetSectionTypes() []HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) ProtoMessage ¶
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) ProtoMessage()
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) ProtoReflect ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) ProtoReflect() protoreflect.Message
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) Reset ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) Reset()
func (*HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) String ¶
func (x *HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) String() string
type HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType ¶
type HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType int32
Selectable sections to return when requesting a summary of a conversation.
const ( // Undefined section type, does not return anything. HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SECTION_TYPE_UNSPECIFIED HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType = 0 // What the customer needs help with or has question about. // Section name: "situation". HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SITUATION HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType = 1 // What the agent does to help the customer. // Section name: "action". HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_ACTION HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType = 2 // Result of the customer service. A single word describing the result // of the conversation. // Section name: "resolution". HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_RESOLUTION HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType = 3 // Reason for cancellation if the customer requests for a cancellation. // "N/A" otherwise. // Section name: "reason_for_cancellation". HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_REASON_FOR_CANCELLATION HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType = 4 // "Unsatisfied" or "Satisfied" depending on the customer's feelings at // the end of the conversation. // Section name: "customer_satisfaction". HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_CUSTOMER_SATISFACTION HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType = 5 // Key entities extracted from the conversation, such as ticket number, // order number, dollar amount, etc. // Section names are prefixed by "entities/". HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_ENTITIES HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType = 6 )
func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) Descriptor ¶
func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) Descriptor() protoreflect.EnumDescriptor
func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) Enum ¶
func (x HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) Enum() *HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType
func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) EnumDescriptor ¶
func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType.Descriptor instead.
func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) Number ¶
func (x HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) Number() protoreflect.EnumNumber
func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) String ¶
func (x HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) String() string
func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) Type ¶
func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) Type() protoreflect.EnumType
type HumanAgentAssistantConfig_SuggestionTriggerSettings ¶
type HumanAgentAssistantConfig_SuggestionTriggerSettings struct { // Do not trigger if last utterance is small talk. NoSmallTalk bool `protobuf:"varint,1,opt,name=no_small_talk,json=noSmallTalk,proto3" json:"no_small_talk,omitempty"` // Only trigger suggestion if participant role of last utterance is // END_USER. OnlyEndUser bool `protobuf:"varint,2,opt,name=only_end_user,json=onlyEndUser,proto3" json:"only_end_user,omitempty"` // contains filtered or unexported fields }
Settings of suggestion trigger.
func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) Descriptor ¶
func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentAssistantConfig_SuggestionTriggerSettings.ProtoReflect.Descriptor instead.
func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) GetNoSmallTalk ¶
func (x *HumanAgentAssistantConfig_SuggestionTriggerSettings) GetNoSmallTalk() bool
func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) GetOnlyEndUser ¶
func (x *HumanAgentAssistantConfig_SuggestionTriggerSettings) GetOnlyEndUser() bool
func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) ProtoMessage ¶
func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) ProtoMessage()
func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) ProtoReflect ¶
func (x *HumanAgentAssistantConfig_SuggestionTriggerSettings) ProtoReflect() protoreflect.Message
func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) Reset ¶
func (x *HumanAgentAssistantConfig_SuggestionTriggerSettings) Reset()
func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) String ¶
func (x *HumanAgentAssistantConfig_SuggestionTriggerSettings) String() string
type HumanAgentAssistantEvent ¶
type HumanAgentAssistantEvent struct { // The conversation this notification refers to. // Format: `projects/<Project ID>/conversations/<Conversation ID>`. Conversation string `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"` // The participant that the suggestion is compiled for. And This field is used // to call // [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] // API. Format: `projects/<Project ID>/conversations/<Conversation // ID>/participants/<Participant ID>`. // It will not be set in legacy workflow. // [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] // for more information. Participant string `protobuf:"bytes,3,opt,name=participant,proto3" json:"participant,omitempty"` // The suggestion results payload that this notification refers to. It will // only be set when // [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] // sets to true. SuggestionResults []*SuggestionResult `protobuf:"bytes,5,rep,name=suggestion_results,json=suggestionResults,proto3" json:"suggestion_results,omitempty"` // contains filtered or unexported fields }
Output only. Represents a notification sent to Pub/Sub subscribers for agent assistant events in a specific conversation.
func (*HumanAgentAssistantEvent) Descriptor ¶
func (*HumanAgentAssistantEvent) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentAssistantEvent.ProtoReflect.Descriptor instead.
func (*HumanAgentAssistantEvent) GetConversation ¶
func (x *HumanAgentAssistantEvent) GetConversation() string
func (*HumanAgentAssistantEvent) GetParticipant ¶
func (x *HumanAgentAssistantEvent) GetParticipant() string
func (*HumanAgentAssistantEvent) GetSuggestionResults ¶
func (x *HumanAgentAssistantEvent) GetSuggestionResults() []*SuggestionResult
func (*HumanAgentAssistantEvent) ProtoMessage ¶
func (*HumanAgentAssistantEvent) ProtoMessage()
func (*HumanAgentAssistantEvent) ProtoReflect ¶
func (x *HumanAgentAssistantEvent) ProtoReflect() protoreflect.Message
func (*HumanAgentAssistantEvent) Reset ¶
func (x *HumanAgentAssistantEvent) Reset()
func (*HumanAgentAssistantEvent) String ¶
func (x *HumanAgentAssistantEvent) String() string
type HumanAgentHandoffConfig ¶
type HumanAgentHandoffConfig struct { // Required. Specifies which agent service to connect for human agent handoff. // // Types that are assignable to AgentService: // // *HumanAgentHandoffConfig_LivePersonConfig_ // *HumanAgentHandoffConfig_SalesforceLiveAgentConfig_ AgentService isHumanAgentHandoffConfig_AgentService `protobuf_oneof:"agent_service"` // contains filtered or unexported fields }
Defines the hand off to a live agent, typically on which external agent service provider to connect to a conversation.
Currently, this feature is not general available, please contact Google to get access.
func (*HumanAgentHandoffConfig) Descriptor ¶
func (*HumanAgentHandoffConfig) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentHandoffConfig.ProtoReflect.Descriptor instead.
func (*HumanAgentHandoffConfig) GetAgentService ¶
func (m *HumanAgentHandoffConfig) GetAgentService() isHumanAgentHandoffConfig_AgentService
func (*HumanAgentHandoffConfig) GetLivePersonConfig ¶
func (x *HumanAgentHandoffConfig) GetLivePersonConfig() *HumanAgentHandoffConfig_LivePersonConfig
func (*HumanAgentHandoffConfig) GetSalesforceLiveAgentConfig ¶
func (x *HumanAgentHandoffConfig) GetSalesforceLiveAgentConfig() *HumanAgentHandoffConfig_SalesforceLiveAgentConfig
func (*HumanAgentHandoffConfig) ProtoMessage ¶
func (*HumanAgentHandoffConfig) ProtoMessage()
func (*HumanAgentHandoffConfig) ProtoReflect ¶
func (x *HumanAgentHandoffConfig) ProtoReflect() protoreflect.Message
func (*HumanAgentHandoffConfig) Reset ¶
func (x *HumanAgentHandoffConfig) Reset()
func (*HumanAgentHandoffConfig) String ¶
func (x *HumanAgentHandoffConfig) String() string
type HumanAgentHandoffConfig_LivePersonConfig ¶
type HumanAgentHandoffConfig_LivePersonConfig struct { // Required. Account number of the LivePerson account to connect. This is // the account number you input at the login page. AccountNumber string `protobuf:"bytes,1,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"` // contains filtered or unexported fields }
Configuration specific to [LivePerson](https://www.liveperson.com).
func (*HumanAgentHandoffConfig_LivePersonConfig) Descriptor ¶
func (*HumanAgentHandoffConfig_LivePersonConfig) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentHandoffConfig_LivePersonConfig.ProtoReflect.Descriptor instead.
func (*HumanAgentHandoffConfig_LivePersonConfig) GetAccountNumber ¶
func (x *HumanAgentHandoffConfig_LivePersonConfig) GetAccountNumber() string
func (*HumanAgentHandoffConfig_LivePersonConfig) ProtoMessage ¶
func (*HumanAgentHandoffConfig_LivePersonConfig) ProtoMessage()
func (*HumanAgentHandoffConfig_LivePersonConfig) ProtoReflect ¶
func (x *HumanAgentHandoffConfig_LivePersonConfig) ProtoReflect() protoreflect.Message
func (*HumanAgentHandoffConfig_LivePersonConfig) Reset ¶
func (x *HumanAgentHandoffConfig_LivePersonConfig) Reset()
func (*HumanAgentHandoffConfig_LivePersonConfig) String ¶
func (x *HumanAgentHandoffConfig_LivePersonConfig) String() string
type HumanAgentHandoffConfig_LivePersonConfig_ ¶
type HumanAgentHandoffConfig_LivePersonConfig_ struct { // Uses [LivePerson](https://www.liveperson.com). LivePersonConfig *HumanAgentHandoffConfig_LivePersonConfig `protobuf:"bytes,1,opt,name=live_person_config,json=livePersonConfig,proto3,oneof"` }
type HumanAgentHandoffConfig_SalesforceLiveAgentConfig ¶
type HumanAgentHandoffConfig_SalesforceLiveAgentConfig struct { // Required. The organization ID of the Salesforce account. OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // Required. Live Agent deployment ID. DeploymentId string `protobuf:"bytes,2,opt,name=deployment_id,json=deploymentId,proto3" json:"deployment_id,omitempty"` // Required. Live Agent chat button ID. ButtonId string `protobuf:"bytes,3,opt,name=button_id,json=buttonId,proto3" json:"button_id,omitempty"` // Required. Domain of the Live Agent endpoint for this agent. You can find // the endpoint URL in the `Live Agent settings` page. For example if URL // has the form https://d.la4-c2-phx.salesforceliveagent.com/..., // you should fill in d.la4-c2-phx.salesforceliveagent.com. EndpointDomain string `protobuf:"bytes,4,opt,name=endpoint_domain,json=endpointDomain,proto3" json:"endpoint_domain,omitempty"` // contains filtered or unexported fields }
Configuration specific to Salesforce Live Agent.
func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) Descriptor ¶
func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) Descriptor() ([]byte, []int)
Deprecated: Use HumanAgentHandoffConfig_SalesforceLiveAgentConfig.ProtoReflect.Descriptor instead.
func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) GetButtonId ¶
func (x *HumanAgentHandoffConfig_SalesforceLiveAgentConfig) GetButtonId() string
func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) GetDeploymentId ¶
func (x *HumanAgentHandoffConfig_SalesforceLiveAgentConfig) GetDeploymentId() string
func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) GetEndpointDomain ¶
func (x *HumanAgentHandoffConfig_SalesforceLiveAgentConfig) GetEndpointDomain() string
func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) GetOrganizationId ¶
func (x *HumanAgentHandoffConfig_SalesforceLiveAgentConfig) GetOrganizationId() string
func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) ProtoMessage ¶
func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) ProtoMessage()
func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) ProtoReflect ¶
func (x *HumanAgentHandoffConfig_SalesforceLiveAgentConfig) ProtoReflect() protoreflect.Message
func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) Reset ¶
func (x *HumanAgentHandoffConfig_SalesforceLiveAgentConfig) Reset()
func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) String ¶
func (x *HumanAgentHandoffConfig_SalesforceLiveAgentConfig) String() string
type HumanAgentHandoffConfig_SalesforceLiveAgentConfig_ ¶
type HumanAgentHandoffConfig_SalesforceLiveAgentConfig_ struct { // Uses Salesforce Live Agent. SalesforceLiveAgentConfig *HumanAgentHandoffConfig_SalesforceLiveAgentConfig `protobuf:"bytes,2,opt,name=salesforce_live_agent_config,json=salesforceLiveAgentConfig,proto3,oneof"` }
type ImportAgentRequest ¶
type ImportAgentRequest struct { // Required. The project that the agent to import is associated with. // Format: `projects/<Project ID>` or // // `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The agent to import. // // Types that are assignable to Agent: // // *ImportAgentRequest_AgentUri // *ImportAgentRequest_AgentContent Agent isImportAgentRequest_Agent `protobuf_oneof:"agent"` // contains filtered or unexported fields }
The request message for [Agents.ImportAgent][google.cloud.dialogflow.v2beta1.Agents.ImportAgent].
func (*ImportAgentRequest) Descriptor ¶
func (*ImportAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportAgentRequest.ProtoReflect.Descriptor instead.
func (*ImportAgentRequest) GetAgent ¶
func (m *ImportAgentRequest) GetAgent() isImportAgentRequest_Agent
func (*ImportAgentRequest) GetAgentContent ¶
func (x *ImportAgentRequest) GetAgentContent() []byte
func (*ImportAgentRequest) GetAgentUri ¶
func (x *ImportAgentRequest) GetAgentUri() string
func (*ImportAgentRequest) GetParent ¶
func (x *ImportAgentRequest) GetParent() string
func (*ImportAgentRequest) ProtoMessage ¶
func (*ImportAgentRequest) ProtoMessage()
func (*ImportAgentRequest) ProtoReflect ¶
func (x *ImportAgentRequest) ProtoReflect() protoreflect.Message
func (*ImportAgentRequest) Reset ¶
func (x *ImportAgentRequest) Reset()
func (*ImportAgentRequest) String ¶
func (x *ImportAgentRequest) String() string
type ImportAgentRequest_AgentContent ¶
type ImportAgentRequest_AgentContent struct { // Zip compressed raw byte content for agent. AgentContent []byte `protobuf:"bytes,3,opt,name=agent_content,json=agentContent,proto3,oneof"` }
type ImportAgentRequest_AgentUri ¶
type ImportAgentRequest_AgentUri struct { // The URI to a Google Cloud Storage file containing the agent to import. // Note: The URI must start with "gs://". // // Dialogflow performs a read operation for the Cloud Storage object // on the caller's behalf, so your request authentication must // have read permissions for the object. For more information, see // [Dialogflow access // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3,oneof"` }
type ImportDocumentTemplate ¶
type ImportDocumentTemplate struct { // Required. The MIME type of the document. MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // Required. The knowledge type of document content. KnowledgeTypes []Document_KnowledgeType `protobuf:"varint,2,rep,packed,name=knowledge_types,json=knowledgeTypes,proto3,enum=google.cloud.dialogflow.v2beta1.Document_KnowledgeType" json:"knowledge_types,omitempty"` // Metadata for the document. The metadata supports arbitrary // key-value pairs. Suggested use cases include storing a document's title, // an external URL distinct from the document's content_uri, etc. // The max size of a `key` or a `value` of the metadata is 1024 bytes. Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
The template used for importing documents.
func (*ImportDocumentTemplate) Descriptor ¶
func (*ImportDocumentTemplate) Descriptor() ([]byte, []int)
Deprecated: Use ImportDocumentTemplate.ProtoReflect.Descriptor instead.
func (*ImportDocumentTemplate) GetKnowledgeTypes ¶
func (x *ImportDocumentTemplate) GetKnowledgeTypes() []Document_KnowledgeType
func (*ImportDocumentTemplate) GetMetadata ¶
func (x *ImportDocumentTemplate) GetMetadata() map[string]string
func (*ImportDocumentTemplate) GetMimeType ¶
func (x *ImportDocumentTemplate) GetMimeType() string
func (*ImportDocumentTemplate) ProtoMessage ¶
func (*ImportDocumentTemplate) ProtoMessage()
func (*ImportDocumentTemplate) ProtoReflect ¶
func (x *ImportDocumentTemplate) ProtoReflect() protoreflect.Message
func (*ImportDocumentTemplate) Reset ¶
func (x *ImportDocumentTemplate) Reset()
func (*ImportDocumentTemplate) String ¶
func (x *ImportDocumentTemplate) String() string
type ImportDocumentsRequest ¶
type ImportDocumentsRequest struct { // Required. The knowledge base to import documents into. // Format: `projects/<Project ID>/locations/<Location // ID>/knowledgeBases/<Knowledge Base ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The source to use for importing documents. // // If the source captures multiple objects, then multiple documents will be // created, one corresponding to each object, and all of these documents will // be created using the same document template. // // Dialogflow supports up to 350 documents in each request. If you try to // import more, Dialogflow will return an error. // // Types that are assignable to Source: // // *ImportDocumentsRequest_GcsSource Source isImportDocumentsRequest_Source `protobuf_oneof:"source"` // Required. Document template used for importing all the documents. DocumentTemplate *ImportDocumentTemplate `protobuf:"bytes,3,opt,name=document_template,json=documentTemplate,proto3" json:"document_template,omitempty"` // Whether to import custom metadata from Google Cloud Storage. // Only valid when the document source is Google Cloud Storage URI. ImportGcsCustomMetadata bool `protobuf:"varint,4,opt,name=import_gcs_custom_metadata,json=importGcsCustomMetadata,proto3" json:"import_gcs_custom_metadata,omitempty"` // contains filtered or unexported fields }
Request message for [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments].
func (*ImportDocumentsRequest) Descriptor ¶
func (*ImportDocumentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ImportDocumentsRequest.ProtoReflect.Descriptor instead.
func (*ImportDocumentsRequest) GetDocumentTemplate ¶
func (x *ImportDocumentsRequest) GetDocumentTemplate() *ImportDocumentTemplate
func (*ImportDocumentsRequest) GetGcsSource ¶
func (x *ImportDocumentsRequest) GetGcsSource() *GcsSources
func (*ImportDocumentsRequest) GetImportGcsCustomMetadata ¶
func (x *ImportDocumentsRequest) GetImportGcsCustomMetadata() bool
func (*ImportDocumentsRequest) GetParent ¶
func (x *ImportDocumentsRequest) GetParent() string
func (*ImportDocumentsRequest) GetSource ¶
func (m *ImportDocumentsRequest) GetSource() isImportDocumentsRequest_Source
func (*ImportDocumentsRequest) ProtoMessage ¶
func (*ImportDocumentsRequest) ProtoMessage()
func (*ImportDocumentsRequest) ProtoReflect ¶
func (x *ImportDocumentsRequest) ProtoReflect() protoreflect.Message
func (*ImportDocumentsRequest) Reset ¶
func (x *ImportDocumentsRequest) Reset()
func (*ImportDocumentsRequest) String ¶
func (x *ImportDocumentsRequest) String() string
type ImportDocumentsRequest_GcsSource ¶
type ImportDocumentsRequest_GcsSource struct { // Optional. The Google Cloud Storage location for the documents. // The path can include a wildcard. // // These URIs may have the forms // `gs://<bucket-name>/<object-name>`. // `gs://<bucket-name>/<object-path>/*.<extension>`. GcsSource *GcsSources `protobuf:"bytes,2,opt,name=gcs_source,json=gcsSource,proto3,oneof"` }
type ImportDocumentsResponse ¶
type ImportDocumentsResponse struct { // Includes details about skipped documents or any other warnings. Warnings []*status.Status `protobuf:"bytes,1,rep,name=warnings,proto3" json:"warnings,omitempty"` // contains filtered or unexported fields }
Response message for [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments].
func (*ImportDocumentsResponse) Descriptor ¶
func (*ImportDocumentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ImportDocumentsResponse.ProtoReflect.Descriptor instead.
func (*ImportDocumentsResponse) GetWarnings ¶
func (x *ImportDocumentsResponse) GetWarnings() []*status.Status
func (*ImportDocumentsResponse) ProtoMessage ¶
func (*ImportDocumentsResponse) ProtoMessage()
func (*ImportDocumentsResponse) ProtoReflect ¶
func (x *ImportDocumentsResponse) ProtoReflect() protoreflect.Message
func (*ImportDocumentsResponse) Reset ¶
func (x *ImportDocumentsResponse) Reset()
func (*ImportDocumentsResponse) String ¶
func (x *ImportDocumentsResponse) String() string
type InferenceParameter ¶
type InferenceParameter struct { // Optional. Maximum number of the output tokens for the generator. MaxOutputTokens *int32 `protobuf:"varint,1,opt,name=max_output_tokens,json=maxOutputTokens,proto3,oneof" json:"max_output_tokens,omitempty"` // Optional. Controls the randomness of LLM predictions. // Low temperature = less random. High temperature = more random. // If unset (or 0), uses a default value of 0. Temperature *float64 `protobuf:"fixed64,2,opt,name=temperature,proto3,oneof" json:"temperature,omitempty"` // Optional. Top-k changes how the model selects tokens for output. A top-k of // 1 means the selected token is the most probable among all tokens in the // model's vocabulary (also called greedy decoding), while a top-k of 3 means // that the next token is selected from among the 3 most probable tokens // (using temperature). For each token selection step, the top K tokens with // the highest probabilities are sampled. Then tokens are further filtered // based on topP with the final token selected using temperature sampling. // Specify a lower value for less random responses and a higher value for more // random responses. Acceptable value is [1, 40], default to 40. TopK *int32 `protobuf:"varint,3,opt,name=top_k,json=topK,proto3,oneof" json:"top_k,omitempty"` // Optional. Top-p changes how the model selects tokens for output. Tokens are // selected from most K (see topK parameter) probable to least until the sum // of their probabilities equals the top-p value. For example, if tokens A, B, // and C have a probability of 0.3, 0.2, and 0.1 and the top-p value is 0.5, // then the model will select either A or B as the next token (using // temperature) and doesn't consider C. The default top-p value is 0.95. // Specify a lower value for less random responses and a higher value for more // random responses. Acceptable value is [0.0, 1.0], default to 0.95. TopP *float64 `protobuf:"fixed64,4,opt,name=top_p,json=topP,proto3,oneof" json:"top_p,omitempty"` // contains filtered or unexported fields }
The parameters of inference.
func (*InferenceParameter) Descriptor ¶
func (*InferenceParameter) Descriptor() ([]byte, []int)
Deprecated: Use InferenceParameter.ProtoReflect.Descriptor instead.
func (*InferenceParameter) GetMaxOutputTokens ¶
func (x *InferenceParameter) GetMaxOutputTokens() int32
func (*InferenceParameter) GetTemperature ¶
func (x *InferenceParameter) GetTemperature() float64
func (*InferenceParameter) GetTopK ¶
func (x *InferenceParameter) GetTopK() int32
func (*InferenceParameter) GetTopP ¶
func (x *InferenceParameter) GetTopP() float64
func (*InferenceParameter) ProtoMessage ¶
func (*InferenceParameter) ProtoMessage()
func (*InferenceParameter) ProtoReflect ¶
func (x *InferenceParameter) ProtoReflect() protoreflect.Message
func (*InferenceParameter) Reset ¶
func (x *InferenceParameter) Reset()
func (*InferenceParameter) String ¶
func (x *InferenceParameter) String() string
type InitializeEncryptionSpecMetadata ¶
type InitializeEncryptionSpecMetadata struct { // Output only. The original request for initialization. Request *InitializeEncryptionSpecRequest `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
Metadata for initializing a location-level encryption specification.
func (*InitializeEncryptionSpecMetadata) Descriptor ¶
func (*InitializeEncryptionSpecMetadata) Descriptor() ([]byte, []int)
Deprecated: Use InitializeEncryptionSpecMetadata.ProtoReflect.Descriptor instead.
func (*InitializeEncryptionSpecMetadata) GetRequest ¶
func (x *InitializeEncryptionSpecMetadata) GetRequest() *InitializeEncryptionSpecRequest
func (*InitializeEncryptionSpecMetadata) ProtoMessage ¶
func (*InitializeEncryptionSpecMetadata) ProtoMessage()
func (*InitializeEncryptionSpecMetadata) ProtoReflect ¶
func (x *InitializeEncryptionSpecMetadata) ProtoReflect() protoreflect.Message
func (*InitializeEncryptionSpecMetadata) Reset ¶
func (x *InitializeEncryptionSpecMetadata) Reset()
func (*InitializeEncryptionSpecMetadata) String ¶
func (x *InitializeEncryptionSpecMetadata) String() string
type InitializeEncryptionSpecRequest ¶
type InitializeEncryptionSpecRequest struct { // Required. The encryption spec used for CMEK encryption. It is required that // the kms key is in the same region as the endpoint. The same key will be // used for all provisioned resources, if encryption is available. If the // kms_key_name is left empty, no encryption will be enforced. EncryptionSpec *EncryptionSpec `protobuf:"bytes,1,opt,name=encryption_spec,json=encryptionSpec,proto3" json:"encryption_spec,omitempty"` // contains filtered or unexported fields }
The request to initialize a location-level encryption specification.
func (*InitializeEncryptionSpecRequest) Descriptor ¶
func (*InitializeEncryptionSpecRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitializeEncryptionSpecRequest.ProtoReflect.Descriptor instead.
func (*InitializeEncryptionSpecRequest) GetEncryptionSpec ¶
func (x *InitializeEncryptionSpecRequest) GetEncryptionSpec() *EncryptionSpec
func (*InitializeEncryptionSpecRequest) ProtoMessage ¶
func (*InitializeEncryptionSpecRequest) ProtoMessage()
func (*InitializeEncryptionSpecRequest) ProtoReflect ¶
func (x *InitializeEncryptionSpecRequest) ProtoReflect() protoreflect.Message
func (*InitializeEncryptionSpecRequest) Reset ¶
func (x *InitializeEncryptionSpecRequest) Reset()
func (*InitializeEncryptionSpecRequest) String ¶
func (x *InitializeEncryptionSpecRequest) String() string
type InitializeEncryptionSpecResponse ¶
type InitializeEncryptionSpecResponse struct {
// contains filtered or unexported fields
}
The response to initialize a location-level encryption specification.
func (*InitializeEncryptionSpecResponse) Descriptor ¶
func (*InitializeEncryptionSpecResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitializeEncryptionSpecResponse.ProtoReflect.Descriptor instead.
func (*InitializeEncryptionSpecResponse) ProtoMessage ¶
func (*InitializeEncryptionSpecResponse) ProtoMessage()
func (*InitializeEncryptionSpecResponse) ProtoReflect ¶
func (x *InitializeEncryptionSpecResponse) ProtoReflect() protoreflect.Message
func (*InitializeEncryptionSpecResponse) Reset ¶
func (x *InitializeEncryptionSpecResponse) Reset()
func (*InitializeEncryptionSpecResponse) String ¶
func (x *InitializeEncryptionSpecResponse) String() string
type InputAudioConfig ¶
type InputAudioConfig struct { // Required. Audio encoding of the audio content to process. AudioEncoding AudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.v2beta1.AudioEncoding" json:"audio_encoding,omitempty"` // Required. Sample rate (in Hertz) of the audio content sent in the query. // Refer to [Cloud Speech API // documentation](https://cloud.google.com/speech-to-text/docs/basics) for // more details. SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` // Required. The language of the supplied audio. Dialogflow does not do // translations. See [Language // Support](https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that queries in // the same session do not necessarily need to specify the same language. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // If `true`, Dialogflow returns // [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in // [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] // with information about the recognized speech words, e.g. start and end time // offsets. If false or unspecified, Speech doesn't return any word-level // information. EnableWordInfo bool `protobuf:"varint,13,opt,name=enable_word_info,json=enableWordInfo,proto3" json:"enable_word_info,omitempty"` // A list of strings containing words and phrases that the speech // recognizer should recognize with higher likelihood. // // See [the Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) // for more details. // // This field is deprecated. Please use [`speech_contexts`]() instead. If you // specify both [`phrase_hints`]() and [`speech_contexts`](), Dialogflow will // treat the [`phrase_hints`]() as a single additional [`SpeechContext`](). // // Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/audio_config.proto. PhraseHints []string `protobuf:"bytes,4,rep,name=phrase_hints,json=phraseHints,proto3" json:"phrase_hints,omitempty"` // Context information to assist speech recognition. // // See [the Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) // for more details. SpeechContexts []*SpeechContext `protobuf:"bytes,11,rep,name=speech_contexts,json=speechContexts,proto3" json:"speech_contexts,omitempty"` // Optional. Which Speech model to select for the given request. // For more information, see // [Speech models](https://cloud.google.com/dialogflow/es/docs/speech-models). Model string `protobuf:"bytes,7,opt,name=model,proto3" json:"model,omitempty"` // Which variant of the [Speech // model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use. ModelVariant SpeechModelVariant `protobuf:"varint,10,opt,name=model_variant,json=modelVariant,proto3,enum=google.cloud.dialogflow.v2beta1.SpeechModelVariant" json:"model_variant,omitempty"` // If `false` (default), recognition does not cease until the // client closes the stream. // If `true`, the recognizer will detect a single spoken utterance in input // audio. Recognition ceases when it detects the audio's voice has // stopped or paused. In this case, once a detected intent is received, the // client should close the stream and start a new request with a new stream as // needed. // Note: This setting is relevant only for streaming methods. // Note: When specified, InputAudioConfig.single_utterance takes precedence // over StreamingDetectIntentRequest.single_utterance. SingleUtterance bool `protobuf:"varint,8,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"` // Only used in // [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] // and // [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent]. // If `false` and recognition doesn't return any result, trigger // `NO_SPEECH_RECOGNIZED` event to Dialogflow agent. DisableNoSpeechRecognizedEvent bool `protobuf:"varint,14,opt,name=disable_no_speech_recognized_event,json=disableNoSpeechRecognizedEvent,proto3" json:"disable_no_speech_recognized_event,omitempty"` // Configuration of barge-in behavior during the streaming of input audio. BargeInConfig *BargeInConfig `protobuf:"bytes,15,opt,name=barge_in_config,json=bargeInConfig,proto3" json:"barge_in_config,omitempty"` // Enable automatic punctuation option at the speech backend. EnableAutomaticPunctuation bool `protobuf:"varint,17,opt,name=enable_automatic_punctuation,json=enableAutomaticPunctuation,proto3" json:"enable_automatic_punctuation,omitempty"` // If set, use this no-speech timeout when the agent does not provide a // no-speech timeout itself. DefaultNoSpeechTimeout *durationpb.Duration `protobuf:"bytes,18,opt,name=default_no_speech_timeout,json=defaultNoSpeechTimeout,proto3" json:"default_no_speech_timeout,omitempty"` // A collection of phrase set resources to use for speech adaptation. PhraseSets []string `protobuf:"bytes,20,rep,name=phrase_sets,json=phraseSets,proto3" json:"phrase_sets,omitempty"` // If `true`, the request will opt out for STT conformer model migration. // This field will be deprecated once force migration takes place in June // 2024. Please refer to [Dialogflow ES Speech model // migration](https://cloud.google.com/dialogflow/es/docs/speech-model-migration). OptOutConformerModelMigration bool `protobuf:"varint,26,opt,name=opt_out_conformer_model_migration,json=optOutConformerModelMigration,proto3" json:"opt_out_conformer_model_migration,omitempty"` // contains filtered or unexported fields }
Instructs the speech recognizer on how to process the audio content.
func (*InputAudioConfig) Descriptor ¶
func (*InputAudioConfig) Descriptor() ([]byte, []int)
Deprecated: Use InputAudioConfig.ProtoReflect.Descriptor instead.
func (*InputAudioConfig) GetAudioEncoding ¶
func (x *InputAudioConfig) GetAudioEncoding() AudioEncoding
func (*InputAudioConfig) GetBargeInConfig ¶
func (x *InputAudioConfig) GetBargeInConfig() *BargeInConfig
func (*InputAudioConfig) GetDefaultNoSpeechTimeout ¶
func (x *InputAudioConfig) GetDefaultNoSpeechTimeout() *durationpb.Duration
func (*InputAudioConfig) GetDisableNoSpeechRecognizedEvent ¶
func (x *InputAudioConfig) GetDisableNoSpeechRecognizedEvent() bool
func (*InputAudioConfig) GetEnableAutomaticPunctuation ¶
func (x *InputAudioConfig) GetEnableAutomaticPunctuation() bool
func (*InputAudioConfig) GetEnableWordInfo ¶
func (x *InputAudioConfig) GetEnableWordInfo() bool
func (*InputAudioConfig) GetLanguageCode ¶
func (x *InputAudioConfig) GetLanguageCode() string
func (*InputAudioConfig) GetModel ¶
func (x *InputAudioConfig) GetModel() string
func (*InputAudioConfig) GetModelVariant ¶
func (x *InputAudioConfig) GetModelVariant() SpeechModelVariant
func (*InputAudioConfig) GetOptOutConformerModelMigration ¶
func (x *InputAudioConfig) GetOptOutConformerModelMigration() bool
func (*InputAudioConfig) GetPhraseHints ¶
func (x *InputAudioConfig) GetPhraseHints() []string
Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/audio_config.proto.
func (*InputAudioConfig) GetPhraseSets ¶
func (x *InputAudioConfig) GetPhraseSets() []string
func (*InputAudioConfig) GetSampleRateHertz ¶
func (x *InputAudioConfig) GetSampleRateHertz() int32
func (*InputAudioConfig) GetSingleUtterance ¶
func (x *InputAudioConfig) GetSingleUtterance() bool
func (*InputAudioConfig) GetSpeechContexts ¶
func (x *InputAudioConfig) GetSpeechContexts() []*SpeechContext
func (*InputAudioConfig) ProtoMessage ¶
func (*InputAudioConfig) ProtoMessage()
func (*InputAudioConfig) ProtoReflect ¶
func (x *InputAudioConfig) ProtoReflect() protoreflect.Message
func (*InputAudioConfig) Reset ¶
func (x *InputAudioConfig) Reset()
func (*InputAudioConfig) String ¶
func (x *InputAudioConfig) String() string
type InputTextConfig ¶
type InputTextConfig struct { // Required. The language of this conversational query. See [Language // Support](https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Defines the language used in the input text.
func (*InputTextConfig) Descriptor ¶
func (*InputTextConfig) Descriptor() ([]byte, []int)
Deprecated: Use InputTextConfig.ProtoReflect.Descriptor instead.
func (*InputTextConfig) GetLanguageCode ¶
func (x *InputTextConfig) GetLanguageCode() string
func (*InputTextConfig) ProtoMessage ¶
func (*InputTextConfig) ProtoMessage()
func (*InputTextConfig) ProtoReflect ¶
func (x *InputTextConfig) ProtoReflect() protoreflect.Message
func (*InputTextConfig) Reset ¶
func (x *InputTextConfig) Reset()
func (*InputTextConfig) String ¶
func (x *InputTextConfig) String() string
type Intent ¶
type Intent struct { // Optional. The unique identifier of this intent. // Required for // [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] // and // [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents] // methods. // Supported formats: // // - `projects/<Project ID>/agent/intents/<Intent ID>` // - `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The name of this intent. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Optional. Indicates whether webhooks are enabled for the intent. WebhookState Intent_WebhookState `protobuf:"varint,6,opt,name=webhook_state,json=webhookState,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_WebhookState" json:"webhook_state,omitempty"` // Optional. The priority of this intent. Higher numbers represent higher // priorities. // // - If the supplied value is unspecified or 0, the service // translates the value to 500,000, which corresponds to the // `Normal` priority in the console. // - If the supplied value is negative, the intent is ignored // in runtime detect intent requests. Priority int32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"` // Optional. Indicates whether this is a fallback intent. IsFallback bool `protobuf:"varint,4,opt,name=is_fallback,json=isFallback,proto3" json:"is_fallback,omitempty"` // Optional. Indicates whether Machine Learning is enabled for the intent. // Note: If `ml_enabled` setting is set to false, then this intent is not // taken into account during inference in `ML ONLY` match mode. Also, // auto-markup in the UI is turned off. // DEPRECATED! Please use `ml_disabled` field instead. // NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false, // then the default value is determined as follows: // // - Before April 15th, 2018 the default is: // ml_enabled = false / ml_disabled = true. // - After April 15th, 2018 the default is: // ml_enabled = true / ml_disabled = false. // // Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/intent.proto. MlEnabled bool `protobuf:"varint,5,opt,name=ml_enabled,json=mlEnabled,proto3" json:"ml_enabled,omitempty"` // Optional. Indicates whether Machine Learning is disabled for the intent. // Note: If `ml_disabled` setting is set to true, then this intent is not // taken into account during inference in `ML ONLY` match mode. Also, // auto-markup in the UI is turned off. MlDisabled bool `protobuf:"varint,19,opt,name=ml_disabled,json=mlDisabled,proto3" json:"ml_disabled,omitempty"` // Optional. Indicates that a live agent should be brought in to handle the // interaction with the user. In most cases, when you set this flag to true, // you would also want to set end_interaction to true as well. Default is // false. LiveAgentHandoff bool `protobuf:"varint,20,opt,name=live_agent_handoff,json=liveAgentHandoff,proto3" json:"live_agent_handoff,omitempty"` // Optional. Indicates that this intent ends an interaction. Some integrations // (e.g., Actions on Google or Dialogflow phone gateway) use this information // to close interaction with an end user. Default is false. EndInteraction bool `protobuf:"varint,21,opt,name=end_interaction,json=endInteraction,proto3" json:"end_interaction,omitempty"` // Optional. The list of context names required for this intent to be // triggered. // Formats: // // - `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>` // - `projects/<Project ID>/locations/<Location // ID>/agent/sessions/-/contexts/<Context ID>` InputContextNames []string `protobuf:"bytes,7,rep,name=input_context_names,json=inputContextNames,proto3" json:"input_context_names,omitempty"` // Optional. The collection of event names that trigger the intent. // If the collection of input contexts is not empty, all of the contexts must // be present in the active user session for an event to trigger this intent. // Event names are limited to 150 characters. Events []string `protobuf:"bytes,8,rep,name=events,proto3" json:"events,omitempty"` // Optional. The collection of examples that the agent is // trained on. TrainingPhrases []*Intent_TrainingPhrase `protobuf:"bytes,9,rep,name=training_phrases,json=trainingPhrases,proto3" json:"training_phrases,omitempty"` // Optional. The name of the action associated with the intent. // Note: The action name must not contain whitespaces. Action string `protobuf:"bytes,10,opt,name=action,proto3" json:"action,omitempty"` // Optional. The collection of contexts that are activated when the intent // is matched. Context messages in this collection should not set the // parameters field. Setting the `lifespan_count` to 0 will reset the context // when the intent is matched. // Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`. OutputContexts []*Context `protobuf:"bytes,11,rep,name=output_contexts,json=outputContexts,proto3" json:"output_contexts,omitempty"` // Optional. Indicates whether to delete all contexts in the current // session when this intent is matched. ResetContexts bool `protobuf:"varint,12,opt,name=reset_contexts,json=resetContexts,proto3" json:"reset_contexts,omitempty"` // Optional. The collection of parameters associated with the intent. Parameters []*Intent_Parameter `protobuf:"bytes,13,rep,name=parameters,proto3" json:"parameters,omitempty"` // Optional. The collection of rich messages corresponding to the // `Response` field in the Dialogflow console. Messages []*Intent_Message `protobuf:"bytes,14,rep,name=messages,proto3" json:"messages,omitempty"` // Optional. The list of platforms for which the first responses will be // copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform). DefaultResponsePlatforms []Intent_Message_Platform `protobuf:"varint,15,rep,packed,name=default_response_platforms,json=defaultResponsePlatforms,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_Platform" json:"default_response_platforms,omitempty"` // Output only. The unique identifier of the root intent in the chain of // followup intents. It identifies the correct followup intents chain for // this intent. // // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. RootFollowupIntentName string `protobuf:"bytes,16,opt,name=root_followup_intent_name,json=rootFollowupIntentName,proto3" json:"root_followup_intent_name,omitempty"` // Optional. The unique identifier of the parent intent in the // chain of followup intents. You can set this field when creating an intent, // for example with // [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or // [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents], // in order to make this intent a followup intent. // // It identifies the parent followup intent. // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. ParentFollowupIntentName string `protobuf:"bytes,17,opt,name=parent_followup_intent_name,json=parentFollowupIntentName,proto3" json:"parent_followup_intent_name,omitempty"` // Output only. Information about all followup intents that have this intent // as a direct or indirect parent. We populate this field only in the output. FollowupIntentInfo []*Intent_FollowupIntentInfo `protobuf:"bytes,18,rep,name=followup_intent_info,json=followupIntentInfo,proto3" json:"followup_intent_info,omitempty"` // contains filtered or unexported fields }
An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification.
For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).
func (*Intent) Descriptor ¶
Deprecated: Use Intent.ProtoReflect.Descriptor instead.
func (*Intent) GetAction ¶
func (*Intent) GetDefaultResponsePlatforms ¶
func (x *Intent) GetDefaultResponsePlatforms() []Intent_Message_Platform
func (*Intent) GetDisplayName ¶
func (*Intent) GetEndInteraction ¶
func (*Intent) GetEvents ¶
func (*Intent) GetFollowupIntentInfo ¶
func (x *Intent) GetFollowupIntentInfo() []*Intent_FollowupIntentInfo
func (*Intent) GetInputContextNames ¶
func (*Intent) GetIsFallback ¶
func (*Intent) GetLiveAgentHandoff ¶
func (*Intent) GetMessages ¶
func (x *Intent) GetMessages() []*Intent_Message
func (*Intent) GetMlDisabled ¶
func (*Intent) GetMlEnabled ¶
Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/intent.proto.
func (*Intent) GetName ¶
func (*Intent) GetOutputContexts ¶
func (*Intent) GetParameters ¶
func (x *Intent) GetParameters() []*Intent_Parameter
func (*Intent) GetParentFollowupIntentName ¶
func (*Intent) GetPriority ¶
func (*Intent) GetResetContexts ¶
func (*Intent) GetRootFollowupIntentName ¶
func (*Intent) GetTrainingPhrases ¶
func (x *Intent) GetTrainingPhrases() []*Intent_TrainingPhrase
func (*Intent) GetWebhookState ¶
func (x *Intent) GetWebhookState() Intent_WebhookState
func (*Intent) ProtoMessage ¶
func (*Intent) ProtoMessage()
func (*Intent) ProtoReflect ¶
func (x *Intent) ProtoReflect() protoreflect.Message
func (*Intent) Reset ¶
func (x *Intent) Reset()
func (*Intent) String ¶
type IntentBatch ¶
type IntentBatch struct { // A collection of intents. Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` // contains filtered or unexported fields }
This message is a wrapper around a collection of intents.
func (*IntentBatch) Descriptor ¶
func (*IntentBatch) Descriptor() ([]byte, []int)
Deprecated: Use IntentBatch.ProtoReflect.Descriptor instead.
func (*IntentBatch) GetIntents ¶
func (x *IntentBatch) GetIntents() []*Intent
func (*IntentBatch) ProtoMessage ¶
func (*IntentBatch) ProtoMessage()
func (*IntentBatch) ProtoReflect ¶
func (x *IntentBatch) ProtoReflect() protoreflect.Message
func (*IntentBatch) Reset ¶
func (x *IntentBatch) Reset()
func (*IntentBatch) String ¶
func (x *IntentBatch) String() string
type IntentInput ¶
type IntentInput struct { // Required. The unique identifier of the intent in V3 agent. // Format: `projects/<Project ID>/locations/<Location ID>/locations/<Location // ID>/agents/<Agent ID>/intents/<Intent ID>`. Intent string `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"` // Required. The language of this conversational query. See [Language // Support](https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Represents the intent to trigger programmatically rather than as a result of natural language processing. The intent input is only used for V3 agent.
func (*IntentInput) Descriptor ¶
func (*IntentInput) Descriptor() ([]byte, []int)
Deprecated: Use IntentInput.ProtoReflect.Descriptor instead.
func (*IntentInput) GetIntent ¶
func (x *IntentInput) GetIntent() string
func (*IntentInput) GetLanguageCode ¶
func (x *IntentInput) GetLanguageCode() string
func (*IntentInput) ProtoMessage ¶
func (*IntentInput) ProtoMessage()
func (*IntentInput) ProtoReflect ¶
func (x *IntentInput) ProtoReflect() protoreflect.Message
func (*IntentInput) Reset ¶
func (x *IntentInput) Reset()
func (*IntentInput) String ¶
func (x *IntentInput) String() string
type IntentSuggestion ¶
type IntentSuggestion struct { // The display name of the intent. DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // The name of the intent. // // Types that are assignable to Intent: // // *IntentSuggestion_IntentV2 Intent isIntentSuggestion_Intent `protobuf_oneof:"intent"` // Human readable description for better understanding an intent like its // scope, content, result etc. Maximum character limit: 140 characters. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
Represents an intent suggestion.
func (*IntentSuggestion) Descriptor ¶
func (*IntentSuggestion) Descriptor() ([]byte, []int)
Deprecated: Use IntentSuggestion.ProtoReflect.Descriptor instead.
func (*IntentSuggestion) GetDescription ¶
func (x *IntentSuggestion) GetDescription() string
func (*IntentSuggestion) GetDisplayName ¶
func (x *IntentSuggestion) GetDisplayName() string
func (*IntentSuggestion) GetIntent ¶
func (m *IntentSuggestion) GetIntent() isIntentSuggestion_Intent
func (*IntentSuggestion) GetIntentV2 ¶
func (x *IntentSuggestion) GetIntentV2() string
func (*IntentSuggestion) ProtoMessage ¶
func (*IntentSuggestion) ProtoMessage()
func (*IntentSuggestion) ProtoReflect ¶
func (x *IntentSuggestion) ProtoReflect() protoreflect.Message
func (*IntentSuggestion) Reset ¶
func (x *IntentSuggestion) Reset()
func (*IntentSuggestion) String ¶
func (x *IntentSuggestion) String() string
type IntentSuggestion_IntentV2 ¶
type IntentSuggestion_IntentV2 struct { // The unique identifier of this // [intent][google.cloud.dialogflow.v2beta1.Intent]. Format: // `projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent // ID>`. IntentV2 string `protobuf:"bytes,2,opt,name=intent_v2,json=intentV2,proto3,oneof"` }
type IntentView ¶
type IntentView int32
Represents the options for views of an intent. An intent can be a sizable object. Therefore, we provide a resource view that does not return training phrases in the response by default.
const ( // Training phrases field is not populated in the response. IntentView_INTENT_VIEW_UNSPECIFIED IntentView = 0 // All fields are populated. IntentView_INTENT_VIEW_FULL IntentView = 1 )
func (IntentView) Descriptor ¶
func (IntentView) Descriptor() protoreflect.EnumDescriptor
func (IntentView) Enum ¶
func (x IntentView) Enum() *IntentView
func (IntentView) EnumDescriptor ¶
func (IntentView) EnumDescriptor() ([]byte, []int)
Deprecated: Use IntentView.Descriptor instead.
func (IntentView) Number ¶
func (x IntentView) Number() protoreflect.EnumNumber
func (IntentView) String ¶
func (x IntentView) String() string
func (IntentView) Type ¶
func (IntentView) Type() protoreflect.EnumType
type Intent_FollowupIntentInfo ¶
type Intent_FollowupIntentInfo struct { // The unique identifier of the followup intent. // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. FollowupIntentName string `protobuf:"bytes,1,opt,name=followup_intent_name,json=followupIntentName,proto3" json:"followup_intent_name,omitempty"` // The unique identifier of the followup intent's parent. // Format: `projects/<Project ID>/agent/intents/<Intent ID>`. ParentFollowupIntentName string `protobuf:"bytes,2,opt,name=parent_followup_intent_name,json=parentFollowupIntentName,proto3" json:"parent_followup_intent_name,omitempty"` // contains filtered or unexported fields }
Represents a single followup intent in the chain.
func (*Intent_FollowupIntentInfo) Descriptor ¶
func (*Intent_FollowupIntentInfo) Descriptor() ([]byte, []int)
Deprecated: Use Intent_FollowupIntentInfo.ProtoReflect.Descriptor instead.
func (*Intent_FollowupIntentInfo) GetFollowupIntentName ¶
func (x *Intent_FollowupIntentInfo) GetFollowupIntentName() string
func (*Intent_FollowupIntentInfo) GetParentFollowupIntentName ¶
func (x *Intent_FollowupIntentInfo) GetParentFollowupIntentName() string
func (*Intent_FollowupIntentInfo) ProtoMessage ¶
func (*Intent_FollowupIntentInfo) ProtoMessage()
func (*Intent_FollowupIntentInfo) ProtoReflect ¶
func (x *Intent_FollowupIntentInfo) ProtoReflect() protoreflect.Message
func (*Intent_FollowupIntentInfo) Reset ¶
func (x *Intent_FollowupIntentInfo) Reset()
func (*Intent_FollowupIntentInfo) String ¶
func (x *Intent_FollowupIntentInfo) String() string
type Intent_Message ¶
type Intent_Message struct { // Required. The rich response message. // // Types that are assignable to Message: // // *Intent_Message_Text_ // *Intent_Message_Image_ // *Intent_Message_QuickReplies_ // *Intent_Message_Card_ // *Intent_Message_Payload // *Intent_Message_SimpleResponses_ // *Intent_Message_BasicCard_ // *Intent_Message_Suggestions_ // *Intent_Message_LinkOutSuggestion_ // *Intent_Message_ListSelect_ // *Intent_Message_CarouselSelect_ // *Intent_Message_TelephonyPlayAudio_ // *Intent_Message_TelephonySynthesizeSpeech_ // *Intent_Message_TelephonyTransferCall_ // *Intent_Message_RbmText_ // *Intent_Message_RbmStandaloneRichCard // *Intent_Message_RbmCarouselRichCard // *Intent_Message_BrowseCarouselCard_ // *Intent_Message_TableCard_ // *Intent_Message_MediaContent_ Message isIntent_Message_Message `protobuf_oneof:"message"` // Optional. The platform that this message is intended for. Platform Intent_Message_Platform `protobuf:"varint,6,opt,name=platform,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_Platform" json:"platform,omitempty"` // contains filtered or unexported fields }
Corresponds to the `Response` field in the Dialogflow console.
func (*Intent_Message) Descriptor ¶
func (*Intent_Message) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message.ProtoReflect.Descriptor instead.
func (*Intent_Message) GetBasicCard ¶
func (x *Intent_Message) GetBasicCard() *Intent_Message_BasicCard
func (*Intent_Message) GetBrowseCarouselCard ¶
func (x *Intent_Message) GetBrowseCarouselCard() *Intent_Message_BrowseCarouselCard
func (*Intent_Message) GetCard ¶
func (x *Intent_Message) GetCard() *Intent_Message_Card
func (*Intent_Message) GetCarouselSelect ¶
func (x *Intent_Message) GetCarouselSelect() *Intent_Message_CarouselSelect
func (*Intent_Message) GetImage ¶
func (x *Intent_Message) GetImage() *Intent_Message_Image
func (*Intent_Message) GetLinkOutSuggestion ¶
func (x *Intent_Message) GetLinkOutSuggestion() *Intent_Message_LinkOutSuggestion
func (*Intent_Message) GetListSelect ¶
func (x *Intent_Message) GetListSelect() *Intent_Message_ListSelect
func (*Intent_Message) GetMediaContent ¶
func (x *Intent_Message) GetMediaContent() *Intent_Message_MediaContent
func (*Intent_Message) GetMessage ¶
func (m *Intent_Message) GetMessage() isIntent_Message_Message
func (*Intent_Message) GetPayload ¶
func (x *Intent_Message) GetPayload() *structpb.Struct
func (*Intent_Message) GetPlatform ¶
func (x *Intent_Message) GetPlatform() Intent_Message_Platform
func (*Intent_Message) GetQuickReplies ¶
func (x *Intent_Message) GetQuickReplies() *Intent_Message_QuickReplies
func (*Intent_Message) GetRbmCarouselRichCard ¶
func (x *Intent_Message) GetRbmCarouselRichCard() *Intent_Message_RbmCarouselCard
func (*Intent_Message) GetRbmStandaloneRichCard ¶
func (x *Intent_Message) GetRbmStandaloneRichCard() *Intent_Message_RbmStandaloneCard
func (*Intent_Message) GetRbmText ¶
func (x *Intent_Message) GetRbmText() *Intent_Message_RbmText
func (*Intent_Message) GetSimpleResponses ¶
func (x *Intent_Message) GetSimpleResponses() *Intent_Message_SimpleResponses
func (*Intent_Message) GetSuggestions ¶
func (x *Intent_Message) GetSuggestions() *Intent_Message_Suggestions
func (*Intent_Message) GetTableCard ¶
func (x *Intent_Message) GetTableCard() *Intent_Message_TableCard
func (*Intent_Message) GetTelephonyPlayAudio ¶
func (x *Intent_Message) GetTelephonyPlayAudio() *Intent_Message_TelephonyPlayAudio
func (*Intent_Message) GetTelephonySynthesizeSpeech ¶
func (x *Intent_Message) GetTelephonySynthesizeSpeech() *Intent_Message_TelephonySynthesizeSpeech
func (*Intent_Message) GetTelephonyTransferCall ¶
func (x *Intent_Message) GetTelephonyTransferCall() *Intent_Message_TelephonyTransferCall
func (*Intent_Message) GetText ¶
func (x *Intent_Message) GetText() *Intent_Message_Text
func (*Intent_Message) ProtoMessage ¶
func (*Intent_Message) ProtoMessage()
func (*Intent_Message) ProtoReflect ¶
func (x *Intent_Message) ProtoReflect() protoreflect.Message
func (*Intent_Message) Reset ¶
func (x *Intent_Message) Reset()
func (*Intent_Message) String ¶
func (x *Intent_Message) String() string
type Intent_Message_BasicCard ¶
type Intent_Message_BasicCard struct { // Optional. The title of the card. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // Optional. The subtitle of the card. Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` // Required, unless image is present. The body text of the card. FormattedText string `protobuf:"bytes,3,opt,name=formatted_text,json=formattedText,proto3" json:"formatted_text,omitempty"` // Optional. The image for the card. Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` // Optional. The collection of card buttons. Buttons []*Intent_Message_BasicCard_Button `protobuf:"bytes,5,rep,name=buttons,proto3" json:"buttons,omitempty"` // contains filtered or unexported fields }
The basic card message. Useful for displaying information.
func (*Intent_Message_BasicCard) Descriptor ¶
func (*Intent_Message_BasicCard) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_BasicCard.ProtoReflect.Descriptor instead.
func (*Intent_Message_BasicCard) GetButtons ¶
func (x *Intent_Message_BasicCard) GetButtons() []*Intent_Message_BasicCard_Button
func (*Intent_Message_BasicCard) GetFormattedText ¶
func (x *Intent_Message_BasicCard) GetFormattedText() string
func (*Intent_Message_BasicCard) GetImage ¶
func (x *Intent_Message_BasicCard) GetImage() *Intent_Message_Image
func (*Intent_Message_BasicCard) GetSubtitle ¶
func (x *Intent_Message_BasicCard) GetSubtitle() string
func (*Intent_Message_BasicCard) GetTitle ¶
func (x *Intent_Message_BasicCard) GetTitle() string
func (*Intent_Message_BasicCard) ProtoMessage ¶
func (*Intent_Message_BasicCard) ProtoMessage()
func (*Intent_Message_BasicCard) ProtoReflect ¶
func (x *Intent_Message_BasicCard) ProtoReflect() protoreflect.Message
func (*Intent_Message_BasicCard) Reset ¶
func (x *Intent_Message_BasicCard) Reset()
func (*Intent_Message_BasicCard) String ¶
func (x *Intent_Message_BasicCard) String() string
type Intent_Message_BasicCard_ ¶
type Intent_Message_BasicCard_ struct { // Displays a basic card for Actions on Google. BasicCard *Intent_Message_BasicCard `protobuf:"bytes,8,opt,name=basic_card,json=basicCard,proto3,oneof"` }
type Intent_Message_BasicCard_Button ¶
type Intent_Message_BasicCard_Button struct { // Required. The title of the button. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // Required. Action to take when a user taps on the button. OpenUriAction *Intent_Message_BasicCard_Button_OpenUriAction `protobuf:"bytes,2,opt,name=open_uri_action,json=openUriAction,proto3" json:"open_uri_action,omitempty"` // contains filtered or unexported fields }
The button object that appears at the bottom of a card.
func (*Intent_Message_BasicCard_Button) Descriptor ¶
func (*Intent_Message_BasicCard_Button) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_BasicCard_Button.ProtoReflect.Descriptor instead.
func (*Intent_Message_BasicCard_Button) GetOpenUriAction ¶
func (x *Intent_Message_BasicCard_Button) GetOpenUriAction() *Intent_Message_BasicCard_Button_OpenUriAction
func (*Intent_Message_BasicCard_Button) GetTitle ¶
func (x *Intent_Message_BasicCard_Button) GetTitle() string
func (*Intent_Message_BasicCard_Button) ProtoMessage ¶
func (*Intent_Message_BasicCard_Button) ProtoMessage()
func (*Intent_Message_BasicCard_Button) ProtoReflect ¶
func (x *Intent_Message_BasicCard_Button) ProtoReflect() protoreflect.Message
func (*Intent_Message_BasicCard_Button) Reset ¶
func (x *Intent_Message_BasicCard_Button) Reset()
func (*Intent_Message_BasicCard_Button) String ¶
func (x *Intent_Message_BasicCard_Button) String() string
type Intent_Message_BasicCard_Button_OpenUriAction ¶
type Intent_Message_BasicCard_Button_OpenUriAction struct { // Required. The HTTP or HTTPS scheme URI. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
Opens the given URI.
func (*Intent_Message_BasicCard_Button_OpenUriAction) Descriptor ¶
func (*Intent_Message_BasicCard_Button_OpenUriAction) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_BasicCard_Button_OpenUriAction.ProtoReflect.Descriptor instead.
func (*Intent_Message_BasicCard_Button_OpenUriAction) GetUri ¶
func (x *Intent_Message_BasicCard_Button_OpenUriAction) GetUri() string
func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoMessage ¶
func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoMessage()
func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoReflect ¶
func (x *Intent_Message_BasicCard_Button_OpenUriAction) ProtoReflect() protoreflect.Message
func (*Intent_Message_BasicCard_Button_OpenUriAction) Reset ¶
func (x *Intent_Message_BasicCard_Button_OpenUriAction) Reset()
func (*Intent_Message_BasicCard_Button_OpenUriAction) String ¶
func (x *Intent_Message_BasicCard_Button_OpenUriAction) String() string
type Intent_Message_BrowseCarouselCard ¶
type Intent_Message_BrowseCarouselCard struct { // Required. List of items in the Browse Carousel Card. Minimum of two // items, maximum of ten. Items []*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // Optional. Settings for displaying the image. Applies to every image in // [items][google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.items]. ImageDisplayOptions Intent_Message_BrowseCarouselCard_ImageDisplayOptions `protobuf:"varint,2,opt,name=image_display_options,json=imageDisplayOptions,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_BrowseCarouselCard_ImageDisplayOptions" json:"image_display_options,omitempty"` // contains filtered or unexported fields }
Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel
func (*Intent_Message_BrowseCarouselCard) Descriptor ¶
func (*Intent_Message_BrowseCarouselCard) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_BrowseCarouselCard.ProtoReflect.Descriptor instead.
func (*Intent_Message_BrowseCarouselCard) GetImageDisplayOptions ¶
func (x *Intent_Message_BrowseCarouselCard) GetImageDisplayOptions() Intent_Message_BrowseCarouselCard_ImageDisplayOptions
func (*Intent_Message_BrowseCarouselCard) GetItems ¶
func (x *Intent_Message_BrowseCarouselCard) GetItems() []*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem
func (*Intent_Message_BrowseCarouselCard) ProtoMessage ¶
func (*Intent_Message_BrowseCarouselCard) ProtoMessage()
func (*Intent_Message_BrowseCarouselCard) ProtoReflect ¶
func (x *Intent_Message_BrowseCarouselCard) ProtoReflect() protoreflect.Message
func (*Intent_Message_BrowseCarouselCard) Reset ¶
func (x *Intent_Message_BrowseCarouselCard) Reset()
func (*Intent_Message_BrowseCarouselCard) String ¶
func (x *Intent_Message_BrowseCarouselCard) String() string
type Intent_Message_BrowseCarouselCard_ ¶
type Intent_Message_BrowseCarouselCard_ struct { // Browse carousel card for Actions on Google. BrowseCarouselCard *Intent_Message_BrowseCarouselCard `protobuf:"bytes,22,opt,name=browse_carousel_card,json=browseCarouselCard,proto3,oneof"` }
type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem ¶
type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem struct { // Required. Action to present to the user. OpenUriAction *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction `protobuf:"bytes,1,opt,name=open_uri_action,json=openUriAction,proto3" json:"open_uri_action,omitempty"` // Required. Title of the carousel item. Maximum of two lines of text. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // Optional. Description of the carousel item. Maximum of four lines of // text. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Optional. Hero image for the carousel item. Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` // Optional. Text that appears at the bottom of the Browse Carousel // Card. Maximum of one line of text. string `protobuf:"bytes,5,opt,name=footer,proto3" json:"footer,omitempty"` // contains filtered or unexported fields }
Browsing carousel tile
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) Descriptor ¶
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem.ProtoReflect.Descriptor instead.
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetDescription ¶
func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetDescription() string
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetFooter ¶
func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetFooter() string
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetImage ¶
func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetImage() *Intent_Message_Image
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetOpenUriAction ¶
func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetOpenUriAction() *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetTitle ¶
func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetTitle() string
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) ProtoMessage ¶
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) ProtoMessage()
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) ProtoReflect ¶
func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) ProtoReflect() protoreflect.Message
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) Reset ¶
func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) Reset()
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) String ¶
func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) String() string
type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction ¶
type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction struct { // Required. URL Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // Optional. Specifies the type of viewer that is used when opening // the URL. Defaults to opening via web browser. UrlTypeHint Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint `protobuf:"varint,3,opt,name=url_type_hint,json=urlTypeHint,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint" json:"url_type_hint,omitempty"` // contains filtered or unexported fields }
Actions on Google action to open a given url.
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) Descriptor ¶
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction.ProtoReflect.Descriptor instead.
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) GetUrl ¶
func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) GetUrl() string
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) GetUrlTypeHint ¶
func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) GetUrlTypeHint() Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) ProtoMessage ¶
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) ProtoMessage()
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) ProtoReflect ¶
func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) ProtoReflect() protoreflect.Message
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) Reset ¶
func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) Reset()
func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) String ¶
func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) String() string
type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint ¶
type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint int32
Type of the URI.
const ( // Unspecified Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_URL_TYPE_HINT_UNSPECIFIED Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint = 0 // Url would be an amp action Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_AMP_ACTION Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint = 1 // URL that points directly to AMP content, or to a canonical URL // which refers to AMP content via <link rel="amphtml">. Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_AMP_CONTENT Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint = 2 )
func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Descriptor ¶
func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Descriptor() protoreflect.EnumDescriptor
func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Enum ¶
func (x Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Enum() *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint
func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) EnumDescriptor ¶
func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) EnumDescriptor() ([]byte, []int)
Deprecated: Use Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint.Descriptor instead.
func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Number ¶
func (x Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Number() protoreflect.EnumNumber
func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) String ¶
func (x Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) String() string
func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Type ¶
func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Type() protoreflect.EnumType
type Intent_Message_BrowseCarouselCard_ImageDisplayOptions ¶
type Intent_Message_BrowseCarouselCard_ImageDisplayOptions int32
Image display options for Actions on Google. This should be used for when the image's aspect ratio does not match the image container's aspect ratio.
const ( // Fill the gaps between the image and the image container with gray // bars. Intent_Message_BrowseCarouselCard_IMAGE_DISPLAY_OPTIONS_UNSPECIFIED Intent_Message_BrowseCarouselCard_ImageDisplayOptions = 0 // Fill the gaps between the image and the image container with gray // bars. Intent_Message_BrowseCarouselCard_GRAY Intent_Message_BrowseCarouselCard_ImageDisplayOptions = 1 // Fill the gaps between the image and the image container with white // bars. Intent_Message_BrowseCarouselCard_WHITE Intent_Message_BrowseCarouselCard_ImageDisplayOptions = 2 // Image is scaled such that the image width and height match or exceed // the container dimensions. This may crop the top and bottom of the // image if the scaled image height is greater than the container // height, or crop the left and right of the image if the scaled image // width is greater than the container width. This is similar to "Zoom // Mode" on a widescreen TV when playing a 4:3 video. Intent_Message_BrowseCarouselCard_CROPPED Intent_Message_BrowseCarouselCard_ImageDisplayOptions = 3 // Pad the gaps between image and image frame with a blurred copy of the // same image. Intent_Message_BrowseCarouselCard_BLURRED_BACKGROUND Intent_Message_BrowseCarouselCard_ImageDisplayOptions = 4 )
func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Descriptor ¶
func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Descriptor() protoreflect.EnumDescriptor
func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Enum ¶
func (x Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Enum() *Intent_Message_BrowseCarouselCard_ImageDisplayOptions
func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) EnumDescriptor ¶
func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) EnumDescriptor() ([]byte, []int)
Deprecated: Use Intent_Message_BrowseCarouselCard_ImageDisplayOptions.Descriptor instead.
func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Number ¶
func (x Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Number() protoreflect.EnumNumber
func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) String ¶
func (x Intent_Message_BrowseCarouselCard_ImageDisplayOptions) String() string
func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Type ¶
type Intent_Message_Card ¶
type Intent_Message_Card struct { // Optional. The title of the card. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // Optional. The subtitle of the card. Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` // Optional. The public URI to an image file for the card. ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` // Optional. The collection of card buttons. Buttons []*Intent_Message_Card_Button `protobuf:"bytes,4,rep,name=buttons,proto3" json:"buttons,omitempty"` // contains filtered or unexported fields }
The card response message.
func (*Intent_Message_Card) Descriptor ¶
func (*Intent_Message_Card) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_Card.ProtoReflect.Descriptor instead.
func (*Intent_Message_Card) GetButtons ¶
func (x *Intent_Message_Card) GetButtons() []*Intent_Message_Card_Button
func (*Intent_Message_Card) GetImageUri ¶
func (x *Intent_Message_Card) GetImageUri() string
func (*Intent_Message_Card) GetSubtitle ¶
func (x *Intent_Message_Card) GetSubtitle() string
func (*Intent_Message_Card) GetTitle ¶
func (x *Intent_Message_Card) GetTitle() string
func (*Intent_Message_Card) ProtoMessage ¶
func (*Intent_Message_Card) ProtoMessage()
func (*Intent_Message_Card) ProtoReflect ¶
func (x *Intent_Message_Card) ProtoReflect() protoreflect.Message
func (*Intent_Message_Card) Reset ¶
func (x *Intent_Message_Card) Reset()
func (*Intent_Message_Card) String ¶
func (x *Intent_Message_Card) String() string
type Intent_Message_Card_ ¶
type Intent_Message_Card_ struct { // Displays a card. Card *Intent_Message_Card `protobuf:"bytes,4,opt,name=card,proto3,oneof"` }
type Intent_Message_Card_Button ¶
type Intent_Message_Card_Button struct { // Optional. The text to show on the button. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // Optional. The text to send back to the Dialogflow API or a URI to // open. Postback string `protobuf:"bytes,2,opt,name=postback,proto3" json:"postback,omitempty"` // contains filtered or unexported fields }
Optional. Contains information about a button.
func (*Intent_Message_Card_Button) Descriptor ¶
func (*Intent_Message_Card_Button) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_Card_Button.ProtoReflect.Descriptor instead.
func (*Intent_Message_Card_Button) GetPostback ¶
func (x *Intent_Message_Card_Button) GetPostback() string
func (*Intent_Message_Card_Button) GetText ¶
func (x *Intent_Message_Card_Button) GetText() string
func (*Intent_Message_Card_Button) ProtoMessage ¶
func (*Intent_Message_Card_Button) ProtoMessage()
func (*Intent_Message_Card_Button) ProtoReflect ¶
func (x *Intent_Message_Card_Button) ProtoReflect() protoreflect.Message
func (*Intent_Message_Card_Button) Reset ¶
func (x *Intent_Message_Card_Button) Reset()
func (*Intent_Message_Card_Button) String ¶
func (x *Intent_Message_Card_Button) String() string
type Intent_Message_CarouselSelect ¶
type Intent_Message_CarouselSelect struct { // Required. Carousel items. Items []*Intent_Message_CarouselSelect_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
The card for presenting a carousel of options to select from.
func (*Intent_Message_CarouselSelect) Descriptor ¶
func (*Intent_Message_CarouselSelect) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_CarouselSelect.ProtoReflect.Descriptor instead.
func (*Intent_Message_CarouselSelect) GetItems ¶
func (x *Intent_Message_CarouselSelect) GetItems() []*Intent_Message_CarouselSelect_Item
func (*Intent_Message_CarouselSelect) ProtoMessage ¶
func (*Intent_Message_CarouselSelect) ProtoMessage()
func (*Intent_Message_CarouselSelect) ProtoReflect ¶
func (x *Intent_Message_CarouselSelect) ProtoReflect() protoreflect.Message
func (*Intent_Message_CarouselSelect) Reset ¶
func (x *Intent_Message_CarouselSelect) Reset()
func (*Intent_Message_CarouselSelect) String ¶
func (x *Intent_Message_CarouselSelect) String() string
type Intent_Message_CarouselSelect_ ¶
type Intent_Message_CarouselSelect_ struct { // Displays a carousel card for Actions on Google. CarouselSelect *Intent_Message_CarouselSelect `protobuf:"bytes,12,opt,name=carousel_select,json=carouselSelect,proto3,oneof"` }
type Intent_Message_CarouselSelect_Item ¶
type Intent_Message_CarouselSelect_Item struct { // Required. Additional info about the option item. Info *Intent_Message_SelectItemInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // Required. Title of the carousel item. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // Optional. The body text of the card. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Optional. The image to display. Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
An item in the carousel.
func (*Intent_Message_CarouselSelect_Item) Descriptor ¶
func (*Intent_Message_CarouselSelect_Item) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_CarouselSelect_Item.ProtoReflect.Descriptor instead.
func (*Intent_Message_CarouselSelect_Item) GetDescription ¶
func (x *Intent_Message_CarouselSelect_Item) GetDescription() string
func (*Intent_Message_CarouselSelect_Item) GetImage ¶
func (x *Intent_Message_CarouselSelect_Item) GetImage() *Intent_Message_Image
func (*Intent_Message_CarouselSelect_Item) GetInfo ¶
func (x *Intent_Message_CarouselSelect_Item) GetInfo() *Intent_Message_SelectItemInfo
func (*Intent_Message_CarouselSelect_Item) GetTitle ¶
func (x *Intent_Message_CarouselSelect_Item) GetTitle() string
func (*Intent_Message_CarouselSelect_Item) ProtoMessage ¶
func (*Intent_Message_CarouselSelect_Item) ProtoMessage()
func (*Intent_Message_CarouselSelect_Item) ProtoReflect ¶
func (x *Intent_Message_CarouselSelect_Item) ProtoReflect() protoreflect.Message
func (*Intent_Message_CarouselSelect_Item) Reset ¶
func (x *Intent_Message_CarouselSelect_Item) Reset()
func (*Intent_Message_CarouselSelect_Item) String ¶
func (x *Intent_Message_CarouselSelect_Item) String() string
type Intent_Message_ColumnProperties ¶
type Intent_Message_ColumnProperties struct { // Required. Column heading. Header string `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // Optional. Defines text alignment for all cells in this column. HorizontalAlignment Intent_Message_ColumnProperties_HorizontalAlignment `protobuf:"varint,2,opt,name=horizontal_alignment,json=horizontalAlignment,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_ColumnProperties_HorizontalAlignment" json:"horizontal_alignment,omitempty"` // contains filtered or unexported fields }
Column properties for [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard].
func (*Intent_Message_ColumnProperties) Descriptor ¶
func (*Intent_Message_ColumnProperties) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_ColumnProperties.ProtoReflect.Descriptor instead.
func (*Intent_Message_ColumnProperties) GetHeader ¶
func (x *Intent_Message_ColumnProperties) GetHeader() string
func (*Intent_Message_ColumnProperties) GetHorizontalAlignment ¶
func (x *Intent_Message_ColumnProperties) GetHorizontalAlignment() Intent_Message_ColumnProperties_HorizontalAlignment
func (*Intent_Message_ColumnProperties) ProtoMessage ¶
func (*Intent_Message_ColumnProperties) ProtoMessage()
func (*Intent_Message_ColumnProperties) ProtoReflect ¶
func (x *Intent_Message_ColumnProperties) ProtoReflect() protoreflect.Message
func (*Intent_Message_ColumnProperties) Reset ¶
func (x *Intent_Message_ColumnProperties) Reset()
func (*Intent_Message_ColumnProperties) String ¶
func (x *Intent_Message_ColumnProperties) String() string
type Intent_Message_ColumnProperties_HorizontalAlignment ¶
type Intent_Message_ColumnProperties_HorizontalAlignment int32
Text alignments within a cell.
const ( // Text is aligned to the leading edge of the column. Intent_Message_ColumnProperties_HORIZONTAL_ALIGNMENT_UNSPECIFIED Intent_Message_ColumnProperties_HorizontalAlignment = 0 // Text is aligned to the leading edge of the column. Intent_Message_ColumnProperties_LEADING Intent_Message_ColumnProperties_HorizontalAlignment = 1 // Text is centered in the column. Intent_Message_ColumnProperties_CENTER Intent_Message_ColumnProperties_HorizontalAlignment = 2 // Text is aligned to the trailing edge of the column. Intent_Message_ColumnProperties_TRAILING Intent_Message_ColumnProperties_HorizontalAlignment = 3 )
func (Intent_Message_ColumnProperties_HorizontalAlignment) Descriptor ¶
func (Intent_Message_ColumnProperties_HorizontalAlignment) Descriptor() protoreflect.EnumDescriptor
func (Intent_Message_ColumnProperties_HorizontalAlignment) Enum ¶
func (x Intent_Message_ColumnProperties_HorizontalAlignment) Enum() *Intent_Message_ColumnProperties_HorizontalAlignment
func (Intent_Message_ColumnProperties_HorizontalAlignment) EnumDescriptor ¶
func (Intent_Message_ColumnProperties_HorizontalAlignment) EnumDescriptor() ([]byte, []int)
Deprecated: Use Intent_Message_ColumnProperties_HorizontalAlignment.Descriptor instead.
func (Intent_Message_ColumnProperties_HorizontalAlignment) Number ¶
func (x Intent_Message_ColumnProperties_HorizontalAlignment) Number() protoreflect.EnumNumber
func (Intent_Message_ColumnProperties_HorizontalAlignment) String ¶
func (x Intent_Message_ColumnProperties_HorizontalAlignment) String() string
func (Intent_Message_ColumnProperties_HorizontalAlignment) Type ¶
type Intent_Message_Image ¶
type Intent_Message_Image struct { // Optional. The public URI to an image file. ImageUri string `protobuf:"bytes,1,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` // A text description of the image to be used for accessibility, // e.g., screen readers. Required if image_uri is set for CarouselSelect. AccessibilityText string `protobuf:"bytes,2,opt,name=accessibility_text,json=accessibilityText,proto3" json:"accessibility_text,omitempty"` // contains filtered or unexported fields }
The image response message.
func (*Intent_Message_Image) Descriptor ¶
func (*Intent_Message_Image) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_Image.ProtoReflect.Descriptor instead.
func (*Intent_Message_Image) GetAccessibilityText ¶
func (x *Intent_Message_Image) GetAccessibilityText() string
func (*Intent_Message_Image) GetImageUri ¶
func (x *Intent_Message_Image) GetImageUri() string
func (*Intent_Message_Image) ProtoMessage ¶
func (*Intent_Message_Image) ProtoMessage()
func (*Intent_Message_Image) ProtoReflect ¶
func (x *Intent_Message_Image) ProtoReflect() protoreflect.Message
func (*Intent_Message_Image) Reset ¶
func (x *Intent_Message_Image) Reset()
func (*Intent_Message_Image) String ¶
func (x *Intent_Message_Image) String() string
type Intent_Message_Image_ ¶
type Intent_Message_Image_ struct { // Displays an image. Image *Intent_Message_Image `protobuf:"bytes,2,opt,name=image,proto3,oneof"` }
type Intent_Message_LinkOutSuggestion ¶
type Intent_Message_LinkOutSuggestion struct { // Required. The name of the app or site this chip is linking to. DestinationName string `protobuf:"bytes,1,opt,name=destination_name,json=destinationName,proto3" json:"destination_name,omitempty"` // Required. The URI of the app or site to open when the user taps the // suggestion chip. Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
The suggestion chip message that allows the user to jump out to the app or website associated with this agent.
func (*Intent_Message_LinkOutSuggestion) Descriptor ¶
func (*Intent_Message_LinkOutSuggestion) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_LinkOutSuggestion.ProtoReflect.Descriptor instead.
func (*Intent_Message_LinkOutSuggestion) GetDestinationName ¶
func (x *Intent_Message_LinkOutSuggestion) GetDestinationName() string
func (*Intent_Message_LinkOutSuggestion) GetUri ¶
func (x *Intent_Message_LinkOutSuggestion) GetUri() string
func (*Intent_Message_LinkOutSuggestion) ProtoMessage ¶
func (*Intent_Message_LinkOutSuggestion) ProtoMessage()
func (*Intent_Message_LinkOutSuggestion) ProtoReflect ¶
func (x *Intent_Message_LinkOutSuggestion) ProtoReflect() protoreflect.Message
func (*Intent_Message_LinkOutSuggestion) Reset ¶
func (x *Intent_Message_LinkOutSuggestion) Reset()
func (*Intent_Message_LinkOutSuggestion) String ¶
func (x *Intent_Message_LinkOutSuggestion) String() string
type Intent_Message_LinkOutSuggestion_ ¶
type Intent_Message_LinkOutSuggestion_ struct { // Displays a link out suggestion chip for Actions on Google. LinkOutSuggestion *Intent_Message_LinkOutSuggestion `protobuf:"bytes,10,opt,name=link_out_suggestion,json=linkOutSuggestion,proto3,oneof"` }
type Intent_Message_ListSelect ¶
type Intent_Message_ListSelect struct { // Optional. The overall title of the list. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // Required. List items. Items []*Intent_Message_ListSelect_Item `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // Optional. Subtitle of the list. Subtitle string `protobuf:"bytes,3,opt,name=subtitle,proto3" json:"subtitle,omitempty"` // contains filtered or unexported fields }
The card for presenting a list of options to select from.
func (*Intent_Message_ListSelect) Descriptor ¶
func (*Intent_Message_ListSelect) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_ListSelect.ProtoReflect.Descriptor instead.
func (*Intent_Message_ListSelect) GetItems ¶
func (x *Intent_Message_ListSelect) GetItems() []*Intent_Message_ListSelect_Item
func (*Intent_Message_ListSelect) GetSubtitle ¶
func (x *Intent_Message_ListSelect) GetSubtitle() string
func (*Intent_Message_ListSelect) GetTitle ¶
func (x *Intent_Message_ListSelect) GetTitle() string
func (*Intent_Message_ListSelect) ProtoMessage ¶
func (*Intent_Message_ListSelect) ProtoMessage()
func (*Intent_Message_ListSelect) ProtoReflect ¶
func (x *Intent_Message_ListSelect) ProtoReflect() protoreflect.Message
func (*Intent_Message_ListSelect) Reset ¶
func (x *Intent_Message_ListSelect) Reset()
func (*Intent_Message_ListSelect) String ¶
func (x *Intent_Message_ListSelect) String() string
type Intent_Message_ListSelect_ ¶
type Intent_Message_ListSelect_ struct { // Displays a list card for Actions on Google. ListSelect *Intent_Message_ListSelect `protobuf:"bytes,11,opt,name=list_select,json=listSelect,proto3,oneof"` }
type Intent_Message_ListSelect_Item ¶
type Intent_Message_ListSelect_Item struct { // Required. Additional information about this option. Info *Intent_Message_SelectItemInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // Required. The title of the list item. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // Optional. The main text describing the item. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Optional. The image to display. Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
An item in the list.
func (*Intent_Message_ListSelect_Item) Descriptor ¶
func (*Intent_Message_ListSelect_Item) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_ListSelect_Item.ProtoReflect.Descriptor instead.
func (*Intent_Message_ListSelect_Item) GetDescription ¶
func (x *Intent_Message_ListSelect_Item) GetDescription() string
func (*Intent_Message_ListSelect_Item) GetImage ¶
func (x *Intent_Message_ListSelect_Item) GetImage() *Intent_Message_Image
func (*Intent_Message_ListSelect_Item) GetInfo ¶
func (x *Intent_Message_ListSelect_Item) GetInfo() *Intent_Message_SelectItemInfo
func (*Intent_Message_ListSelect_Item) GetTitle ¶
func (x *Intent_Message_ListSelect_Item) GetTitle() string
func (*Intent_Message_ListSelect_Item) ProtoMessage ¶
func (*Intent_Message_ListSelect_Item) ProtoMessage()
func (*Intent_Message_ListSelect_Item) ProtoReflect ¶
func (x *Intent_Message_ListSelect_Item) ProtoReflect() protoreflect.Message
func (*Intent_Message_ListSelect_Item) Reset ¶
func (x *Intent_Message_ListSelect_Item) Reset()
func (*Intent_Message_ListSelect_Item) String ¶
func (x *Intent_Message_ListSelect_Item) String() string
type Intent_Message_MediaContent ¶
type Intent_Message_MediaContent struct { // Optional. What type of media is the content (ie "audio"). MediaType Intent_Message_MediaContent_ResponseMediaType `protobuf:"varint,1,opt,name=media_type,json=mediaType,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_MediaContent_ResponseMediaType" json:"media_type,omitempty"` // Required. List of media objects. MediaObjects []*Intent_Message_MediaContent_ResponseMediaObject `protobuf:"bytes,2,rep,name=media_objects,json=mediaObjects,proto3" json:"media_objects,omitempty"` // contains filtered or unexported fields }
The media content card for Actions on Google.
func (*Intent_Message_MediaContent) Descriptor ¶
func (*Intent_Message_MediaContent) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_MediaContent.ProtoReflect.Descriptor instead.
func (*Intent_Message_MediaContent) GetMediaObjects ¶
func (x *Intent_Message_MediaContent) GetMediaObjects() []*Intent_Message_MediaContent_ResponseMediaObject
func (*Intent_Message_MediaContent) GetMediaType ¶
func (x *Intent_Message_MediaContent) GetMediaType() Intent_Message_MediaContent_ResponseMediaType
func (*Intent_Message_MediaContent) ProtoMessage ¶
func (*Intent_Message_MediaContent) ProtoMessage()
func (*Intent_Message_MediaContent) ProtoReflect ¶
func (x *Intent_Message_MediaContent) ProtoReflect() protoreflect.Message
func (*Intent_Message_MediaContent) Reset ¶
func (x *Intent_Message_MediaContent) Reset()
func (*Intent_Message_MediaContent) String ¶
func (x *Intent_Message_MediaContent) String() string
type Intent_Message_MediaContent_ ¶
type Intent_Message_MediaContent_ struct { // The media content card for Actions on Google. MediaContent *Intent_Message_MediaContent `protobuf:"bytes,24,opt,name=media_content,json=mediaContent,proto3,oneof"` }
type Intent_Message_MediaContent_ResponseMediaObject ¶
type Intent_Message_MediaContent_ResponseMediaObject struct { // Required. Name of media card. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. Description of media card. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Image to show with the media card. // // Types that are assignable to Image: // // *Intent_Message_MediaContent_ResponseMediaObject_LargeImage // *Intent_Message_MediaContent_ResponseMediaObject_Icon Image isIntent_Message_MediaContent_ResponseMediaObject_Image `protobuf_oneof:"image"` // Required. Url where the media is stored. ContentUrl string `protobuf:"bytes,5,opt,name=content_url,json=contentUrl,proto3" json:"content_url,omitempty"` // contains filtered or unexported fields }
Response media object for media content card.
func (*Intent_Message_MediaContent_ResponseMediaObject) Descriptor ¶
func (*Intent_Message_MediaContent_ResponseMediaObject) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_MediaContent_ResponseMediaObject.ProtoReflect.Descriptor instead.
func (*Intent_Message_MediaContent_ResponseMediaObject) GetContentUrl ¶
func (x *Intent_Message_MediaContent_ResponseMediaObject) GetContentUrl() string
func (*Intent_Message_MediaContent_ResponseMediaObject) GetDescription ¶
func (x *Intent_Message_MediaContent_ResponseMediaObject) GetDescription() string
func (*Intent_Message_MediaContent_ResponseMediaObject) GetIcon ¶
func (x *Intent_Message_MediaContent_ResponseMediaObject) GetIcon() *Intent_Message_Image
func (*Intent_Message_MediaContent_ResponseMediaObject) GetImage ¶
func (m *Intent_Message_MediaContent_ResponseMediaObject) GetImage() isIntent_Message_MediaContent_ResponseMediaObject_Image
func (*Intent_Message_MediaContent_ResponseMediaObject) GetLargeImage ¶
func (x *Intent_Message_MediaContent_ResponseMediaObject) GetLargeImage() *Intent_Message_Image
func (*Intent_Message_MediaContent_ResponseMediaObject) GetName ¶
func (x *Intent_Message_MediaContent_ResponseMediaObject) GetName() string
func (*Intent_Message_MediaContent_ResponseMediaObject) ProtoMessage ¶
func (*Intent_Message_MediaContent_ResponseMediaObject) ProtoMessage()
func (*Intent_Message_MediaContent_ResponseMediaObject) ProtoReflect ¶
func (x *Intent_Message_MediaContent_ResponseMediaObject) ProtoReflect() protoreflect.Message
func (*Intent_Message_MediaContent_ResponseMediaObject) Reset ¶
func (x *Intent_Message_MediaContent_ResponseMediaObject) Reset()
func (*Intent_Message_MediaContent_ResponseMediaObject) String ¶
func (x *Intent_Message_MediaContent_ResponseMediaObject) String() string
type Intent_Message_MediaContent_ResponseMediaObject_Icon ¶
type Intent_Message_MediaContent_ResponseMediaObject_Icon struct { // Optional. Icon to display above media content. Icon *Intent_Message_Image `protobuf:"bytes,4,opt,name=icon,proto3,oneof"` }
type Intent_Message_MediaContent_ResponseMediaObject_LargeImage ¶
type Intent_Message_MediaContent_ResponseMediaObject_LargeImage struct { // Optional. Image to display above media content. LargeImage *Intent_Message_Image `protobuf:"bytes,3,opt,name=large_image,json=largeImage,proto3,oneof"` }
type Intent_Message_MediaContent_ResponseMediaType ¶
type Intent_Message_MediaContent_ResponseMediaType int32
Format of response media type.
const ( // Unspecified. Intent_Message_MediaContent_RESPONSE_MEDIA_TYPE_UNSPECIFIED Intent_Message_MediaContent_ResponseMediaType = 0 // Response media type is audio. Intent_Message_MediaContent_AUDIO Intent_Message_MediaContent_ResponseMediaType = 1 )
func (Intent_Message_MediaContent_ResponseMediaType) Descriptor ¶
func (Intent_Message_MediaContent_ResponseMediaType) Descriptor() protoreflect.EnumDescriptor
func (Intent_Message_MediaContent_ResponseMediaType) Enum ¶
func (x Intent_Message_MediaContent_ResponseMediaType) Enum() *Intent_Message_MediaContent_ResponseMediaType
func (Intent_Message_MediaContent_ResponseMediaType) EnumDescriptor ¶
func (Intent_Message_MediaContent_ResponseMediaType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Intent_Message_MediaContent_ResponseMediaType.Descriptor instead.
func (Intent_Message_MediaContent_ResponseMediaType) Number ¶
func (x Intent_Message_MediaContent_ResponseMediaType) Number() protoreflect.EnumNumber
func (Intent_Message_MediaContent_ResponseMediaType) String ¶
func (x Intent_Message_MediaContent_ResponseMediaType) String() string
func (Intent_Message_MediaContent_ResponseMediaType) Type ¶
type Intent_Message_Payload ¶
type Intent_Message_Payload struct { // A custom platform-specific response. Payload *structpb.Struct `protobuf:"bytes,5,opt,name=payload,proto3,oneof"` }
type Intent_Message_Platform ¶
type Intent_Message_Platform int32
Represents different platforms that a rich message can be intended for.
const ( // Not specified. Intent_Message_PLATFORM_UNSPECIFIED Intent_Message_Platform = 0 // Facebook. Intent_Message_FACEBOOK Intent_Message_Platform = 1 // Slack. Intent_Message_SLACK Intent_Message_Platform = 2 // Telegram. Intent_Message_TELEGRAM Intent_Message_Platform = 3 // Kik. Intent_Message_KIK Intent_Message_Platform = 4 // Skype. Intent_Message_SKYPE Intent_Message_Platform = 5 // Line. Intent_Message_LINE Intent_Message_Platform = 6 // Viber. Intent_Message_VIBER Intent_Message_Platform = 7 // Google Assistant // See [Dialogflow webhook // format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json) Intent_Message_ACTIONS_ON_GOOGLE Intent_Message_Platform = 8 // Telephony Gateway. Intent_Message_TELEPHONY Intent_Message_Platform = 10 // Google Hangouts. Intent_Message_GOOGLE_HANGOUTS Intent_Message_Platform = 11 )
func (Intent_Message_Platform) Descriptor ¶
func (Intent_Message_Platform) Descriptor() protoreflect.EnumDescriptor
func (Intent_Message_Platform) Enum ¶
func (x Intent_Message_Platform) Enum() *Intent_Message_Platform
func (Intent_Message_Platform) EnumDescriptor ¶
func (Intent_Message_Platform) EnumDescriptor() ([]byte, []int)
Deprecated: Use Intent_Message_Platform.Descriptor instead.
func (Intent_Message_Platform) Number ¶
func (x Intent_Message_Platform) Number() protoreflect.EnumNumber
func (Intent_Message_Platform) String ¶
func (x Intent_Message_Platform) String() string
func (Intent_Message_Platform) Type ¶
func (Intent_Message_Platform) Type() protoreflect.EnumType
type Intent_Message_QuickReplies ¶
type Intent_Message_QuickReplies struct { // Optional. The title of the collection of quick replies. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // Optional. The collection of quick replies. QuickReplies []string `protobuf:"bytes,2,rep,name=quick_replies,json=quickReplies,proto3" json:"quick_replies,omitempty"` // contains filtered or unexported fields }
The quick replies response message.
func (*Intent_Message_QuickReplies) Descriptor ¶
func (*Intent_Message_QuickReplies) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_QuickReplies.ProtoReflect.Descriptor instead.
func (*Intent_Message_QuickReplies) GetQuickReplies ¶
func (x *Intent_Message_QuickReplies) GetQuickReplies() []string
func (*Intent_Message_QuickReplies) GetTitle ¶
func (x *Intent_Message_QuickReplies) GetTitle() string
func (*Intent_Message_QuickReplies) ProtoMessage ¶
func (*Intent_Message_QuickReplies) ProtoMessage()
func (*Intent_Message_QuickReplies) ProtoReflect ¶
func (x *Intent_Message_QuickReplies) ProtoReflect() protoreflect.Message
func (*Intent_Message_QuickReplies) Reset ¶
func (x *Intent_Message_QuickReplies) Reset()
func (*Intent_Message_QuickReplies) String ¶
func (x *Intent_Message_QuickReplies) String() string
type Intent_Message_QuickReplies_ ¶
type Intent_Message_QuickReplies_ struct { // Displays quick replies. QuickReplies *Intent_Message_QuickReplies `protobuf:"bytes,3,opt,name=quick_replies,json=quickReplies,proto3,oneof"` }
type Intent_Message_RbmCardContent ¶
type Intent_Message_RbmCardContent struct { // Optional. Title of the card (at most 200 bytes). // // At least one of the title, description or media must be set. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // Optional. Description of the card (at most 2000 bytes). // // At least one of the title, description or media must be set. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Optional. However at least one of the title, description or media must // be set. Media (image, GIF or a video) to include in the card. Media *Intent_Message_RbmCardContent_RbmMedia `protobuf:"bytes,3,opt,name=media,proto3" json:"media,omitempty"` // Optional. List of suggestions to include in the card. Suggestions []*Intent_Message_RbmSuggestion `protobuf:"bytes,4,rep,name=suggestions,proto3" json:"suggestions,omitempty"` // contains filtered or unexported fields }
Rich Business Messaging (RBM) Card content
func (*Intent_Message_RbmCardContent) Descriptor ¶
func (*Intent_Message_RbmCardContent) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_RbmCardContent.ProtoReflect.Descriptor instead.
func (*Intent_Message_RbmCardContent) GetDescription ¶
func (x *Intent_Message_RbmCardContent) GetDescription() string
func (*Intent_Message_RbmCardContent) GetMedia ¶
func (x *Intent_Message_RbmCardContent) GetMedia() *Intent_Message_RbmCardContent_RbmMedia
func (*Intent_Message_RbmCardContent) GetSuggestions ¶
func (x *Intent_Message_RbmCardContent) GetSuggestions() []*Intent_Message_RbmSuggestion
func (*Intent_Message_RbmCardContent) GetTitle ¶
func (x *Intent_Message_RbmCardContent) GetTitle() string
func (*Intent_Message_RbmCardContent) ProtoMessage ¶
func (*Intent_Message_RbmCardContent) ProtoMessage()
func (*Intent_Message_RbmCardContent) ProtoReflect ¶
func (x *Intent_Message_RbmCardContent) ProtoReflect() protoreflect.Message
func (*Intent_Message_RbmCardContent) Reset ¶
func (x *Intent_Message_RbmCardContent) Reset()
func (*Intent_Message_RbmCardContent) String ¶
func (x *Intent_Message_RbmCardContent) String() string
type Intent_Message_RbmCardContent_RbmMedia ¶
type Intent_Message_RbmCardContent_RbmMedia struct { // Required. Publicly reachable URI of the file. The RBM platform // determines the MIME type of the file from the content-type field in // the HTTP headers when the platform fetches the file. The content-type // field must be present and accurate in the HTTP response from the URL. FileUri string `protobuf:"bytes,1,opt,name=file_uri,json=fileUri,proto3" json:"file_uri,omitempty"` // Optional. Publicly reachable URI of the thumbnail.If you don't // provide a thumbnail URI, the RBM platform displays a blank // placeholder thumbnail until the user's device downloads the file. // Depending on the user's setting, the file may not download // automatically and may require the user to tap a download button. ThumbnailUri string `protobuf:"bytes,2,opt,name=thumbnail_uri,json=thumbnailUri,proto3" json:"thumbnail_uri,omitempty"` // Required for cards with vertical orientation. The height of the media // within a rich card with a vertical layout. // For a standalone card with horizontal layout, height is not // customizable, and this field is ignored. Height Intent_Message_RbmCardContent_RbmMedia_Height `protobuf:"varint,3,opt,name=height,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_RbmCardContent_RbmMedia_Height" json:"height,omitempty"` // contains filtered or unexported fields }
Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported:
Image Types
* image/jpeg * image/jpg' * image/gif * image/png
Video Types
* video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm
func (*Intent_Message_RbmCardContent_RbmMedia) Descriptor ¶
func (*Intent_Message_RbmCardContent_RbmMedia) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_RbmCardContent_RbmMedia.ProtoReflect.Descriptor instead.
func (*Intent_Message_RbmCardContent_RbmMedia) GetFileUri ¶
func (x *Intent_Message_RbmCardContent_RbmMedia) GetFileUri() string
func (*Intent_Message_RbmCardContent_RbmMedia) GetHeight ¶
func (x *Intent_Message_RbmCardContent_RbmMedia) GetHeight() Intent_Message_RbmCardContent_RbmMedia_Height
func (*Intent_Message_RbmCardContent_RbmMedia) GetThumbnailUri ¶
func (x *Intent_Message_RbmCardContent_RbmMedia) GetThumbnailUri() string
func (*Intent_Message_RbmCardContent_RbmMedia) ProtoMessage ¶
func (*Intent_Message_RbmCardContent_RbmMedia) ProtoMessage()
func (*Intent_Message_RbmCardContent_RbmMedia) ProtoReflect ¶
func (x *Intent_Message_RbmCardContent_RbmMedia) ProtoReflect() protoreflect.Message
func (*Intent_Message_RbmCardContent_RbmMedia) Reset ¶
func (x *Intent_Message_RbmCardContent_RbmMedia) Reset()
func (*Intent_Message_RbmCardContent_RbmMedia) String ¶
func (x *Intent_Message_RbmCardContent_RbmMedia) String() string
type Intent_Message_RbmCardContent_RbmMedia_Height ¶
type Intent_Message_RbmCardContent_RbmMedia_Height int32
Media height
const ( // Not specified. Intent_Message_RbmCardContent_RbmMedia_HEIGHT_UNSPECIFIED Intent_Message_RbmCardContent_RbmMedia_Height = 0 // 112 DP. Intent_Message_RbmCardContent_RbmMedia_SHORT Intent_Message_RbmCardContent_RbmMedia_Height = 1 // 168 DP. Intent_Message_RbmCardContent_RbmMedia_MEDIUM Intent_Message_RbmCardContent_RbmMedia_Height = 2 // 264 DP. Not available for rich card carousels when the card width // is set to small. Intent_Message_RbmCardContent_RbmMedia_TALL Intent_Message_RbmCardContent_RbmMedia_Height = 3 )
func (Intent_Message_RbmCardContent_RbmMedia_Height) Descriptor ¶
func (Intent_Message_RbmCardContent_RbmMedia_Height) Descriptor() protoreflect.EnumDescriptor
func (Intent_Message_RbmCardContent_RbmMedia_Height) Enum ¶
func (x Intent_Message_RbmCardContent_RbmMedia_Height) Enum() *Intent_Message_RbmCardContent_RbmMedia_Height
func (Intent_Message_RbmCardContent_RbmMedia_Height) EnumDescriptor ¶
func (Intent_Message_RbmCardContent_RbmMedia_Height) EnumDescriptor() ([]byte, []int)
Deprecated: Use Intent_Message_RbmCardContent_RbmMedia_Height.Descriptor instead.
func (Intent_Message_RbmCardContent_RbmMedia_Height) Number ¶
func (x Intent_Message_RbmCardContent_RbmMedia_Height) Number() protoreflect.EnumNumber
func (Intent_Message_RbmCardContent_RbmMedia_Height) String ¶
func (x Intent_Message_RbmCardContent_RbmMedia_Height) String() string
func (Intent_Message_RbmCardContent_RbmMedia_Height) Type ¶
type Intent_Message_RbmCarouselCard ¶
type Intent_Message_RbmCarouselCard struct { // Required. The width of the cards in the carousel. CardWidth Intent_Message_RbmCarouselCard_CardWidth `protobuf:"varint,1,opt,name=card_width,json=cardWidth,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_RbmCarouselCard_CardWidth" json:"card_width,omitempty"` // Required. The cards in the carousel. A carousel must have at least // 2 cards and at most 10. CardContents []*Intent_Message_RbmCardContent `protobuf:"bytes,2,rep,name=card_contents,json=cardContents,proto3" json:"card_contents,omitempty"` // contains filtered or unexported fields }
Carousel Rich Business Messaging (RBM) rich card.
Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions.
If you want to show a single card with more control over the layout, please use [RbmStandaloneCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard] instead.
func (*Intent_Message_RbmCarouselCard) Descriptor ¶
func (*Intent_Message_RbmCarouselCard) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_RbmCarouselCard.ProtoReflect.Descriptor instead.
func (*Intent_Message_RbmCarouselCard) GetCardContents ¶
func (x *Intent_Message_RbmCarouselCard) GetCardContents() []*Intent_Message_RbmCardContent
func (*Intent_Message_RbmCarouselCard) GetCardWidth ¶
func (x *Intent_Message_RbmCarouselCard) GetCardWidth() Intent_Message_RbmCarouselCard_CardWidth
func (*Intent_Message_RbmCarouselCard) ProtoMessage ¶
func (*Intent_Message_RbmCarouselCard) ProtoMessage()
func (*Intent_Message_RbmCarouselCard) ProtoReflect ¶
func (x *Intent_Message_RbmCarouselCard) ProtoReflect() protoreflect.Message
func (*Intent_Message_RbmCarouselCard) Reset ¶
func (x *Intent_Message_RbmCarouselCard) Reset()
func (*Intent_Message_RbmCarouselCard) String ¶
func (x *Intent_Message_RbmCarouselCard) String() string
type Intent_Message_RbmCarouselCard_CardWidth ¶
type Intent_Message_RbmCarouselCard_CardWidth int32
The width of the cards in the carousel.
const ( // Not specified. Intent_Message_RbmCarouselCard_CARD_WIDTH_UNSPECIFIED Intent_Message_RbmCarouselCard_CardWidth = 0 // 120 DP. Note that tall media cannot be used. Intent_Message_RbmCarouselCard_SMALL Intent_Message_RbmCarouselCard_CardWidth = 1 // 232 DP. Intent_Message_RbmCarouselCard_MEDIUM Intent_Message_RbmCarouselCard_CardWidth = 2 )
func (Intent_Message_RbmCarouselCard_CardWidth) Descriptor ¶
func (Intent_Message_RbmCarouselCard_CardWidth) Descriptor() protoreflect.EnumDescriptor
func (Intent_Message_RbmCarouselCard_CardWidth) Enum ¶
func (Intent_Message_RbmCarouselCard_CardWidth) EnumDescriptor ¶
func (Intent_Message_RbmCarouselCard_CardWidth) EnumDescriptor() ([]byte, []int)
Deprecated: Use Intent_Message_RbmCarouselCard_CardWidth.Descriptor instead.
func (Intent_Message_RbmCarouselCard_CardWidth) Number ¶
func (x Intent_Message_RbmCarouselCard_CardWidth) Number() protoreflect.EnumNumber
func (Intent_Message_RbmCarouselCard_CardWidth) String ¶
func (x Intent_Message_RbmCarouselCard_CardWidth) String() string
func (Intent_Message_RbmCarouselCard_CardWidth) Type ¶
func (Intent_Message_RbmCarouselCard_CardWidth) Type() protoreflect.EnumType
type Intent_Message_RbmCarouselRichCard ¶
type Intent_Message_RbmCarouselRichCard struct { // Rich Business Messaging (RBM) carousel rich card response. RbmCarouselRichCard *Intent_Message_RbmCarouselCard `protobuf:"bytes,20,opt,name=rbm_carousel_rich_card,json=rbmCarouselRichCard,proto3,oneof"` }
type Intent_Message_RbmStandaloneCard ¶
type Intent_Message_RbmStandaloneCard struct { // Required. Orientation of the card. CardOrientation Intent_Message_RbmStandaloneCard_CardOrientation `protobuf:"varint,1,opt,name=card_orientation,json=cardOrientation,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_RbmStandaloneCard_CardOrientation" json:"card_orientation,omitempty"` // Required if orientation is horizontal. // Image preview alignment for standalone cards with horizontal layout. ThumbnailImageAlignment Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment `protobuf:"varint,2,opt,name=thumbnail_image_alignment,json=thumbnailImageAlignment,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment" json:"thumbnail_image_alignment,omitempty"` // Required. Card content. CardContent *Intent_Message_RbmCardContent `protobuf:"bytes,3,opt,name=card_content,json=cardContent,proto3" json:"card_content,omitempty"` // contains filtered or unexported fields }
Standalone Rich Business Messaging (RBM) rich card.
Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions.
You can group multiple rich cards into one using [RbmCarouselCard][google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard] but carousel cards will give you less control over the card layout.
func (*Intent_Message_RbmStandaloneCard) Descriptor ¶
func (*Intent_Message_RbmStandaloneCard) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_RbmStandaloneCard.ProtoReflect.Descriptor instead.
func (*Intent_Message_RbmStandaloneCard) GetCardContent ¶
func (x *Intent_Message_RbmStandaloneCard) GetCardContent() *Intent_Message_RbmCardContent
func (*Intent_Message_RbmStandaloneCard) GetCardOrientation ¶
func (x *Intent_Message_RbmStandaloneCard) GetCardOrientation() Intent_Message_RbmStandaloneCard_CardOrientation
func (*Intent_Message_RbmStandaloneCard) GetThumbnailImageAlignment ¶
func (x *Intent_Message_RbmStandaloneCard) GetThumbnailImageAlignment() Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment
func (*Intent_Message_RbmStandaloneCard) ProtoMessage ¶
func (*Intent_Message_RbmStandaloneCard) ProtoMessage()
func (*Intent_Message_RbmStandaloneCard) ProtoReflect ¶
func (x *Intent_Message_RbmStandaloneCard) ProtoReflect() protoreflect.Message
func (*Intent_Message_RbmStandaloneCard) Reset ¶
func (x *Intent_Message_RbmStandaloneCard) Reset()
func (*Intent_Message_RbmStandaloneCard) String ¶
func (x *Intent_Message_RbmStandaloneCard) String() string
type Intent_Message_RbmStandaloneCard_CardOrientation ¶
type Intent_Message_RbmStandaloneCard_CardOrientation int32
Orientation of the card.
const ( // Not specified. Intent_Message_RbmStandaloneCard_CARD_ORIENTATION_UNSPECIFIED Intent_Message_RbmStandaloneCard_CardOrientation = 0 // Horizontal layout. Intent_Message_RbmStandaloneCard_HORIZONTAL Intent_Message_RbmStandaloneCard_CardOrientation = 1 // Vertical layout. Intent_Message_RbmStandaloneCard_VERTICAL Intent_Message_RbmStandaloneCard_CardOrientation = 2 )
func (Intent_Message_RbmStandaloneCard_CardOrientation) Descriptor ¶
func (Intent_Message_RbmStandaloneCard_CardOrientation) Descriptor() protoreflect.EnumDescriptor
func (Intent_Message_RbmStandaloneCard_CardOrientation) Enum ¶
func (x Intent_Message_RbmStandaloneCard_CardOrientation) Enum() *Intent_Message_RbmStandaloneCard_CardOrientation
func (Intent_Message_RbmStandaloneCard_CardOrientation) EnumDescriptor ¶
func (Intent_Message_RbmStandaloneCard_CardOrientation) EnumDescriptor() ([]byte, []int)
Deprecated: Use Intent_Message_RbmStandaloneCard_CardOrientation.Descriptor instead.
func (Intent_Message_RbmStandaloneCard_CardOrientation) Number ¶
func (x Intent_Message_RbmStandaloneCard_CardOrientation) Number() protoreflect.EnumNumber
func (Intent_Message_RbmStandaloneCard_CardOrientation) String ¶
func (x Intent_Message_RbmStandaloneCard_CardOrientation) String() string
func (Intent_Message_RbmStandaloneCard_CardOrientation) Type ¶
type Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment ¶
type Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment int32
Thumbnail preview alignment for standalone cards with horizontal layout.
const ( // Not specified. Intent_Message_RbmStandaloneCard_THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment = 0 // Thumbnail preview is left-aligned. Intent_Message_RbmStandaloneCard_LEFT Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment = 1 // Thumbnail preview is right-aligned. Intent_Message_RbmStandaloneCard_RIGHT Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment = 2 )
func (Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) Descriptor ¶
func (Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) Descriptor() protoreflect.EnumDescriptor
func (Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) Enum ¶
func (x Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) Enum() *Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment
func (Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) EnumDescriptor ¶
func (Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) EnumDescriptor() ([]byte, []int)
Deprecated: Use Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment.Descriptor instead.
func (Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) Number ¶
func (x Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) Number() protoreflect.EnumNumber
func (Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) String ¶
func (x Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) String() string
func (Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment) Type ¶
type Intent_Message_RbmStandaloneRichCard ¶
type Intent_Message_RbmStandaloneRichCard struct { // Standalone Rich Business Messaging (RBM) rich card response. RbmStandaloneRichCard *Intent_Message_RbmStandaloneCard `protobuf:"bytes,19,opt,name=rbm_standalone_rich_card,json=rbmStandaloneRichCard,proto3,oneof"` }
type Intent_Message_RbmSuggestedAction ¶
type Intent_Message_RbmSuggestedAction struct { // Text to display alongside the action. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // Opaque payload that the Dialogflow receives in a user event // when the user taps the suggested action. This data will be also // forwarded to webhook to allow performing custom business logic. PostbackData string `protobuf:"bytes,2,opt,name=postback_data,json=postbackData,proto3" json:"postback_data,omitempty"` // Action that needs to be triggered. // // Types that are assignable to Action: // // *Intent_Message_RbmSuggestedAction_Dial // *Intent_Message_RbmSuggestedAction_OpenUrl // *Intent_Message_RbmSuggestedAction_ShareLocation Action isIntent_Message_RbmSuggestedAction_Action `protobuf_oneof:"action"` // contains filtered or unexported fields }
Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card.
func (*Intent_Message_RbmSuggestedAction) Descriptor ¶
func (*Intent_Message_RbmSuggestedAction) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_RbmSuggestedAction.ProtoReflect.Descriptor instead.
func (*Intent_Message_RbmSuggestedAction) GetAction ¶
func (m *Intent_Message_RbmSuggestedAction) GetAction() isIntent_Message_RbmSuggestedAction_Action
func (*Intent_Message_RbmSuggestedAction) GetDial ¶
func (x *Intent_Message_RbmSuggestedAction) GetDial() *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial
func (*Intent_Message_RbmSuggestedAction) GetOpenUrl ¶
func (x *Intent_Message_RbmSuggestedAction) GetOpenUrl() *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri
func (*Intent_Message_RbmSuggestedAction) GetPostbackData ¶
func (x *Intent_Message_RbmSuggestedAction) GetPostbackData() string
func (*Intent_Message_RbmSuggestedAction) GetShareLocation ¶
func (x *Intent_Message_RbmSuggestedAction) GetShareLocation() *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation
func (*Intent_Message_RbmSuggestedAction) GetText ¶
func (x *Intent_Message_RbmSuggestedAction) GetText() string
func (*Intent_Message_RbmSuggestedAction) ProtoMessage ¶
func (*Intent_Message_RbmSuggestedAction) ProtoMessage()
func (*Intent_Message_RbmSuggestedAction) ProtoReflect ¶
func (x *Intent_Message_RbmSuggestedAction) ProtoReflect() protoreflect.Message
func (*Intent_Message_RbmSuggestedAction) Reset ¶
func (x *Intent_Message_RbmSuggestedAction) Reset()
func (*Intent_Message_RbmSuggestedAction) String ¶
func (x *Intent_Message_RbmSuggestedAction) String() string
type Intent_Message_RbmSuggestedAction_Dial ¶
type Intent_Message_RbmSuggestedAction_Dial struct { // Suggested client side action: Dial a phone number Dial *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial `protobuf:"bytes,3,opt,name=dial,proto3,oneof"` }
type Intent_Message_RbmSuggestedAction_OpenUrl ¶
type Intent_Message_RbmSuggestedAction_OpenUrl struct { // Suggested client side action: Open a URI on device OpenUrl *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri `protobuf:"bytes,4,opt,name=open_url,json=openUrl,proto3,oneof"` }
type Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial ¶
type Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial struct { // Required. The phone number to fill in the default dialer app. // This field should be in [E.164](https://en.wikipedia.org/wiki/E.164) // format. An example of a correctly formatted phone number: // +15556767888. PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // contains filtered or unexported fields }
Opens the user's default dialer app with the specified phone number but does not dial automatically.
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) Descriptor ¶
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial.ProtoReflect.Descriptor instead.
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) GetPhoneNumber ¶
func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) GetPhoneNumber() string
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) ProtoMessage ¶
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) ProtoMessage()
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) ProtoReflect ¶
func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) ProtoReflect() protoreflect.Message
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) Reset ¶
func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) Reset()
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) String ¶
func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionDial) String() string
type Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri ¶
type Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri struct { // Required. The uri to open on the user device Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
Opens the user's default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI.
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) Descriptor ¶
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri.ProtoReflect.Descriptor instead.
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) GetUri ¶
func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) GetUri() string
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) ProtoMessage ¶
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) ProtoMessage()
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) ProtoReflect ¶
func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) ProtoReflect() protoreflect.Message
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) Reset ¶
func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) Reset()
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) String ¶
func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionOpenUri) String() string
type Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation ¶
type Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation struct {
// contains filtered or unexported fields
}
Opens the device's location chooser so the user can pick a location to send back to the agent.
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) Descriptor ¶
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation.ProtoReflect.Descriptor instead.
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) ProtoMessage ¶
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) ProtoMessage()
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) ProtoReflect ¶
func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) ProtoReflect() protoreflect.Message
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) Reset ¶
func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) Reset()
func (*Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) String ¶
func (x *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation) String() string
type Intent_Message_RbmSuggestedAction_ShareLocation ¶
type Intent_Message_RbmSuggestedAction_ShareLocation struct { // Suggested client side action: Share user location *Intent_Message_RbmSuggestedAction_RbmSuggestedActionShareLocation `protobuf:"bytes,5,opt,name=share_location,json=shareLocation,proto3,oneof"` }
type Intent_Message_RbmSuggestedReply ¶
type Intent_Message_RbmSuggestedReply struct { // Suggested reply text. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // Opaque payload that the Dialogflow receives in a user event // when the user taps the suggested reply. This data will be also // forwarded to webhook to allow performing custom business logic. PostbackData string `protobuf:"bytes,2,opt,name=postback_data,json=postbackData,proto3" json:"postback_data,omitempty"` // contains filtered or unexported fields }
Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response.
func (*Intent_Message_RbmSuggestedReply) Descriptor ¶
func (*Intent_Message_RbmSuggestedReply) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_RbmSuggestedReply.ProtoReflect.Descriptor instead.
func (*Intent_Message_RbmSuggestedReply) GetPostbackData ¶
func (x *Intent_Message_RbmSuggestedReply) GetPostbackData() string
func (*Intent_Message_RbmSuggestedReply) GetText ¶
func (x *Intent_Message_RbmSuggestedReply) GetText() string
func (*Intent_Message_RbmSuggestedReply) ProtoMessage ¶
func (*Intent_Message_RbmSuggestedReply) ProtoMessage()
func (*Intent_Message_RbmSuggestedReply) ProtoReflect ¶
func (x *Intent_Message_RbmSuggestedReply) ProtoReflect() protoreflect.Message
func (*Intent_Message_RbmSuggestedReply) Reset ¶
func (x *Intent_Message_RbmSuggestedReply) Reset()
func (*Intent_Message_RbmSuggestedReply) String ¶
func (x *Intent_Message_RbmSuggestedReply) String() string
type Intent_Message_RbmSuggestion ¶
type Intent_Message_RbmSuggestion struct { // Predefined suggested response or action for user to choose // // Types that are assignable to Suggestion: // // *Intent_Message_RbmSuggestion_Reply // *Intent_Message_RbmSuggestion_Action Suggestion isIntent_Message_RbmSuggestion_Suggestion `protobuf_oneof:"suggestion"` // contains filtered or unexported fields }
Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
func (*Intent_Message_RbmSuggestion) Descriptor ¶
func (*Intent_Message_RbmSuggestion) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_RbmSuggestion.ProtoReflect.Descriptor instead.
func (*Intent_Message_RbmSuggestion) GetAction ¶
func (x *Intent_Message_RbmSuggestion) GetAction() *Intent_Message_RbmSuggestedAction
func (*Intent_Message_RbmSuggestion) GetReply ¶
func (x *Intent_Message_RbmSuggestion) GetReply() *Intent_Message_RbmSuggestedReply
func (*Intent_Message_RbmSuggestion) GetSuggestion ¶
func (m *Intent_Message_RbmSuggestion) GetSuggestion() isIntent_Message_RbmSuggestion_Suggestion
func (*Intent_Message_RbmSuggestion) ProtoMessage ¶
func (*Intent_Message_RbmSuggestion) ProtoMessage()
func (*Intent_Message_RbmSuggestion) ProtoReflect ¶
func (x *Intent_Message_RbmSuggestion) ProtoReflect() protoreflect.Message
func (*Intent_Message_RbmSuggestion) Reset ¶
func (x *Intent_Message_RbmSuggestion) Reset()
func (*Intent_Message_RbmSuggestion) String ¶
func (x *Intent_Message_RbmSuggestion) String() string
type Intent_Message_RbmSuggestion_Action ¶
type Intent_Message_RbmSuggestion_Action struct { // Predefined client side actions that user can choose Action *Intent_Message_RbmSuggestedAction `protobuf:"bytes,2,opt,name=action,proto3,oneof"` }
type Intent_Message_RbmSuggestion_Reply ¶
type Intent_Message_RbmSuggestion_Reply struct { // Predefined replies for user to select instead of typing Reply *Intent_Message_RbmSuggestedReply `protobuf:"bytes,1,opt,name=reply,proto3,oneof"` }
type Intent_Message_RbmText ¶
type Intent_Message_RbmText struct { // Required. Text sent and displayed to the user. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // Optional. One or more suggestions to show to the user. RbmSuggestion []*Intent_Message_RbmSuggestion `protobuf:"bytes,2,rep,name=rbm_suggestion,json=rbmSuggestion,proto3" json:"rbm_suggestion,omitempty"` // contains filtered or unexported fields }
Rich Business Messaging (RBM) text response with suggestions.
func (*Intent_Message_RbmText) Descriptor ¶
func (*Intent_Message_RbmText) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_RbmText.ProtoReflect.Descriptor instead.
func (*Intent_Message_RbmText) GetRbmSuggestion ¶
func (x *Intent_Message_RbmText) GetRbmSuggestion() []*Intent_Message_RbmSuggestion
func (*Intent_Message_RbmText) GetText ¶
func (x *Intent_Message_RbmText) GetText() string
func (*Intent_Message_RbmText) ProtoMessage ¶
func (*Intent_Message_RbmText) ProtoMessage()
func (*Intent_Message_RbmText) ProtoReflect ¶
func (x *Intent_Message_RbmText) ProtoReflect() protoreflect.Message
func (*Intent_Message_RbmText) Reset ¶
func (x *Intent_Message_RbmText) Reset()
func (*Intent_Message_RbmText) String ¶
func (x *Intent_Message_RbmText) String() string
type Intent_Message_RbmText_ ¶
type Intent_Message_RbmText_ struct { // Rich Business Messaging (RBM) text response. // // RBM allows businesses to send enriched and branded versions of SMS. See // https://jibe.google.com/business-messaging. RbmText *Intent_Message_RbmText `protobuf:"bytes,18,opt,name=rbm_text,json=rbmText,proto3,oneof"` }
type Intent_Message_SelectItemInfo ¶
type Intent_Message_SelectItemInfo struct { // Required. A unique key that will be sent back to the agent if this // response is given. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Optional. A list of synonyms that can also be used to trigger this // item in dialog. Synonyms []string `protobuf:"bytes,2,rep,name=synonyms,proto3" json:"synonyms,omitempty"` // contains filtered or unexported fields }
Additional info about the select item for when it is triggered in a dialog.
func (*Intent_Message_SelectItemInfo) Descriptor ¶
func (*Intent_Message_SelectItemInfo) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_SelectItemInfo.ProtoReflect.Descriptor instead.
func (*Intent_Message_SelectItemInfo) GetKey ¶
func (x *Intent_Message_SelectItemInfo) GetKey() string
func (*Intent_Message_SelectItemInfo) GetSynonyms ¶
func (x *Intent_Message_SelectItemInfo) GetSynonyms() []string
func (*Intent_Message_SelectItemInfo) ProtoMessage ¶
func (*Intent_Message_SelectItemInfo) ProtoMessage()
func (*Intent_Message_SelectItemInfo) ProtoReflect ¶
func (x *Intent_Message_SelectItemInfo) ProtoReflect() protoreflect.Message
func (*Intent_Message_SelectItemInfo) Reset ¶
func (x *Intent_Message_SelectItemInfo) Reset()
func (*Intent_Message_SelectItemInfo) String ¶
func (x *Intent_Message_SelectItemInfo) String() string
type Intent_Message_SimpleResponse ¶
type Intent_Message_SimpleResponse struct { // One of text_to_speech or ssml must be provided. The plain text of the // speech output. Mutually exclusive with ssml. TextToSpeech string `protobuf:"bytes,1,opt,name=text_to_speech,json=textToSpeech,proto3" json:"text_to_speech,omitempty"` // One of text_to_speech or ssml must be provided. Structured spoken // response to the user in the SSML format. Mutually exclusive with // text_to_speech. Ssml string `protobuf:"bytes,2,opt,name=ssml,proto3" json:"ssml,omitempty"` // Optional. The text to display. DisplayText string `protobuf:"bytes,3,opt,name=display_text,json=displayText,proto3" json:"display_text,omitempty"` // contains filtered or unexported fields }
The simple response message containing speech or text.
func (*Intent_Message_SimpleResponse) Descriptor ¶
func (*Intent_Message_SimpleResponse) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_SimpleResponse.ProtoReflect.Descriptor instead.
func (*Intent_Message_SimpleResponse) GetDisplayText ¶
func (x *Intent_Message_SimpleResponse) GetDisplayText() string
func (*Intent_Message_SimpleResponse) GetSsml ¶
func (x *Intent_Message_SimpleResponse) GetSsml() string
func (*Intent_Message_SimpleResponse) GetTextToSpeech ¶
func (x *Intent_Message_SimpleResponse) GetTextToSpeech() string
func (*Intent_Message_SimpleResponse) ProtoMessage ¶
func (*Intent_Message_SimpleResponse) ProtoMessage()
func (*Intent_Message_SimpleResponse) ProtoReflect ¶
func (x *Intent_Message_SimpleResponse) ProtoReflect() protoreflect.Message
func (*Intent_Message_SimpleResponse) Reset ¶
func (x *Intent_Message_SimpleResponse) Reset()
func (*Intent_Message_SimpleResponse) String ¶
func (x *Intent_Message_SimpleResponse) String() string
type Intent_Message_SimpleResponses ¶
type Intent_Message_SimpleResponses struct { // Required. The list of simple responses. SimpleResponses []*Intent_Message_SimpleResponse `protobuf:"bytes,1,rep,name=simple_responses,json=simpleResponses,proto3" json:"simple_responses,omitempty"` // contains filtered or unexported fields }
The collection of simple response candidates. This message in `QueryResult.fulfillment_messages` and `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`.
func (*Intent_Message_SimpleResponses) Descriptor ¶
func (*Intent_Message_SimpleResponses) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_SimpleResponses.ProtoReflect.Descriptor instead.
func (*Intent_Message_SimpleResponses) GetSimpleResponses ¶
func (x *Intent_Message_SimpleResponses) GetSimpleResponses() []*Intent_Message_SimpleResponse
func (*Intent_Message_SimpleResponses) ProtoMessage ¶
func (*Intent_Message_SimpleResponses) ProtoMessage()
func (*Intent_Message_SimpleResponses) ProtoReflect ¶
func (x *Intent_Message_SimpleResponses) ProtoReflect() protoreflect.Message
func (*Intent_Message_SimpleResponses) Reset ¶
func (x *Intent_Message_SimpleResponses) Reset()
func (*Intent_Message_SimpleResponses) String ¶
func (x *Intent_Message_SimpleResponses) String() string
type Intent_Message_SimpleResponses_ ¶
type Intent_Message_SimpleResponses_ struct { // Returns a voice or text-only response for Actions on Google. SimpleResponses *Intent_Message_SimpleResponses `protobuf:"bytes,7,opt,name=simple_responses,json=simpleResponses,proto3,oneof"` }
type Intent_Message_Suggestion ¶
type Intent_Message_Suggestion struct { // Required. The text shown the in the suggestion chip. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
The suggestion chip message that the user can tap to quickly post a reply to the conversation.
func (*Intent_Message_Suggestion) Descriptor ¶
func (*Intent_Message_Suggestion) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_Suggestion.ProtoReflect.Descriptor instead.
func (*Intent_Message_Suggestion) GetTitle ¶
func (x *Intent_Message_Suggestion) GetTitle() string
func (*Intent_Message_Suggestion) ProtoMessage ¶
func (*Intent_Message_Suggestion) ProtoMessage()
func (*Intent_Message_Suggestion) ProtoReflect ¶
func (x *Intent_Message_Suggestion) ProtoReflect() protoreflect.Message
func (*Intent_Message_Suggestion) Reset ¶
func (x *Intent_Message_Suggestion) Reset()
func (*Intent_Message_Suggestion) String ¶
func (x *Intent_Message_Suggestion) String() string
type Intent_Message_Suggestions ¶
type Intent_Message_Suggestions struct { // Required. The list of suggested replies. Suggestions []*Intent_Message_Suggestion `protobuf:"bytes,1,rep,name=suggestions,proto3" json:"suggestions,omitempty"` // contains filtered or unexported fields }
The collection of suggestions.
func (*Intent_Message_Suggestions) Descriptor ¶
func (*Intent_Message_Suggestions) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_Suggestions.ProtoReflect.Descriptor instead.
func (*Intent_Message_Suggestions) GetSuggestions ¶
func (x *Intent_Message_Suggestions) GetSuggestions() []*Intent_Message_Suggestion
func (*Intent_Message_Suggestions) ProtoMessage ¶
func (*Intent_Message_Suggestions) ProtoMessage()
func (*Intent_Message_Suggestions) ProtoReflect ¶
func (x *Intent_Message_Suggestions) ProtoReflect() protoreflect.Message
func (*Intent_Message_Suggestions) Reset ¶
func (x *Intent_Message_Suggestions) Reset()
func (*Intent_Message_Suggestions) String ¶
func (x *Intent_Message_Suggestions) String() string
type Intent_Message_Suggestions_ ¶
type Intent_Message_Suggestions_ struct { // Displays suggestion chips for Actions on Google. Suggestions *Intent_Message_Suggestions `protobuf:"bytes,9,opt,name=suggestions,proto3,oneof"` }
type Intent_Message_TableCard ¶
type Intent_Message_TableCard struct { // Required. Title of the card. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // Optional. Subtitle to the title. Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"` // Optional. Image which should be displayed on the card. Image *Intent_Message_Image `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` // Optional. Display properties for the columns in this table. ColumnProperties []*Intent_Message_ColumnProperties `protobuf:"bytes,4,rep,name=column_properties,json=columnProperties,proto3" json:"column_properties,omitempty"` // Optional. Rows in this table of data. Rows []*Intent_Message_TableCardRow `protobuf:"bytes,5,rep,name=rows,proto3" json:"rows,omitempty"` // Optional. List of buttons for the card. Buttons []*Intent_Message_BasicCard_Button `protobuf:"bytes,6,rep,name=buttons,proto3" json:"buttons,omitempty"` // contains filtered or unexported fields }
Table card for Actions on Google.
func (*Intent_Message_TableCard) Descriptor ¶
func (*Intent_Message_TableCard) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_TableCard.ProtoReflect.Descriptor instead.
func (*Intent_Message_TableCard) GetButtons ¶
func (x *Intent_Message_TableCard) GetButtons() []*Intent_Message_BasicCard_Button
func (*Intent_Message_TableCard) GetColumnProperties ¶
func (x *Intent_Message_TableCard) GetColumnProperties() []*Intent_Message_ColumnProperties
func (*Intent_Message_TableCard) GetImage ¶
func (x *Intent_Message_TableCard) GetImage() *Intent_Message_Image
func (*Intent_Message_TableCard) GetRows ¶
func (x *Intent_Message_TableCard) GetRows() []*Intent_Message_TableCardRow
func (*Intent_Message_TableCard) GetSubtitle ¶
func (x *Intent_Message_TableCard) GetSubtitle() string
func (*Intent_Message_TableCard) GetTitle ¶
func (x *Intent_Message_TableCard) GetTitle() string
func (*Intent_Message_TableCard) ProtoMessage ¶
func (*Intent_Message_TableCard) ProtoMessage()
func (*Intent_Message_TableCard) ProtoReflect ¶
func (x *Intent_Message_TableCard) ProtoReflect() protoreflect.Message
func (*Intent_Message_TableCard) Reset ¶
func (x *Intent_Message_TableCard) Reset()
func (*Intent_Message_TableCard) String ¶
func (x *Intent_Message_TableCard) String() string
type Intent_Message_TableCardCell ¶
type Intent_Message_TableCardCell struct { // Required. Text in this cell. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
Cell of [TableCardRow][google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow].
func (*Intent_Message_TableCardCell) Descriptor ¶
func (*Intent_Message_TableCardCell) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_TableCardCell.ProtoReflect.Descriptor instead.
func (*Intent_Message_TableCardCell) GetText ¶
func (x *Intent_Message_TableCardCell) GetText() string
func (*Intent_Message_TableCardCell) ProtoMessage ¶
func (*Intent_Message_TableCardCell) ProtoMessage()
func (*Intent_Message_TableCardCell) ProtoReflect ¶
func (x *Intent_Message_TableCardCell) ProtoReflect() protoreflect.Message
func (*Intent_Message_TableCardCell) Reset ¶
func (x *Intent_Message_TableCardCell) Reset()
func (*Intent_Message_TableCardCell) String ¶
func (x *Intent_Message_TableCardCell) String() string
type Intent_Message_TableCardRow ¶
type Intent_Message_TableCardRow struct { // Optional. List of cells that make up this row. Cells []*Intent_Message_TableCardCell `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"` // Optional. Whether to add a visual divider after this row. DividerAfter bool `protobuf:"varint,2,opt,name=divider_after,json=dividerAfter,proto3" json:"divider_after,omitempty"` // contains filtered or unexported fields }
Row of [TableCard][google.cloud.dialogflow.v2beta1.Intent.Message.TableCard].
func (*Intent_Message_TableCardRow) Descriptor ¶
func (*Intent_Message_TableCardRow) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_TableCardRow.ProtoReflect.Descriptor instead.
func (*Intent_Message_TableCardRow) GetCells ¶
func (x *Intent_Message_TableCardRow) GetCells() []*Intent_Message_TableCardCell
func (*Intent_Message_TableCardRow) GetDividerAfter ¶
func (x *Intent_Message_TableCardRow) GetDividerAfter() bool
func (*Intent_Message_TableCardRow) ProtoMessage ¶
func (*Intent_Message_TableCardRow) ProtoMessage()
func (*Intent_Message_TableCardRow) ProtoReflect ¶
func (x *Intent_Message_TableCardRow) ProtoReflect() protoreflect.Message
func (*Intent_Message_TableCardRow) Reset ¶
func (x *Intent_Message_TableCardRow) Reset()
func (*Intent_Message_TableCardRow) String ¶
func (x *Intent_Message_TableCardRow) String() string
type Intent_Message_TableCard_ ¶
type Intent_Message_TableCard_ struct { // Table card for Actions on Google. TableCard *Intent_Message_TableCard `protobuf:"bytes,23,opt,name=table_card,json=tableCard,proto3,oneof"` }
type Intent_Message_TelephonyPlayAudio ¶
type Intent_Message_TelephonyPlayAudio struct { // Required. URI to a Google Cloud Storage object containing the audio to // play, e.g., "gs://bucket/object". The object must contain a single // channel (mono) of linear PCM audio (2 bytes / sample) at 8kHz. // // This object must be readable by the `service-<Project // Number>@gcp-sa-dialogflow.iam.gserviceaccount.com` service account // where <Project Number> is the number of the Telephony Gateway project // (usually the same as the Dialogflow agent project). If the Google Cloud // Storage bucket is in the Telephony Gateway project, this permission is // added by default when enabling the Dialogflow V2 API. // // For audio from other sources, consider using the // `TelephonySynthesizeSpeech` message with SSML. AudioUri string `protobuf:"bytes,1,opt,name=audio_uri,json=audioUri,proto3" json:"audio_uri,omitempty"` // contains filtered or unexported fields }
Plays audio from a file in Telephony Gateway.
func (*Intent_Message_TelephonyPlayAudio) Descriptor ¶
func (*Intent_Message_TelephonyPlayAudio) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_TelephonyPlayAudio.ProtoReflect.Descriptor instead.
func (*Intent_Message_TelephonyPlayAudio) GetAudioUri ¶
func (x *Intent_Message_TelephonyPlayAudio) GetAudioUri() string
func (*Intent_Message_TelephonyPlayAudio) ProtoMessage ¶
func (*Intent_Message_TelephonyPlayAudio) ProtoMessage()
func (*Intent_Message_TelephonyPlayAudio) ProtoReflect ¶
func (x *Intent_Message_TelephonyPlayAudio) ProtoReflect() protoreflect.Message
func (*Intent_Message_TelephonyPlayAudio) Reset ¶
func (x *Intent_Message_TelephonyPlayAudio) Reset()
func (*Intent_Message_TelephonyPlayAudio) String ¶
func (x *Intent_Message_TelephonyPlayAudio) String() string
type Intent_Message_TelephonyPlayAudio_ ¶
type Intent_Message_TelephonyPlayAudio_ struct { // Plays audio from a file in Telephony Gateway. TelephonyPlayAudio *Intent_Message_TelephonyPlayAudio `protobuf:"bytes,13,opt,name=telephony_play_audio,json=telephonyPlayAudio,proto3,oneof"` }
type Intent_Message_TelephonySynthesizeSpeech ¶
type Intent_Message_TelephonySynthesizeSpeech struct { // Required. The source to be synthesized. // // Types that are assignable to Source: // // *Intent_Message_TelephonySynthesizeSpeech_Text // *Intent_Message_TelephonySynthesizeSpeech_Ssml Source isIntent_Message_TelephonySynthesizeSpeech_Source `protobuf_oneof:"source"` // contains filtered or unexported fields }
Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway.
Telephony Gateway takes the synthesizer settings from `DetectIntentResponse.output_audio_config` which can either be set at request-level or can come from the agent-level synthesizer config.
func (*Intent_Message_TelephonySynthesizeSpeech) Descriptor ¶
func (*Intent_Message_TelephonySynthesizeSpeech) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_TelephonySynthesizeSpeech.ProtoReflect.Descriptor instead.
func (*Intent_Message_TelephonySynthesizeSpeech) GetSource ¶
func (m *Intent_Message_TelephonySynthesizeSpeech) GetSource() isIntent_Message_TelephonySynthesizeSpeech_Source
func (*Intent_Message_TelephonySynthesizeSpeech) GetSsml ¶
func (x *Intent_Message_TelephonySynthesizeSpeech) GetSsml() string
func (*Intent_Message_TelephonySynthesizeSpeech) GetText ¶
func (x *Intent_Message_TelephonySynthesizeSpeech) GetText() string
func (*Intent_Message_TelephonySynthesizeSpeech) ProtoMessage ¶
func (*Intent_Message_TelephonySynthesizeSpeech) ProtoMessage()
func (*Intent_Message_TelephonySynthesizeSpeech) ProtoReflect ¶
func (x *Intent_Message_TelephonySynthesizeSpeech) ProtoReflect() protoreflect.Message
func (*Intent_Message_TelephonySynthesizeSpeech) Reset ¶
func (x *Intent_Message_TelephonySynthesizeSpeech) Reset()
func (*Intent_Message_TelephonySynthesizeSpeech) String ¶
func (x *Intent_Message_TelephonySynthesizeSpeech) String() string
type Intent_Message_TelephonySynthesizeSpeech_ ¶
type Intent_Message_TelephonySynthesizeSpeech_ struct { // Synthesizes speech in Telephony Gateway. TelephonySynthesizeSpeech *Intent_Message_TelephonySynthesizeSpeech `protobuf:"bytes,14,opt,name=telephony_synthesize_speech,json=telephonySynthesizeSpeech,proto3,oneof"` }
type Intent_Message_TelephonySynthesizeSpeech_Ssml ¶
type Intent_Message_TelephonySynthesizeSpeech_Ssml struct { // The SSML to be synthesized. For more information, see // [SSML](https://developers.google.com/actions/reference/ssml). Ssml string `protobuf:"bytes,2,opt,name=ssml,proto3,oneof"` }
type Intent_Message_TelephonySynthesizeSpeech_Text ¶
type Intent_Message_TelephonySynthesizeSpeech_Text struct { // The raw text to be synthesized. Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"` }
type Intent_Message_TelephonyTransferCall ¶
type Intent_Message_TelephonyTransferCall struct { // Required. The phone number to transfer the call to // in [E.164 format](https://en.wikipedia.org/wiki/E.164). // // We currently only allow transferring to US numbers (+1xxxyyyzzzz). PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // contains filtered or unexported fields }
Transfers the call in Telephony Gateway.
func (*Intent_Message_TelephonyTransferCall) Descriptor ¶
func (*Intent_Message_TelephonyTransferCall) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_TelephonyTransferCall.ProtoReflect.Descriptor instead.
func (*Intent_Message_TelephonyTransferCall) GetPhoneNumber ¶
func (x *Intent_Message_TelephonyTransferCall) GetPhoneNumber() string
func (*Intent_Message_TelephonyTransferCall) ProtoMessage ¶
func (*Intent_Message_TelephonyTransferCall) ProtoMessage()
func (*Intent_Message_TelephonyTransferCall) ProtoReflect ¶
func (x *Intent_Message_TelephonyTransferCall) ProtoReflect() protoreflect.Message
func (*Intent_Message_TelephonyTransferCall) Reset ¶
func (x *Intent_Message_TelephonyTransferCall) Reset()
func (*Intent_Message_TelephonyTransferCall) String ¶
func (x *Intent_Message_TelephonyTransferCall) String() string
type Intent_Message_TelephonyTransferCall_ ¶
type Intent_Message_TelephonyTransferCall_ struct { // Transfers the call in Telephony Gateway. TelephonyTransferCall *Intent_Message_TelephonyTransferCall `protobuf:"bytes,15,opt,name=telephony_transfer_call,json=telephonyTransferCall,proto3,oneof"` }
type Intent_Message_Text ¶
type Intent_Message_Text struct { // Optional. The collection of the agent's responses. Text []string `protobuf:"bytes,1,rep,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
The text response message.
func (*Intent_Message_Text) Descriptor ¶
func (*Intent_Message_Text) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Message_Text.ProtoReflect.Descriptor instead.
func (*Intent_Message_Text) GetText ¶
func (x *Intent_Message_Text) GetText() []string
func (*Intent_Message_Text) ProtoMessage ¶
func (*Intent_Message_Text) ProtoMessage()
func (*Intent_Message_Text) ProtoReflect ¶
func (x *Intent_Message_Text) ProtoReflect() protoreflect.Message
func (*Intent_Message_Text) Reset ¶
func (x *Intent_Message_Text) Reset()
func (*Intent_Message_Text) String ¶
func (x *Intent_Message_Text) String() string
type Intent_Message_Text_ ¶
type Intent_Message_Text_ struct { // Returns a text response. Text *Intent_Message_Text `protobuf:"bytes,1,opt,name=text,proto3,oneof"` }
type Intent_Parameter ¶
type Intent_Parameter struct { // The unique identifier of this parameter. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The name of the parameter. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Optional. The definition of the parameter value. It can be: // // - a constant string, // - a parameter value defined as `$parameter_name`, // - an original parameter value defined as `$parameter_name.original`, // - a parameter value from some context defined as // `#context_name.parameter_name`. Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // Optional. The default value to use when the `value` yields an empty // result. // Default values can be extracted from contexts by using the following // syntax: `#context_name.parameter_name`. DefaultValue string `protobuf:"bytes,4,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // Optional. The name of the entity type, prefixed with `@`, that // describes values of the parameter. If the parameter is // required, this must be provided. EntityTypeDisplayName string `protobuf:"bytes,5,opt,name=entity_type_display_name,json=entityTypeDisplayName,proto3" json:"entity_type_display_name,omitempty"` // Optional. Indicates whether the parameter is required. That is, // whether the intent cannot be completed without collecting the parameter // value. Mandatory bool `protobuf:"varint,6,opt,name=mandatory,proto3" json:"mandatory,omitempty"` // Optional. The collection of prompts that the agent can present to the // user in order to collect a value for the parameter. Prompts []string `protobuf:"bytes,7,rep,name=prompts,proto3" json:"prompts,omitempty"` // Optional. Indicates whether the parameter represents a list of values. IsList bool `protobuf:"varint,8,opt,name=is_list,json=isList,proto3" json:"is_list,omitempty"` // contains filtered or unexported fields }
Represents intent parameters.
func (*Intent_Parameter) Descriptor ¶
func (*Intent_Parameter) Descriptor() ([]byte, []int)
Deprecated: Use Intent_Parameter.ProtoReflect.Descriptor instead.
func (*Intent_Parameter) GetDefaultValue ¶
func (x *Intent_Parameter) GetDefaultValue() string
func (*Intent_Parameter) GetDisplayName ¶
func (x *Intent_Parameter) GetDisplayName() string
func (*Intent_Parameter) GetEntityTypeDisplayName ¶
func (x *Intent_Parameter) GetEntityTypeDisplayName() string
func (*Intent_Parameter) GetIsList ¶
func (x *Intent_Parameter) GetIsList() bool
func (*Intent_Parameter) GetMandatory ¶
func (x *Intent_Parameter) GetMandatory() bool
func (*Intent_Parameter) GetName ¶
func (x *Intent_Parameter) GetName() string
func (*Intent_Parameter) GetPrompts ¶
func (x *Intent_Parameter) GetPrompts() []string
func (*Intent_Parameter) GetValue ¶
func (x *Intent_Parameter) GetValue() string
func (*Intent_Parameter) ProtoMessage ¶
func (*Intent_Parameter) ProtoMessage()
func (*Intent_Parameter) ProtoReflect ¶
func (x *Intent_Parameter) ProtoReflect() protoreflect.Message
func (*Intent_Parameter) Reset ¶
func (x *Intent_Parameter) Reset()
func (*Intent_Parameter) String ¶
func (x *Intent_Parameter) String() string
type Intent_TrainingPhrase ¶
type Intent_TrainingPhrase struct { // Output only. The unique identifier of this training phrase. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The type of the training phrase. Type Intent_TrainingPhrase_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_TrainingPhrase_Type" json:"type,omitempty"` // Required. The ordered list of training phrase parts. // The parts are concatenated in order to form the training phrase. // // Note: The API does not automatically annotate training phrases like the // Dialogflow Console does. // // Note: Do not forget to include whitespace at part boundaries, // so the training phrase is well formatted when the parts are concatenated. // // If the training phrase does not need to be annotated with parameters, // you just need a single part with only the // [Part.text][google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part.text] // field set. // // If you want to annotate the training phrase, you must create multiple // parts, where the fields of each part are populated in one of two ways: // // - `Part.text` is set to a part of the phrase that has no parameters. // - `Part.text` is set to a part of the phrase that you want to annotate, // and the `entity_type`, `alias`, and `user_defined` fields are all // set. Parts []*Intent_TrainingPhrase_Part `protobuf:"bytes,3,rep,name=parts,proto3" json:"parts,omitempty"` // Optional. Indicates how many times this example was added to // the intent. Each time a developer adds an existing sample by editing an // intent or training, this counter is increased. TimesAddedCount int32 `protobuf:"varint,4,opt,name=times_added_count,json=timesAddedCount,proto3" json:"times_added_count,omitempty"` // contains filtered or unexported fields }
Represents an example that the agent is trained on.
func (*Intent_TrainingPhrase) Descriptor ¶
func (*Intent_TrainingPhrase) Descriptor() ([]byte, []int)
Deprecated: Use Intent_TrainingPhrase.ProtoReflect.Descriptor instead.
func (*Intent_TrainingPhrase) GetName ¶
func (x *Intent_TrainingPhrase) GetName() string
func (*Intent_TrainingPhrase) GetParts ¶
func (x *Intent_TrainingPhrase) GetParts() []*Intent_TrainingPhrase_Part
func (*Intent_TrainingPhrase) GetTimesAddedCount ¶
func (x *Intent_TrainingPhrase) GetTimesAddedCount() int32
func (*Intent_TrainingPhrase) GetType ¶
func (x *Intent_TrainingPhrase) GetType() Intent_TrainingPhrase_Type
func (*Intent_TrainingPhrase) ProtoMessage ¶
func (*Intent_TrainingPhrase) ProtoMessage()
func (*Intent_TrainingPhrase) ProtoReflect ¶
func (x *Intent_TrainingPhrase) ProtoReflect() protoreflect.Message
func (*Intent_TrainingPhrase) Reset ¶
func (x *Intent_TrainingPhrase) Reset()
func (*Intent_TrainingPhrase) String ¶
func (x *Intent_TrainingPhrase) String() string
type Intent_TrainingPhrase_Part ¶
type Intent_TrainingPhrase_Part struct { // Required. The text for this part. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // Optional. The entity type name prefixed with `@`. // This field is required for annotated parts of the training phrase. EntityType string `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` // Optional. The parameter name for the value extracted from the // annotated part of the example. // This field is required for annotated parts of the training phrase. Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"` // Optional. Indicates whether the text was manually annotated. // This field is set to true when the Dialogflow Console is used to // manually annotate the part. When creating an annotated part with the // API, you must set this to true. UserDefined bool `protobuf:"varint,4,opt,name=user_defined,json=userDefined,proto3" json:"user_defined,omitempty"` // contains filtered or unexported fields }
Represents a part of a training phrase.
func (*Intent_TrainingPhrase_Part) Descriptor ¶
func (*Intent_TrainingPhrase_Part) Descriptor() ([]byte, []int)
Deprecated: Use Intent_TrainingPhrase_Part.ProtoReflect.Descriptor instead.
func (*Intent_TrainingPhrase_Part) GetAlias ¶
func (x *Intent_TrainingPhrase_Part) GetAlias() string
func (*Intent_TrainingPhrase_Part) GetEntityType ¶
func (x *Intent_TrainingPhrase_Part) GetEntityType() string
func (*Intent_TrainingPhrase_Part) GetText ¶
func (x *Intent_TrainingPhrase_Part) GetText() string
func (*Intent_TrainingPhrase_Part) GetUserDefined ¶
func (x *Intent_TrainingPhrase_Part) GetUserDefined() bool
func (*Intent_TrainingPhrase_Part) ProtoMessage ¶
func (*Intent_TrainingPhrase_Part) ProtoMessage()
func (*Intent_TrainingPhrase_Part) ProtoReflect ¶
func (x *Intent_TrainingPhrase_Part) ProtoReflect() protoreflect.Message
func (*Intent_TrainingPhrase_Part) Reset ¶
func (x *Intent_TrainingPhrase_Part) Reset()
func (*Intent_TrainingPhrase_Part) String ¶
func (x *Intent_TrainingPhrase_Part) String() string
type Intent_TrainingPhrase_Type ¶
type Intent_TrainingPhrase_Type int32
Represents different types of training phrases.
const ( // Not specified. This value should never be used. Intent_TrainingPhrase_TYPE_UNSPECIFIED Intent_TrainingPhrase_Type = 0 // Examples do not contain @-prefixed entity type names, but example parts // can be annotated with entity types. Intent_TrainingPhrase_EXAMPLE Intent_TrainingPhrase_Type = 1 // Templates are not annotated with entity types, but they can contain // @-prefixed entity type names as substrings. // Note: Template mode has been deprecated. Example mode is the only // supported way to create new training phrases. If you have existing // training phrases in template mode, they will be removed during training // and it can cause a drop in agent performance. // // Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/intent.proto. Intent_TrainingPhrase_TEMPLATE Intent_TrainingPhrase_Type = 2 )
func (Intent_TrainingPhrase_Type) Descriptor ¶
func (Intent_TrainingPhrase_Type) Descriptor() protoreflect.EnumDescriptor
func (Intent_TrainingPhrase_Type) Enum ¶
func (x Intent_TrainingPhrase_Type) Enum() *Intent_TrainingPhrase_Type
func (Intent_TrainingPhrase_Type) EnumDescriptor ¶
func (Intent_TrainingPhrase_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Intent_TrainingPhrase_Type.Descriptor instead.
func (Intent_TrainingPhrase_Type) Number ¶
func (x Intent_TrainingPhrase_Type) Number() protoreflect.EnumNumber
func (Intent_TrainingPhrase_Type) String ¶
func (x Intent_TrainingPhrase_Type) String() string
func (Intent_TrainingPhrase_Type) Type ¶
func (Intent_TrainingPhrase_Type) Type() protoreflect.EnumType
type Intent_WebhookState ¶
type Intent_WebhookState int32
Represents the different states that webhooks can be in.
const ( // Webhook is disabled in the agent and in the intent. Intent_WEBHOOK_STATE_UNSPECIFIED Intent_WebhookState = 0 // Webhook is enabled in the agent and in the intent. Intent_WEBHOOK_STATE_ENABLED Intent_WebhookState = 1 // Webhook is enabled in the agent and in the intent. Also, each slot // filling prompt is forwarded to the webhook. Intent_WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING Intent_WebhookState = 2 )
func (Intent_WebhookState) Descriptor ¶
func (Intent_WebhookState) Descriptor() protoreflect.EnumDescriptor
func (Intent_WebhookState) Enum ¶
func (x Intent_WebhookState) Enum() *Intent_WebhookState
func (Intent_WebhookState) EnumDescriptor ¶
func (Intent_WebhookState) EnumDescriptor() ([]byte, []int)
Deprecated: Use Intent_WebhookState.Descriptor instead.
func (Intent_WebhookState) Number ¶
func (x Intent_WebhookState) Number() protoreflect.EnumNumber
func (Intent_WebhookState) String ¶
func (x Intent_WebhookState) String() string
func (Intent_WebhookState) Type ¶
func (Intent_WebhookState) Type() protoreflect.EnumType
type IntentsClient ¶
type IntentsClient interface { // Returns the list of all intents in the specified agent. ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error) // Retrieves the specified intent. GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error) // Creates an intent in the specified agent. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error) // Updates the specified intent. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error) // Deletes the specified intent and its direct or indirect followup intents. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Updates/Creates multiple intents in the specified agent. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: // // [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse] // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). BatchUpdateIntents(ctx context.Context, in *BatchUpdateIntentsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes intents in the specified agent. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). BatchDeleteIntents(ctx context.Context, in *BatchDeleteIntentsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) }
IntentsClient is the client API for Intents service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewIntentsClient ¶
func NewIntentsClient(cc grpc.ClientConnInterface) IntentsClient
type IntentsServer ¶
type IntentsServer interface { // Returns the list of all intents in the specified agent. ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error) // Retrieves the specified intent. GetIntent(context.Context, *GetIntentRequest) (*Intent, error) // Creates an intent in the specified agent. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error) // Updates the specified intent. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error) // Deletes the specified intent and its direct or indirect followup intents. // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error) // Updates/Creates multiple intents in the specified agent. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: // // [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse] // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). BatchUpdateIntents(context.Context, *BatchUpdateIntentsRequest) (*longrunningpb.Operation, error) // Deletes intents in the specified agent. // // This method is a [long-running // operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). // The returned `Operation` type has the following method-specific fields: // // - `metadata`: An empty [Struct // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) // - `response`: An [Empty // message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) // // Note: You should always train an agent prior to sending it queries. See the // [training // documentation](https://cloud.google.com/dialogflow/es/docs/training). BatchDeleteIntents(context.Context, *BatchDeleteIntentsRequest) (*longrunningpb.Operation, error) }
IntentsServer is the server API for Intents service.
type KnowledgeAnswers ¶
type KnowledgeAnswers struct { // A list of answers from Knowledge Connector. Answers []*KnowledgeAnswers_Answer `protobuf:"bytes,1,rep,name=answers,proto3" json:"answers,omitempty"` // contains filtered or unexported fields }
Represents the result of querying a Knowledge base.
func (*KnowledgeAnswers) Descriptor ¶
func (*KnowledgeAnswers) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeAnswers.ProtoReflect.Descriptor instead.
func (*KnowledgeAnswers) GetAnswers ¶
func (x *KnowledgeAnswers) GetAnswers() []*KnowledgeAnswers_Answer
func (*KnowledgeAnswers) ProtoMessage ¶
func (*KnowledgeAnswers) ProtoMessage()
func (*KnowledgeAnswers) ProtoReflect ¶
func (x *KnowledgeAnswers) ProtoReflect() protoreflect.Message
func (*KnowledgeAnswers) Reset ¶
func (x *KnowledgeAnswers) Reset()
func (*KnowledgeAnswers) String ¶
func (x *KnowledgeAnswers) String() string
type KnowledgeAnswers_Answer ¶
type KnowledgeAnswers_Answer struct { // Indicates which Knowledge Document this answer was extracted from. // Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base // ID>/documents/<Document ID>`. Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // The corresponding FAQ question if the answer was extracted from a FAQ // Document, empty otherwise. FaqQuestion string `protobuf:"bytes,2,opt,name=faq_question,json=faqQuestion,proto3" json:"faq_question,omitempty"` // The piece of text from the `source` knowledge base document that answers // this conversational query. Answer string `protobuf:"bytes,3,opt,name=answer,proto3" json:"answer,omitempty"` // The system's confidence level that this knowledge answer is a good match // for this conversational query. // NOTE: The confidence level for a given `<query, answer>` pair may change // without notice, as it depends on models that are constantly being // improved. However, it will change less frequently than the confidence // score below, and should be preferred for referencing the quality of an // answer. MatchConfidenceLevel KnowledgeAnswers_Answer_MatchConfidenceLevel `protobuf:"varint,4,opt,name=match_confidence_level,json=matchConfidenceLevel,proto3,enum=google.cloud.dialogflow.v2beta1.KnowledgeAnswers_Answer_MatchConfidenceLevel" json:"match_confidence_level,omitempty"` // The system's confidence score that this Knowledge answer is a good match // for this conversational query. // The range is from 0.0 (completely uncertain) to 1.0 (completely certain). // Note: The confidence score is likely to vary somewhat (possibly even for // identical requests), as the underlying model is under constant // improvement. It may be deprecated in the future. We recommend using // `match_confidence_level` which should be generally more stable. MatchConfidence float32 `protobuf:"fixed32,5,opt,name=match_confidence,json=matchConfidence,proto3" json:"match_confidence,omitempty"` // contains filtered or unexported fields }
An answer from Knowledge Connector.
func (*KnowledgeAnswers_Answer) Descriptor ¶
func (*KnowledgeAnswers_Answer) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeAnswers_Answer.ProtoReflect.Descriptor instead.
func (*KnowledgeAnswers_Answer) GetAnswer ¶
func (x *KnowledgeAnswers_Answer) GetAnswer() string
func (*KnowledgeAnswers_Answer) GetFaqQuestion ¶
func (x *KnowledgeAnswers_Answer) GetFaqQuestion() string
func (*KnowledgeAnswers_Answer) GetMatchConfidence ¶
func (x *KnowledgeAnswers_Answer) GetMatchConfidence() float32
func (*KnowledgeAnswers_Answer) GetMatchConfidenceLevel ¶
func (x *KnowledgeAnswers_Answer) GetMatchConfidenceLevel() KnowledgeAnswers_Answer_MatchConfidenceLevel
func (*KnowledgeAnswers_Answer) GetSource ¶
func (x *KnowledgeAnswers_Answer) GetSource() string
func (*KnowledgeAnswers_Answer) ProtoMessage ¶
func (*KnowledgeAnswers_Answer) ProtoMessage()
func (*KnowledgeAnswers_Answer) ProtoReflect ¶
func (x *KnowledgeAnswers_Answer) ProtoReflect() protoreflect.Message
func (*KnowledgeAnswers_Answer) Reset ¶
func (x *KnowledgeAnswers_Answer) Reset()
func (*KnowledgeAnswers_Answer) String ¶
func (x *KnowledgeAnswers_Answer) String() string
type KnowledgeAnswers_Answer_MatchConfidenceLevel ¶
type KnowledgeAnswers_Answer_MatchConfidenceLevel int32
Represents the system's confidence that this knowledge answer is a good match for this conversational query.
const ( // Not specified. KnowledgeAnswers_Answer_MATCH_CONFIDENCE_LEVEL_UNSPECIFIED KnowledgeAnswers_Answer_MatchConfidenceLevel = 0 // Indicates that the confidence is low. KnowledgeAnswers_Answer_LOW KnowledgeAnswers_Answer_MatchConfidenceLevel = 1 // Indicates our confidence is medium. KnowledgeAnswers_Answer_MEDIUM KnowledgeAnswers_Answer_MatchConfidenceLevel = 2 // Indicates our confidence is high. KnowledgeAnswers_Answer_HIGH KnowledgeAnswers_Answer_MatchConfidenceLevel = 3 )
func (KnowledgeAnswers_Answer_MatchConfidenceLevel) Descriptor ¶
func (KnowledgeAnswers_Answer_MatchConfidenceLevel) Descriptor() protoreflect.EnumDescriptor
func (KnowledgeAnswers_Answer_MatchConfidenceLevel) Enum ¶
func (x KnowledgeAnswers_Answer_MatchConfidenceLevel) Enum() *KnowledgeAnswers_Answer_MatchConfidenceLevel
func (KnowledgeAnswers_Answer_MatchConfidenceLevel) EnumDescriptor ¶
func (KnowledgeAnswers_Answer_MatchConfidenceLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use KnowledgeAnswers_Answer_MatchConfidenceLevel.Descriptor instead.
func (KnowledgeAnswers_Answer_MatchConfidenceLevel) Number ¶
func (x KnowledgeAnswers_Answer_MatchConfidenceLevel) Number() protoreflect.EnumNumber
func (KnowledgeAnswers_Answer_MatchConfidenceLevel) String ¶
func (x KnowledgeAnswers_Answer_MatchConfidenceLevel) String() string
func (KnowledgeAnswers_Answer_MatchConfidenceLevel) Type ¶
func (KnowledgeAnswers_Answer_MatchConfidenceLevel) Type() protoreflect.EnumType
type KnowledgeAssistAnswer ¶
type KnowledgeAssistAnswer struct { // The query suggested based on the context. Suggestion is made only if it // is different from the previous suggestion. SuggestedQuery *KnowledgeAssistAnswer_SuggestedQuery `protobuf:"bytes,1,opt,name=suggested_query,json=suggestedQuery,proto3" json:"suggested_query,omitempty"` // The answer generated for the suggested query. Whether or not an answer is // generated depends on how confident we are about the generated query. SuggestedQueryAnswer *KnowledgeAssistAnswer_KnowledgeAnswer `protobuf:"bytes,2,opt,name=suggested_query_answer,json=suggestedQueryAnswer,proto3" json:"suggested_query_answer,omitempty"` // The name of the answer record. // Format: `projects/<Project ID>/locations/<location ID>/answer // Records/<Answer Record ID>`. AnswerRecord string `protobuf:"bytes,3,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"` // contains filtered or unexported fields }
Represents a Knowledge Assist answer.
func (*KnowledgeAssistAnswer) Descriptor ¶
func (*KnowledgeAssistAnswer) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeAssistAnswer.ProtoReflect.Descriptor instead.
func (*KnowledgeAssistAnswer) GetAnswerRecord ¶
func (x *KnowledgeAssistAnswer) GetAnswerRecord() string
func (*KnowledgeAssistAnswer) GetSuggestedQuery ¶
func (x *KnowledgeAssistAnswer) GetSuggestedQuery() *KnowledgeAssistAnswer_SuggestedQuery
func (*KnowledgeAssistAnswer) GetSuggestedQueryAnswer ¶
func (x *KnowledgeAssistAnswer) GetSuggestedQueryAnswer() *KnowledgeAssistAnswer_KnowledgeAnswer
func (*KnowledgeAssistAnswer) ProtoMessage ¶
func (*KnowledgeAssistAnswer) ProtoMessage()
func (*KnowledgeAssistAnswer) ProtoReflect ¶
func (x *KnowledgeAssistAnswer) ProtoReflect() protoreflect.Message
func (*KnowledgeAssistAnswer) Reset ¶
func (x *KnowledgeAssistAnswer) Reset()
func (*KnowledgeAssistAnswer) String ¶
func (x *KnowledgeAssistAnswer) String() string
type KnowledgeAssistAnswer_KnowledgeAnswer ¶
type KnowledgeAssistAnswer_KnowledgeAnswer struct { // The piece of text from the `source` that answers this suggested query. AnswerText string `protobuf:"bytes,1,opt,name=answer_text,json=answerText,proto3" json:"answer_text,omitempty"` // Source of result. // // Types that are assignable to Source: // // *KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource_ // *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_ Source isKnowledgeAssistAnswer_KnowledgeAnswer_Source `protobuf_oneof:"source"` // contains filtered or unexported fields }
Represents an answer from Knowledge. Currently supports FAQ and Generative answers.
func (*KnowledgeAssistAnswer_KnowledgeAnswer) Descriptor ¶
func (*KnowledgeAssistAnswer_KnowledgeAnswer) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeAssistAnswer_KnowledgeAnswer.ProtoReflect.Descriptor instead.
func (*KnowledgeAssistAnswer_KnowledgeAnswer) GetAnswerText ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer) GetAnswerText() string
func (*KnowledgeAssistAnswer_KnowledgeAnswer) GetFaqSource ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer) GetFaqSource() *KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource
func (*KnowledgeAssistAnswer_KnowledgeAnswer) GetGenerativeSource ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer) GetGenerativeSource() *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource
func (*KnowledgeAssistAnswer_KnowledgeAnswer) GetSource ¶
func (m *KnowledgeAssistAnswer_KnowledgeAnswer) GetSource() isKnowledgeAssistAnswer_KnowledgeAnswer_Source
func (*KnowledgeAssistAnswer_KnowledgeAnswer) ProtoMessage ¶
func (*KnowledgeAssistAnswer_KnowledgeAnswer) ProtoMessage()
func (*KnowledgeAssistAnswer_KnowledgeAnswer) ProtoReflect ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer) ProtoReflect() protoreflect.Message
func (*KnowledgeAssistAnswer_KnowledgeAnswer) Reset ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer) Reset()
func (*KnowledgeAssistAnswer_KnowledgeAnswer) String ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer) String() string
type KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource ¶
type KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource struct { // The corresponding FAQ question. Question string `protobuf:"bytes,2,opt,name=question,proto3" json:"question,omitempty"` // contains filtered or unexported fields }
Details about source of FAQ answer.
func (*KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) Descriptor ¶
func (*KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource.ProtoReflect.Descriptor instead.
func (*KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) GetQuestion ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) GetQuestion() string
func (*KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) ProtoMessage ¶
func (*KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) ProtoMessage()
func (*KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) ProtoReflect ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) ProtoReflect() protoreflect.Message
func (*KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) Reset ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) Reset()
func (*KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) String ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource) String() string
type KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource_ ¶
type KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource_ struct { // Populated if the prediction came from FAQ. FaqSource *KnowledgeAssistAnswer_KnowledgeAnswer_FaqSource `protobuf:"bytes,3,opt,name=faq_source,json=faqSource,proto3,oneof"` }
type KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource ¶
type KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource struct { // All snippets used for this Generative Prediction, with their source URI // and data. Snippets []*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet `protobuf:"bytes,1,rep,name=snippets,proto3" json:"snippets,omitempty"` // contains filtered or unexported fields }
Details about source of Generative answer.
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) Descriptor ¶
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource.ProtoReflect.Descriptor instead.
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) GetSnippets ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) GetSnippets() []*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) ProtoMessage ¶
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) ProtoMessage()
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) ProtoReflect ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) ProtoReflect() protoreflect.Message
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) Reset ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) Reset()
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) String ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource) String() string
type KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_ ¶
type KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_ struct { // Populated if the prediction was Generative. GenerativeSource *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource `protobuf:"bytes,4,opt,name=generative_source,json=generativeSource,proto3,oneof"` }
type KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet ¶
type KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet struct { // URI the data is sourced from. Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // Text taken from that URI. Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"` // Title of the document. Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` // Metadata of the document. Metadata *structpb.Struct `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Snippet Source for a Generative Prediction.
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) Descriptor ¶
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet.ProtoReflect.Descriptor instead.
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) GetMetadata ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) GetMetadata() *structpb.Struct
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) GetText ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) GetText() string
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) GetTitle ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) GetTitle() string
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) GetUri ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) GetUri() string
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) ProtoMessage ¶
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) ProtoMessage()
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) ProtoReflect ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) ProtoReflect() protoreflect.Message
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) Reset ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) Reset()
func (*KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) String ¶
func (x *KnowledgeAssistAnswer_KnowledgeAnswer_GenerativeSource_Snippet) String() string
type KnowledgeAssistAnswer_SuggestedQuery ¶
type KnowledgeAssistAnswer_SuggestedQuery struct { // Suggested query text. QueryText string `protobuf:"bytes,1,opt,name=query_text,json=queryText,proto3" json:"query_text,omitempty"` // contains filtered or unexported fields }
Represents a suggested query.
func (*KnowledgeAssistAnswer_SuggestedQuery) Descriptor ¶
func (*KnowledgeAssistAnswer_SuggestedQuery) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeAssistAnswer_SuggestedQuery.ProtoReflect.Descriptor instead.
func (*KnowledgeAssistAnswer_SuggestedQuery) GetQueryText ¶
func (x *KnowledgeAssistAnswer_SuggestedQuery) GetQueryText() string
func (*KnowledgeAssistAnswer_SuggestedQuery) ProtoMessage ¶
func (*KnowledgeAssistAnswer_SuggestedQuery) ProtoMessage()
func (*KnowledgeAssistAnswer_SuggestedQuery) ProtoReflect ¶
func (x *KnowledgeAssistAnswer_SuggestedQuery) ProtoReflect() protoreflect.Message
func (*KnowledgeAssistAnswer_SuggestedQuery) Reset ¶
func (x *KnowledgeAssistAnswer_SuggestedQuery) Reset()
func (*KnowledgeAssistAnswer_SuggestedQuery) String ¶
func (x *KnowledgeAssistAnswer_SuggestedQuery) String() string
type KnowledgeBase ¶
type KnowledgeBase struct { // The knowledge base resource name. // The name must be empty when creating a knowledge base. // Format: `projects/<Project ID>/locations/<Location // ID>/knowledgeBases/<Knowledge Base ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The display name of the knowledge base. The name must be 1024 // bytes or less; otherwise, the creation request fails. DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Language which represents the KnowledgeBase. When the KnowledgeBase is // created/updated, this is populated for all non en-us languages. If not // populated, the default language en-us applies. LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
A knowledge base represents a collection of knowledge documents that you provide to Dialogflow. Your knowledge documents contain information that may be useful during conversations with end-users. Some Dialogflow features use knowledge bases when looking for a response to an end-user input.
For more information, see the [knowledge base guide](https://cloud.google.com/dialogflow/docs/how/knowledge-bases).
Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
func (*KnowledgeBase) Descriptor ¶
func (*KnowledgeBase) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeBase.ProtoReflect.Descriptor instead.
func (*KnowledgeBase) GetDisplayName ¶
func (x *KnowledgeBase) GetDisplayName() string
func (*KnowledgeBase) GetLanguageCode ¶
func (x *KnowledgeBase) GetLanguageCode() string
func (*KnowledgeBase) GetName ¶
func (x *KnowledgeBase) GetName() string
func (*KnowledgeBase) ProtoMessage ¶
func (*KnowledgeBase) ProtoMessage()
func (*KnowledgeBase) ProtoReflect ¶
func (x *KnowledgeBase) ProtoReflect() protoreflect.Message
func (*KnowledgeBase) Reset ¶
func (x *KnowledgeBase) Reset()
func (*KnowledgeBase) String ¶
func (x *KnowledgeBase) String() string
type KnowledgeBasesClient ¶
type KnowledgeBasesClient interface { // Returns the list of all knowledge bases of the specified agent. // // Note: The `projects.agent.knowledgeBases` resource is deprecated; // only use `projects.knowledgeBases`. ListKnowledgeBases(ctx context.Context, in *ListKnowledgeBasesRequest, opts ...grpc.CallOption) (*ListKnowledgeBasesResponse, error) // Retrieves the specified knowledge base. // // Note: The `projects.agent.knowledgeBases` resource is deprecated; // only use `projects.knowledgeBases`. GetKnowledgeBase(ctx context.Context, in *GetKnowledgeBaseRequest, opts ...grpc.CallOption) (*KnowledgeBase, error) // Creates a knowledge base. // // Note: The `projects.agent.knowledgeBases` resource is deprecated; // only use `projects.knowledgeBases`. CreateKnowledgeBase(ctx context.Context, in *CreateKnowledgeBaseRequest, opts ...grpc.CallOption) (*KnowledgeBase, error) // Deletes the specified knowledge base. // // Note: The `projects.agent.knowledgeBases` resource is deprecated; // only use `projects.knowledgeBases`. DeleteKnowledgeBase(ctx context.Context, in *DeleteKnowledgeBaseRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Updates the specified knowledge base. // // Note: The `projects.agent.knowledgeBases` resource is deprecated; // only use `projects.knowledgeBases`. UpdateKnowledgeBase(ctx context.Context, in *UpdateKnowledgeBaseRequest, opts ...grpc.CallOption) (*KnowledgeBase, error) }
KnowledgeBasesClient is the client API for KnowledgeBases service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKnowledgeBasesClient ¶
func NewKnowledgeBasesClient(cc grpc.ClientConnInterface) KnowledgeBasesClient
type KnowledgeBasesServer ¶
type KnowledgeBasesServer interface { // Returns the list of all knowledge bases of the specified agent. // // Note: The `projects.agent.knowledgeBases` resource is deprecated; // only use `projects.knowledgeBases`. ListKnowledgeBases(context.Context, *ListKnowledgeBasesRequest) (*ListKnowledgeBasesResponse, error) // Retrieves the specified knowledge base. // // Note: The `projects.agent.knowledgeBases` resource is deprecated; // only use `projects.knowledgeBases`. GetKnowledgeBase(context.Context, *GetKnowledgeBaseRequest) (*KnowledgeBase, error) // Creates a knowledge base. // // Note: The `projects.agent.knowledgeBases` resource is deprecated; // only use `projects.knowledgeBases`. CreateKnowledgeBase(context.Context, *CreateKnowledgeBaseRequest) (*KnowledgeBase, error) // Deletes the specified knowledge base. // // Note: The `projects.agent.knowledgeBases` resource is deprecated; // only use `projects.knowledgeBases`. DeleteKnowledgeBase(context.Context, *DeleteKnowledgeBaseRequest) (*emptypb.Empty, error) // Updates the specified knowledge base. // // Note: The `projects.agent.knowledgeBases` resource is deprecated; // only use `projects.knowledgeBases`. UpdateKnowledgeBase(context.Context, *UpdateKnowledgeBaseRequest) (*KnowledgeBase, error) }
KnowledgeBasesServer is the server API for KnowledgeBases service.
type KnowledgeOperationMetadata ¶
type KnowledgeOperationMetadata struct { // Required. Output only. The current state of this operation. State KnowledgeOperationMetadata_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata_State" json:"state,omitempty"` // The name of the knowledge base interacted with during the operation. KnowledgeBase string `protobuf:"bytes,3,opt,name=knowledge_base,json=knowledgeBase,proto3" json:"knowledge_base,omitempty"` // Additional metadata for the Knowledge operation. // // Types that are assignable to OperationMetadata: // // *KnowledgeOperationMetadata_ExportOperationMetadata OperationMetadata isKnowledgeOperationMetadata_OperationMetadata `protobuf_oneof:"operation_metadata"` // contains filtered or unexported fields }
Metadata in google::longrunning::Operation for Knowledge operations.
func (*KnowledgeOperationMetadata) Descriptor ¶
func (*KnowledgeOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeOperationMetadata.ProtoReflect.Descriptor instead.
func (*KnowledgeOperationMetadata) GetExportOperationMetadata ¶
func (x *KnowledgeOperationMetadata) GetExportOperationMetadata() *ExportOperationMetadata
func (*KnowledgeOperationMetadata) GetKnowledgeBase ¶
func (x *KnowledgeOperationMetadata) GetKnowledgeBase() string
func (*KnowledgeOperationMetadata) GetOperationMetadata ¶
func (m *KnowledgeOperationMetadata) GetOperationMetadata() isKnowledgeOperationMetadata_OperationMetadata
func (*KnowledgeOperationMetadata) GetState ¶
func (x *KnowledgeOperationMetadata) GetState() KnowledgeOperationMetadata_State
func (*KnowledgeOperationMetadata) ProtoMessage ¶
func (*KnowledgeOperationMetadata) ProtoMessage()
func (*KnowledgeOperationMetadata) ProtoReflect ¶
func (x *KnowledgeOperationMetadata) ProtoReflect() protoreflect.Message
func (*KnowledgeOperationMetadata) Reset ¶
func (x *KnowledgeOperationMetadata) Reset()
func (*KnowledgeOperationMetadata) String ¶
func (x *KnowledgeOperationMetadata) String() string
type KnowledgeOperationMetadata_ExportOperationMetadata ¶
type KnowledgeOperationMetadata_ExportOperationMetadata struct { // Metadata for the Export Data Operation such as the destination of export. ExportOperationMetadata *ExportOperationMetadata `protobuf:"bytes,4,opt,name=export_operation_metadata,json=exportOperationMetadata,proto3,oneof"` }
type KnowledgeOperationMetadata_State ¶
type KnowledgeOperationMetadata_State int32
States of the operation.
const ( // State unspecified. KnowledgeOperationMetadata_STATE_UNSPECIFIED KnowledgeOperationMetadata_State = 0 // The operation has been created. KnowledgeOperationMetadata_PENDING KnowledgeOperationMetadata_State = 1 // The operation is currently running. KnowledgeOperationMetadata_RUNNING KnowledgeOperationMetadata_State = 2 // The operation is done, either cancelled or completed. KnowledgeOperationMetadata_DONE KnowledgeOperationMetadata_State = 3 )
func (KnowledgeOperationMetadata_State) Descriptor ¶
func (KnowledgeOperationMetadata_State) Descriptor() protoreflect.EnumDescriptor
func (KnowledgeOperationMetadata_State) Enum ¶
func (x KnowledgeOperationMetadata_State) Enum() *KnowledgeOperationMetadata_State
func (KnowledgeOperationMetadata_State) EnumDescriptor ¶
func (KnowledgeOperationMetadata_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use KnowledgeOperationMetadata_State.Descriptor instead.
func (KnowledgeOperationMetadata_State) Number ¶
func (x KnowledgeOperationMetadata_State) Number() protoreflect.EnumNumber
func (KnowledgeOperationMetadata_State) String ¶
func (x KnowledgeOperationMetadata_State) String() string
func (KnowledgeOperationMetadata_State) Type ¶
func (KnowledgeOperationMetadata_State) Type() protoreflect.EnumType
type ListAnswerRecordsRequest ¶
type ListAnswerRecordsRequest struct { // Required. The project to list all answer records for in reverse // chronological order. Format: `projects/<Project ID>/locations/<Location // ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. Filters to restrict results to specific answer records. The // expression has the following syntax: // // <field> <operator> <value> [AND <field> <operator> <value>] ... // // The following fields and operators are supported: // * conversation_id with equals(=) operator // // Examples: // // - "conversation_id=bar" matches answer records in the // projects/foo/locations/global/conversations/bar conversation // (assuming the parent is projects/foo/locations/global). // // For more information about filtering, see // [API Filtering](https://aip.dev/160). Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Optional. The maximum number of records to return in a single page. // The server may return fewer records than this. If unspecified, we use 10. // The maximum is 100. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The // [ListAnswerRecordsResponse.next_page_token][google.cloud.dialogflow.v2beta1.ListAnswerRecordsResponse.next_page_token] // value returned from a previous list request used to continue listing on // the next page. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for [AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords].
func (*ListAnswerRecordsRequest) Descriptor ¶
func (*ListAnswerRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAnswerRecordsRequest.ProtoReflect.Descriptor instead.
func (*ListAnswerRecordsRequest) GetFilter ¶
func (x *ListAnswerRecordsRequest) GetFilter() string
func (*ListAnswerRecordsRequest) GetPageSize ¶
func (x *ListAnswerRecordsRequest) GetPageSize() int32
func (*ListAnswerRecordsRequest) GetPageToken ¶
func (x *ListAnswerRecordsRequest) GetPageToken() string
func (*ListAnswerRecordsRequest) GetParent ¶
func (x *ListAnswerRecordsRequest) GetParent() string
func (*ListAnswerRecordsRequest) ProtoMessage ¶
func (*ListAnswerRecordsRequest) ProtoMessage()
func (*ListAnswerRecordsRequest) ProtoReflect ¶
func (x *ListAnswerRecordsRequest) ProtoReflect() protoreflect.Message
func (*ListAnswerRecordsRequest) Reset ¶
func (x *ListAnswerRecordsRequest) Reset()
func (*ListAnswerRecordsRequest) String ¶
func (x *ListAnswerRecordsRequest) String() string
type ListAnswerRecordsResponse ¶
type ListAnswerRecordsResponse struct { // The list of answer records. AnswerRecords []*AnswerRecord `protobuf:"bytes,1,rep,name=answer_records,json=answerRecords,proto3" json:"answer_records,omitempty"` // A token to retrieve next page of results. Or empty if there are no more // results. // Pass this value in the // [ListAnswerRecordsRequest.page_token][google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest.page_token] // field in the subsequent call to `ListAnswerRecords` method to retrieve the // next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for [AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2beta1.AnswerRecords.ListAnswerRecords].
func (*ListAnswerRecordsResponse) Descriptor ¶
func (*ListAnswerRecordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAnswerRecordsResponse.ProtoReflect.Descriptor instead.
func (*ListAnswerRecordsResponse) GetAnswerRecords ¶
func (x *ListAnswerRecordsResponse) GetAnswerRecords() []*AnswerRecord
func (*ListAnswerRecordsResponse) GetNextPageToken ¶
func (x *ListAnswerRecordsResponse) GetNextPageToken() string
func (*ListAnswerRecordsResponse) ProtoMessage ¶
func (*ListAnswerRecordsResponse) ProtoMessage()
func (*ListAnswerRecordsResponse) ProtoReflect ¶
func (x *ListAnswerRecordsResponse) ProtoReflect() protoreflect.Message
func (*ListAnswerRecordsResponse) Reset ¶
func (x *ListAnswerRecordsResponse) Reset()
func (*ListAnswerRecordsResponse) String ¶
func (x *ListAnswerRecordsResponse) String() string
type ListContextsRequest ¶
type ListContextsRequest struct { // Required. The session to list all contexts from. Supported formats: // - `projects/<Project ID>/agent/sessions/<Session ID>, // - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session // ID>`, // - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User // ID>/sessions/<Session ID>`, // - `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session // ID>`, // // If `Location ID` is not specified we assume default 'us' location. If // `Environment ID` is not specified, we assume default 'draft' environment. // If `User ID` is not specified, we assume default '-' user. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of items to return in a single page. By // default 100 and at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts].
func (*ListContextsRequest) Descriptor ¶
func (*ListContextsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListContextsRequest.ProtoReflect.Descriptor instead.
func (*ListContextsRequest) GetPageSize ¶
func (x *ListContextsRequest) GetPageSize() int32
func (*ListContextsRequest) GetPageToken ¶
func (x *ListContextsRequest) GetPageToken() string
func (*ListContextsRequest) GetParent ¶
func (x *ListContextsRequest) GetParent() string
func (*ListContextsRequest) ProtoMessage ¶
func (*ListContextsRequest) ProtoMessage()
func (*ListContextsRequest) ProtoReflect ¶
func (x *ListContextsRequest) ProtoReflect() protoreflect.Message
func (*ListContextsRequest) Reset ¶
func (x *ListContextsRequest) Reset()
func (*ListContextsRequest) String ¶
func (x *ListContextsRequest) String() string
type ListContextsResponse ¶
type ListContextsResponse struct { // The list of contexts. There will be a maximum number of items // returned based on the page_size field in the request. Contexts []*Context `protobuf:"bytes,1,rep,name=contexts,proto3" json:"contexts,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Contexts.ListContexts][google.cloud.dialogflow.v2beta1.Contexts.ListContexts].
func (*ListContextsResponse) Descriptor ¶
func (*ListContextsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListContextsResponse.ProtoReflect.Descriptor instead.
func (*ListContextsResponse) GetContexts ¶
func (x *ListContextsResponse) GetContexts() []*Context
func (*ListContextsResponse) GetNextPageToken ¶
func (x *ListContextsResponse) GetNextPageToken() string
func (*ListContextsResponse) ProtoMessage ¶
func (*ListContextsResponse) ProtoMessage()
func (*ListContextsResponse) ProtoReflect ¶
func (x *ListContextsResponse) ProtoReflect() protoreflect.Message
func (*ListContextsResponse) Reset ¶
func (x *ListContextsResponse) Reset()
func (*ListContextsResponse) String ¶
func (x *ListContextsResponse) String() string
type ListConversationProfilesRequest ¶
type ListConversationProfilesRequest struct { // Required. The project to list all conversation profiles from. // Format: `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return in a single page. By // default 100 and at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles].
func (*ListConversationProfilesRequest) Descriptor ¶
func (*ListConversationProfilesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListConversationProfilesRequest.ProtoReflect.Descriptor instead.
func (*ListConversationProfilesRequest) GetPageSize ¶
func (x *ListConversationProfilesRequest) GetPageSize() int32
func (*ListConversationProfilesRequest) GetPageToken ¶
func (x *ListConversationProfilesRequest) GetPageToken() string
func (*ListConversationProfilesRequest) GetParent ¶
func (x *ListConversationProfilesRequest) GetParent() string
func (*ListConversationProfilesRequest) ProtoMessage ¶
func (*ListConversationProfilesRequest) ProtoMessage()
func (*ListConversationProfilesRequest) ProtoReflect ¶
func (x *ListConversationProfilesRequest) ProtoReflect() protoreflect.Message
func (*ListConversationProfilesRequest) Reset ¶
func (x *ListConversationProfilesRequest) Reset()
func (*ListConversationProfilesRequest) String ¶
func (x *ListConversationProfilesRequest) String() string
type ListConversationProfilesResponse ¶
type ListConversationProfilesResponse struct { // The list of project conversation profiles. There is a maximum number // of items returned based on the page_size field in the request. ConversationProfiles []*ConversationProfile `protobuf:"bytes,1,rep,name=conversation_profiles,json=conversationProfiles,proto3" json:"conversation_profiles,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [ConversationProfiles.ListConversationProfiles][google.cloud.dialogflow.v2beta1.ConversationProfiles.ListConversationProfiles].
func (*ListConversationProfilesResponse) Descriptor ¶
func (*ListConversationProfilesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListConversationProfilesResponse.ProtoReflect.Descriptor instead.
func (*ListConversationProfilesResponse) GetConversationProfiles ¶
func (x *ListConversationProfilesResponse) GetConversationProfiles() []*ConversationProfile
func (*ListConversationProfilesResponse) GetNextPageToken ¶
func (x *ListConversationProfilesResponse) GetNextPageToken() string
func (*ListConversationProfilesResponse) ProtoMessage ¶
func (*ListConversationProfilesResponse) ProtoMessage()
func (*ListConversationProfilesResponse) ProtoReflect ¶
func (x *ListConversationProfilesResponse) ProtoReflect() protoreflect.Message
func (*ListConversationProfilesResponse) Reset ¶
func (x *ListConversationProfilesResponse) Reset()
func (*ListConversationProfilesResponse) String ¶
func (x *ListConversationProfilesResponse) String() string
type ListConversationsRequest ¶
type ListConversationsRequest struct { // Required. The project from which to list all conversation. // Format: `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of items to return in a single page. By // default 100 and at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. A filter expression that filters conversations listed in the // response. Only `lifecycle_state` can be filtered on in this way. For // example, the following expression only returns `COMPLETED` conversations: // // `lifecycle_state = "COMPLETED"` // // For more information about filtering, see // [API Filtering](https://aip.dev/160). Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
The request message for [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations].
func (*ListConversationsRequest) Descriptor ¶
func (*ListConversationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListConversationsRequest.ProtoReflect.Descriptor instead.
func (*ListConversationsRequest) GetFilter ¶
func (x *ListConversationsRequest) GetFilter() string
func (*ListConversationsRequest) GetPageSize ¶
func (x *ListConversationsRequest) GetPageSize() int32
func (*ListConversationsRequest) GetPageToken ¶
func (x *ListConversationsRequest) GetPageToken() string
func (*ListConversationsRequest) GetParent ¶
func (x *ListConversationsRequest) GetParent() string
func (*ListConversationsRequest) ProtoMessage ¶
func (*ListConversationsRequest) ProtoMessage()
func (*ListConversationsRequest) ProtoReflect ¶
func (x *ListConversationsRequest) ProtoReflect() protoreflect.Message
func (*ListConversationsRequest) Reset ¶
func (x *ListConversationsRequest) Reset()
func (*ListConversationsRequest) String ¶
func (x *ListConversationsRequest) String() string
type ListConversationsResponse ¶
type ListConversationsResponse struct { // The list of conversations. There will be a maximum number of items // returned based on the page_size field in the request. Conversations []*Conversation `protobuf:"bytes,1,rep,name=conversations,proto3" json:"conversations,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Conversations.ListConversations][google.cloud.dialogflow.v2beta1.Conversations.ListConversations].
func (*ListConversationsResponse) Descriptor ¶
func (*ListConversationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListConversationsResponse.ProtoReflect.Descriptor instead.
func (*ListConversationsResponse) GetConversations ¶
func (x *ListConversationsResponse) GetConversations() []*Conversation
func (*ListConversationsResponse) GetNextPageToken ¶
func (x *ListConversationsResponse) GetNextPageToken() string
func (*ListConversationsResponse) ProtoMessage ¶
func (*ListConversationsResponse) ProtoMessage()
func (*ListConversationsResponse) ProtoReflect ¶
func (x *ListConversationsResponse) ProtoReflect() protoreflect.Message
func (*ListConversationsResponse) Reset ¶
func (x *ListConversationsResponse) Reset()
func (*ListConversationsResponse) String ¶
func (x *ListConversationsResponse) String() string
type ListDocumentsRequest ¶
type ListDocumentsRequest struct { // Required. The knowledge base to list all documents for. // Format: `projects/<Project ID>/locations/<Location // ID>/knowledgeBases/<Knowledge Base ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return in a single page. By // default 10 and at most 100. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The filter expression used to filter documents returned by the list method. // The expression has the following syntax: // // <field> <operator> <value> [AND <field> <operator> <value>] ... // // The following fields and operators are supported: // // * knowledge_types with has(:) operator // * display_name with has(:) operator // * state with equals(=) operator // // Examples: // // - "knowledge_types:FAQ" matches documents with FAQ knowledge type. // - "display_name:customer" matches documents whose display name contains // "customer". // - "state=ACTIVE" matches documents with ACTIVE state. // - "knowledge_types:FAQ AND state=ACTIVE" matches all active FAQ documents. // // For more information about filtering, see // [API Filtering](https://aip.dev/160). Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
Request message for [Documents.ListDocuments][google.cloud.dialogflow.v2beta1.Documents.ListDocuments].
func (*ListDocumentsRequest) Descriptor ¶
func (*ListDocumentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDocumentsRequest.ProtoReflect.Descriptor instead.
func (*ListDocumentsRequest) GetFilter ¶
func (x *ListDocumentsRequest) GetFilter() string
func (*ListDocumentsRequest) GetPageSize ¶
func (x *ListDocumentsRequest) GetPageSize() int32
func (*ListDocumentsRequest) GetPageToken ¶
func (x *ListDocumentsRequest) GetPageToken() string
func (*ListDocumentsRequest) GetParent ¶
func (x *ListDocumentsRequest) GetParent() string
func (*ListDocumentsRequest) ProtoMessage ¶
func (*ListDocumentsRequest) ProtoMessage()
func (*ListDocumentsRequest) ProtoReflect ¶
func (x *ListDocumentsRequest) ProtoReflect() protoreflect.Message
func (*ListDocumentsRequest) Reset ¶
func (x *ListDocumentsRequest) Reset()
func (*ListDocumentsRequest) String ¶
func (x *ListDocumentsRequest) String() string
type ListDocumentsResponse ¶
type ListDocumentsResponse struct { // The list of documents. Documents []*Document `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for [Documents.ListDocuments][google.cloud.dialogflow.v2beta1.Documents.ListDocuments].
func (*ListDocumentsResponse) Descriptor ¶
func (*ListDocumentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDocumentsResponse.ProtoReflect.Descriptor instead.
func (*ListDocumentsResponse) GetDocuments ¶
func (x *ListDocumentsResponse) GetDocuments() []*Document
func (*ListDocumentsResponse) GetNextPageToken ¶
func (x *ListDocumentsResponse) GetNextPageToken() string
func (*ListDocumentsResponse) ProtoMessage ¶
func (*ListDocumentsResponse) ProtoMessage()
func (*ListDocumentsResponse) ProtoReflect ¶
func (x *ListDocumentsResponse) ProtoReflect() protoreflect.Message
func (*ListDocumentsResponse) Reset ¶
func (x *ListDocumentsResponse) Reset()
func (*ListDocumentsResponse) String ¶
func (x *ListDocumentsResponse) String() string
type ListEntityTypesRequest ¶
type ListEntityTypesRequest struct { // Required. The agent to list all entity types from. // Supported formats: // - `projects/<Project ID>/agent` // - `projects/<Project ID>/locations/<Location ID>/agent` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The language used to access language-specific data. // If not specified, the agent's default language is used. // For more information, see // [Multilingual intent and entity // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Optional. The maximum number of items to return in a single page. By // default 100 and at most 1000. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes].
func (*ListEntityTypesRequest) Descriptor ¶
func (*ListEntityTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEntityTypesRequest.ProtoReflect.Descriptor instead.
func (*ListEntityTypesRequest) GetLanguageCode ¶
func (x *ListEntityTypesRequest) GetLanguageCode() string
func (*ListEntityTypesRequest) GetPageSize ¶
func (x *ListEntityTypesRequest) GetPageSize() int32
func (*ListEntityTypesRequest) GetPageToken ¶
func (x *ListEntityTypesRequest) GetPageToken() string
func (*ListEntityTypesRequest) GetParent ¶
func (x *ListEntityTypesRequest) GetParent() string
func (*ListEntityTypesRequest) ProtoMessage ¶
func (*ListEntityTypesRequest) ProtoMessage()
func (*ListEntityTypesRequest) ProtoReflect ¶
func (x *ListEntityTypesRequest) ProtoReflect() protoreflect.Message
func (*ListEntityTypesRequest) Reset ¶
func (x *ListEntityTypesRequest) Reset()
func (*ListEntityTypesRequest) String ¶
func (x *ListEntityTypesRequest) String() string
type ListEntityTypesResponse ¶
type ListEntityTypesResponse struct { // The list of agent entity types. There will be a maximum number of items // returned based on the page_size field in the request. EntityTypes []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.ListEntityTypes].
func (*ListEntityTypesResponse) Descriptor ¶
func (*ListEntityTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntityTypesResponse.ProtoReflect.Descriptor instead.
func (*ListEntityTypesResponse) GetEntityTypes ¶
func (x *ListEntityTypesResponse) GetEntityTypes() []*EntityType
func (*ListEntityTypesResponse) GetNextPageToken ¶
func (x *ListEntityTypesResponse) GetNextPageToken() string
func (*ListEntityTypesResponse) ProtoMessage ¶
func (*ListEntityTypesResponse) ProtoMessage()
func (*ListEntityTypesResponse) ProtoReflect ¶
func (x *ListEntityTypesResponse) ProtoReflect() protoreflect.Message
func (*ListEntityTypesResponse) Reset ¶
func (x *ListEntityTypesResponse) Reset()
func (*ListEntityTypesResponse) String ¶
func (x *ListEntityTypesResponse) String() string
type ListEnvironmentsRequest ¶
type ListEnvironmentsRequest struct { // Required. The agent to list all environments from. // Format: // - `projects/<Project ID>/agent` // - `projects/<Project ID>/locations/<Location ID>/agent` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of items to return in a single page. By // default 100 and at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
func (*ListEnvironmentsRequest) Descriptor ¶
func (*ListEnvironmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEnvironmentsRequest.ProtoReflect.Descriptor instead.
func (*ListEnvironmentsRequest) GetPageSize ¶
func (x *ListEnvironmentsRequest) GetPageSize() int32
func (*ListEnvironmentsRequest) GetPageToken ¶
func (x *ListEnvironmentsRequest) GetPageToken() string
func (*ListEnvironmentsRequest) GetParent ¶
func (x *ListEnvironmentsRequest) GetParent() string
func (*ListEnvironmentsRequest) ProtoMessage ¶
func (*ListEnvironmentsRequest) ProtoMessage()
func (*ListEnvironmentsRequest) ProtoReflect ¶
func (x *ListEnvironmentsRequest) ProtoReflect() protoreflect.Message
func (*ListEnvironmentsRequest) Reset ¶
func (x *ListEnvironmentsRequest) Reset()
func (*ListEnvironmentsRequest) String ¶
func (x *ListEnvironmentsRequest) String() string
type ListEnvironmentsResponse ¶
type ListEnvironmentsResponse struct { // The list of agent environments. There will be a maximum number of items // returned based on the page_size field in the request. Environments []*Environment `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Environments.ListEnvironments][google.cloud.dialogflow.v2beta1.Environments.ListEnvironments].
func (*ListEnvironmentsResponse) Descriptor ¶
func (*ListEnvironmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEnvironmentsResponse.ProtoReflect.Descriptor instead.
func (*ListEnvironmentsResponse) GetEnvironments ¶
func (x *ListEnvironmentsResponse) GetEnvironments() []*Environment
func (*ListEnvironmentsResponse) GetNextPageToken ¶
func (x *ListEnvironmentsResponse) GetNextPageToken() string
func (*ListEnvironmentsResponse) ProtoMessage ¶
func (*ListEnvironmentsResponse) ProtoMessage()
func (*ListEnvironmentsResponse) ProtoReflect ¶
func (x *ListEnvironmentsResponse) ProtoReflect() protoreflect.Message
func (*ListEnvironmentsResponse) Reset ¶
func (x *ListEnvironmentsResponse) Reset()
func (*ListEnvironmentsResponse) String ¶
func (x *ListEnvironmentsResponse) String() string
type ListGeneratorsRequest ¶
type ListGeneratorsRequest struct { // Required. The project/location to list generators for. Format: // `projects/<Project ID>/locations/<Location ID>` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. Maximum number of conversation models to return in a single page. // Default to 10. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message of ListGenerators.
func (*ListGeneratorsRequest) Descriptor ¶
func (*ListGeneratorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGeneratorsRequest.ProtoReflect.Descriptor instead.
func (*ListGeneratorsRequest) GetPageSize ¶
func (x *ListGeneratorsRequest) GetPageSize() int32
func (*ListGeneratorsRequest) GetPageToken ¶
func (x *ListGeneratorsRequest) GetPageToken() string
func (*ListGeneratorsRequest) GetParent ¶
func (x *ListGeneratorsRequest) GetParent() string
func (*ListGeneratorsRequest) ProtoMessage ¶
func (*ListGeneratorsRequest) ProtoMessage()
func (*ListGeneratorsRequest) ProtoReflect ¶
func (x *ListGeneratorsRequest) ProtoReflect() protoreflect.Message
func (*ListGeneratorsRequest) Reset ¶
func (x *ListGeneratorsRequest) Reset()
func (*ListGeneratorsRequest) String ¶
func (x *ListGeneratorsRequest) String() string
type ListGeneratorsResponse ¶
type ListGeneratorsResponse struct { // List of generators retrieved. Generators []*Generator `protobuf:"bytes,1,rep,name=generators,proto3" json:"generators,omitempty"` // Token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response of ListGenerators.
func (*ListGeneratorsResponse) Descriptor ¶
func (*ListGeneratorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGeneratorsResponse.ProtoReflect.Descriptor instead.
func (*ListGeneratorsResponse) GetGenerators ¶
func (x *ListGeneratorsResponse) GetGenerators() []*Generator
func (*ListGeneratorsResponse) GetNextPageToken ¶
func (x *ListGeneratorsResponse) GetNextPageToken() string
func (*ListGeneratorsResponse) ProtoMessage ¶
func (*ListGeneratorsResponse) ProtoMessage()
func (*ListGeneratorsResponse) ProtoReflect ¶
func (x *ListGeneratorsResponse) ProtoReflect() protoreflect.Message
func (*ListGeneratorsResponse) Reset ¶
func (x *ListGeneratorsResponse) Reset()
func (*ListGeneratorsResponse) String ¶
func (x *ListGeneratorsResponse) String() string
type ListIntentsRequest ¶
type ListIntentsRequest struct { // Required. The agent to list all intents from. // Format: `projects/<Project ID>/agent` or `projects/<Project // ID>/locations/<Location ID>/agent`. // // Alternatively, you can specify the environment to list intents for. // Format: `projects/<Project ID>/agent/environments/<Environment ID>` // or `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>`. // Note: training phrases of the intents will not be returned for non-draft // environment. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The language used to access language-specific data. // If not specified, the agent's default language is used. // For more information, see // [Multilingual intent and entity // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Optional. The resource view to apply to the returned intent. IntentView IntentView `protobuf:"varint,3,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"` // Optional. The maximum number of items to return in a single page. By // default 100 and at most 1000. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents].
func (*ListIntentsRequest) Descriptor ¶
func (*ListIntentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIntentsRequest.ProtoReflect.Descriptor instead.
func (*ListIntentsRequest) GetIntentView ¶
func (x *ListIntentsRequest) GetIntentView() IntentView
func (*ListIntentsRequest) GetLanguageCode ¶
func (x *ListIntentsRequest) GetLanguageCode() string
func (*ListIntentsRequest) GetPageSize ¶
func (x *ListIntentsRequest) GetPageSize() int32
func (*ListIntentsRequest) GetPageToken ¶
func (x *ListIntentsRequest) GetPageToken() string
func (*ListIntentsRequest) GetParent ¶
func (x *ListIntentsRequest) GetParent() string
func (*ListIntentsRequest) ProtoMessage ¶
func (*ListIntentsRequest) ProtoMessage()
func (*ListIntentsRequest) ProtoReflect ¶
func (x *ListIntentsRequest) ProtoReflect() protoreflect.Message
func (*ListIntentsRequest) Reset ¶
func (x *ListIntentsRequest) Reset()
func (*ListIntentsRequest) String ¶
func (x *ListIntentsRequest) String() string
type ListIntentsResponse ¶
type ListIntentsResponse struct { // The list of agent intents. There will be a maximum number of items // returned based on the page_size field in the request. Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Intents.ListIntents][google.cloud.dialogflow.v2beta1.Intents.ListIntents].
func (*ListIntentsResponse) Descriptor ¶
func (*ListIntentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIntentsResponse.ProtoReflect.Descriptor instead.
func (*ListIntentsResponse) GetIntents ¶
func (x *ListIntentsResponse) GetIntents() []*Intent
func (*ListIntentsResponse) GetNextPageToken ¶
func (x *ListIntentsResponse) GetNextPageToken() string
func (*ListIntentsResponse) ProtoMessage ¶
func (*ListIntentsResponse) ProtoMessage()
func (*ListIntentsResponse) ProtoReflect ¶
func (x *ListIntentsResponse) ProtoReflect() protoreflect.Message
func (*ListIntentsResponse) Reset ¶
func (x *ListIntentsResponse) Reset()
func (*ListIntentsResponse) String ¶
func (x *ListIntentsResponse) String() string
type ListKnowledgeBasesRequest ¶
type ListKnowledgeBasesRequest struct { // Required. The project to list of knowledge bases for. // Format: `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return in a single page. By // default 10 and at most 100. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The filter expression used to filter knowledge bases returned by the list // method. The expression has the following syntax: // // <field> <operator> <value> [AND <field> <operator> <value>] ... // // The following fields and operators are supported: // // * display_name with has(:) operator // * language_code with equals(=) operator // // Examples: // // - 'language_code=en-us' matches knowledge bases with en-us language code. // - 'display_name:articles' matches knowledge bases whose display name // contains "articles". // - 'display_name:"Best Articles"' matches knowledge bases whose display // name contains "Best Articles". // - 'language_code=en-gb AND display_name=articles' matches all knowledge // bases whose display name contains "articles" and whose language code is // "en-gb". // // Note: An empty filter string (i.e. "") is a no-op and will result in no // filtering. // // For more information about filtering, see // [API Filtering](https://aip.dev/160). Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
Request message for [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases].
func (*ListKnowledgeBasesRequest) Descriptor ¶
func (*ListKnowledgeBasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListKnowledgeBasesRequest.ProtoReflect.Descriptor instead.
func (*ListKnowledgeBasesRequest) GetFilter ¶
func (x *ListKnowledgeBasesRequest) GetFilter() string
func (*ListKnowledgeBasesRequest) GetPageSize ¶
func (x *ListKnowledgeBasesRequest) GetPageSize() int32
func (*ListKnowledgeBasesRequest) GetPageToken ¶
func (x *ListKnowledgeBasesRequest) GetPageToken() string
func (*ListKnowledgeBasesRequest) GetParent ¶
func (x *ListKnowledgeBasesRequest) GetParent() string
func (*ListKnowledgeBasesRequest) ProtoMessage ¶
func (*ListKnowledgeBasesRequest) ProtoMessage()
func (*ListKnowledgeBasesRequest) ProtoReflect ¶
func (x *ListKnowledgeBasesRequest) ProtoReflect() protoreflect.Message
func (*ListKnowledgeBasesRequest) Reset ¶
func (x *ListKnowledgeBasesRequest) Reset()
func (*ListKnowledgeBasesRequest) String ¶
func (x *ListKnowledgeBasesRequest) String() string
type ListKnowledgeBasesResponse ¶
type ListKnowledgeBasesResponse struct { // The list of knowledge bases. KnowledgeBases []*KnowledgeBase `protobuf:"bytes,1,rep,name=knowledge_bases,json=knowledgeBases,proto3" json:"knowledge_bases,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for [KnowledgeBases.ListKnowledgeBases][google.cloud.dialogflow.v2beta1.KnowledgeBases.ListKnowledgeBases].
func (*ListKnowledgeBasesResponse) Descriptor ¶
func (*ListKnowledgeBasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListKnowledgeBasesResponse.ProtoReflect.Descriptor instead.
func (*ListKnowledgeBasesResponse) GetKnowledgeBases ¶
func (x *ListKnowledgeBasesResponse) GetKnowledgeBases() []*KnowledgeBase
func (*ListKnowledgeBasesResponse) GetNextPageToken ¶
func (x *ListKnowledgeBasesResponse) GetNextPageToken() string
func (*ListKnowledgeBasesResponse) ProtoMessage ¶
func (*ListKnowledgeBasesResponse) ProtoMessage()
func (*ListKnowledgeBasesResponse) ProtoReflect ¶
func (x *ListKnowledgeBasesResponse) ProtoReflect() protoreflect.Message
func (*ListKnowledgeBasesResponse) Reset ¶
func (x *ListKnowledgeBasesResponse) Reset()
func (*ListKnowledgeBasesResponse) String ¶
func (x *ListKnowledgeBasesResponse) String() string
type ListMessagesRequest ¶
type ListMessagesRequest struct { // Required. The name of the conversation to list messages for. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. Filter on message fields. Currently predicates on `create_time` // and `create_time_epoch_microseconds` are supported. `create_time` only // support milliseconds accuracy. E.g., // `create_time_epoch_microseconds > 1551790877964485` or // `create_time > "2017-01-15T01:30:15.01Z"`. // // For more information about filtering, see // [API Filtering](https://aip.dev/160). Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Optional. The maximum number of items to return in a single page. By // default 100 and at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages].
func (*ListMessagesRequest) Descriptor ¶
func (*ListMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMessagesRequest.ProtoReflect.Descriptor instead.
func (*ListMessagesRequest) GetFilter ¶
func (x *ListMessagesRequest) GetFilter() string
func (*ListMessagesRequest) GetPageSize ¶
func (x *ListMessagesRequest) GetPageSize() int32
func (*ListMessagesRequest) GetPageToken ¶
func (x *ListMessagesRequest) GetPageToken() string
func (*ListMessagesRequest) GetParent ¶
func (x *ListMessagesRequest) GetParent() string
func (*ListMessagesRequest) ProtoMessage ¶
func (*ListMessagesRequest) ProtoMessage()
func (*ListMessagesRequest) ProtoReflect ¶
func (x *ListMessagesRequest) ProtoReflect() protoreflect.Message
func (*ListMessagesRequest) Reset ¶
func (x *ListMessagesRequest) Reset()
func (*ListMessagesRequest) String ¶
func (x *ListMessagesRequest) String() string
type ListMessagesResponse ¶
type ListMessagesResponse struct { // Required. The list of messages. There will be a maximum number of items // returned based on the page_size field in the request. // `messages` is sorted by `create_time` in descending order. Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // Optional. Token to retrieve the next page of results, or empty if there are // no more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Conversations.ListMessages][google.cloud.dialogflow.v2beta1.Conversations.ListMessages].
func (*ListMessagesResponse) Descriptor ¶
func (*ListMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMessagesResponse.ProtoReflect.Descriptor instead.
func (*ListMessagesResponse) GetMessages ¶
func (x *ListMessagesResponse) GetMessages() []*Message
func (*ListMessagesResponse) GetNextPageToken ¶
func (x *ListMessagesResponse) GetNextPageToken() string
func (*ListMessagesResponse) ProtoMessage ¶
func (*ListMessagesResponse) ProtoMessage()
func (*ListMessagesResponse) ProtoReflect ¶
func (x *ListMessagesResponse) ProtoReflect() protoreflect.Message
func (*ListMessagesResponse) Reset ¶
func (x *ListMessagesResponse) Reset()
func (*ListMessagesResponse) String ¶
func (x *ListMessagesResponse) String() string
type ListParticipantsRequest ¶
type ListParticipantsRequest struct { // Required. The conversation to list all participants from. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of items to return in a single page. By // default 100 and at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Participants.ListParticipants][google.cloud.dialogflow.v2beta1.Participants.ListParticipants].
func (*ListParticipantsRequest) Descriptor ¶
func (*ListParticipantsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListParticipantsRequest.ProtoReflect.Descriptor instead.
func (*ListParticipantsRequest) GetPageSize ¶
func (x *ListParticipantsRequest) GetPageSize() int32
func (*ListParticipantsRequest) GetPageToken ¶
func (x *ListParticipantsRequest) GetPageToken() string
func (*ListParticipantsRequest) GetParent ¶
func (x *ListParticipantsRequest) GetParent() string
func (*ListParticipantsRequest) ProtoMessage ¶
func (*ListParticipantsRequest) ProtoMessage()
func (*ListParticipantsRequest) ProtoReflect ¶
func (x *ListParticipantsRequest) ProtoReflect() protoreflect.Message
func (*ListParticipantsRequest) Reset ¶
func (x *ListParticipantsRequest) Reset()
func (*ListParticipantsRequest) String ¶
func (x *ListParticipantsRequest) String() string
type ListParticipantsResponse ¶
type ListParticipantsResponse struct { // The list of participants. There is a maximum number of items // returned based on the page_size field in the request. Participants []*Participant `protobuf:"bytes,1,rep,name=participants,proto3" json:"participants,omitempty"` // Token to retrieve the next page of results or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Participants.ListParticipants][google.cloud.dialogflow.v2beta1.Participants.ListParticipants].
func (*ListParticipantsResponse) Descriptor ¶
func (*ListParticipantsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListParticipantsResponse.ProtoReflect.Descriptor instead.
func (*ListParticipantsResponse) GetNextPageToken ¶
func (x *ListParticipantsResponse) GetNextPageToken() string
func (*ListParticipantsResponse) GetParticipants ¶
func (x *ListParticipantsResponse) GetParticipants() []*Participant
func (*ListParticipantsResponse) ProtoMessage ¶
func (*ListParticipantsResponse) ProtoMessage()
func (*ListParticipantsResponse) ProtoReflect ¶
func (x *ListParticipantsResponse) ProtoReflect() protoreflect.Message
func (*ListParticipantsResponse) Reset ¶
func (x *ListParticipantsResponse) Reset()
func (*ListParticipantsResponse) String ¶
func (x *ListParticipantsResponse) String() string
type ListPhoneNumbersRequest ¶
type ListPhoneNumbersRequest struct { // Required. The project to list all `PhoneNumber` resources from. // Format: `projects/<Project ID>`. // Format: `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of items to return in a single page. // The default value is 100. The maximum value is 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Controls whether `PhoneNumber` resources in the // [DELETE_REQUESTED][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.DELETE_REQUESTED] // state should be returned. Defaults to false. ShowDeleted bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"` // contains filtered or unexported fields }
The request message for [PhoneNumbers.ListPhoneNumbers][google.cloud.dialogflow.v2beta1.PhoneNumbers.ListPhoneNumbers].
func (*ListPhoneNumbersRequest) Descriptor ¶
func (*ListPhoneNumbersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPhoneNumbersRequest.ProtoReflect.Descriptor instead.
func (*ListPhoneNumbersRequest) GetPageSize ¶
func (x *ListPhoneNumbersRequest) GetPageSize() int32
func (*ListPhoneNumbersRequest) GetPageToken ¶
func (x *ListPhoneNumbersRequest) GetPageToken() string
func (*ListPhoneNumbersRequest) GetParent ¶
func (x *ListPhoneNumbersRequest) GetParent() string
func (*ListPhoneNumbersRequest) GetShowDeleted ¶
func (x *ListPhoneNumbersRequest) GetShowDeleted() bool
func (*ListPhoneNumbersRequest) ProtoMessage ¶
func (*ListPhoneNumbersRequest) ProtoMessage()
func (*ListPhoneNumbersRequest) ProtoReflect ¶
func (x *ListPhoneNumbersRequest) ProtoReflect() protoreflect.Message
func (*ListPhoneNumbersRequest) Reset ¶
func (x *ListPhoneNumbersRequest) Reset()
func (*ListPhoneNumbersRequest) String ¶
func (x *ListPhoneNumbersRequest) String() string
type ListPhoneNumbersResponse ¶
type ListPhoneNumbersResponse struct { // The list of `PhoneNumber` resources. There is a maximum number of items // returned based on the page_size field in the request. PhoneNumbers []*PhoneNumber `protobuf:"bytes,1,rep,name=phone_numbers,json=phoneNumbers,proto3" json:"phone_numbers,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [PhoneNumbers.ListPhoneNumbers][google.cloud.dialogflow.v2beta1.PhoneNumbers.ListPhoneNumbers].
func (*ListPhoneNumbersResponse) Descriptor ¶
func (*ListPhoneNumbersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPhoneNumbersResponse.ProtoReflect.Descriptor instead.
func (*ListPhoneNumbersResponse) GetNextPageToken ¶
func (x *ListPhoneNumbersResponse) GetNextPageToken() string
func (*ListPhoneNumbersResponse) GetPhoneNumbers ¶
func (x *ListPhoneNumbersResponse) GetPhoneNumbers() []*PhoneNumber
func (*ListPhoneNumbersResponse) ProtoMessage ¶
func (*ListPhoneNumbersResponse) ProtoMessage()
func (*ListPhoneNumbersResponse) ProtoReflect ¶
func (x *ListPhoneNumbersResponse) ProtoReflect() protoreflect.Message
func (*ListPhoneNumbersResponse) Reset ¶
func (x *ListPhoneNumbersResponse) Reset()
func (*ListPhoneNumbersResponse) String ¶
func (x *ListPhoneNumbersResponse) String() string
type ListSessionEntityTypesRequest ¶
type ListSessionEntityTypesRequest struct { // Required. The session to list all session entity types from. // Supported formats: // - `projects/<Project ID>/agent/sessions/<Session ID>, // - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session // ID>`, // - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User // ID>/sessions/<Session ID>`, // - `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session // ID>`, // // If `Location ID` is not specified we assume default 'us' location. If // `Environment ID` is not specified, we assume default 'draft' environment. // If `User ID` is not specified, we assume default '-' user. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of items to return in a single page. By // default 100 and at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes].
func (*ListSessionEntityTypesRequest) Descriptor ¶
func (*ListSessionEntityTypesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionEntityTypesRequest.ProtoReflect.Descriptor instead.
func (*ListSessionEntityTypesRequest) GetPageSize ¶
func (x *ListSessionEntityTypesRequest) GetPageSize() int32
func (*ListSessionEntityTypesRequest) GetPageToken ¶
func (x *ListSessionEntityTypesRequest) GetPageToken() string
func (*ListSessionEntityTypesRequest) GetParent ¶
func (x *ListSessionEntityTypesRequest) GetParent() string
func (*ListSessionEntityTypesRequest) ProtoMessage ¶
func (*ListSessionEntityTypesRequest) ProtoMessage()
func (*ListSessionEntityTypesRequest) ProtoReflect ¶
func (x *ListSessionEntityTypesRequest) ProtoReflect() protoreflect.Message
func (*ListSessionEntityTypesRequest) Reset ¶
func (x *ListSessionEntityTypesRequest) Reset()
func (*ListSessionEntityTypesRequest) String ¶
func (x *ListSessionEntityTypesRequest) String() string
type ListSessionEntityTypesResponse ¶
type ListSessionEntityTypesResponse struct { // The list of session entity types. There will be a maximum number of items // returned based on the page_size field in the request. SessionEntityTypes []*SessionEntityType `protobuf:"bytes,1,rep,name=session_entity_types,json=sessionEntityTypes,proto3" json:"session_entity_types,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypes].
func (*ListSessionEntityTypesResponse) Descriptor ¶
func (*ListSessionEntityTypesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSessionEntityTypesResponse.ProtoReflect.Descriptor instead.
func (*ListSessionEntityTypesResponse) GetNextPageToken ¶
func (x *ListSessionEntityTypesResponse) GetNextPageToken() string
func (*ListSessionEntityTypesResponse) GetSessionEntityTypes ¶
func (x *ListSessionEntityTypesResponse) GetSessionEntityTypes() []*SessionEntityType
func (*ListSessionEntityTypesResponse) ProtoMessage ¶
func (*ListSessionEntityTypesResponse) ProtoMessage()
func (*ListSessionEntityTypesResponse) ProtoReflect ¶
func (x *ListSessionEntityTypesResponse) ProtoReflect() protoreflect.Message
func (*ListSessionEntityTypesResponse) Reset ¶
func (x *ListSessionEntityTypesResponse) Reset()
func (*ListSessionEntityTypesResponse) String ¶
func (x *ListSessionEntityTypesResponse) String() string
type ListSipTrunksRequest ¶
type ListSipTrunksRequest struct { // Required. The location to list SIP trunks from. // Format: `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of items to return in a single page. By // default 100 and at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [SipTrunks.ListSipTrunks][google.cloud.dialogflow.v2beta1.SipTrunks.ListSipTrunks].
func (*ListSipTrunksRequest) Descriptor ¶
func (*ListSipTrunksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSipTrunksRequest.ProtoReflect.Descriptor instead.
func (*ListSipTrunksRequest) GetPageSize ¶
func (x *ListSipTrunksRequest) GetPageSize() int32
func (*ListSipTrunksRequest) GetPageToken ¶
func (x *ListSipTrunksRequest) GetPageToken() string
func (*ListSipTrunksRequest) GetParent ¶
func (x *ListSipTrunksRequest) GetParent() string
func (*ListSipTrunksRequest) ProtoMessage ¶
func (*ListSipTrunksRequest) ProtoMessage()
func (*ListSipTrunksRequest) ProtoReflect ¶
func (x *ListSipTrunksRequest) ProtoReflect() protoreflect.Message
func (*ListSipTrunksRequest) Reset ¶
func (x *ListSipTrunksRequest) Reset()
func (*ListSipTrunksRequest) String ¶
func (x *ListSipTrunksRequest) String() string
type ListSipTrunksResponse ¶
type ListSipTrunksResponse struct { // The list of SIP trunks. SipTrunks []*SipTrunk `protobuf:"bytes,1,rep,name=sip_trunks,json=sipTrunks,proto3" json:"sip_trunks,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [SipTrunks.ListSipTrunks][google.cloud.dialogflow.v2beta1.SipTrunks.ListSipTrunks].
func (*ListSipTrunksResponse) Descriptor ¶
func (*ListSipTrunksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSipTrunksResponse.ProtoReflect.Descriptor instead.
func (*ListSipTrunksResponse) GetNextPageToken ¶
func (x *ListSipTrunksResponse) GetNextPageToken() string
func (*ListSipTrunksResponse) GetSipTrunks ¶
func (x *ListSipTrunksResponse) GetSipTrunks() []*SipTrunk
func (*ListSipTrunksResponse) ProtoMessage ¶
func (*ListSipTrunksResponse) ProtoMessage()
func (*ListSipTrunksResponse) ProtoReflect ¶
func (x *ListSipTrunksResponse) ProtoReflect() protoreflect.Message
func (*ListSipTrunksResponse) Reset ¶
func (x *ListSipTrunksResponse) Reset()
func (*ListSipTrunksResponse) String ¶
func (x *ListSipTrunksResponse) String() string
type ListSuggestionsRequest ¶
type ListSuggestionsRequest struct { // Required. The name of the participant to fetch suggestions for. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/participants/<Participant ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of items to return in a single page. The // default value is 100; the maximum value is 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Filter on suggestions fields. Currently predicates on // `create_time` and `create_time_epoch_microseconds` are supported. // `create_time` only support milliseconds accuracy. E.g., // `create_time_epoch_microseconds > 1551790877964485` or // `create_time > "2017-01-15T01:30:15.01Z"` // // For more information about filtering, see // [API Filtering](https://aip.dev/160). Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
The request message for [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions].
Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/participant.proto.
func (*ListSuggestionsRequest) Descriptor ¶
func (*ListSuggestionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSuggestionsRequest.ProtoReflect.Descriptor instead.
func (*ListSuggestionsRequest) GetFilter ¶
func (x *ListSuggestionsRequest) GetFilter() string
func (*ListSuggestionsRequest) GetPageSize ¶
func (x *ListSuggestionsRequest) GetPageSize() int32
func (*ListSuggestionsRequest) GetPageToken ¶
func (x *ListSuggestionsRequest) GetPageToken() string
func (*ListSuggestionsRequest) GetParent ¶
func (x *ListSuggestionsRequest) GetParent() string
func (*ListSuggestionsRequest) ProtoMessage ¶
func (*ListSuggestionsRequest) ProtoMessage()
func (*ListSuggestionsRequest) ProtoReflect ¶
func (x *ListSuggestionsRequest) ProtoReflect() protoreflect.Message
func (*ListSuggestionsRequest) Reset ¶
func (x *ListSuggestionsRequest) Reset()
func (*ListSuggestionsRequest) String ¶
func (x *ListSuggestionsRequest) String() string
type ListSuggestionsResponse ¶
type ListSuggestionsResponse struct { // Required. The list of suggestions. There will be a maximum number of items // returned based on the page_size field in the request. `suggestions` is // sorted by `create_time` in descending order. Suggestions []*Suggestion `protobuf:"bytes,1,rep,name=suggestions,proto3" json:"suggestions,omitempty"` // Optional. Token to retrieve the next page of results or empty if there are // no more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions].
Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/participant.proto.
func (*ListSuggestionsResponse) Descriptor ¶
func (*ListSuggestionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSuggestionsResponse.ProtoReflect.Descriptor instead.
func (*ListSuggestionsResponse) GetNextPageToken ¶
func (x *ListSuggestionsResponse) GetNextPageToken() string
func (*ListSuggestionsResponse) GetSuggestions ¶
func (x *ListSuggestionsResponse) GetSuggestions() []*Suggestion
func (*ListSuggestionsResponse) ProtoMessage ¶
func (*ListSuggestionsResponse) ProtoMessage()
func (*ListSuggestionsResponse) ProtoReflect ¶
func (x *ListSuggestionsResponse) ProtoReflect() protoreflect.Message
func (*ListSuggestionsResponse) Reset ¶
func (x *ListSuggestionsResponse) Reset()
func (*ListSuggestionsResponse) String ¶
func (x *ListSuggestionsResponse) String() string
type ListVersionsRequest ¶
type ListVersionsRequest struct { // Required. The agent to list all versions from. // Supported formats: // - `projects/<Project ID>/agent` // - `projects/<Project ID>/locations/<Location ID>/agent` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of items to return in a single page. By // default 100 and at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Versions.ListVersions][google.cloud.dialogflow.v2beta1.Versions.ListVersions].
func (*ListVersionsRequest) Descriptor ¶
func (*ListVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListVersionsRequest) GetPageSize ¶
func (x *ListVersionsRequest) GetPageSize() int32
func (*ListVersionsRequest) GetPageToken ¶
func (x *ListVersionsRequest) GetPageToken() string
func (*ListVersionsRequest) GetParent ¶
func (x *ListVersionsRequest) GetParent() string
func (*ListVersionsRequest) ProtoMessage ¶
func (*ListVersionsRequest) ProtoMessage()
func (*ListVersionsRequest) ProtoReflect ¶
func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message
func (*ListVersionsRequest) Reset ¶
func (x *ListVersionsRequest) Reset()
func (*ListVersionsRequest) String ¶
func (x *ListVersionsRequest) String() string
type ListVersionsResponse ¶
type ListVersionsResponse struct { // The list of agent versions. There will be a maximum number of items // returned based on the page_size field in the request. Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Versions.ListVersions][google.cloud.dialogflow.v2beta1.Versions.ListVersions].
func (*ListVersionsResponse) Descriptor ¶
func (*ListVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListVersionsResponse) GetNextPageToken ¶
func (x *ListVersionsResponse) GetNextPageToken() string
func (*ListVersionsResponse) GetVersions ¶
func (x *ListVersionsResponse) GetVersions() []*Version
func (*ListVersionsResponse) ProtoMessage ¶
func (*ListVersionsResponse) ProtoMessage()
func (*ListVersionsResponse) ProtoReflect ¶
func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message
func (*ListVersionsResponse) Reset ¶
func (x *ListVersionsResponse) Reset()
func (*ListVersionsResponse) String ¶
func (x *ListVersionsResponse) String() string
type LoggingConfig ¶
type LoggingConfig struct { // Whether to log conversation events like // [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] // to Stackdriver in the conversation project as JSON format // [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] // protos. EnableStackdriverLogging bool `protobuf:"varint,3,opt,name=enable_stackdriver_logging,json=enableStackdriverLogging,proto3" json:"enable_stackdriver_logging,omitempty"` // contains filtered or unexported fields }
Defines logging behavior for conversation lifecycle events.
func (*LoggingConfig) Descriptor ¶
func (*LoggingConfig) Descriptor() ([]byte, []int)
Deprecated: Use LoggingConfig.ProtoReflect.Descriptor instead.
func (*LoggingConfig) GetEnableStackdriverLogging ¶
func (x *LoggingConfig) GetEnableStackdriverLogging() bool
func (*LoggingConfig) ProtoMessage ¶
func (*LoggingConfig) ProtoMessage()
func (*LoggingConfig) ProtoReflect ¶
func (x *LoggingConfig) ProtoReflect() protoreflect.Message
func (*LoggingConfig) Reset ¶
func (x *LoggingConfig) Reset()
func (*LoggingConfig) String ¶
func (x *LoggingConfig) String() string
type Message ¶
type Message struct { // Optional. The unique identifier of the message. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/messages/<Message ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The message content. Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"` // Optional. Automated agent responses. ResponseMessages []*ResponseMessage `protobuf:"bytes,11,rep,name=response_messages,json=responseMessages,proto3" json:"response_messages,omitempty"` // Optional. The message language. // This should be a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) // language tag. Example: "en-US". LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Output only. The participant that sends this message. Participant string `protobuf:"bytes,4,opt,name=participant,proto3" json:"participant,omitempty"` // Output only. The role of the participant. ParticipantRole Participant_Role `protobuf:"varint,5,opt,name=participant_role,json=participantRole,proto3,enum=google.cloud.dialogflow.v2beta1.Participant_Role" json:"participant_role,omitempty"` // Output only. The time when the message was created in Contact Center AI. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Optional. The time when the message was sent. SendTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=send_time,json=sendTime,proto3" json:"send_time,omitempty"` // Output only. The annotation for the message. MessageAnnotation *MessageAnnotation `protobuf:"bytes,7,opt,name=message_annotation,json=messageAnnotation,proto3" json:"message_annotation,omitempty"` // Output only. The sentiment analysis result for the message. SentimentAnalysis *SentimentAnalysisResult `protobuf:"bytes,8,opt,name=sentiment_analysis,json=sentimentAnalysis,proto3" json:"sentiment_analysis,omitempty"` // contains filtered or unexported fields }
Represents a message posted into a conversation.
func (*Message) Descriptor ¶
Deprecated: Use Message.ProtoReflect.Descriptor instead.
func (*Message) GetContent ¶
func (*Message) GetCreateTime ¶
func (x *Message) GetCreateTime() *timestamppb.Timestamp
func (*Message) GetLanguageCode ¶
func (*Message) GetMessageAnnotation ¶
func (x *Message) GetMessageAnnotation() *MessageAnnotation
func (*Message) GetName ¶
func (*Message) GetParticipant ¶
func (*Message) GetParticipantRole ¶
func (x *Message) GetParticipantRole() Participant_Role
func (*Message) GetResponseMessages ¶
func (x *Message) GetResponseMessages() []*ResponseMessage
func (*Message) GetSendTime ¶
func (x *Message) GetSendTime() *timestamppb.Timestamp
func (*Message) GetSentimentAnalysis ¶
func (x *Message) GetSentimentAnalysis() *SentimentAnalysisResult
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
func (*Message) Reset ¶
func (x *Message) Reset()
func (*Message) String ¶
type MessageAnnotation ¶
type MessageAnnotation struct { // Optional. The collection of annotated message parts ordered by their // position in the message. You can recover the annotated message by // concatenating [AnnotatedMessagePart.text]. Parts []*AnnotatedMessagePart `protobuf:"bytes,1,rep,name=parts,proto3" json:"parts,omitempty"` // Required. Indicates whether the text message contains entities. ContainEntities bool `protobuf:"varint,2,opt,name=contain_entities,json=containEntities,proto3" json:"contain_entities,omitempty"` // contains filtered or unexported fields }
Represents the result of annotation for the message.
func (*MessageAnnotation) Descriptor ¶
func (*MessageAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use MessageAnnotation.ProtoReflect.Descriptor instead.
func (*MessageAnnotation) GetContainEntities ¶
func (x *MessageAnnotation) GetContainEntities() bool
func (*MessageAnnotation) GetParts ¶
func (x *MessageAnnotation) GetParts() []*AnnotatedMessagePart
func (*MessageAnnotation) ProtoMessage ¶
func (*MessageAnnotation) ProtoMessage()
func (*MessageAnnotation) ProtoReflect ¶
func (x *MessageAnnotation) ProtoReflect() protoreflect.Message
func (*MessageAnnotation) Reset ¶
func (x *MessageAnnotation) Reset()
func (*MessageAnnotation) String ¶
func (x *MessageAnnotation) String() string
type MessageEntry ¶
type MessageEntry struct { // Optional. Participant role of the message. Role MessageEntry_Role `protobuf:"varint,1,opt,name=role,proto3,enum=google.cloud.dialogflow.v2beta1.MessageEntry_Role" json:"role,omitempty"` // Optional. Transcript content of the message. Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // Optional. The language of the text. See [Language // Support](https://cloud.google.com/dialogflow/docs/reference/language) for a // list of the currently supported language codes. LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Optional. Create time of the message entry. CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // contains filtered or unexported fields }
Represents a message entry of a conversation.
func (*MessageEntry) Descriptor ¶
func (*MessageEntry) Descriptor() ([]byte, []int)
Deprecated: Use MessageEntry.ProtoReflect.Descriptor instead.
func (*MessageEntry) GetCreateTime ¶
func (x *MessageEntry) GetCreateTime() *timestamppb.Timestamp
func (*MessageEntry) GetLanguageCode ¶
func (x *MessageEntry) GetLanguageCode() string
func (*MessageEntry) GetRole ¶
func (x *MessageEntry) GetRole() MessageEntry_Role
func (*MessageEntry) GetText ¶
func (x *MessageEntry) GetText() string
func (*MessageEntry) ProtoMessage ¶
func (*MessageEntry) ProtoMessage()
func (*MessageEntry) ProtoReflect ¶
func (x *MessageEntry) ProtoReflect() protoreflect.Message
func (*MessageEntry) Reset ¶
func (x *MessageEntry) Reset()
func (*MessageEntry) String ¶
func (x *MessageEntry) String() string
type MessageEntry_Role ¶
type MessageEntry_Role int32
Enumeration of the roles a participant can play in a conversation.
const ( // Participant role not set. MessageEntry_ROLE_UNSPECIFIED MessageEntry_Role = 0 // Participant is a human agent. MessageEntry_HUMAN_AGENT MessageEntry_Role = 1 // Participant is an automated agent, such as a Dialogflow agent. MessageEntry_AUTOMATED_AGENT MessageEntry_Role = 2 // Participant is an end user that has called or chatted with // Dialogflow services. MessageEntry_END_USER MessageEntry_Role = 3 )
func (MessageEntry_Role) Descriptor ¶
func (MessageEntry_Role) Descriptor() protoreflect.EnumDescriptor
func (MessageEntry_Role) Enum ¶
func (x MessageEntry_Role) Enum() *MessageEntry_Role
func (MessageEntry_Role) EnumDescriptor ¶
func (MessageEntry_Role) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageEntry_Role.Descriptor instead.
func (MessageEntry_Role) Number ¶
func (x MessageEntry_Role) Number() protoreflect.EnumNumber
func (MessageEntry_Role) String ¶
func (x MessageEntry_Role) String() string
func (MessageEntry_Role) Type ¶
func (MessageEntry_Role) Type() protoreflect.EnumType
type NotificationConfig ¶
type NotificationConfig struct { // Name of the Pub/Sub topic to publish conversation // events like // [CONVERSATION_STARTED][google.cloud.dialogflow.v2beta1.ConversationEvent.Type.CONVERSATION_STARTED] // as serialized // [ConversationEvent][google.cloud.dialogflow.v2beta1.ConversationEvent] // protos. // // For telephony integration to receive notification, make sure either this // topic is in the same project as the conversation or you grant // `service-<Conversation Project // Number>@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow Service // Agent` role in the topic project. // // For chat integration to receive notification, make sure API caller has been // granted the `Dialogflow Service Agent` role for the topic. // // Format: `projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>`. Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` // Format of message. MessageFormat NotificationConfig_MessageFormat `protobuf:"varint,2,opt,name=message_format,json=messageFormat,proto3,enum=google.cloud.dialogflow.v2beta1.NotificationConfig_MessageFormat" json:"message_format,omitempty"` // contains filtered or unexported fields }
Defines notification behavior.
func (*NotificationConfig) Descriptor ¶
func (*NotificationConfig) Descriptor() ([]byte, []int)
Deprecated: Use NotificationConfig.ProtoReflect.Descriptor instead.
func (*NotificationConfig) GetMessageFormat ¶
func (x *NotificationConfig) GetMessageFormat() NotificationConfig_MessageFormat
func (*NotificationConfig) GetTopic ¶
func (x *NotificationConfig) GetTopic() string
func (*NotificationConfig) ProtoMessage ¶
func (*NotificationConfig) ProtoMessage()
func (*NotificationConfig) ProtoReflect ¶
func (x *NotificationConfig) ProtoReflect() protoreflect.Message
func (*NotificationConfig) Reset ¶
func (x *NotificationConfig) Reset()
func (*NotificationConfig) String ¶
func (x *NotificationConfig) String() string
type NotificationConfig_MessageFormat ¶
type NotificationConfig_MessageFormat int32
Format of cloud pub/sub message.
const ( // If it is unspecified, PROTO will be used. NotificationConfig_MESSAGE_FORMAT_UNSPECIFIED NotificationConfig_MessageFormat = 0 // Pub/Sub message will be serialized proto. NotificationConfig_PROTO NotificationConfig_MessageFormat = 1 // Pub/Sub message will be json. NotificationConfig_JSON NotificationConfig_MessageFormat = 2 )
func (NotificationConfig_MessageFormat) Descriptor ¶
func (NotificationConfig_MessageFormat) Descriptor() protoreflect.EnumDescriptor
func (NotificationConfig_MessageFormat) Enum ¶
func (x NotificationConfig_MessageFormat) Enum() *NotificationConfig_MessageFormat
func (NotificationConfig_MessageFormat) EnumDescriptor ¶
func (NotificationConfig_MessageFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotificationConfig_MessageFormat.Descriptor instead.
func (NotificationConfig_MessageFormat) Number ¶
func (x NotificationConfig_MessageFormat) Number() protoreflect.EnumNumber
func (NotificationConfig_MessageFormat) String ¶
func (x NotificationConfig_MessageFormat) String() string
func (NotificationConfig_MessageFormat) Type ¶
func (NotificationConfig_MessageFormat) Type() protoreflect.EnumType
type OriginalDetectIntentRequest ¶
type OriginalDetectIntentRequest struct { // The source of this request, e.g., `google`, `facebook`, `slack`. It is set // by Dialogflow-owned servers. Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // Optional. The version of the protocol used for this request. // This field is AoG-specific. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Optional. This field is set to the value of the `QueryParameters.payload` // field passed in the request. Some integrations that query a Dialogflow // agent may provide additional information in the payload. // // In particular, for the Dialogflow Phone Gateway integration, this field has // the form: // // <pre>{ // "telephony": { // "caller_id": "+18558363987" // } // }</pre> // // Note: The caller ID field (`caller_id`) will be redacted for Trial // Edition agents and populated with the caller ID in [E.164 // format](https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents. Payload *structpb.Struct `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
Represents the contents of the original request that was passed to the `[Streaming]DetectIntent` call.
func (*OriginalDetectIntentRequest) Descriptor ¶
func (*OriginalDetectIntentRequest) Descriptor() ([]byte, []int)
Deprecated: Use OriginalDetectIntentRequest.ProtoReflect.Descriptor instead.
func (*OriginalDetectIntentRequest) GetPayload ¶
func (x *OriginalDetectIntentRequest) GetPayload() *structpb.Struct
func (*OriginalDetectIntentRequest) GetSource ¶
func (x *OriginalDetectIntentRequest) GetSource() string
func (*OriginalDetectIntentRequest) GetVersion ¶
func (x *OriginalDetectIntentRequest) GetVersion() string
func (*OriginalDetectIntentRequest) ProtoMessage ¶
func (*OriginalDetectIntentRequest) ProtoMessage()
func (*OriginalDetectIntentRequest) ProtoReflect ¶
func (x *OriginalDetectIntentRequest) ProtoReflect() protoreflect.Message
func (*OriginalDetectIntentRequest) Reset ¶
func (x *OriginalDetectIntentRequest) Reset()
func (*OriginalDetectIntentRequest) String ¶
func (x *OriginalDetectIntentRequest) String() string
type OutputAudio ¶
type OutputAudio struct { // Required. Instructs the speech synthesizer how to generate the speech // audio. Config *OutputAudioConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // Required. The natural language speech audio. Audio []byte `protobuf:"bytes,2,opt,name=audio,proto3" json:"audio,omitempty"` // contains filtered or unexported fields }
Represents the natural language speech audio to be played to the end user.
func (*OutputAudio) Descriptor ¶
func (*OutputAudio) Descriptor() ([]byte, []int)
Deprecated: Use OutputAudio.ProtoReflect.Descriptor instead.
func (*OutputAudio) GetAudio ¶
func (x *OutputAudio) GetAudio() []byte
func (*OutputAudio) GetConfig ¶
func (x *OutputAudio) GetConfig() *OutputAudioConfig
func (*OutputAudio) ProtoMessage ¶
func (*OutputAudio) ProtoMessage()
func (*OutputAudio) ProtoReflect ¶
func (x *OutputAudio) ProtoReflect() protoreflect.Message
func (*OutputAudio) Reset ¶
func (x *OutputAudio) Reset()
func (*OutputAudio) String ¶
func (x *OutputAudio) String() string
type OutputAudioConfig ¶
type OutputAudioConfig struct { // Required. Audio encoding of the synthesized audio content. AudioEncoding OutputAudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.v2beta1.OutputAudioEncoding" json:"audio_encoding,omitempty"` // The synthesis sample rate (in hertz) for this audio. If not // provided, then the synthesizer will use the default sample rate based on // the audio encoding. If this is different from the voice's natural sample // rate, then the synthesizer will honor this request by converting to the // desired sample rate (which might result in worse audio quality). SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` // Configuration of how speech should be synthesized. SynthesizeSpeechConfig *SynthesizeSpeechConfig `protobuf:"bytes,3,opt,name=synthesize_speech_config,json=synthesizeSpeechConfig,proto3" json:"synthesize_speech_config,omitempty"` // contains filtered or unexported fields }
Instructs the speech synthesizer how to generate the output audio content. If this audio config is supplied in a request, it overrides all existing text-to-speech settings applied to the agent.
func (*OutputAudioConfig) Descriptor ¶
func (*OutputAudioConfig) Descriptor() ([]byte, []int)
Deprecated: Use OutputAudioConfig.ProtoReflect.Descriptor instead.
func (*OutputAudioConfig) GetAudioEncoding ¶
func (x *OutputAudioConfig) GetAudioEncoding() OutputAudioEncoding
func (*OutputAudioConfig) GetSampleRateHertz ¶
func (x *OutputAudioConfig) GetSampleRateHertz() int32
func (*OutputAudioConfig) GetSynthesizeSpeechConfig ¶
func (x *OutputAudioConfig) GetSynthesizeSpeechConfig() *SynthesizeSpeechConfig
func (*OutputAudioConfig) ProtoMessage ¶
func (*OutputAudioConfig) ProtoMessage()
func (*OutputAudioConfig) ProtoReflect ¶
func (x *OutputAudioConfig) ProtoReflect() protoreflect.Message
func (*OutputAudioConfig) Reset ¶
func (x *OutputAudioConfig) Reset()
func (*OutputAudioConfig) String ¶
func (x *OutputAudioConfig) String() string
type OutputAudioEncoding ¶
type OutputAudioEncoding int32
Audio encoding of the output audio format in Text-To-Speech.
const ( // Not specified. OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_UNSPECIFIED OutputAudioEncoding = 0 // Uncompressed 16-bit signed little-endian samples (Linear PCM). // Audio content returned as LINEAR16 also contains a WAV header. OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_LINEAR_16 OutputAudioEncoding = 1 // MP3 audio at 32kbps. OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3 OutputAudioEncoding = 2 // MP3 audio at 64kbps. OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3_64_KBPS OutputAudioEncoding = 4 // Opus encoded audio wrapped in an ogg container. The result will be a // file which can be played natively on Android, and in browsers (at least // Chrome and Firefox). The quality of the encoding is considerably higher // than MP3 while using approximately the same bitrate. OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_OGG_OPUS OutputAudioEncoding = 3 // 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MULAW OutputAudioEncoding = 5 // 8-bit samples that compand 13-bit audio samples using G.711 PCMU/a-law. OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_ALAW OutputAudioEncoding = 6 )
func (OutputAudioEncoding) Descriptor ¶
func (OutputAudioEncoding) Descriptor() protoreflect.EnumDescriptor
func (OutputAudioEncoding) Enum ¶
func (x OutputAudioEncoding) Enum() *OutputAudioEncoding
func (OutputAudioEncoding) EnumDescriptor ¶
func (OutputAudioEncoding) EnumDescriptor() ([]byte, []int)
Deprecated: Use OutputAudioEncoding.Descriptor instead.
func (OutputAudioEncoding) Number ¶
func (x OutputAudioEncoding) Number() protoreflect.EnumNumber
func (OutputAudioEncoding) String ¶
func (x OutputAudioEncoding) String() string
func (OutputAudioEncoding) Type ¶
func (OutputAudioEncoding) Type() protoreflect.EnumType
type Participant ¶
type Participant struct { // Optional. The unique identifier of this participant. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/participants/<Participant ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Immutable. The role this participant plays in the conversation. This field // must be set during participant creation and is then immutable. Role Participant_Role `protobuf:"varint,2,opt,name=role,proto3,enum=google.cloud.dialogflow.v2beta1.Participant_Role" json:"role,omitempty"` // Optional. Obfuscated user id that should be associated with the created // participant. // // You can specify a user id as follows: // // 1. If you set this field in // [CreateParticipantRequest][google.cloud.dialogflow.v2beta1.CreateParticipantRequest.participant] // or // [UpdateParticipantRequest][google.cloud.dialogflow.v2beta1.UpdateParticipantRequest.participant], // Dialogflow adds the obfuscated user id with the participant. // // 2. If you set this field in // [AnalyzeContent][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest.obfuscated_external_user_id] // or // [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.obfuscated_external_user_id], // Dialogflow will update // [Participant.obfuscated_external_user_id][google.cloud.dialogflow.v2beta1.Participant.obfuscated_external_user_id]. // // Dialogflow uses this user id for billing and measurement. If a user with // the same obfuscated_external_user_id is created in a later conversation, // Dialogflow will know it's the same user. // // Dialogflow also uses this user id for Agent Assist suggestion // personalization. For example, Dialogflow can use it to provide personalized // smart reply suggestions for this user. // // Note: // // - Please never pass raw user ids to Dialogflow. Always obfuscate your user // id first. // - Dialogflow only accepts a UTF-8 encoded string, e.g., a hex digest of a // hash function like SHA-512. // - The length of the user id must be <= 256 characters. ObfuscatedExternalUserId string `protobuf:"bytes,7,opt,name=obfuscated_external_user_id,json=obfuscatedExternalUserId,proto3" json:"obfuscated_external_user_id,omitempty"` // Optional. Key-value filters on the metadata of documents returned by // article suggestion. If specified, article suggestion only returns suggested // documents that match all filters in their // [Document.metadata][google.cloud.dialogflow.v2beta1.Document.metadata]. // Multiple values for a metadata key should be concatenated by comma. For // example, filters to match all documents that have 'US' or 'CA' in their // market metadata values and 'agent' in their user metadata values will be // ``` // // documents_metadata_filters { // key: "market" // value: "US,CA" // } // // documents_metadata_filters { // key: "user" // value: "agent" // } // // ``` DocumentsMetadataFilters map[string]string `protobuf:"bytes,8,rep,name=documents_metadata_filters,json=documentsMetadataFilters,proto3" json:"documents_metadata_filters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
Represents a conversation participant (human agent, virtual agent, end-user).
func (*Participant) Descriptor ¶
func (*Participant) Descriptor() ([]byte, []int)
Deprecated: Use Participant.ProtoReflect.Descriptor instead.
func (*Participant) GetDocumentsMetadataFilters ¶
func (x *Participant) GetDocumentsMetadataFilters() map[string]string
func (*Participant) GetName ¶
func (x *Participant) GetName() string
func (*Participant) GetObfuscatedExternalUserId ¶
func (x *Participant) GetObfuscatedExternalUserId() string
func (*Participant) GetRole ¶
func (x *Participant) GetRole() Participant_Role
func (*Participant) ProtoMessage ¶
func (*Participant) ProtoMessage()
func (*Participant) ProtoReflect ¶
func (x *Participant) ProtoReflect() protoreflect.Message
func (*Participant) Reset ¶
func (x *Participant) Reset()
func (*Participant) String ¶
func (x *Participant) String() string
type Participant_Role ¶
type Participant_Role int32
Enumeration of the roles a participant can play in a conversation.
const ( // Participant role not set. Participant_ROLE_UNSPECIFIED Participant_Role = 0 // Participant is a human agent. Participant_HUMAN_AGENT Participant_Role = 1 // Participant is an automated agent, such as a Dialogflow agent. Participant_AUTOMATED_AGENT Participant_Role = 2 // Participant is an end user that has called or chatted with // Dialogflow services. Participant_END_USER Participant_Role = 3 )
func (Participant_Role) Descriptor ¶
func (Participant_Role) Descriptor() protoreflect.EnumDescriptor
func (Participant_Role) Enum ¶
func (x Participant_Role) Enum() *Participant_Role
func (Participant_Role) EnumDescriptor ¶
func (Participant_Role) EnumDescriptor() ([]byte, []int)
Deprecated: Use Participant_Role.Descriptor instead.
func (Participant_Role) Number ¶
func (x Participant_Role) Number() protoreflect.EnumNumber
func (Participant_Role) String ¶
func (x Participant_Role) String() string
func (Participant_Role) Type ¶
func (Participant_Role) Type() protoreflect.EnumType
type ParticipantsClient ¶
type ParticipantsClient interface { // Creates a new participant in a conversation. CreateParticipant(ctx context.Context, in *CreateParticipantRequest, opts ...grpc.CallOption) (*Participant, error) // Retrieves a conversation participant. GetParticipant(ctx context.Context, in *GetParticipantRequest, opts ...grpc.CallOption) (*Participant, error) // Returns the list of all participants in the specified conversation. ListParticipants(ctx context.Context, in *ListParticipantsRequest, opts ...grpc.CallOption) (*ListParticipantsResponse, error) // Updates the specified participant. UpdateParticipant(ctx context.Context, in *UpdateParticipantRequest, opts ...grpc.CallOption) (*Participant, error) // Adds a text (chat, for example), or audio (phone recording, for example) // message from a participant into the conversation. // // Note: Always use agent versions for production traffic // sent to virtual agents. See [Versions and // environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). AnalyzeContent(ctx context.Context, in *AnalyzeContentRequest, opts ...grpc.CallOption) (*AnalyzeContentResponse, error) // Adds a text (e.g., chat) or audio (e.g., phone recording) message from a // participant into the conversation. // Note: This method is only available through the gRPC API (not REST). // // The top-level message sent to the client by the server is // `StreamingAnalyzeContentResponse`. Multiple response messages can be // returned in order. The first one or more messages contain the // `recognition_result` field. Each result represents a more complete // transcript of what the user said. The next message contains the // `reply_text` field, and potentially the `reply_audio` and/or the // `automated_agent_reply` fields. // // Note: Always use agent versions for production traffic // sent to virtual agents. See [Versions and // environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). StreamingAnalyzeContent(ctx context.Context, opts ...grpc.CallOption) (Participants_StreamingAnalyzeContentClient, error) // Gets suggested articles for a participant based on specific historical // messages. // // Note that // [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] // will only list the auto-generated suggestions, while // [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] // will try to compile suggestion based on the provided conversation context // in the real time. SuggestArticles(ctx context.Context, in *SuggestArticlesRequest, opts ...grpc.CallOption) (*SuggestArticlesResponse, error) // Gets suggested faq answers for a participant based on specific historical // messages. SuggestFaqAnswers(ctx context.Context, in *SuggestFaqAnswersRequest, opts ...grpc.CallOption) (*SuggestFaqAnswersResponse, error) // Gets smart replies for a participant based on specific historical // messages. SuggestSmartReplies(ctx context.Context, in *SuggestSmartRepliesRequest, opts ...grpc.CallOption) (*SuggestSmartRepliesResponse, error) // Gets knowledge assist suggestions based on historical messages. SuggestKnowledgeAssist(ctx context.Context, in *SuggestKnowledgeAssistRequest, opts ...grpc.CallOption) (*SuggestKnowledgeAssistResponse, error) // Deprecated: Do not use. // Deprecated: Use inline suggestion, event based suggestion or // Suggestion* API instead. // See // [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] // for more details. Removal Date: 2020-09-01. // // Retrieves suggestions for live agents. // // This method should be used by human agent client software to fetch auto // generated suggestions in real-time, while the conversation with an end user // is in progress. The functionality is implemented in terms of the // [list // pagination](https://cloud.google.com/apis/design/design_patterns#list_pagination) // design pattern. The client app should use the `next_page_token` field // to fetch the next batch of suggestions. `suggestions` are sorted by // `create_time` in descending order. // To fetch latest suggestion, just set `page_size` to 1. // To fetch new suggestions without duplication, send request with filter // `create_time_epoch_microseconds > [first item's create_time of previous // request]` and empty page_token. ListSuggestions(ctx context.Context, in *ListSuggestionsRequest, opts ...grpc.CallOption) (*ListSuggestionsResponse, error) // Deprecated: Do not use. // Deprecated. use // [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles] // and // [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers] // instead. // // Gets suggestions for a participant based on specific historical // messages. // // Note that // [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] // will only list the auto-generated suggestions, while // [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] // will try to compile suggestion based on the provided conversation context // in the real time. CompileSuggestion(ctx context.Context, in *CompileSuggestionRequest, opts ...grpc.CallOption) (*CompileSuggestionResponse, error) }
ParticipantsClient is the client API for Participants service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewParticipantsClient ¶
func NewParticipantsClient(cc grpc.ClientConnInterface) ParticipantsClient
type ParticipantsServer ¶
type ParticipantsServer interface { // Creates a new participant in a conversation. CreateParticipant(context.Context, *CreateParticipantRequest) (*Participant, error) // Retrieves a conversation participant. GetParticipant(context.Context, *GetParticipantRequest) (*Participant, error) // Returns the list of all participants in the specified conversation. ListParticipants(context.Context, *ListParticipantsRequest) (*ListParticipantsResponse, error) // Updates the specified participant. UpdateParticipant(context.Context, *UpdateParticipantRequest) (*Participant, error) // Adds a text (chat, for example), or audio (phone recording, for example) // message from a participant into the conversation. // // Note: Always use agent versions for production traffic // sent to virtual agents. See [Versions and // environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). AnalyzeContent(context.Context, *AnalyzeContentRequest) (*AnalyzeContentResponse, error) // Adds a text (e.g., chat) or audio (e.g., phone recording) message from a // participant into the conversation. // Note: This method is only available through the gRPC API (not REST). // // The top-level message sent to the client by the server is // `StreamingAnalyzeContentResponse`. Multiple response messages can be // returned in order. The first one or more messages contain the // `recognition_result` field. Each result represents a more complete // transcript of what the user said. The next message contains the // `reply_text` field, and potentially the `reply_audio` and/or the // `automated_agent_reply` fields. // // Note: Always use agent versions for production traffic // sent to virtual agents. See [Versions and // environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). StreamingAnalyzeContent(Participants_StreamingAnalyzeContentServer) error // Gets suggested articles for a participant based on specific historical // messages. // // Note that // [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] // will only list the auto-generated suggestions, while // [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] // will try to compile suggestion based on the provided conversation context // in the real time. SuggestArticles(context.Context, *SuggestArticlesRequest) (*SuggestArticlesResponse, error) // Gets suggested faq answers for a participant based on specific historical // messages. SuggestFaqAnswers(context.Context, *SuggestFaqAnswersRequest) (*SuggestFaqAnswersResponse, error) // Gets smart replies for a participant based on specific historical // messages. SuggestSmartReplies(context.Context, *SuggestSmartRepliesRequest) (*SuggestSmartRepliesResponse, error) // Gets knowledge assist suggestions based on historical messages. SuggestKnowledgeAssist(context.Context, *SuggestKnowledgeAssistRequest) (*SuggestKnowledgeAssistResponse, error) // Deprecated: Do not use. // Deprecated: Use inline suggestion, event based suggestion or // Suggestion* API instead. // See // [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] // for more details. Removal Date: 2020-09-01. // // Retrieves suggestions for live agents. // // This method should be used by human agent client software to fetch auto // generated suggestions in real-time, while the conversation with an end user // is in progress. The functionality is implemented in terms of the // [list // pagination](https://cloud.google.com/apis/design/design_patterns#list_pagination) // design pattern. The client app should use the `next_page_token` field // to fetch the next batch of suggestions. `suggestions` are sorted by // `create_time` in descending order. // To fetch latest suggestion, just set `page_size` to 1. // To fetch new suggestions without duplication, send request with filter // `create_time_epoch_microseconds > [first item's create_time of previous // request]` and empty page_token. ListSuggestions(context.Context, *ListSuggestionsRequest) (*ListSuggestionsResponse, error) // Deprecated: Do not use. // Deprecated. use // [SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles] // and // [SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers] // instead. // // Gets suggestions for a participant based on specific historical // messages. // // Note that // [ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] // will only list the auto-generated suggestions, while // [CompileSuggestion][google.cloud.dialogflow.v2beta1.Participants.CompileSuggestion] // will try to compile suggestion based on the provided conversation context // in the real time. CompileSuggestion(context.Context, *CompileSuggestionRequest) (*CompileSuggestionResponse, error) }
ParticipantsServer is the server API for Participants service.
type Participants_StreamingAnalyzeContentClient ¶
type Participants_StreamingAnalyzeContentClient interface { Send(*StreamingAnalyzeContentRequest) error Recv() (*StreamingAnalyzeContentResponse, error) grpc.ClientStream }
type Participants_StreamingAnalyzeContentServer ¶
type Participants_StreamingAnalyzeContentServer interface { Send(*StreamingAnalyzeContentResponse) error Recv() (*StreamingAnalyzeContentRequest, error) grpc.ServerStream }
type PhoneNumber ¶
type PhoneNumber struct { // Optional. The unique identifier of this phone number. // Required for // [PhoneNumbers.UpdatePhoneNumber][google.cloud.dialogflow.v2beta1.PhoneNumbers.UpdatePhoneNumber] // method. Format: `projects/<Project ID>/phoneNumbers/<PhoneNumber ID>`. // Format: `projects/<Project ID>/locations/<Location // ID>/phoneNumbers/<PhoneNumber ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Phone number in [E.164](https://en.wikipedia.org/wiki/E.164) // format. An example of a correctly formatted phone number: +15556767888. PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // Optional. The conversation profile calls to this `PhoneNumber` should use. // The project ID here should be the same as the one in // [name][google.cloud.dialogflow.v2beta1.PhoneNumber.name]. // Format: `projects/<Project ID>/conversationProfiles/<ConversationProfile // ID>`. // Format: `projects/<Project ID>/locations/<Location // ID>/conversationProfiles/<ConversationProfile ID>`. ConversationProfile string `protobuf:"bytes,3,opt,name=conversation_profile,json=conversationProfile,proto3" json:"conversation_profile,omitempty"` // Output only. The state of the `PhoneNumber`. Defaults to `ACTIVE`. // `PhoneNumber` objects set to `DELETE_REQUESTED` always decline incoming // calls and can be removed completely within 30 days. LifecycleState PhoneNumber_LifecycleState `protobuf:"varint,4,opt,name=lifecycle_state,json=lifecycleState,proto3,enum=google.cloud.dialogflow.v2beta1.PhoneNumber_LifecycleState" json:"lifecycle_state,omitempty"` // contains filtered or unexported fields }
Represents a phone number. `PhoneNumber` resources enable phone calls to be answered by Dialogflow services and are added to a project through a [PhoneNumberOrder][google.cloud.dialogflow.v2beta1.PhoneNumberOrder].
func (*PhoneNumber) Descriptor ¶
func (*PhoneNumber) Descriptor() ([]byte, []int)
Deprecated: Use PhoneNumber.ProtoReflect.Descriptor instead.
func (*PhoneNumber) GetConversationProfile ¶
func (x *PhoneNumber) GetConversationProfile() string
func (*PhoneNumber) GetLifecycleState ¶
func (x *PhoneNumber) GetLifecycleState() PhoneNumber_LifecycleState
func (*PhoneNumber) GetName ¶
func (x *PhoneNumber) GetName() string
func (*PhoneNumber) GetPhoneNumber ¶
func (x *PhoneNumber) GetPhoneNumber() string
func (*PhoneNumber) ProtoMessage ¶
func (*PhoneNumber) ProtoMessage()
func (*PhoneNumber) ProtoReflect ¶
func (x *PhoneNumber) ProtoReflect() protoreflect.Message
func (*PhoneNumber) Reset ¶
func (x *PhoneNumber) Reset()
func (*PhoneNumber) String ¶
func (x *PhoneNumber) String() string
type PhoneNumber_LifecycleState ¶
type PhoneNumber_LifecycleState int32
The states that a `PhoneNumber` can be in.
const ( // This value is never used. PhoneNumber_LIFECYCLE_STATE_UNSPECIFIED PhoneNumber_LifecycleState = 0 // Number is active and can receive phone calls. PhoneNumber_ACTIVE PhoneNumber_LifecycleState = 1 // Number is pending deletion, and cannot receive calls. PhoneNumber_DELETE_REQUESTED PhoneNumber_LifecycleState = 2 )
func (PhoneNumber_LifecycleState) Descriptor ¶
func (PhoneNumber_LifecycleState) Descriptor() protoreflect.EnumDescriptor
func (PhoneNumber_LifecycleState) Enum ¶
func (x PhoneNumber_LifecycleState) Enum() *PhoneNumber_LifecycleState
func (PhoneNumber_LifecycleState) EnumDescriptor ¶
func (PhoneNumber_LifecycleState) EnumDescriptor() ([]byte, []int)
Deprecated: Use PhoneNumber_LifecycleState.Descriptor instead.
func (PhoneNumber_LifecycleState) Number ¶
func (x PhoneNumber_LifecycleState) Number() protoreflect.EnumNumber
func (PhoneNumber_LifecycleState) String ¶
func (x PhoneNumber_LifecycleState) String() string
func (PhoneNumber_LifecycleState) Type ¶
func (PhoneNumber_LifecycleState) Type() protoreflect.EnumType
type PhoneNumbersClient ¶
type PhoneNumbersClient interface { // Returns the list of all phone numbers in the specified project. ListPhoneNumbers(ctx context.Context, in *ListPhoneNumbersRequest, opts ...grpc.CallOption) (*ListPhoneNumbersResponse, error) // Updates the specified `PhoneNumber`. UpdatePhoneNumber(ctx context.Context, in *UpdatePhoneNumberRequest, opts ...grpc.CallOption) (*PhoneNumber, error) // Requests deletion of a `PhoneNumber`. The `PhoneNumber` is moved into the // [DELETE_REQUESTED][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.DELETE_REQUESTED] // state immediately, and is deleted approximately 30 days later. This method // may only be called on a `PhoneNumber` in the // [ACTIVE][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.ACTIVE] // state. DeletePhoneNumber(ctx context.Context, in *DeletePhoneNumberRequest, opts ...grpc.CallOption) (*PhoneNumber, error) // Cancels the deletion request for a `PhoneNumber`. This method may only be // called on a `PhoneNumber` in the // [DELETE_REQUESTED][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.DELETE_REQUESTED] // state. UndeletePhoneNumber(ctx context.Context, in *UndeletePhoneNumberRequest, opts ...grpc.CallOption) (*PhoneNumber, error) }
PhoneNumbersClient is the client API for PhoneNumbers service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPhoneNumbersClient ¶
func NewPhoneNumbersClient(cc grpc.ClientConnInterface) PhoneNumbersClient
type PhoneNumbersServer ¶
type PhoneNumbersServer interface { // Returns the list of all phone numbers in the specified project. ListPhoneNumbers(context.Context, *ListPhoneNumbersRequest) (*ListPhoneNumbersResponse, error) // Updates the specified `PhoneNumber`. UpdatePhoneNumber(context.Context, *UpdatePhoneNumberRequest) (*PhoneNumber, error) // Requests deletion of a `PhoneNumber`. The `PhoneNumber` is moved into the // [DELETE_REQUESTED][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.DELETE_REQUESTED] // state immediately, and is deleted approximately 30 days later. This method // may only be called on a `PhoneNumber` in the // [ACTIVE][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.ACTIVE] // state. DeletePhoneNumber(context.Context, *DeletePhoneNumberRequest) (*PhoneNumber, error) // Cancels the deletion request for a `PhoneNumber`. This method may only be // called on a `PhoneNumber` in the // [DELETE_REQUESTED][google.cloud.dialogflow.v2beta1.PhoneNumber.LifecycleState.DELETE_REQUESTED] // state. UndeletePhoneNumber(context.Context, *UndeletePhoneNumberRequest) (*PhoneNumber, error) }
PhoneNumbersServer is the server API for PhoneNumbers service.
type QueryInput ¶
type QueryInput struct { // Required. The input specification. // // Types that are assignable to Input: // // *QueryInput_AudioConfig // *QueryInput_Text // *QueryInput_Event // *QueryInput_Dtmf Input isQueryInput_Input `protobuf_oneof:"input"` // contains filtered or unexported fields }
Represents the query input. It can contain either:
1. An audio config which instructs the speech recognizer how to process the speech audio.
2. A conversational query in the form of text.
3. An event that specifies which intent to trigger.
func (*QueryInput) Descriptor ¶
func (*QueryInput) Descriptor() ([]byte, []int)
Deprecated: Use QueryInput.ProtoReflect.Descriptor instead.
func (*QueryInput) GetAudioConfig ¶
func (x *QueryInput) GetAudioConfig() *InputAudioConfig
func (*QueryInput) GetDtmf ¶
func (x *QueryInput) GetDtmf() *TelephonyDtmfEvents
func (*QueryInput) GetEvent ¶
func (x *QueryInput) GetEvent() *EventInput
func (*QueryInput) GetInput ¶
func (m *QueryInput) GetInput() isQueryInput_Input
func (*QueryInput) GetText ¶
func (x *QueryInput) GetText() *TextInput
func (*QueryInput) ProtoMessage ¶
func (*QueryInput) ProtoMessage()
func (*QueryInput) ProtoReflect ¶
func (x *QueryInput) ProtoReflect() protoreflect.Message
func (*QueryInput) Reset ¶
func (x *QueryInput) Reset()
func (*QueryInput) String ¶
func (x *QueryInput) String() string
type QueryInput_AudioConfig ¶
type QueryInput_AudioConfig struct { // Instructs the speech recognizer how to process the speech audio. AudioConfig *InputAudioConfig `protobuf:"bytes,1,opt,name=audio_config,json=audioConfig,proto3,oneof"` }
type QueryInput_Dtmf ¶
type QueryInput_Dtmf struct { // The DTMF digits used to invoke intent and fill in parameter value. Dtmf *TelephonyDtmfEvents `protobuf:"bytes,4,opt,name=dtmf,proto3,oneof"` }
type QueryInput_Event ¶
type QueryInput_Event struct { // The event to be processed. Event *EventInput `protobuf:"bytes,3,opt,name=event,proto3,oneof"` }
type QueryInput_Text ¶
type QueryInput_Text struct { // The natural language text to be processed. Text *TextInput `protobuf:"bytes,2,opt,name=text,proto3,oneof"` }
type QueryParameters ¶
type QueryParameters struct { // The time zone of this conversational query from the // [time zone database](https://www.iana.org/time-zones), e.g., // America/New_York, Europe/Paris. If not provided, the time zone specified in // agent settings is used. TimeZone string `protobuf:"bytes,1,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` // The geo location of this conversational query. GeoLocation *latlng.LatLng `protobuf:"bytes,2,opt,name=geo_location,json=geoLocation,proto3" json:"geo_location,omitempty"` // The collection of contexts to be activated before this query is // executed. Contexts []*Context `protobuf:"bytes,3,rep,name=contexts,proto3" json:"contexts,omitempty"` // Specifies whether to delete all contexts in the current session // before the new ones are activated. ResetContexts bool `protobuf:"varint,4,opt,name=reset_contexts,json=resetContexts,proto3" json:"reset_contexts,omitempty"` // Additional session entity types to replace or extend developer // entity types with. The entity synonyms apply to all languages and persist // for the session of this query. SessionEntityTypes []*SessionEntityType `protobuf:"bytes,5,rep,name=session_entity_types,json=sessionEntityTypes,proto3" json:"session_entity_types,omitempty"` // This field can be used to pass custom data to your webhook. // Arbitrary JSON objects are supported. // If supplied, the value is used to populate the // `WebhookRequest.original_detect_intent_request.payload` // field sent to your webhook. Payload *structpb.Struct `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"` // KnowledgeBases to get alternative results from. If not set, the // KnowledgeBases enabled in the agent (through UI) will be used. // Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`. KnowledgeBaseNames []string `protobuf:"bytes,12,rep,name=knowledge_base_names,json=knowledgeBaseNames,proto3" json:"knowledge_base_names,omitempty"` // Configures the type of sentiment analysis to perform. If not // provided, sentiment analysis is not performed. // Note: Sentiment Analysis is only currently available for Essentials Edition // agents. SentimentAnalysisRequestConfig *SentimentAnalysisRequestConfig `protobuf:"bytes,10,opt,name=sentiment_analysis_request_config,json=sentimentAnalysisRequestConfig,proto3" json:"sentiment_analysis_request_config,omitempty"` // For mega agent query, directly specify which sub agents to query. // If any specified sub agent is not linked to the mega agent, an error will // be returned. If empty, Dialogflow will decide which sub agents to query. // If specified for a non-mega-agent query, will be silently ignored. SubAgents []*SubAgent `protobuf:"bytes,13,rep,name=sub_agents,json=subAgents,proto3" json:"sub_agents,omitempty"` // This field can be used to pass HTTP headers for a webhook // call. These headers will be sent to webhook along with the headers that // have been configured through Dialogflow web console. The headers defined // within this field will overwrite the headers configured through Dialogflow // console if there is a conflict. Header names are case-insensitive. // Google's specified headers are not allowed. Including: "Host", // "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding", // "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc. WebhookHeaders map[string]string `protobuf:"bytes,14,rep,name=webhook_headers,json=webhookHeaders,proto3" json:"webhook_headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The platform of the virtual agent response messages. // // If not empty, only emits messages from this platform in the response. // Valid values are the enum names of // [platform][google.cloud.dialogflow.v2beta1.Intent.Message.platform]. Platform string `protobuf:"bytes,18,opt,name=platform,proto3" json:"platform,omitempty"` // contains filtered or unexported fields }
Represents the parameters of the conversational query.
func (*QueryParameters) Descriptor ¶
func (*QueryParameters) Descriptor() ([]byte, []int)
Deprecated: Use QueryParameters.ProtoReflect.Descriptor instead.
func (*QueryParameters) GetContexts ¶
func (x *QueryParameters) GetContexts() []*Context
func (*QueryParameters) GetGeoLocation ¶
func (x *QueryParameters) GetGeoLocation() *latlng.LatLng
func (*QueryParameters) GetKnowledgeBaseNames ¶
func (x *QueryParameters) GetKnowledgeBaseNames() []string
func (*QueryParameters) GetPayload ¶
func (x *QueryParameters) GetPayload() *structpb.Struct
func (*QueryParameters) GetPlatform ¶
func (x *QueryParameters) GetPlatform() string
func (*QueryParameters) GetResetContexts ¶
func (x *QueryParameters) GetResetContexts() bool
func (*QueryParameters) GetSentimentAnalysisRequestConfig ¶
func (x *QueryParameters) GetSentimentAnalysisRequestConfig() *SentimentAnalysisRequestConfig
func (*QueryParameters) GetSessionEntityTypes ¶
func (x *QueryParameters) GetSessionEntityTypes() []*SessionEntityType
func (*QueryParameters) GetSubAgents ¶
func (x *QueryParameters) GetSubAgents() []*SubAgent
func (*QueryParameters) GetTimeZone ¶
func (x *QueryParameters) GetTimeZone() string
func (*QueryParameters) GetWebhookHeaders ¶
func (x *QueryParameters) GetWebhookHeaders() map[string]string
func (*QueryParameters) ProtoMessage ¶
func (*QueryParameters) ProtoMessage()
func (*QueryParameters) ProtoReflect ¶
func (x *QueryParameters) ProtoReflect() protoreflect.Message
func (*QueryParameters) Reset ¶
func (x *QueryParameters) Reset()
func (*QueryParameters) String ¶
func (x *QueryParameters) String() string
type QueryResult ¶
type QueryResult struct { // The original conversational query text: // // - If natural language text was provided as input, `query_text` contains // a copy of the input. // - If natural language speech audio was provided as input, `query_text` // contains the speech recognition result. If speech recognizer produced // multiple alternatives, a particular one is picked. // - If automatic spell correction is enabled, `query_text` will contain the // corrected user input. QueryText string `protobuf:"bytes,1,opt,name=query_text,json=queryText,proto3" json:"query_text,omitempty"` // The language that was triggered during intent detection. // See [Language // Support](https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. LanguageCode string `protobuf:"bytes,15,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // The Speech recognition confidence between 0.0 and 1.0. A higher number // indicates an estimated greater likelihood that the recognized words are // correct. The default of 0.0 is a sentinel value indicating that confidence // was not set. // // This field is not guaranteed to be accurate or set. In particular this // field isn't set for StreamingDetectIntent since the streaming endpoint has // separate confidence estimates per portion of the audio in // StreamingRecognitionResult. SpeechRecognitionConfidence float32 `protobuf:"fixed32,2,opt,name=speech_recognition_confidence,json=speechRecognitionConfidence,proto3" json:"speech_recognition_confidence,omitempty"` // The action name from the matched intent. Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` // The collection of extracted parameters. // // Depending on your protocol or client library language, this is a // map, associative array, symbol table, dictionary, or JSON object // composed of a collection of (MapKey, MapValue) pairs: // // * MapKey type: string // * MapKey value: parameter name // * MapValue type: If parameter's entity type is a composite entity then use // map, otherwise, depending on the parameter value type, it could be one of // string, number, boolean, null, list or map. // * MapValue value: If parameter's entity type is a composite entity then use // map from composite entity property names to property values, otherwise, // use parameter value. Parameters *structpb.Struct `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty"` // This field is set to: // // - `false` if the matched intent has required parameters and not all of // the required parameter values have been collected. // - `true` if all required parameter values have been collected, or if the // matched intent doesn't contain any required parameters. AllRequiredParamsPresent bool `protobuf:"varint,5,opt,name=all_required_params_present,json=allRequiredParamsPresent,proto3" json:"all_required_params_present,omitempty"` // Indicates whether the conversational query triggers a cancellation for slot // filling. For more information, see the [cancel slot filling // documentation](https://cloud.google.com/dialogflow/es/docs/intents-actions-parameters#cancel). CancelsSlotFilling bool `protobuf:"varint,21,opt,name=cancels_slot_filling,json=cancelsSlotFilling,proto3" json:"cancels_slot_filling,omitempty"` // The text to be pronounced to the user or shown on the screen. // Note: This is a legacy field, `fulfillment_messages` should be preferred. FulfillmentText string `protobuf:"bytes,6,opt,name=fulfillment_text,json=fulfillmentText,proto3" json:"fulfillment_text,omitempty"` // The collection of rich messages to present to the user. FulfillmentMessages []*Intent_Message `protobuf:"bytes,7,rep,name=fulfillment_messages,json=fulfillmentMessages,proto3" json:"fulfillment_messages,omitempty"` // If the query was fulfilled by a webhook call, this field is set to the // value of the `source` field returned in the webhook response. WebhookSource string `protobuf:"bytes,8,opt,name=webhook_source,json=webhookSource,proto3" json:"webhook_source,omitempty"` // If the query was fulfilled by a webhook call, this field is set to the // value of the `payload` field returned in the webhook response. WebhookPayload *structpb.Struct `protobuf:"bytes,9,opt,name=webhook_payload,json=webhookPayload,proto3" json:"webhook_payload,omitempty"` // The collection of output contexts. If applicable, // `output_contexts.parameters` contains entries with name // `<parameter name>.original` containing the original parameter values // before the query. OutputContexts []*Context `protobuf:"bytes,10,rep,name=output_contexts,json=outputContexts,proto3" json:"output_contexts,omitempty"` // The intent that matched the conversational query. Some, not // all fields are filled in this message, including but not limited to: // `name`, `display_name`, `end_interaction` and `is_fallback`. Intent *Intent `protobuf:"bytes,11,opt,name=intent,proto3" json:"intent,omitempty"` // The intent detection confidence. Values range from 0.0 // (completely uncertain) to 1.0 (completely certain). // This value is for informational purpose only and is only used to // help match the best intent within the classification threshold. // This value may change for the same end-user expression at any time due to a // model retraining or change in implementation. // If there are `multiple knowledge_answers` messages, this value is set to // the greatest `knowledgeAnswers.match_confidence` value in the list. IntentDetectionConfidence float32 `protobuf:"fixed32,12,opt,name=intent_detection_confidence,json=intentDetectionConfidence,proto3" json:"intent_detection_confidence,omitempty"` // Free-form diagnostic information for the associated detect intent request. // The fields of this data can change without notice, so you should not write // code that depends on its structure. // The data may contain: // // - webhook call latency // - webhook errors DiagnosticInfo *structpb.Struct `protobuf:"bytes,14,opt,name=diagnostic_info,json=diagnosticInfo,proto3" json:"diagnostic_info,omitempty"` // The sentiment analysis result, which depends on the // `sentiment_analysis_request_config` specified in the request. SentimentAnalysisResult *SentimentAnalysisResult `protobuf:"bytes,17,opt,name=sentiment_analysis_result,json=sentimentAnalysisResult,proto3" json:"sentiment_analysis_result,omitempty"` // The result from Knowledge Connector (if any), ordered by decreasing // `KnowledgeAnswers.match_confidence`. KnowledgeAnswers *KnowledgeAnswers `protobuf:"bytes,18,opt,name=knowledge_answers,json=knowledgeAnswers,proto3" json:"knowledge_answers,omitempty"` // contains filtered or unexported fields }
Represents the result of conversational query or event processing.
func (*QueryResult) Descriptor ¶
func (*QueryResult) Descriptor() ([]byte, []int)
Deprecated: Use QueryResult.ProtoReflect.Descriptor instead.
func (*QueryResult) GetAction ¶
func (x *QueryResult) GetAction() string
func (*QueryResult) GetAllRequiredParamsPresent ¶
func (x *QueryResult) GetAllRequiredParamsPresent() bool
func (*QueryResult) GetCancelsSlotFilling ¶
func (x *QueryResult) GetCancelsSlotFilling() bool
func (*QueryResult) GetDiagnosticInfo ¶
func (x *QueryResult) GetDiagnosticInfo() *structpb.Struct
func (*QueryResult) GetFulfillmentMessages ¶
func (x *QueryResult) GetFulfillmentMessages() []*Intent_Message
func (*QueryResult) GetFulfillmentText ¶
func (x *QueryResult) GetFulfillmentText() string
func (*QueryResult) GetIntent ¶
func (x *QueryResult) GetIntent() *Intent
func (*QueryResult) GetIntentDetectionConfidence ¶
func (x *QueryResult) GetIntentDetectionConfidence() float32
func (*QueryResult) GetKnowledgeAnswers ¶
func (x *QueryResult) GetKnowledgeAnswers() *KnowledgeAnswers
func (*QueryResult) GetLanguageCode ¶
func (x *QueryResult) GetLanguageCode() string
func (*QueryResult) GetOutputContexts ¶
func (x *QueryResult) GetOutputContexts() []*Context
func (*QueryResult) GetParameters ¶
func (x *QueryResult) GetParameters() *structpb.Struct
func (*QueryResult) GetQueryText ¶
func (x *QueryResult) GetQueryText() string
func (*QueryResult) GetSentimentAnalysisResult ¶
func (x *QueryResult) GetSentimentAnalysisResult() *SentimentAnalysisResult
func (*QueryResult) GetSpeechRecognitionConfidence ¶
func (x *QueryResult) GetSpeechRecognitionConfidence() float32
func (*QueryResult) GetWebhookPayload ¶
func (x *QueryResult) GetWebhookPayload() *structpb.Struct
func (*QueryResult) GetWebhookSource ¶
func (x *QueryResult) GetWebhookSource() string
func (*QueryResult) ProtoMessage ¶
func (*QueryResult) ProtoMessage()
func (*QueryResult) ProtoReflect ¶
func (x *QueryResult) ProtoReflect() protoreflect.Message
func (*QueryResult) Reset ¶
func (x *QueryResult) Reset()
func (*QueryResult) String ¶
func (x *QueryResult) String() string
type ReloadDocumentRequest ¶
type ReloadDocumentRequest struct { // Required. The name of the document to reload. // Format: `projects/<Project ID>/locations/<Location // ID>/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The source for document reloading. // // Optional. If provided, the service will load the contents from the source // and update document in the knowledge base. // // Reloading from a new document source is allowed for smart messaging // documents only. If you want to update the source for other document types, // please delete the existing document and create a new one instead. // // Types that are assignable to Source: // // *ReloadDocumentRequest_GcsSource Source isReloadDocumentRequest_Source `protobuf_oneof:"source"` // Whether to import custom metadata from Google Cloud Storage. // Only valid when the document source is Google Cloud Storage URI. ImportGcsCustomMetadata bool `protobuf:"varint,4,opt,name=import_gcs_custom_metadata,json=importGcsCustomMetadata,proto3" json:"import_gcs_custom_metadata,omitempty"` // contains filtered or unexported fields }
Request message for [Documents.ReloadDocument][google.cloud.dialogflow.v2beta1.Documents.ReloadDocument].
func (*ReloadDocumentRequest) Descriptor ¶
func (*ReloadDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReloadDocumentRequest.ProtoReflect.Descriptor instead.
func (*ReloadDocumentRequest) GetGcsSource ¶
func (x *ReloadDocumentRequest) GetGcsSource() *GcsSource
func (*ReloadDocumentRequest) GetImportGcsCustomMetadata ¶
func (x *ReloadDocumentRequest) GetImportGcsCustomMetadata() bool
func (*ReloadDocumentRequest) GetName ¶
func (x *ReloadDocumentRequest) GetName() string
func (*ReloadDocumentRequest) GetSource ¶
func (m *ReloadDocumentRequest) GetSource() isReloadDocumentRequest_Source
func (*ReloadDocumentRequest) ProtoMessage ¶
func (*ReloadDocumentRequest) ProtoMessage()
func (*ReloadDocumentRequest) ProtoReflect ¶
func (x *ReloadDocumentRequest) ProtoReflect() protoreflect.Message
func (*ReloadDocumentRequest) Reset ¶
func (x *ReloadDocumentRequest) Reset()
func (*ReloadDocumentRequest) String ¶
func (x *ReloadDocumentRequest) String() string
type ReloadDocumentRequest_GcsSource ¶
type ReloadDocumentRequest_GcsSource struct { // The path for a Cloud Storage source file for reloading document content. // If not provided, the Document's existing source will be reloaded. GcsSource *GcsSource `protobuf:"bytes,3,opt,name=gcs_source,json=gcsSource,proto3,oneof"` }
type ResponseMessage ¶
type ResponseMessage struct { // Required. The rich response message. // // Types that are assignable to Message: // // *ResponseMessage_Text_ // *ResponseMessage_Payload // *ResponseMessage_LiveAgentHandoff_ // *ResponseMessage_EndInteraction_ // *ResponseMessage_MixedAudio_ // *ResponseMessage_TelephonyTransferCall_ Message isResponseMessage_Message `protobuf_oneof:"message"` // contains filtered or unexported fields }
Response messages from an automated agent.
func (*ResponseMessage) Descriptor ¶
func (*ResponseMessage) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage.ProtoReflect.Descriptor instead.
func (*ResponseMessage) GetEndInteraction ¶
func (x *ResponseMessage) GetEndInteraction() *ResponseMessage_EndInteraction
func (*ResponseMessage) GetLiveAgentHandoff ¶
func (x *ResponseMessage) GetLiveAgentHandoff() *ResponseMessage_LiveAgentHandoff
func (*ResponseMessage) GetMessage ¶
func (m *ResponseMessage) GetMessage() isResponseMessage_Message
func (*ResponseMessage) GetMixedAudio ¶
func (x *ResponseMessage) GetMixedAudio() *ResponseMessage_MixedAudio
func (*ResponseMessage) GetPayload ¶
func (x *ResponseMessage) GetPayload() *structpb.Struct
func (*ResponseMessage) GetTelephonyTransferCall ¶
func (x *ResponseMessage) GetTelephonyTransferCall() *ResponseMessage_TelephonyTransferCall
func (*ResponseMessage) GetText ¶
func (x *ResponseMessage) GetText() *ResponseMessage_Text
func (*ResponseMessage) ProtoMessage ¶
func (*ResponseMessage) ProtoMessage()
func (*ResponseMessage) ProtoReflect ¶
func (x *ResponseMessage) ProtoReflect() protoreflect.Message
func (*ResponseMessage) Reset ¶
func (x *ResponseMessage) Reset()
func (*ResponseMessage) String ¶
func (x *ResponseMessage) String() string
type ResponseMessage_EndInteraction ¶
type ResponseMessage_EndInteraction struct {
// contains filtered or unexported fields
}
Indicates that interaction with the Dialogflow agent has ended.
func (*ResponseMessage_EndInteraction) Descriptor ¶
func (*ResponseMessage_EndInteraction) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_EndInteraction.ProtoReflect.Descriptor instead.
func (*ResponseMessage_EndInteraction) ProtoMessage ¶
func (*ResponseMessage_EndInteraction) ProtoMessage()
func (*ResponseMessage_EndInteraction) ProtoReflect ¶
func (x *ResponseMessage_EndInteraction) ProtoReflect() protoreflect.Message
func (*ResponseMessage_EndInteraction) Reset ¶
func (x *ResponseMessage_EndInteraction) Reset()
func (*ResponseMessage_EndInteraction) String ¶
func (x *ResponseMessage_EndInteraction) String() string
type ResponseMessage_EndInteraction_ ¶
type ResponseMessage_EndInteraction_ struct { // A signal that indicates the interaction with the Dialogflow agent has // ended. EndInteraction *ResponseMessage_EndInteraction `protobuf:"bytes,4,opt,name=end_interaction,json=endInteraction,proto3,oneof"` }
type ResponseMessage_LiveAgentHandoff ¶
type ResponseMessage_LiveAgentHandoff struct { // Custom metadata for your handoff procedure. Dialogflow doesn't impose // any structure on this. Metadata *structpb.Struct `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Indicates that the conversation should be handed off to a human agent.
Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
You may set this, for example:
- In the entry fulfillment of a CX Page if entering the page indicates something went extremely wrong in the conversation.
- In a webhook response when you determine that the customer issue can only be handled by a human.
func (*ResponseMessage_LiveAgentHandoff) Descriptor ¶
func (*ResponseMessage_LiveAgentHandoff) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_LiveAgentHandoff.ProtoReflect.Descriptor instead.
func (*ResponseMessage_LiveAgentHandoff) GetMetadata ¶
func (x *ResponseMessage_LiveAgentHandoff) GetMetadata() *structpb.Struct
func (*ResponseMessage_LiveAgentHandoff) ProtoMessage ¶
func (*ResponseMessage_LiveAgentHandoff) ProtoMessage()
func (*ResponseMessage_LiveAgentHandoff) ProtoReflect ¶
func (x *ResponseMessage_LiveAgentHandoff) ProtoReflect() protoreflect.Message
func (*ResponseMessage_LiveAgentHandoff) Reset ¶
func (x *ResponseMessage_LiveAgentHandoff) Reset()
func (*ResponseMessage_LiveAgentHandoff) String ¶
func (x *ResponseMessage_LiveAgentHandoff) String() string
type ResponseMessage_LiveAgentHandoff_ ¶
type ResponseMessage_LiveAgentHandoff_ struct { // Hands off conversation to a live agent. LiveAgentHandoff *ResponseMessage_LiveAgentHandoff `protobuf:"bytes,3,opt,name=live_agent_handoff,json=liveAgentHandoff,proto3,oneof"` }
type ResponseMessage_MixedAudio ¶
type ResponseMessage_MixedAudio struct { // Segments this audio response is composed of. Segments []*ResponseMessage_MixedAudio_Segment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"` // contains filtered or unexported fields }
Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs.
func (*ResponseMessage_MixedAudio) Descriptor ¶
func (*ResponseMessage_MixedAudio) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_MixedAudio.ProtoReflect.Descriptor instead.
func (*ResponseMessage_MixedAudio) GetSegments ¶
func (x *ResponseMessage_MixedAudio) GetSegments() []*ResponseMessage_MixedAudio_Segment
func (*ResponseMessage_MixedAudio) ProtoMessage ¶
func (*ResponseMessage_MixedAudio) ProtoMessage()
func (*ResponseMessage_MixedAudio) ProtoReflect ¶
func (x *ResponseMessage_MixedAudio) ProtoReflect() protoreflect.Message
func (*ResponseMessage_MixedAudio) Reset ¶
func (x *ResponseMessage_MixedAudio) Reset()
func (*ResponseMessage_MixedAudio) String ¶
func (x *ResponseMessage_MixedAudio) String() string
type ResponseMessage_MixedAudio_ ¶
type ResponseMessage_MixedAudio_ struct { // An audio response message composed of both the synthesized Dialogflow // agent responses and the audios hosted in places known to the client. MixedAudio *ResponseMessage_MixedAudio `protobuf:"bytes,5,opt,name=mixed_audio,json=mixedAudio,proto3,oneof"` }
type ResponseMessage_MixedAudio_Segment ¶
type ResponseMessage_MixedAudio_Segment struct { // Content of the segment. // // Types that are assignable to Content: // // *ResponseMessage_MixedAudio_Segment_Audio // *ResponseMessage_MixedAudio_Segment_Uri Content isResponseMessage_MixedAudio_Segment_Content `protobuf_oneof:"content"` // Whether the playback of this segment can be interrupted by the end // user's speech and the client should then start the next Dialogflow // request. AllowPlaybackInterruption bool `protobuf:"varint,3,opt,name=allow_playback_interruption,json=allowPlaybackInterruption,proto3" json:"allow_playback_interruption,omitempty"` // contains filtered or unexported fields }
Represents one segment of audio.
func (*ResponseMessage_MixedAudio_Segment) Descriptor ¶
func (*ResponseMessage_MixedAudio_Segment) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_MixedAudio_Segment.ProtoReflect.Descriptor instead.
func (*ResponseMessage_MixedAudio_Segment) GetAllowPlaybackInterruption ¶
func (x *ResponseMessage_MixedAudio_Segment) GetAllowPlaybackInterruption() bool
func (*ResponseMessage_MixedAudio_Segment) GetAudio ¶
func (x *ResponseMessage_MixedAudio_Segment) GetAudio() []byte
func (*ResponseMessage_MixedAudio_Segment) GetContent ¶
func (m *ResponseMessage_MixedAudio_Segment) GetContent() isResponseMessage_MixedAudio_Segment_Content
func (*ResponseMessage_MixedAudio_Segment) GetUri ¶
func (x *ResponseMessage_MixedAudio_Segment) GetUri() string
func (*ResponseMessage_MixedAudio_Segment) ProtoMessage ¶
func (*ResponseMessage_MixedAudio_Segment) ProtoMessage()
func (*ResponseMessage_MixedAudio_Segment) ProtoReflect ¶
func (x *ResponseMessage_MixedAudio_Segment) ProtoReflect() protoreflect.Message
func (*ResponseMessage_MixedAudio_Segment) Reset ¶
func (x *ResponseMessage_MixedAudio_Segment) Reset()
func (*ResponseMessage_MixedAudio_Segment) String ¶
func (x *ResponseMessage_MixedAudio_Segment) String() string
type ResponseMessage_MixedAudio_Segment_Audio ¶
type ResponseMessage_MixedAudio_Segment_Audio struct { // Raw audio synthesized from the Dialogflow agent's response using // the output config specified in the request. Audio []byte `protobuf:"bytes,1,opt,name=audio,proto3,oneof"` }
type ResponseMessage_MixedAudio_Segment_Uri ¶
type ResponseMessage_MixedAudio_Segment_Uri struct { // Client-specific URI that points to an audio clip accessible to the // client. Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"` }
type ResponseMessage_Payload ¶
type ResponseMessage_Payload struct { // Returns a response containing a custom, platform-specific payload. Payload *structpb.Struct `protobuf:"bytes,2,opt,name=payload,proto3,oneof"` }
type ResponseMessage_TelephonyTransferCall ¶
type ResponseMessage_TelephonyTransferCall struct { // Endpoint to transfer the call to. // // Types that are assignable to Endpoint: // // *ResponseMessage_TelephonyTransferCall_PhoneNumber // *ResponseMessage_TelephonyTransferCall_SipUri Endpoint isResponseMessage_TelephonyTransferCall_Endpoint `protobuf_oneof:"endpoint"` // contains filtered or unexported fields }
Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.
func (*ResponseMessage_TelephonyTransferCall) Descriptor ¶
func (*ResponseMessage_TelephonyTransferCall) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_TelephonyTransferCall.ProtoReflect.Descriptor instead.
func (*ResponseMessage_TelephonyTransferCall) GetEndpoint ¶
func (m *ResponseMessage_TelephonyTransferCall) GetEndpoint() isResponseMessage_TelephonyTransferCall_Endpoint
func (*ResponseMessage_TelephonyTransferCall) GetPhoneNumber ¶
func (x *ResponseMessage_TelephonyTransferCall) GetPhoneNumber() string
func (*ResponseMessage_TelephonyTransferCall) GetSipUri ¶
func (x *ResponseMessage_TelephonyTransferCall) GetSipUri() string
func (*ResponseMessage_TelephonyTransferCall) ProtoMessage ¶
func (*ResponseMessage_TelephonyTransferCall) ProtoMessage()
func (*ResponseMessage_TelephonyTransferCall) ProtoReflect ¶
func (x *ResponseMessage_TelephonyTransferCall) ProtoReflect() protoreflect.Message
func (*ResponseMessage_TelephonyTransferCall) Reset ¶
func (x *ResponseMessage_TelephonyTransferCall) Reset()
func (*ResponseMessage_TelephonyTransferCall) String ¶
func (x *ResponseMessage_TelephonyTransferCall) String() string
type ResponseMessage_TelephonyTransferCall_ ¶
type ResponseMessage_TelephonyTransferCall_ struct { // A signal that the client should transfer the phone call connected to // this agent to a third-party endpoint. TelephonyTransferCall *ResponseMessage_TelephonyTransferCall `protobuf:"bytes,6,opt,name=telephony_transfer_call,json=telephonyTransferCall,proto3,oneof"` }
type ResponseMessage_TelephonyTransferCall_PhoneNumber ¶
type ResponseMessage_TelephonyTransferCall_PhoneNumber struct { // Transfer the call to a phone number // in [E.164 format](https://en.wikipedia.org/wiki/E.164). PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3,oneof"` }
type ResponseMessage_TelephonyTransferCall_SipUri ¶
type ResponseMessage_TelephonyTransferCall_SipUri struct { // Transfer the call to a SIP endpoint. SipUri string `protobuf:"bytes,2,opt,name=sip_uri,json=sipUri,proto3,oneof"` }
type ResponseMessage_Text ¶
type ResponseMessage_Text struct { // A collection of text response variants. If multiple variants are // defined, only one text response variant is returned at runtime. Text []string `protobuf:"bytes,1,rep,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
The text response message.
func (*ResponseMessage_Text) Descriptor ¶
func (*ResponseMessage_Text) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMessage_Text.ProtoReflect.Descriptor instead.
func (*ResponseMessage_Text) GetText ¶
func (x *ResponseMessage_Text) GetText() []string
func (*ResponseMessage_Text) ProtoMessage ¶
func (*ResponseMessage_Text) ProtoMessage()
func (*ResponseMessage_Text) ProtoReflect ¶
func (x *ResponseMessage_Text) ProtoReflect() protoreflect.Message
func (*ResponseMessage_Text) Reset ¶
func (x *ResponseMessage_Text) Reset()
func (*ResponseMessage_Text) String ¶
func (x *ResponseMessage_Text) String() string
type ResponseMessage_Text_ ¶
type ResponseMessage_Text_ struct { // Returns a text response. Text *ResponseMessage_Text `protobuf:"bytes,1,opt,name=text,proto3,oneof"` }
type RestoreAgentRequest ¶
type RestoreAgentRequest struct { // Required. The project that the agent to restore is associated with. // Format: `projects/<Project ID>` or // // `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The agent to restore. // // Types that are assignable to Agent: // // *RestoreAgentRequest_AgentUri // *RestoreAgentRequest_AgentContent Agent isRestoreAgentRequest_Agent `protobuf_oneof:"agent"` // contains filtered or unexported fields }
The request message for [Agents.RestoreAgent][google.cloud.dialogflow.v2beta1.Agents.RestoreAgent].
func (*RestoreAgentRequest) Descriptor ¶
func (*RestoreAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreAgentRequest.ProtoReflect.Descriptor instead.
func (*RestoreAgentRequest) GetAgent ¶
func (m *RestoreAgentRequest) GetAgent() isRestoreAgentRequest_Agent
func (*RestoreAgentRequest) GetAgentContent ¶
func (x *RestoreAgentRequest) GetAgentContent() []byte
func (*RestoreAgentRequest) GetAgentUri ¶
func (x *RestoreAgentRequest) GetAgentUri() string
func (*RestoreAgentRequest) GetParent ¶
func (x *RestoreAgentRequest) GetParent() string
func (*RestoreAgentRequest) ProtoMessage ¶
func (*RestoreAgentRequest) ProtoMessage()
func (*RestoreAgentRequest) ProtoReflect ¶
func (x *RestoreAgentRequest) ProtoReflect() protoreflect.Message
func (*RestoreAgentRequest) Reset ¶
func (x *RestoreAgentRequest) Reset()
func (*RestoreAgentRequest) String ¶
func (x *RestoreAgentRequest) String() string
type RestoreAgentRequest_AgentContent ¶
type RestoreAgentRequest_AgentContent struct { // Zip compressed raw byte content for agent. AgentContent []byte `protobuf:"bytes,3,opt,name=agent_content,json=agentContent,proto3,oneof"` }
type RestoreAgentRequest_AgentUri ¶
type RestoreAgentRequest_AgentUri struct { // The URI to a Google Cloud Storage file containing the agent to restore. // Note: The URI must start with "gs://". // // Dialogflow performs a read operation for the Cloud Storage object // on the caller's behalf, so your request authentication must // have read permissions for the object. For more information, see // [Dialogflow access // control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3,oneof"` }
type SearchAgentsRequest ¶
type SearchAgentsRequest struct { // Required. The project to list agents from. // Format: `projects/<Project ID or '-'>` or // // `projects/<Project ID or '-'>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of items to return in a single page. By // default 100 and at most 1000. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The next_page_token value returned from a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
The request message for [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents].
func (*SearchAgentsRequest) Descriptor ¶
func (*SearchAgentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchAgentsRequest.ProtoReflect.Descriptor instead.
func (*SearchAgentsRequest) GetPageSize ¶
func (x *SearchAgentsRequest) GetPageSize() int32
func (*SearchAgentsRequest) GetPageToken ¶
func (x *SearchAgentsRequest) GetPageToken() string
func (*SearchAgentsRequest) GetParent ¶
func (x *SearchAgentsRequest) GetParent() string
func (*SearchAgentsRequest) ProtoMessage ¶
func (*SearchAgentsRequest) ProtoMessage()
func (*SearchAgentsRequest) ProtoReflect ¶
func (x *SearchAgentsRequest) ProtoReflect() protoreflect.Message
func (*SearchAgentsRequest) Reset ¶
func (x *SearchAgentsRequest) Reset()
func (*SearchAgentsRequest) String ¶
func (x *SearchAgentsRequest) String() string
type SearchAgentsResponse ¶
type SearchAgentsResponse struct { // The list of agents. There will be a maximum number of items returned based // on the page_size field in the request. Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
The response message for [Agents.SearchAgents][google.cloud.dialogflow.v2beta1.Agents.SearchAgents].
func (*SearchAgentsResponse) Descriptor ¶
func (*SearchAgentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchAgentsResponse.ProtoReflect.Descriptor instead.
func (*SearchAgentsResponse) GetAgents ¶
func (x *SearchAgentsResponse) GetAgents() []*Agent
func (*SearchAgentsResponse) GetNextPageToken ¶
func (x *SearchAgentsResponse) GetNextPageToken() string
func (*SearchAgentsResponse) ProtoMessage ¶
func (*SearchAgentsResponse) ProtoMessage()
func (*SearchAgentsResponse) ProtoReflect ¶
func (x *SearchAgentsResponse) ProtoReflect() protoreflect.Message
func (*SearchAgentsResponse) Reset ¶
func (x *SearchAgentsResponse) Reset()
func (*SearchAgentsResponse) String ¶
func (x *SearchAgentsResponse) String() string
type SearchKnowledgeAnswer ¶
type SearchKnowledgeAnswer struct { // The piece of text from the knowledge base documents that answers // the search query Answer string `protobuf:"bytes,1,opt,name=answer,proto3" json:"answer,omitempty"` // The type of the answer. AnswerType SearchKnowledgeAnswer_AnswerType `protobuf:"varint,2,opt,name=answer_type,json=answerType,proto3,enum=google.cloud.dialogflow.v2beta1.SearchKnowledgeAnswer_AnswerType" json:"answer_type,omitempty"` // All sources used to generate the answer. AnswerSources []*SearchKnowledgeAnswer_AnswerSource `protobuf:"bytes,3,rep,name=answer_sources,json=answerSources,proto3" json:"answer_sources,omitempty"` // The name of the answer record. // Format: `projects/<Project ID>/locations/<location ID>/answer // Records/<Answer Record ID>` AnswerRecord string `protobuf:"bytes,5,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"` // contains filtered or unexported fields }
Represents a SearchKnowledge answer.
func (*SearchKnowledgeAnswer) Descriptor ¶
func (*SearchKnowledgeAnswer) Descriptor() ([]byte, []int)
Deprecated: Use SearchKnowledgeAnswer.ProtoReflect.Descriptor instead.
func (*SearchKnowledgeAnswer) GetAnswer ¶
func (x *SearchKnowledgeAnswer) GetAnswer() string
func (*SearchKnowledgeAnswer) GetAnswerRecord ¶
func (x *SearchKnowledgeAnswer) GetAnswerRecord() string
func (*SearchKnowledgeAnswer) GetAnswerSources ¶
func (x *SearchKnowledgeAnswer) GetAnswerSources() []*SearchKnowledgeAnswer_AnswerSource
func (*SearchKnowledgeAnswer) GetAnswerType ¶
func (x *SearchKnowledgeAnswer) GetAnswerType() SearchKnowledgeAnswer_AnswerType
func (*SearchKnowledgeAnswer) ProtoMessage ¶
func (*SearchKnowledgeAnswer) ProtoMessage()
func (*SearchKnowledgeAnswer) ProtoReflect ¶
func (x *SearchKnowledgeAnswer) ProtoReflect() protoreflect.Message
func (*SearchKnowledgeAnswer) Reset ¶
func (x *SearchKnowledgeAnswer) Reset()
func (*SearchKnowledgeAnswer) String ¶
func (x *SearchKnowledgeAnswer) String() string
type SearchKnowledgeAnswer_AnswerSource ¶
type SearchKnowledgeAnswer_AnswerSource struct { // The title of the article. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // The URI of the article. Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // The relevant snippet of the article. Snippet string `protobuf:"bytes,3,opt,name=snippet,proto3" json:"snippet,omitempty"` // Metadata associated with the article. Metadata *structpb.Struct `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
The sources of the answers.
func (*SearchKnowledgeAnswer_AnswerSource) Descriptor ¶
func (*SearchKnowledgeAnswer_AnswerSource) Descriptor() ([]byte, []int)
Deprecated: Use SearchKnowledgeAnswer_AnswerSource.ProtoReflect.Descriptor instead.
func (*SearchKnowledgeAnswer_AnswerSource) GetMetadata ¶
func (x *SearchKnowledgeAnswer_AnswerSource) GetMetadata() *structpb.Struct
func (*SearchKnowledgeAnswer_AnswerSource) GetSnippet ¶
func (x *SearchKnowledgeAnswer_AnswerSource) GetSnippet() string
func (*SearchKnowledgeAnswer_AnswerSource) GetTitle ¶
func (x *SearchKnowledgeAnswer_AnswerSource) GetTitle() string
func (*SearchKnowledgeAnswer_AnswerSource) GetUri ¶
func (x *SearchKnowledgeAnswer_AnswerSource) GetUri() string
func (*SearchKnowledgeAnswer_AnswerSource) ProtoMessage ¶
func (*SearchKnowledgeAnswer_AnswerSource) ProtoMessage()
func (*SearchKnowledgeAnswer_AnswerSource) ProtoReflect ¶
func (x *SearchKnowledgeAnswer_AnswerSource) ProtoReflect() protoreflect.Message
func (*SearchKnowledgeAnswer_AnswerSource) Reset ¶
func (x *SearchKnowledgeAnswer_AnswerSource) Reset()
func (*SearchKnowledgeAnswer_AnswerSource) String ¶
func (x *SearchKnowledgeAnswer_AnswerSource) String() string
type SearchKnowledgeAnswer_AnswerType ¶
type SearchKnowledgeAnswer_AnswerType int32
The type of the answer.
const ( // The answer has a unspecified type. SearchKnowledgeAnswer_ANSWER_TYPE_UNSPECIFIED SearchKnowledgeAnswer_AnswerType = 0 // The answer is from FAQ documents. SearchKnowledgeAnswer_FAQ SearchKnowledgeAnswer_AnswerType = 1 // The answer is from generative model. SearchKnowledgeAnswer_GENERATIVE SearchKnowledgeAnswer_AnswerType = 2 // The answer is from intent matching. SearchKnowledgeAnswer_INTENT SearchKnowledgeAnswer_AnswerType = 3 )
func (SearchKnowledgeAnswer_AnswerType) Descriptor ¶
func (SearchKnowledgeAnswer_AnswerType) Descriptor() protoreflect.EnumDescriptor
func (SearchKnowledgeAnswer_AnswerType) Enum ¶
func (x SearchKnowledgeAnswer_AnswerType) Enum() *SearchKnowledgeAnswer_AnswerType
func (SearchKnowledgeAnswer_AnswerType) EnumDescriptor ¶
func (SearchKnowledgeAnswer_AnswerType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SearchKnowledgeAnswer_AnswerType.Descriptor instead.
func (SearchKnowledgeAnswer_AnswerType) Number ¶
func (x SearchKnowledgeAnswer_AnswerType) Number() protoreflect.EnumNumber
func (SearchKnowledgeAnswer_AnswerType) String ¶
func (x SearchKnowledgeAnswer_AnswerType) String() string
func (SearchKnowledgeAnswer_AnswerType) Type ¶
func (SearchKnowledgeAnswer_AnswerType) Type() protoreflect.EnumType
type SearchKnowledgeRequest ¶
type SearchKnowledgeRequest struct { // Required. The parent resource contains the conversation profile // Format: 'projects/<Project ID>' or `projects/<Project // ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,6,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The natural language text query for knowledge search. Query *TextInput `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // Required. The conversation profile used to configure the search. // Format: `projects/<Project ID>/locations/<Location // ID>/conversationProfiles/<Conversation Profile ID>`. ConversationProfile string `protobuf:"bytes,2,opt,name=conversation_profile,json=conversationProfile,proto3" json:"conversation_profile,omitempty"` // Required. The ID of the search session. // The session_id can be combined with Dialogflow V3 Agent ID retrieved from // conversation profile or on its own to identify a search session. The search // history of the same session will impact the search result. It's up to the // API caller to choose an appropriate `Session ID`. It can be a random number // or some type of session identifiers (preferably hashed). The length must // not exceed 36 characters. SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // Optional. The conversation (between human agent and end user) where the // search request is triggered. Format: `projects/<Project // ID>/locations/<Location ID>/conversations/<Conversation ID>`. Conversation string `protobuf:"bytes,4,opt,name=conversation,proto3" json:"conversation,omitempty"` // Optional. The name of the latest conversation message when the request is // triggered. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/messages/<Message ID>`. LatestMessage string `protobuf:"bytes,5,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // Optional. The source of the query in the request. QuerySource SearchKnowledgeRequest_QuerySource `protobuf:"varint,7,opt,name=query_source,json=querySource,proto3,enum=google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest_QuerySource" json:"query_source,omitempty"` // Optional. Information about the end-user to improve the relevance and // accuracy of generative answers. // // This will be interpreted and used by a language model, so, for good // results, the data should be self-descriptive, and in a simple structure. // // Example: // // ```json // // { // "subscription plan": "Business Premium Plus", // "devices owned": [ // {"model": "Google Pixel 7"}, // {"model": "Google Pixel Tablet"} // ] // } // // ``` EndUserMetadata *structpb.Struct `protobuf:"bytes,9,opt,name=end_user_metadata,json=endUserMetadata,proto3" json:"end_user_metadata,omitempty"` // Optional. Configuration specific to search queries with data stores. SearchConfig *SearchKnowledgeRequest_SearchConfig `protobuf:"bytes,11,opt,name=search_config,json=searchConfig,proto3" json:"search_config,omitempty"` // Optional. Whether to search the query exactly without query rewrite. ExactSearch bool `protobuf:"varint,14,opt,name=exact_search,json=exactSearch,proto3" json:"exact_search,omitempty"` // contains filtered or unexported fields }
The request message for [Conversations.SearchKnowledge][google.cloud.dialogflow.v2beta1.Conversations.SearchKnowledge].
func (*SearchKnowledgeRequest) Descriptor ¶
func (*SearchKnowledgeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchKnowledgeRequest.ProtoReflect.Descriptor instead.
func (*SearchKnowledgeRequest) GetConversation ¶
func (x *SearchKnowledgeRequest) GetConversation() string
func (*SearchKnowledgeRequest) GetConversationProfile ¶
func (x *SearchKnowledgeRequest) GetConversationProfile() string
func (*SearchKnowledgeRequest) GetEndUserMetadata ¶
func (x *SearchKnowledgeRequest) GetEndUserMetadata() *structpb.Struct
func (*SearchKnowledgeRequest) GetExactSearch ¶
func (x *SearchKnowledgeRequest) GetExactSearch() bool
func (*SearchKnowledgeRequest) GetLatestMessage ¶
func (x *SearchKnowledgeRequest) GetLatestMessage() string
func (*SearchKnowledgeRequest) GetParent ¶
func (x *SearchKnowledgeRequest) GetParent() string
func (*SearchKnowledgeRequest) GetQuery ¶
func (x *SearchKnowledgeRequest) GetQuery() *TextInput
func (*SearchKnowledgeRequest) GetQuerySource ¶
func (x *SearchKnowledgeRequest) GetQuerySource() SearchKnowledgeRequest_QuerySource
func (*SearchKnowledgeRequest) GetSearchConfig ¶
func (x *SearchKnowledgeRequest) GetSearchConfig() *SearchKnowledgeRequest_SearchConfig
func (*SearchKnowledgeRequest) GetSessionId ¶
func (x *SearchKnowledgeRequest) GetSessionId() string
func (*SearchKnowledgeRequest) ProtoMessage ¶
func (*SearchKnowledgeRequest) ProtoMessage()
func (*SearchKnowledgeRequest) ProtoReflect ¶
func (x *SearchKnowledgeRequest) ProtoReflect() protoreflect.Message
func (*SearchKnowledgeRequest) Reset ¶
func (x *SearchKnowledgeRequest) Reset()
func (*SearchKnowledgeRequest) String ¶
func (x *SearchKnowledgeRequest) String() string
type SearchKnowledgeRequest_QuerySource ¶
type SearchKnowledgeRequest_QuerySource int32
The source of the query. We use QuerySource to distinguish queries directly entered by agents and suggested queries from [Participants.SuggestKnowledgeAssist][google.cloud.dialogflow.v2beta1.Participants.SuggestKnowledgeAssist]. If SUGGESTED_QUERY source is specified, we will treat it as a continuation of a SuggestKnowledgeAssist call.
const ( // Unknown query source. SearchKnowledgeRequest_QUERY_SOURCE_UNSPECIFIED SearchKnowledgeRequest_QuerySource = 0 // The query is from agents. SearchKnowledgeRequest_AGENT_QUERY SearchKnowledgeRequest_QuerySource = 1 // The query is a suggested query from // [Participants.SuggestKnowledgeAssist][google.cloud.dialogflow.v2beta1.Participants.SuggestKnowledgeAssist]. SearchKnowledgeRequest_SUGGESTED_QUERY SearchKnowledgeRequest_QuerySource = 2 )
func (SearchKnowledgeRequest_QuerySource) Descriptor ¶
func (SearchKnowledgeRequest_QuerySource) Descriptor() protoreflect.EnumDescriptor
func (SearchKnowledgeRequest_QuerySource) Enum ¶
func (x SearchKnowledgeRequest_QuerySource) Enum() *SearchKnowledgeRequest_QuerySource
func (SearchKnowledgeRequest_QuerySource) EnumDescriptor ¶
func (SearchKnowledgeRequest_QuerySource) EnumDescriptor() ([]byte, []int)
Deprecated: Use SearchKnowledgeRequest_QuerySource.Descriptor instead.
func (SearchKnowledgeRequest_QuerySource) Number ¶
func (x SearchKnowledgeRequest_QuerySource) Number() protoreflect.EnumNumber
func (SearchKnowledgeRequest_QuerySource) String ¶
func (x SearchKnowledgeRequest_QuerySource) String() string
func (SearchKnowledgeRequest_QuerySource) Type ¶
func (SearchKnowledgeRequest_QuerySource) Type() protoreflect.EnumType
type SearchKnowledgeRequest_SearchConfig ¶
type SearchKnowledgeRequest_SearchConfig struct { // Optional. Boost specifications for data stores. BoostSpecs []*SearchKnowledgeRequest_SearchConfig_BoostSpecs `protobuf:"bytes,1,rep,name=boost_specs,json=boostSpecs,proto3" json:"boost_specs,omitempty"` // Optional. Filter specification for data store queries. FilterSpecs []*SearchKnowledgeRequest_SearchConfig_FilterSpecs `protobuf:"bytes,2,rep,name=filter_specs,json=filterSpecs,proto3" json:"filter_specs,omitempty"` // contains filtered or unexported fields }
Configuration specific to search queries with data stores.
func (*SearchKnowledgeRequest_SearchConfig) Descriptor ¶
func (*SearchKnowledgeRequest_SearchConfig) Descriptor() ([]byte, []int)
Deprecated: Use SearchKnowledgeRequest_SearchConfig.ProtoReflect.Descriptor instead.
func (*SearchKnowledgeRequest_SearchConfig) GetBoostSpecs ¶
func (x *SearchKnowledgeRequest_SearchConfig) GetBoostSpecs() []*SearchKnowledgeRequest_SearchConfig_BoostSpecs
func (*SearchKnowledgeRequest_SearchConfig) GetFilterSpecs ¶
func (x *SearchKnowledgeRequest_SearchConfig) GetFilterSpecs() []*SearchKnowledgeRequest_SearchConfig_FilterSpecs
func (*SearchKnowledgeRequest_SearchConfig) ProtoMessage ¶
func (*SearchKnowledgeRequest_SearchConfig) ProtoMessage()
func (*SearchKnowledgeRequest_SearchConfig) ProtoReflect ¶
func (x *SearchKnowledgeRequest_SearchConfig) ProtoReflect() protoreflect.Message
func (*SearchKnowledgeRequest_SearchConfig) Reset ¶
func (x *SearchKnowledgeRequest_SearchConfig) Reset()
func (*SearchKnowledgeRequest_SearchConfig) String ¶
func (x *SearchKnowledgeRequest_SearchConfig) String() string
type SearchKnowledgeRequest_SearchConfig_BoostSpecs ¶
type SearchKnowledgeRequest_SearchConfig_BoostSpecs struct { // Optional. Data Stores where the boosting configuration is applied. The // full names of the referenced data stores. Formats: // `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}` // `projects/{project}/locations/{location}/dataStores/{data_store}` DataStores []string `protobuf:"bytes,1,rep,name=data_stores,json=dataStores,proto3" json:"data_stores,omitempty"` // Optional. A list of boosting specifications. Spec []*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec `protobuf:"bytes,2,rep,name=spec,proto3" json:"spec,omitempty"` // contains filtered or unexported fields }
Boost specifications for data stores.
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs) Descriptor ¶
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs) Descriptor() ([]byte, []int)
Deprecated: Use SearchKnowledgeRequest_SearchConfig_BoostSpecs.ProtoReflect.Descriptor instead.
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs) GetDataStores ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs) GetDataStores() []string
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs) GetSpec ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs) GetSpec() []*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs) ProtoMessage ¶
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs) ProtoMessage()
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs) ProtoReflect ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs) ProtoReflect() protoreflect.Message
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs) Reset ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs) Reset()
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs) String ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs) String() string
type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec ¶
type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec struct { // Optional. Condition boost specifications. If a document matches // multiple conditions in the specifictions, boost scores from these // specifications are all applied and combined in a non-linear way. // Maximum number of specifications is 20. ConditionBoostSpecs []*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec `protobuf:"bytes,1,rep,name=condition_boost_specs,json=conditionBoostSpecs,proto3" json:"condition_boost_specs,omitempty"` // contains filtered or unexported fields }
Boost specification to boost certain documents. A copy of google.cloud.discoveryengine.v1main.BoostSpec, field documentation is available at https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/BoostSpec
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) Descriptor ¶
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) Descriptor() ([]byte, []int)
Deprecated: Use SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec.ProtoReflect.Descriptor instead.
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) GetConditionBoostSpecs ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) GetConditionBoostSpecs() []*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) ProtoMessage ¶
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) ProtoMessage()
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) ProtoReflect ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) ProtoReflect() protoreflect.Message
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) Reset ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) Reset()
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) String ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec) String() string
type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec ¶
type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec struct { // Optional. An expression which specifies a boost condition. The // syntax and supported fields are the same as a filter expression. // Examples: // // * To boost documents with document ID "doc_1" or "doc_2", and // color // // "Red" or "Blue": // * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue")) Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"` // Optional. Strength of the condition boost, which should be in [-1, // 1]. Negative boost means demotion. Default is 0.0. // // Setting to 1.0 gives the document a big promotion. However, it does // not necessarily mean that the boosted document will be the top // result at all times, nor that other documents will be excluded. // Results could still be shown even when none of them matches the // condition. And results that are significantly more relevant to the // search query can still trump your heavily favored but irrelevant // documents. // // Setting to -1.0 gives the document a big demotion. However, results // that are deeply relevant might still be shown. The document will // have an upstream battle to get a fairly high ranking, but it is not // blocked out completely. // // Setting to 0.0 means no boost applied. The boosting condition is // ignored. Boost float32 `protobuf:"fixed32,2,opt,name=boost,proto3" json:"boost,omitempty"` // Optional. Complex specification for custom ranking based on // customer defined attribute value. BoostControlSpec *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec `protobuf:"bytes,4,opt,name=boost_control_spec,json=boostControlSpec,proto3" json:"boost_control_spec,omitempty"` // contains filtered or unexported fields }
Boost applies to documents which match a condition.
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) Descriptor ¶
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) Descriptor() ([]byte, []int)
Deprecated: Use SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec.ProtoReflect.Descriptor instead.
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) GetBoost ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) GetBoost() float32
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) GetBoostControlSpec ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) GetBoostControlSpec() *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) GetCondition ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) GetCondition() string
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) ProtoMessage ¶
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) ProtoMessage()
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) ProtoReflect ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) ProtoReflect() protoreflect.Message
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) Reset ¶
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) String ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec) String() string
type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec ¶
type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec struct { // Optional. The name of the field whose value will be used to // determine the boost amount. FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` // Optional. The attribute type to be used to determine the boost // amount. The attribute value can be derived from the field value // of the specified field_name. In the case of numerical it is // straightforward i.e. attribute_value = numerical_field_value. In // the case of freshness however, attribute_value = (time.now() - // datetime_field_value). AttributeType SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType `protobuf:"varint,2,opt,name=attribute_type,json=attributeType,proto3,enum=google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType" json:"attribute_type,omitempty"` // Optional. The interpolation type to be applied to connect the // control points listed below. InterpolationType SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType `protobuf:"varint,3,opt,name=interpolation_type,json=interpolationType,proto3,enum=google.cloud.dialogflow.v2beta1.SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType" json:"interpolation_type,omitempty"` // Optional. The control points used to define the curve. The // monotonic function (defined through the interpolation_type above) // passes through the control points listed here. ControlPoints []*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint `protobuf:"bytes,4,rep,name=control_points,json=controlPoints,proto3" json:"control_points,omitempty"` // contains filtered or unexported fields }
Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) Descriptor ¶
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) Descriptor() ([]byte, []int)
Deprecated: Use SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec.ProtoReflect.Descriptor instead.
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) GetAttributeType ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) GetAttributeType() SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) GetControlPoints ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) GetControlPoints() []*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) GetFieldName ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) GetFieldName() string
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) GetInterpolationType ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) GetInterpolationType() SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) ProtoMessage ¶
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) ProtoMessage()
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) ProtoReflect ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) ProtoReflect() protoreflect.Message
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) Reset ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) Reset()
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) String ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec) String() string
type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType ¶
type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType int32
The attribute(or function) for which the custom ranking is to be applied.
const ( // Unspecified AttributeType. SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ATTRIBUTE_TYPE_UNSPECIFIED SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType = 0 // The value of the numerical field will be used to dynamically // update the boost amount. In this case, the attribute_value (the // x value) of the control point will be the actual value of the // numerical field for which the boost_amount is specified. SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_NUMERICAL SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType = 1 // For the freshness use case the attribute value will be the // duration between the current time and the date in the datetime // field specified. The value must be formatted as an XSD // `dayTimeDuration` value (a restricted subset of an ISO 8601 // duration value). The pattern for this is: // `[nD][T[nH][nM][nS]]`. E.g. `5D`, `3DT12H30M`, `T24H`. SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_FRESHNESS SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType = 2 )
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Descriptor ¶
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Descriptor() protoreflect.EnumDescriptor
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Enum ¶
func (x SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Enum() *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) EnumDescriptor ¶
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType.Descriptor instead.
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Number ¶
func (x SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Number() protoreflect.EnumNumber
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) String ¶
func (x SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) String() string
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Type ¶
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Type() protoreflect.EnumType
type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint ¶
type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint struct { // Optional. Can be one of: // 1. The numerical field value. // 2. The duration spec for freshness: // The value must be formatted as an XSD `dayTimeDuration` value // (a restricted subset of an ISO 8601 duration value). The // pattern for this is: `[nD][T[nH][nM][nS]]`. AttributeValue string `protobuf:"bytes,1,opt,name=attribute_value,json=attributeValue,proto3" json:"attribute_value,omitempty"` // Optional. The value between -1 to 1 by which to boost the score // if the attribute_value evaluates to the value specified above. BoostAmount float32 `protobuf:"fixed32,2,opt,name=boost_amount,json=boostAmount,proto3" json:"boost_amount,omitempty"` // contains filtered or unexported fields }
The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) Descriptor ¶
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) Descriptor() ([]byte, []int)
Deprecated: Use SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint.ProtoReflect.Descriptor instead.
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) GetAttributeValue ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) GetAttributeValue() string
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) GetBoostAmount ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) GetBoostAmount() float32
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) ProtoMessage ¶
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) ProtoMessage()
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) ProtoReflect ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) ProtoReflect() protoreflect.Message
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) Reset ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) Reset()
func (*SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) String ¶
func (x *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) String() string
type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType ¶
type SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType int32
The interpolation type to be applied. Default will be linear (Piecewise Linear).
const ( // Interpolation type is unspecified. In this case, it defaults to // Linear. SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_INTERPOLATION_TYPE_UNSPECIFIED SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType = 0 // Piecewise linear interpolation will be applied. SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_LINEAR SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType = 1 )
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Descriptor ¶
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Descriptor() protoreflect.EnumDescriptor
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Enum ¶
func (x SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Enum() *SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) EnumDescriptor ¶
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType.Descriptor instead.
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Number ¶
func (x SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Number() protoreflect.EnumNumber
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) String ¶
func (x SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) String() string
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Type ¶
func (SearchKnowledgeRequest_SearchConfig_BoostSpecs_BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Type() protoreflect.EnumType
type SearchKnowledgeRequest_SearchConfig_FilterSpecs ¶
type SearchKnowledgeRequest_SearchConfig_FilterSpecs struct { // Optional. The data store where the filter configuration is applied. // Full resource name of data store, such as // projects/{project}/locations/{location}/collections/{collectionId}/ // dataStores/{dataStoreId}. DataStores []string `protobuf:"bytes,1,rep,name=data_stores,json=dataStores,proto3" json:"data_stores,omitempty"` // Optional. The filter expression to be applied. // Expression syntax is documented at // https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
Filter specification for data store queries.
func (*SearchKnowledgeRequest_SearchConfig_FilterSpecs) Descriptor ¶
func (*SearchKnowledgeRequest_SearchConfig_FilterSpecs) Descriptor() ([]byte, []int)
Deprecated: Use SearchKnowledgeRequest_SearchConfig_FilterSpecs.ProtoReflect.Descriptor instead.
func (*SearchKnowledgeRequest_SearchConfig_FilterSpecs) GetDataStores ¶
func (x *SearchKnowledgeRequest_SearchConfig_FilterSpecs) GetDataStores() []string
func (*SearchKnowledgeRequest_SearchConfig_FilterSpecs) GetFilter ¶
func (x *SearchKnowledgeRequest_SearchConfig_FilterSpecs) GetFilter() string
func (*SearchKnowledgeRequest_SearchConfig_FilterSpecs) ProtoMessage ¶
func (*SearchKnowledgeRequest_SearchConfig_FilterSpecs) ProtoMessage()
func (*SearchKnowledgeRequest_SearchConfig_FilterSpecs) ProtoReflect ¶
func (x *SearchKnowledgeRequest_SearchConfig_FilterSpecs) ProtoReflect() protoreflect.Message
func (*SearchKnowledgeRequest_SearchConfig_FilterSpecs) Reset ¶
func (x *SearchKnowledgeRequest_SearchConfig_FilterSpecs) Reset()
func (*SearchKnowledgeRequest_SearchConfig_FilterSpecs) String ¶
func (x *SearchKnowledgeRequest_SearchConfig_FilterSpecs) String() string
type SearchKnowledgeResponse ¶
type SearchKnowledgeResponse struct { // Most relevant snippets extracted from articles in the given knowledge base, // ordered by confidence. Answers []*SearchKnowledgeAnswer `protobuf:"bytes,2,rep,name=answers,proto3" json:"answers,omitempty"` // The rewritten query used to search knowledge. RewrittenQuery string `protobuf:"bytes,3,opt,name=rewritten_query,json=rewrittenQuery,proto3" json:"rewritten_query,omitempty"` // contains filtered or unexported fields }
The response message for [Conversations.SearchKnowledge][google.cloud.dialogflow.v2beta1.Conversations.SearchKnowledge].
func (*SearchKnowledgeResponse) Descriptor ¶
func (*SearchKnowledgeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchKnowledgeResponse.ProtoReflect.Descriptor instead.
func (*SearchKnowledgeResponse) GetAnswers ¶
func (x *SearchKnowledgeResponse) GetAnswers() []*SearchKnowledgeAnswer
func (*SearchKnowledgeResponse) GetRewrittenQuery ¶
func (x *SearchKnowledgeResponse) GetRewrittenQuery() string
func (*SearchKnowledgeResponse) ProtoMessage ¶
func (*SearchKnowledgeResponse) ProtoMessage()
func (*SearchKnowledgeResponse) ProtoReflect ¶
func (x *SearchKnowledgeResponse) ProtoReflect() protoreflect.Message
func (*SearchKnowledgeResponse) Reset ¶
func (x *SearchKnowledgeResponse) Reset()
func (*SearchKnowledgeResponse) String ¶
func (x *SearchKnowledgeResponse) String() string
type Sentiment ¶
type Sentiment struct { // Sentiment score between -1.0 (negative sentiment) and 1.0 (positive // // sentiment). Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"` // A non-negative number in the [0, +inf) range, which represents the absolute // magnitude of sentiment, regardless of score (positive or negative). Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude,proto3" json:"magnitude,omitempty"` // contains filtered or unexported fields }
The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text. See: https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values for how to interpret the result.
func (*Sentiment) Descriptor ¶
Deprecated: Use Sentiment.ProtoReflect.Descriptor instead.
func (*Sentiment) GetMagnitude ¶
func (*Sentiment) GetScore ¶
func (*Sentiment) ProtoMessage ¶
func (*Sentiment) ProtoMessage()
func (*Sentiment) ProtoReflect ¶
func (x *Sentiment) ProtoReflect() protoreflect.Message
func (*Sentiment) Reset ¶
func (x *Sentiment) Reset()
func (*Sentiment) String ¶
type SentimentAnalysisRequestConfig ¶
type SentimentAnalysisRequestConfig struct { // Instructs the service to perform sentiment analysis on // `query_text`. If not provided, sentiment analysis is not performed on // `query_text`. AnalyzeQueryTextSentiment bool `protobuf:"varint,1,opt,name=analyze_query_text_sentiment,json=analyzeQueryTextSentiment,proto3" json:"analyze_query_text_sentiment,omitempty"` // contains filtered or unexported fields }
Configures the types of sentiment analysis to perform.
func (*SentimentAnalysisRequestConfig) Descriptor ¶
func (*SentimentAnalysisRequestConfig) Descriptor() ([]byte, []int)
Deprecated: Use SentimentAnalysisRequestConfig.ProtoReflect.Descriptor instead.
func (*SentimentAnalysisRequestConfig) GetAnalyzeQueryTextSentiment ¶
func (x *SentimentAnalysisRequestConfig) GetAnalyzeQueryTextSentiment() bool
func (*SentimentAnalysisRequestConfig) ProtoMessage ¶
func (*SentimentAnalysisRequestConfig) ProtoMessage()
func (*SentimentAnalysisRequestConfig) ProtoReflect ¶
func (x *SentimentAnalysisRequestConfig) ProtoReflect() protoreflect.Message
func (*SentimentAnalysisRequestConfig) Reset ¶
func (x *SentimentAnalysisRequestConfig) Reset()
func (*SentimentAnalysisRequestConfig) String ¶
func (x *SentimentAnalysisRequestConfig) String() string
type SentimentAnalysisResult ¶
type SentimentAnalysisResult struct { // The sentiment analysis result for `query_text`. QueryTextSentiment *Sentiment `protobuf:"bytes,1,opt,name=query_text_sentiment,json=queryTextSentiment,proto3" json:"query_text_sentiment,omitempty"` // contains filtered or unexported fields }
The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral. For [Participants.DetectIntent][], it needs to be configured in [DetectIntentRequest.query_params][google.cloud.dialogflow.v2beta1.DetectIntentRequest.query_params]. For [Participants.StreamingDetectIntent][], it needs to be configured in [StreamingDetectIntentRequest.query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. And for [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] and [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent], it needs to be configured in [ConversationProfile.human_agent_assistant_config][google.cloud.dialogflow.v2beta1.ConversationProfile.human_agent_assistant_config]
func (*SentimentAnalysisResult) Descriptor ¶
func (*SentimentAnalysisResult) Descriptor() ([]byte, []int)
Deprecated: Use SentimentAnalysisResult.ProtoReflect.Descriptor instead.
func (*SentimentAnalysisResult) GetQueryTextSentiment ¶
func (x *SentimentAnalysisResult) GetQueryTextSentiment() *Sentiment
func (*SentimentAnalysisResult) ProtoMessage ¶
func (*SentimentAnalysisResult) ProtoMessage()
func (*SentimentAnalysisResult) ProtoReflect ¶
func (x *SentimentAnalysisResult) ProtoReflect() protoreflect.Message
func (*SentimentAnalysisResult) Reset ¶
func (x *SentimentAnalysisResult) Reset()
func (*SentimentAnalysisResult) String ¶
func (x *SentimentAnalysisResult) String() string
type SessionEntityType ¶
type SessionEntityType struct { // Required. The unique identifier of this session entity type. Supported // formats: // - `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity // Type Display Name>` // - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session // ID>/entityTypes/<Entity Type Display Name>` // - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User // ID>/sessions/<Session ID>/entityTypes/<Entity Type Display Name>` // - `projects/<Project ID>/locations/<Location ID>/agent/environments/ // <Environment ID>/users/<User ID>/sessions/<Session // ID>/entityTypes/<Entity Type Display Name>` // // If `Location ID` is not specified we assume default 'us' location. If // `Environment ID` is not specified, we assume default 'draft' environment. // If `User ID` is not specified, we assume default '-' user. // `<Entity Type Display Name>` must be the display name of an existing entity // type in the same agent that will be overridden or supplemented. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. Indicates whether the additional data should override or // supplement the custom entity type definition. EntityOverrideMode SessionEntityType_EntityOverrideMode `protobuf:"varint,2,opt,name=entity_override_mode,json=entityOverrideMode,proto3,enum=google.cloud.dialogflow.v2beta1.SessionEntityType_EntityOverrideMode" json:"entity_override_mode,omitempty"` // Required. The collection of entities associated with this session entity // type. Entities []*EntityType_Entity `protobuf:"bytes,3,rep,name=entities,proto3" json:"entities,omitempty"` // contains filtered or unexported fields }
A session represents a conversation between a Dialogflow agent and an end-user. You can create special entities, called session entities, during a session. Session entities can extend or replace custom entity types and only exist during the session that they were created for. All session data, including session entities, is stored by Dialogflow for 20 minutes.
For more information, see the [session entity guide](https://cloud.google.com/dialogflow/docs/entities-session).
func (*SessionEntityType) Descriptor ¶
func (*SessionEntityType) Descriptor() ([]byte, []int)
Deprecated: Use SessionEntityType.ProtoReflect.Descriptor instead.
func (*SessionEntityType) GetEntities ¶
func (x *SessionEntityType) GetEntities() []*EntityType_Entity
func (*SessionEntityType) GetEntityOverrideMode ¶
func (x *SessionEntityType) GetEntityOverrideMode() SessionEntityType_EntityOverrideMode
func (*SessionEntityType) GetName ¶
func (x *SessionEntityType) GetName() string
func (*SessionEntityType) ProtoMessage ¶
func (*SessionEntityType) ProtoMessage()
func (*SessionEntityType) ProtoReflect ¶
func (x *SessionEntityType) ProtoReflect() protoreflect.Message
func (*SessionEntityType) Reset ¶
func (x *SessionEntityType) Reset()
func (*SessionEntityType) String ¶
func (x *SessionEntityType) String() string
type SessionEntityType_EntityOverrideMode ¶
type SessionEntityType_EntityOverrideMode int32
The types of modifications for a session entity type.
const ( // Not specified. This value should be never used. SessionEntityType_ENTITY_OVERRIDE_MODE_UNSPECIFIED SessionEntityType_EntityOverrideMode = 0 // The collection of session entities overrides the collection of entities // in the corresponding custom entity type. SessionEntityType_ENTITY_OVERRIDE_MODE_OVERRIDE SessionEntityType_EntityOverrideMode = 1 // The collection of session entities extends the collection of entities in // the corresponding custom entity type. // // Note: Even in this override mode calls to `ListSessionEntityTypes`, // `GetSessionEntityType`, `CreateSessionEntityType` and // `UpdateSessionEntityType` only return the additional entities added in // this session entity type. If you want to get the supplemented list, // please call // [EntityTypes.GetEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.GetEntityType] // on the custom entity type and merge. SessionEntityType_ENTITY_OVERRIDE_MODE_SUPPLEMENT SessionEntityType_EntityOverrideMode = 2 )
func (SessionEntityType_EntityOverrideMode) Descriptor ¶
func (SessionEntityType_EntityOverrideMode) Descriptor() protoreflect.EnumDescriptor
func (SessionEntityType_EntityOverrideMode) Enum ¶
func (x SessionEntityType_EntityOverrideMode) Enum() *SessionEntityType_EntityOverrideMode
func (SessionEntityType_EntityOverrideMode) EnumDescriptor ¶
func (SessionEntityType_EntityOverrideMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use SessionEntityType_EntityOverrideMode.Descriptor instead.
func (SessionEntityType_EntityOverrideMode) Number ¶
func (x SessionEntityType_EntityOverrideMode) Number() protoreflect.EnumNumber
func (SessionEntityType_EntityOverrideMode) String ¶
func (x SessionEntityType_EntityOverrideMode) String() string
func (SessionEntityType_EntityOverrideMode) Type ¶
func (SessionEntityType_EntityOverrideMode) Type() protoreflect.EnumType
type SessionEntityTypesClient ¶
type SessionEntityTypesClient interface { // Returns the list of all session entity types in the specified session. // // This method doesn't work with Google Assistant integration. // Contact Dialogflow support if you need to use session entities // with Google Assistant integration. ListSessionEntityTypes(ctx context.Context, in *ListSessionEntityTypesRequest, opts ...grpc.CallOption) (*ListSessionEntityTypesResponse, error) // Retrieves the specified session entity type. // // This method doesn't work with Google Assistant integration. // Contact Dialogflow support if you need to use session entities // with Google Assistant integration. GetSessionEntityType(ctx context.Context, in *GetSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) // Creates a session entity type. // // If the specified session entity type already exists, overrides the // session entity type. // // This method doesn't work with Google Assistant integration. // Contact Dialogflow support if you need to use session entities // with Google Assistant integration. CreateSessionEntityType(ctx context.Context, in *CreateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) // Updates the specified session entity type. // // This method doesn't work with Google Assistant integration. // Contact Dialogflow support if you need to use session entities // with Google Assistant integration. UpdateSessionEntityType(ctx context.Context, in *UpdateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error) // Deletes the specified session entity type. // // This method doesn't work with Google Assistant integration. // Contact Dialogflow support if you need to use session entities // with Google Assistant integration. DeleteSessionEntityType(ctx context.Context, in *DeleteSessionEntityTypeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
SessionEntityTypesClient is the client API for SessionEntityTypes service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSessionEntityTypesClient ¶
func NewSessionEntityTypesClient(cc grpc.ClientConnInterface) SessionEntityTypesClient
type SessionEntityTypesServer ¶
type SessionEntityTypesServer interface { // Returns the list of all session entity types in the specified session. // // This method doesn't work with Google Assistant integration. // Contact Dialogflow support if you need to use session entities // with Google Assistant integration. ListSessionEntityTypes(context.Context, *ListSessionEntityTypesRequest) (*ListSessionEntityTypesResponse, error) // Retrieves the specified session entity type. // // This method doesn't work with Google Assistant integration. // Contact Dialogflow support if you need to use session entities // with Google Assistant integration. GetSessionEntityType(context.Context, *GetSessionEntityTypeRequest) (*SessionEntityType, error) // Creates a session entity type. // // If the specified session entity type already exists, overrides the // session entity type. // // This method doesn't work with Google Assistant integration. // Contact Dialogflow support if you need to use session entities // with Google Assistant integration. CreateSessionEntityType(context.Context, *CreateSessionEntityTypeRequest) (*SessionEntityType, error) // Updates the specified session entity type. // // This method doesn't work with Google Assistant integration. // Contact Dialogflow support if you need to use session entities // with Google Assistant integration. UpdateSessionEntityType(context.Context, *UpdateSessionEntityTypeRequest) (*SessionEntityType, error) // Deletes the specified session entity type. // // This method doesn't work with Google Assistant integration. // Contact Dialogflow support if you need to use session entities // with Google Assistant integration. DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*emptypb.Empty, error) }
SessionEntityTypesServer is the server API for SessionEntityTypes service.
type SessionsClient ¶
type SessionsClient interface { // Processes a natural language query and returns structured, actionable data // as a result. This method is not idempotent, because it may cause contexts // and session entity types to be updated, which in turn might affect // results of future queries. // // If you might use // [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) // or other CCAI products now or in the future, consider using // [AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] // instead of `DetectIntent`. `AnalyzeContent` has additional // functionality for Agent Assist and other CCAI products. // // Note: Always use agent versions for production traffic. // See [Versions and // environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). DetectIntent(ctx context.Context, in *DetectIntentRequest, opts ...grpc.CallOption) (*DetectIntentResponse, error) // Processes a natural language query in audio format in a streaming fashion // and returns structured, actionable data as a result. This method is only // available via the gRPC API (not REST). // // If you might use // [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) // or other CCAI products now or in the future, consider using // [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] // instead of `StreamingDetectIntent`. `StreamingAnalyzeContent` has // additional functionality for Agent Assist and other CCAI products. // // Note: Always use agent versions for production traffic. // See [Versions and // environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). StreamingDetectIntent(ctx context.Context, opts ...grpc.CallOption) (Sessions_StreamingDetectIntentClient, error) }
SessionsClient is the client API for Sessions service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSessionsClient ¶
func NewSessionsClient(cc grpc.ClientConnInterface) SessionsClient
type SessionsServer ¶
type SessionsServer interface { // Processes a natural language query and returns structured, actionable data // as a result. This method is not idempotent, because it may cause contexts // and session entity types to be updated, which in turn might affect // results of future queries. // // If you might use // [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) // or other CCAI products now or in the future, consider using // [AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] // instead of `DetectIntent`. `AnalyzeContent` has additional // functionality for Agent Assist and other CCAI products. // // Note: Always use agent versions for production traffic. // See [Versions and // environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). DetectIntent(context.Context, *DetectIntentRequest) (*DetectIntentResponse, error) // Processes a natural language query in audio format in a streaming fashion // and returns structured, actionable data as a result. This method is only // available via the gRPC API (not REST). // // If you might use // [Agent Assist](https://cloud.google.com/dialogflow/docs/#aa) // or other CCAI products now or in the future, consider using // [StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] // instead of `StreamingDetectIntent`. `StreamingAnalyzeContent` has // additional functionality for Agent Assist and other CCAI products. // // Note: Always use agent versions for production traffic. // See [Versions and // environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). StreamingDetectIntent(Sessions_StreamingDetectIntentServer) error }
SessionsServer is the server API for Sessions service.
type Sessions_StreamingDetectIntentClient ¶
type Sessions_StreamingDetectIntentClient interface { Send(*StreamingDetectIntentRequest) error Recv() (*StreamingDetectIntentResponse, error) grpc.ClientStream }
type Sessions_StreamingDetectIntentServer ¶
type Sessions_StreamingDetectIntentServer interface { Send(*StreamingDetectIntentResponse) error Recv() (*StreamingDetectIntentRequest, error) grpc.ServerStream }
type SetAgentRequest ¶
type SetAgentRequest struct { // Required. The agent to update. Agent *Agent `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` // Optional. The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [Agents.SetAgent][google.cloud.dialogflow.v2beta1.Agents.SetAgent].
func (*SetAgentRequest) Descriptor ¶
func (*SetAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetAgentRequest.ProtoReflect.Descriptor instead.
func (*SetAgentRequest) GetAgent ¶
func (x *SetAgentRequest) GetAgent() *Agent
func (*SetAgentRequest) GetUpdateMask ¶
func (x *SetAgentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*SetAgentRequest) ProtoMessage ¶
func (*SetAgentRequest) ProtoMessage()
func (*SetAgentRequest) ProtoReflect ¶
func (x *SetAgentRequest) ProtoReflect() protoreflect.Message
func (*SetAgentRequest) Reset ¶
func (x *SetAgentRequest) Reset()
func (*SetAgentRequest) String ¶
func (x *SetAgentRequest) String() string
type SetSuggestionFeatureConfigOperationMetadata ¶
type SetSuggestionFeatureConfigOperationMetadata struct { // The resource name of the conversation profile. Format: // `projects/<Project ID>/locations/<Location // ID>/conversationProfiles/<Conversation Profile ID>` ConversationProfile string `protobuf:"bytes,1,opt,name=conversation_profile,json=conversationProfile,proto3" json:"conversation_profile,omitempty"` // Required. The participant role to add or update the suggestion feature // config. Only HUMAN_AGENT or END_USER can be used. ParticipantRole Participant_Role `protobuf:"varint,2,opt,name=participant_role,json=participantRole,proto3,enum=google.cloud.dialogflow.v2beta1.Participant_Role" json:"participant_role,omitempty"` // Required. The type of the suggestion feature to add or update. SuggestionFeatureType SuggestionFeature_Type `protobuf:"varint,3,opt,name=suggestion_feature_type,json=suggestionFeatureType,proto3,enum=google.cloud.dialogflow.v2beta1.SuggestionFeature_Type" json:"suggestion_feature_type,omitempty"` // Timestamp whe the request was created. The time is measured on server side. CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // contains filtered or unexported fields }
Metadata for a [ConversationProfile.SetSuggestionFeatureConfig][] operation.
func (*SetSuggestionFeatureConfigOperationMetadata) Descriptor ¶
func (*SetSuggestionFeatureConfigOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use SetSuggestionFeatureConfigOperationMetadata.ProtoReflect.Descriptor instead.
func (*SetSuggestionFeatureConfigOperationMetadata) GetConversationProfile ¶
func (x *SetSuggestionFeatureConfigOperationMetadata) GetConversationProfile() string
func (*SetSuggestionFeatureConfigOperationMetadata) GetCreateTime ¶
func (x *SetSuggestionFeatureConfigOperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*SetSuggestionFeatureConfigOperationMetadata) GetParticipantRole ¶
func (x *SetSuggestionFeatureConfigOperationMetadata) GetParticipantRole() Participant_Role
func (*SetSuggestionFeatureConfigOperationMetadata) GetSuggestionFeatureType ¶
func (x *SetSuggestionFeatureConfigOperationMetadata) GetSuggestionFeatureType() SuggestionFeature_Type
func (*SetSuggestionFeatureConfigOperationMetadata) ProtoMessage ¶
func (*SetSuggestionFeatureConfigOperationMetadata) ProtoMessage()
func (*SetSuggestionFeatureConfigOperationMetadata) ProtoReflect ¶
func (x *SetSuggestionFeatureConfigOperationMetadata) ProtoReflect() protoreflect.Message
func (*SetSuggestionFeatureConfigOperationMetadata) Reset ¶
func (x *SetSuggestionFeatureConfigOperationMetadata) Reset()
func (*SetSuggestionFeatureConfigOperationMetadata) String ¶
func (x *SetSuggestionFeatureConfigOperationMetadata) String() string
type SetSuggestionFeatureConfigRequest ¶
type SetSuggestionFeatureConfigRequest struct { // Required. The Conversation Profile to add or update the suggestion feature // config. Format: `projects/<Project ID>/locations/<Location // ID>/conversationProfiles/<Conversation Profile ID>`. ConversationProfile string `protobuf:"bytes,1,opt,name=conversation_profile,json=conversationProfile,proto3" json:"conversation_profile,omitempty"` // Required. The participant role to add or update the suggestion feature // config. Only HUMAN_AGENT or END_USER can be used. ParticipantRole Participant_Role `protobuf:"varint,2,opt,name=participant_role,json=participantRole,proto3,enum=google.cloud.dialogflow.v2beta1.Participant_Role" json:"participant_role,omitempty"` // Required. The suggestion feature config to add or update. SuggestionFeatureConfig *HumanAgentAssistantConfig_SuggestionFeatureConfig `protobuf:"bytes,3,opt,name=suggestion_feature_config,json=suggestionFeatureConfig,proto3" json:"suggestion_feature_config,omitempty"` // contains filtered or unexported fields }
The request message for [ConversationProfiles.SetSuggestionFeature][].
func (*SetSuggestionFeatureConfigRequest) Descriptor ¶
func (*SetSuggestionFeatureConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSuggestionFeatureConfigRequest.ProtoReflect.Descriptor instead.
func (*SetSuggestionFeatureConfigRequest) GetConversationProfile ¶
func (x *SetSuggestionFeatureConfigRequest) GetConversationProfile() string
func (*SetSuggestionFeatureConfigRequest) GetParticipantRole ¶
func (x *SetSuggestionFeatureConfigRequest) GetParticipantRole() Participant_Role
func (*SetSuggestionFeatureConfigRequest) GetSuggestionFeatureConfig ¶
func (x *SetSuggestionFeatureConfigRequest) GetSuggestionFeatureConfig() *HumanAgentAssistantConfig_SuggestionFeatureConfig
func (*SetSuggestionFeatureConfigRequest) ProtoMessage ¶
func (*SetSuggestionFeatureConfigRequest) ProtoMessage()
func (*SetSuggestionFeatureConfigRequest) ProtoReflect ¶
func (x *SetSuggestionFeatureConfigRequest) ProtoReflect() protoreflect.Message
func (*SetSuggestionFeatureConfigRequest) Reset ¶
func (x *SetSuggestionFeatureConfigRequest) Reset()
func (*SetSuggestionFeatureConfigRequest) String ¶
func (x *SetSuggestionFeatureConfigRequest) String() string
type SipTrunk ¶
type SipTrunk struct { // Identifier. The unique identifier of the SIP trunk. // Format: `projects/<Project ID>/locations/<Location ID>/sipTrunks/<SipTrunk // ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. The expected hostnames in the peer certificate from partner that // is used for TLS authentication. ExpectedHostname []string `protobuf:"bytes,2,rep,name=expected_hostname,json=expectedHostname,proto3" json:"expected_hostname,omitempty"` // Output only. Connections of the SIP trunk. Connections []*Connection `protobuf:"bytes,3,rep,name=connections,proto3" json:"connections,omitempty"` // Optional. Human readable alias for this trunk. DisplayName string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // contains filtered or unexported fields }
SipTrunk is the resource that represents a SIP trunk to connect to Google Telephony platform SIP trunking service.
func (*SipTrunk) Descriptor ¶
Deprecated: Use SipTrunk.ProtoReflect.Descriptor instead.
func (*SipTrunk) GetConnections ¶
func (x *SipTrunk) GetConnections() []*Connection
func (*SipTrunk) GetDisplayName ¶
func (*SipTrunk) GetExpectedHostname ¶
func (*SipTrunk) GetName ¶
func (*SipTrunk) ProtoMessage ¶
func (*SipTrunk) ProtoMessage()
func (*SipTrunk) ProtoReflect ¶
func (x *SipTrunk) ProtoReflect() protoreflect.Message
func (*SipTrunk) Reset ¶
func (x *SipTrunk) Reset()
func (*SipTrunk) String ¶
type SipTrunksClient ¶
type SipTrunksClient interface { // Creates a SipTrunk for a specified location. CreateSipTrunk(ctx context.Context, in *CreateSipTrunkRequest, opts ...grpc.CallOption) (*SipTrunk, error) // Deletes a specified SipTrunk. DeleteSipTrunk(ctx context.Context, in *DeleteSipTrunkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Returns a list of SipTrunks in the specified location. ListSipTrunks(ctx context.Context, in *ListSipTrunksRequest, opts ...grpc.CallOption) (*ListSipTrunksResponse, error) // Retrieves the specified SipTrunk. GetSipTrunk(ctx context.Context, in *GetSipTrunkRequest, opts ...grpc.CallOption) (*SipTrunk, error) // Updates the specified SipTrunk. UpdateSipTrunk(ctx context.Context, in *UpdateSipTrunkRequest, opts ...grpc.CallOption) (*SipTrunk, error) }
SipTrunksClient is the client API for SipTrunks service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewSipTrunksClient ¶
func NewSipTrunksClient(cc grpc.ClientConnInterface) SipTrunksClient
type SipTrunksServer ¶
type SipTrunksServer interface { // Creates a SipTrunk for a specified location. CreateSipTrunk(context.Context, *CreateSipTrunkRequest) (*SipTrunk, error) // Deletes a specified SipTrunk. DeleteSipTrunk(context.Context, *DeleteSipTrunkRequest) (*emptypb.Empty, error) // Returns a list of SipTrunks in the specified location. ListSipTrunks(context.Context, *ListSipTrunksRequest) (*ListSipTrunksResponse, error) // Retrieves the specified SipTrunk. GetSipTrunk(context.Context, *GetSipTrunkRequest) (*SipTrunk, error) // Updates the specified SipTrunk. UpdateSipTrunk(context.Context, *UpdateSipTrunkRequest) (*SipTrunk, error) }
SipTrunksServer is the server API for SipTrunks service.
type SmartReplyAnswer ¶
type SmartReplyAnswer struct { // The content of the reply. Reply string `protobuf:"bytes,1,opt,name=reply,proto3" json:"reply,omitempty"` // Smart reply confidence. // The system's confidence score that this reply is a good match for // this conversation, as a value from 0.0 (completely uncertain) to 1.0 // (completely certain). Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` // The name of answer record, in the format of // "projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record // ID>" AnswerRecord string `protobuf:"bytes,3,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"` // contains filtered or unexported fields }
Represents a smart reply answer.
func (*SmartReplyAnswer) Descriptor ¶
func (*SmartReplyAnswer) Descriptor() ([]byte, []int)
Deprecated: Use SmartReplyAnswer.ProtoReflect.Descriptor instead.
func (*SmartReplyAnswer) GetAnswerRecord ¶
func (x *SmartReplyAnswer) GetAnswerRecord() string
func (*SmartReplyAnswer) GetConfidence ¶
func (x *SmartReplyAnswer) GetConfidence() float32
func (*SmartReplyAnswer) GetReply ¶
func (x *SmartReplyAnswer) GetReply() string
func (*SmartReplyAnswer) ProtoMessage ¶
func (*SmartReplyAnswer) ProtoMessage()
func (*SmartReplyAnswer) ProtoReflect ¶
func (x *SmartReplyAnswer) ProtoReflect() protoreflect.Message
func (*SmartReplyAnswer) Reset ¶
func (x *SmartReplyAnswer) Reset()
func (*SmartReplyAnswer) String ¶
func (x *SmartReplyAnswer) String() string
type SpeechContext ¶
type SpeechContext struct { // Optional. A list of strings containing words and phrases that the speech // recognizer should recognize with higher likelihood. // // This list can be used to: // // - improve accuracy for words and phrases you expect the user to say, // e.g. typical commands for your Dialogflow agent // - add additional words to the speech recognizer vocabulary // - ... // // See the [Cloud Speech // documentation](https://cloud.google.com/speech-to-text/quotas) for usage // limits. Phrases []string `protobuf:"bytes,1,rep,name=phrases,proto3" json:"phrases,omitempty"` // Optional. Boost for this context compared to other contexts: // // - If the boost is positive, Dialogflow will increase the probability that // the phrases in this context are recognized over similar sounding phrases. // - If the boost is unspecified or non-positive, Dialogflow will not apply // any boost. // // Dialogflow recommends that you use boosts in the range (0, 20] and that you // find a value that fits your use case with binary search. Boost float32 `protobuf:"fixed32,2,opt,name=boost,proto3" json:"boost,omitempty"` // contains filtered or unexported fields }
Hints for the speech recognizer to help with recognition in a specific conversation state.
func (*SpeechContext) Descriptor ¶
func (*SpeechContext) Descriptor() ([]byte, []int)
Deprecated: Use SpeechContext.ProtoReflect.Descriptor instead.
func (*SpeechContext) GetBoost ¶
func (x *SpeechContext) GetBoost() float32
func (*SpeechContext) GetPhrases ¶
func (x *SpeechContext) GetPhrases() []string
func (*SpeechContext) ProtoMessage ¶
func (*SpeechContext) ProtoMessage()
func (*SpeechContext) ProtoReflect ¶
func (x *SpeechContext) ProtoReflect() protoreflect.Message
func (*SpeechContext) Reset ¶
func (x *SpeechContext) Reset()
func (*SpeechContext) String ¶
func (x *SpeechContext) String() string
type SpeechModelVariant ¶
type SpeechModelVariant int32
Variant of the specified [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
See the [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) for which models have different variants. For example, the "phone_call" model has both a standard and an enhanced variant. When you use an enhanced model, you will generally receive higher quality results than for a standard model.
const ( // No model variant specified. In this case Dialogflow defaults to // USE_BEST_AVAILABLE. SpeechModelVariant_SPEECH_MODEL_VARIANT_UNSPECIFIED SpeechModelVariant = 0 // Use the best available variant of the [Speech // model][InputAudioConfig.model] that the caller is eligible for. // // Please see the [Dialogflow // docs](https://cloud.google.com/dialogflow/docs/data-logging) for // how to make your project eligible for enhanced models. SpeechModelVariant_USE_BEST_AVAILABLE SpeechModelVariant = 1 // Use standard model variant even if an enhanced model is available. See the // [Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) // for details about enhanced models. SpeechModelVariant_USE_STANDARD SpeechModelVariant = 2 // Use an enhanced model variant: // // - If an enhanced variant does not exist for the given // [model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] and // request language, Dialogflow falls back to the standard variant. // // The [Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) // describes which models have enhanced variants. // // - If the API caller isn't eligible for enhanced models, Dialogflow returns // an error. Please see the [Dialogflow // docs](https://cloud.google.com/dialogflow/docs/data-logging) // for how to make your project eligible. SpeechModelVariant_USE_ENHANCED SpeechModelVariant = 3 )
func (SpeechModelVariant) Descriptor ¶
func (SpeechModelVariant) Descriptor() protoreflect.EnumDescriptor
func (SpeechModelVariant) Enum ¶
func (x SpeechModelVariant) Enum() *SpeechModelVariant
func (SpeechModelVariant) EnumDescriptor ¶
func (SpeechModelVariant) EnumDescriptor() ([]byte, []int)
Deprecated: Use SpeechModelVariant.Descriptor instead.
func (SpeechModelVariant) Number ¶
func (x SpeechModelVariant) Number() protoreflect.EnumNumber
func (SpeechModelVariant) String ¶
func (x SpeechModelVariant) String() string
func (SpeechModelVariant) Type ¶
func (SpeechModelVariant) Type() protoreflect.EnumType
type SpeechToTextConfig ¶
type SpeechToTextConfig struct { // The speech model used in speech to text. // `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as // `USE_ENHANCED`. It can be overridden in // [AnalyzeContentRequest][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest] // and // [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest] // request. If enhanced model variant is specified and an enhanced version of // the specified model for the language does not exist, then it would emit an // error. SpeechModelVariant SpeechModelVariant `protobuf:"varint,1,opt,name=speech_model_variant,json=speechModelVariant,proto3,enum=google.cloud.dialogflow.v2beta1.SpeechModelVariant" json:"speech_model_variant,omitempty"` // Which Speech model to select. Select the // model best suited to your domain to get best results. If a model is not // explicitly specified, then Dialogflow auto-selects a model based on other // parameters in the SpeechToTextConfig and Agent settings. // If enhanced speech model is enabled for the agent and an enhanced // version of the specified model for the language does not exist, then the // speech is recognized using the standard version of the specified model. // Refer to // [Cloud Speech API // documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model) // for more details. // If you specify a model, the following models typically have the best // performance: // // - phone_call (best for Agent Assist and telephony) // - latest_short (best for Dialogflow non-telephony) // - command_and_search // // Leave this field unspecified to use // [Agent Speech // settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-speech) // for model selection. Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` // List of names of Cloud Speech phrase sets that are used for transcription. PhraseSets []string `protobuf:"bytes,4,rep,name=phrase_sets,json=phraseSets,proto3" json:"phrase_sets,omitempty"` // Audio encoding of the audio content to process. AudioEncoding AudioEncoding `protobuf:"varint,6,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.v2beta1.AudioEncoding" json:"audio_encoding,omitempty"` // Sample rate (in Hertz) of the audio content sent in the query. // Refer to // [Cloud Speech API // documentation](https://cloud.google.com/speech-to-text/docs/basics) for // more details. SampleRateHertz int32 `protobuf:"varint,7,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` // The language of the supplied audio. Dialogflow does not do translations. // See [Language // Support](https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that queries in // the same session do not necessarily need to specify the same language. LanguageCode string `protobuf:"bytes,8,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // If `true`, Dialogflow returns // [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in // [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] // with information about the recognized speech words, e.g. start and end time // offsets. If false or unspecified, Speech doesn't return any word-level // information. EnableWordInfo bool `protobuf:"varint,9,opt,name=enable_word_info,json=enableWordInfo,proto3" json:"enable_word_info,omitempty"` // Use timeout based endpointing, interpreting endpointer sensitivy as // seconds of timeout value. UseTimeoutBasedEndpointing bool `protobuf:"varint,11,opt,name=use_timeout_based_endpointing,json=useTimeoutBasedEndpointing,proto3" json:"use_timeout_based_endpointing,omitempty"` // contains filtered or unexported fields }
Configures speech transcription for ConversationProfile[google.cloud.dialogflow.v2beta1.ConversationProfile].
func (*SpeechToTextConfig) Descriptor ¶
func (*SpeechToTextConfig) Descriptor() ([]byte, []int)
Deprecated: Use SpeechToTextConfig.ProtoReflect.Descriptor instead.
func (*SpeechToTextConfig) GetAudioEncoding ¶
func (x *SpeechToTextConfig) GetAudioEncoding() AudioEncoding
func (*SpeechToTextConfig) GetEnableWordInfo ¶
func (x *SpeechToTextConfig) GetEnableWordInfo() bool
func (*SpeechToTextConfig) GetLanguageCode ¶
func (x *SpeechToTextConfig) GetLanguageCode() string
func (*SpeechToTextConfig) GetModel ¶
func (x *SpeechToTextConfig) GetModel() string
func (*SpeechToTextConfig) GetPhraseSets ¶
func (x *SpeechToTextConfig) GetPhraseSets() []string
func (*SpeechToTextConfig) GetSampleRateHertz ¶
func (x *SpeechToTextConfig) GetSampleRateHertz() int32
func (*SpeechToTextConfig) GetSpeechModelVariant ¶
func (x *SpeechToTextConfig) GetSpeechModelVariant() SpeechModelVariant
func (*SpeechToTextConfig) GetUseTimeoutBasedEndpointing ¶
func (x *SpeechToTextConfig) GetUseTimeoutBasedEndpointing() bool
func (*SpeechToTextConfig) ProtoMessage ¶
func (*SpeechToTextConfig) ProtoMessage()
func (*SpeechToTextConfig) ProtoReflect ¶
func (x *SpeechToTextConfig) ProtoReflect() protoreflect.Message
func (*SpeechToTextConfig) Reset ¶
func (x *SpeechToTextConfig) Reset()
func (*SpeechToTextConfig) String ¶
func (x *SpeechToTextConfig) String() string
type SpeechWordInfo ¶
type SpeechWordInfo struct { // The word this info is for. Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"` // Time offset relative to the beginning of the audio that corresponds to the // start of the spoken word. This is an experimental feature and the accuracy // of the time offset can vary. StartOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"` // Time offset relative to the beginning of the audio that corresponds to the // end of the spoken word. This is an experimental feature and the accuracy of // the time offset can vary. EndOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"` // The Speech confidence between 0.0 and 1.0 for this word. A higher number // indicates an estimated greater likelihood that the recognized word is // correct. The default of 0.0 is a sentinel value indicating that confidence // was not set. // // This field is not guaranteed to be fully stable over time for the same // audio input. Users should also not rely on it to always be provided. Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` // contains filtered or unexported fields }
Information for a word recognized by the speech recognizer.
func (*SpeechWordInfo) Descriptor ¶
func (*SpeechWordInfo) Descriptor() ([]byte, []int)
Deprecated: Use SpeechWordInfo.ProtoReflect.Descriptor instead.
func (*SpeechWordInfo) GetConfidence ¶
func (x *SpeechWordInfo) GetConfidence() float32
func (*SpeechWordInfo) GetEndOffset ¶
func (x *SpeechWordInfo) GetEndOffset() *durationpb.Duration
func (*SpeechWordInfo) GetStartOffset ¶
func (x *SpeechWordInfo) GetStartOffset() *durationpb.Duration
func (*SpeechWordInfo) GetWord ¶
func (x *SpeechWordInfo) GetWord() string
func (*SpeechWordInfo) ProtoMessage ¶
func (*SpeechWordInfo) ProtoMessage()
func (*SpeechWordInfo) ProtoReflect ¶
func (x *SpeechWordInfo) ProtoReflect() protoreflect.Message
func (*SpeechWordInfo) Reset ¶
func (x *SpeechWordInfo) Reset()
func (*SpeechWordInfo) String ¶
func (x *SpeechWordInfo) String() string
type SsmlVoiceGender ¶
type SsmlVoiceGender int32
Gender of the voice as described in [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice).
const ( // An unspecified gender, which means that the client doesn't care which // gender the selected voice will have. SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED SsmlVoiceGender = 0 // A male voice. SsmlVoiceGender_SSML_VOICE_GENDER_MALE SsmlVoiceGender = 1 // A female voice. SsmlVoiceGender_SSML_VOICE_GENDER_FEMALE SsmlVoiceGender = 2 // A gender-neutral voice. SsmlVoiceGender_SSML_VOICE_GENDER_NEUTRAL SsmlVoiceGender = 3 )
func (SsmlVoiceGender) Descriptor ¶
func (SsmlVoiceGender) Descriptor() protoreflect.EnumDescriptor
func (SsmlVoiceGender) Enum ¶
func (x SsmlVoiceGender) Enum() *SsmlVoiceGender
func (SsmlVoiceGender) EnumDescriptor ¶
func (SsmlVoiceGender) EnumDescriptor() ([]byte, []int)
Deprecated: Use SsmlVoiceGender.Descriptor instead.
func (SsmlVoiceGender) Number ¶
func (x SsmlVoiceGender) Number() protoreflect.EnumNumber
func (SsmlVoiceGender) String ¶
func (x SsmlVoiceGender) String() string
func (SsmlVoiceGender) Type ¶
func (SsmlVoiceGender) Type() protoreflect.EnumType
type StreamingAnalyzeContentRequest ¶
type StreamingAnalyzeContentRequest struct { // Required. The name of the participant this text comes from. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/participants/<Participant ID>`. Participant string `protobuf:"bytes,1,opt,name=participant,proto3" json:"participant,omitempty"` // Required. The input config. // // Types that are assignable to Config: // // *StreamingAnalyzeContentRequest_AudioConfig // *StreamingAnalyzeContentRequest_TextConfig Config isStreamingAnalyzeContentRequest_Config `protobuf_oneof:"config"` // Speech synthesis configuration. // The speech synthesis settings for a virtual agent that may be configured // for the associated conversation profile are not used when calling // StreamingAnalyzeContent. If this configuration is not supplied, speech // synthesis is disabled. ReplyAudioConfig *OutputAudioConfig `protobuf:"bytes,4,opt,name=reply_audio_config,json=replyAudioConfig,proto3" json:"reply_audio_config,omitempty"` // Required. The input. // // Types that are assignable to Input: // // *StreamingAnalyzeContentRequest_InputAudio // *StreamingAnalyzeContentRequest_InputText // *StreamingAnalyzeContentRequest_InputDtmf // *StreamingAnalyzeContentRequest_InputIntent // *StreamingAnalyzeContentRequest_InputEvent Input isStreamingAnalyzeContentRequest_Input `protobuf_oneof:"input"` // Parameters for a Dialogflow virtual-agent query. QueryParams *QueryParameters `protobuf:"bytes,7,opt,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"` // Parameters for a human assist query. AssistQueryParams *AssistQueryParameters `protobuf:"bytes,8,opt,name=assist_query_params,json=assistQueryParams,proto3" json:"assist_query_params,omitempty"` // Additional parameters to be put into Dialogflow CX session parameters. To // remove a parameter from the session, clients should explicitly set the // parameter value to null. // // Note: this field should only be used if you are connecting to a Dialogflow // CX agent. CxParameters *structpb.Struct `protobuf:"bytes,13,opt,name=cx_parameters,json=cxParameters,proto3" json:"cx_parameters,omitempty"` // The unique identifier of the CX page to override the `current_page` in the // session. // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent // ID>/flows/<Flow ID>/pages/<Page ID>`. // // If `cx_current_page` is specified, the previous state of the session will // be ignored by Dialogflow CX, including the [previous // page][QueryResult.current_page] and the [previous session // parameters][QueryResult.parameters]. In most cases, `cx_current_page` and // `cx_parameters` should be configured together to direct a session to a // specific state. // // Note: this field should only be used if you are connecting to a Dialogflow // CX agent. CxCurrentPage string `protobuf:"bytes,15,opt,name=cx_current_page,json=cxCurrentPage,proto3" json:"cx_current_page,omitempty"` // Optional. Enable full bidirectional streaming. You can keep streaming the // audio until timeout, and there's no need to half close the stream to get // the response. // // Restrictions: // // - Timeout: 3 mins. // - Audio Encoding: only supports // [AudioEncoding.AUDIO_ENCODING_LINEAR_16][google.cloud.dialogflow.v2beta1.AudioEncoding.AUDIO_ENCODING_LINEAR_16] // and // [AudioEncoding.AUDIO_ENCODING_MULAW][google.cloud.dialogflow.v2beta1.AudioEncoding.AUDIO_ENCODING_MULAW] // - Lifecycle: conversation should be in `Assist Stage`, go to // [Conversation.CreateConversation][] for more information. // // InvalidArgument Error will be returned if the one of restriction checks // failed. // // You can find more details in // https://cloud.google.com/agent-assist/docs/extended-streaming EnableExtendedStreaming bool `protobuf:"varint,11,opt,name=enable_extended_streaming,json=enableExtendedStreaming,proto3" json:"enable_extended_streaming,omitempty"` // Enable partial virtual agent responses. If this flag is not enabled, // response stream still contains only one final response even if some // `Fulfillment`s in Dialogflow virtual agent have been configured to return // partial responses. EnablePartialAutomatedAgentReply bool `protobuf:"varint,12,opt,name=enable_partial_automated_agent_reply,json=enablePartialAutomatedAgentReply,proto3" json:"enable_partial_automated_agent_reply,omitempty"` // if true, `StreamingAnalyzeContentResponse.debugging_info` will get // populated. EnableDebuggingInfo bool `protobuf:"varint,19,opt,name=enable_debugging_info,json=enableDebuggingInfo,proto3" json:"enable_debugging_info,omitempty"` // contains filtered or unexported fields }
The top-level message sent by the client to the [Participants.StreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.StreamingAnalyzeContent] method.
Multiple request messages should be sent in order:
- The first message must contain [participant][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.participant], [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] and optionally [query_params][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.query_params]. If you want to receive an audio response, it should also contain [reply_audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.reply_audio_config]. The message must not contain [input][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input].
2. If [config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] in the first message
was set to [audio_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.audio_config], all subsequent messages must contain [input_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_audio] to continue with Speech recognition. If you decide to rather analyze text input after you already started Speech recognition, please send a message with [StreamingAnalyzeContentRequest.input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text]. However, note that: * Dialogflow will bill you for the audio so far. * Dialogflow discards all Speech recognition results in favor of the text input. 3. If [StreamingAnalyzeContentRequest.config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.config] in the first message was set to [StreamingAnalyzeContentRequest.text_config][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.text_config], then the second message must contain only [input_text][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest.input_text]. Moreover, you must not send more than two messages. After you sent all input, you must half-close or abort the request stream.
func (*StreamingAnalyzeContentRequest) Descriptor ¶
func (*StreamingAnalyzeContentRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamingAnalyzeContentRequest.ProtoReflect.Descriptor instead.
func (*StreamingAnalyzeContentRequest) GetAssistQueryParams ¶
func (x *StreamingAnalyzeContentRequest) GetAssistQueryParams() *AssistQueryParameters
func (*StreamingAnalyzeContentRequest) GetAudioConfig ¶
func (x *StreamingAnalyzeContentRequest) GetAudioConfig() *InputAudioConfig
func (*StreamingAnalyzeContentRequest) GetConfig ¶
func (m *StreamingAnalyzeContentRequest) GetConfig() isStreamingAnalyzeContentRequest_Config
func (*StreamingAnalyzeContentRequest) GetCxCurrentPage ¶
func (x *StreamingAnalyzeContentRequest) GetCxCurrentPage() string
func (*StreamingAnalyzeContentRequest) GetCxParameters ¶
func (x *StreamingAnalyzeContentRequest) GetCxParameters() *structpb.Struct
func (*StreamingAnalyzeContentRequest) GetEnableDebuggingInfo ¶
func (x *StreamingAnalyzeContentRequest) GetEnableDebuggingInfo() bool
func (*StreamingAnalyzeContentRequest) GetEnableExtendedStreaming ¶
func (x *StreamingAnalyzeContentRequest) GetEnableExtendedStreaming() bool
func (*StreamingAnalyzeContentRequest) GetEnablePartialAutomatedAgentReply ¶
func (x *StreamingAnalyzeContentRequest) GetEnablePartialAutomatedAgentReply() bool
func (*StreamingAnalyzeContentRequest) GetInput ¶
func (m *StreamingAnalyzeContentRequest) GetInput() isStreamingAnalyzeContentRequest_Input
func (*StreamingAnalyzeContentRequest) GetInputAudio ¶
func (x *StreamingAnalyzeContentRequest) GetInputAudio() []byte
func (*StreamingAnalyzeContentRequest) GetInputDtmf ¶
func (x *StreamingAnalyzeContentRequest) GetInputDtmf() *TelephonyDtmfEvents
func (*StreamingAnalyzeContentRequest) GetInputEvent ¶
func (x *StreamingAnalyzeContentRequest) GetInputEvent() string
func (*StreamingAnalyzeContentRequest) GetInputIntent ¶
func (x *StreamingAnalyzeContentRequest) GetInputIntent() string
func (*StreamingAnalyzeContentRequest) GetInputText ¶
func (x *StreamingAnalyzeContentRequest) GetInputText() string
func (*StreamingAnalyzeContentRequest) GetParticipant ¶
func (x *StreamingAnalyzeContentRequest) GetParticipant() string
func (*StreamingAnalyzeContentRequest) GetQueryParams ¶
func (x *StreamingAnalyzeContentRequest) GetQueryParams() *QueryParameters
func (*StreamingAnalyzeContentRequest) GetReplyAudioConfig ¶
func (x *StreamingAnalyzeContentRequest) GetReplyAudioConfig() *OutputAudioConfig
func (*StreamingAnalyzeContentRequest) GetTextConfig ¶
func (x *StreamingAnalyzeContentRequest) GetTextConfig() *InputTextConfig
func (*StreamingAnalyzeContentRequest) ProtoMessage ¶
func (*StreamingAnalyzeContentRequest) ProtoMessage()
func (*StreamingAnalyzeContentRequest) ProtoReflect ¶
func (x *StreamingAnalyzeContentRequest) ProtoReflect() protoreflect.Message
func (*StreamingAnalyzeContentRequest) Reset ¶
func (x *StreamingAnalyzeContentRequest) Reset()
func (*StreamingAnalyzeContentRequest) String ¶
func (x *StreamingAnalyzeContentRequest) String() string
type StreamingAnalyzeContentRequest_AudioConfig ¶
type StreamingAnalyzeContentRequest_AudioConfig struct { // Instructs the speech recognizer how to process the speech audio. AudioConfig *InputAudioConfig `protobuf:"bytes,2,opt,name=audio_config,json=audioConfig,proto3,oneof"` }
type StreamingAnalyzeContentRequest_InputAudio ¶
type StreamingAnalyzeContentRequest_InputAudio struct { // The input audio content to be recognized. Must be sent if `audio_config` // is set in the first message. The complete audio over all streaming // messages must not exceed 1 minute. InputAudio []byte `protobuf:"bytes,5,opt,name=input_audio,json=inputAudio,proto3,oneof"` }
type StreamingAnalyzeContentRequest_InputDtmf ¶
type StreamingAnalyzeContentRequest_InputDtmf struct { // The DTMF digits used to invoke intent and fill in parameter value. // // This input is ignored if the previous response indicated that DTMF input // is not accepted. InputDtmf *TelephonyDtmfEvents `protobuf:"bytes,9,opt,name=input_dtmf,json=inputDtmf,proto3,oneof"` }
type StreamingAnalyzeContentRequest_InputEvent ¶
type StreamingAnalyzeContentRequest_InputEvent struct { // The input event name. // This can only be sent once and would cancel the ongoing speech // recognition if any. InputEvent string `protobuf:"bytes,20,opt,name=input_event,json=inputEvent,proto3,oneof"` }
type StreamingAnalyzeContentRequest_InputIntent ¶
type StreamingAnalyzeContentRequest_InputIntent struct { // The intent to be triggered on V3 agent. // Format: `projects/<Project ID>/locations/<Location ID>/locations/ // <Location ID>/agents/<Agent ID>/intents/<Intent ID>`. InputIntent string `protobuf:"bytes,17,opt,name=input_intent,json=inputIntent,proto3,oneof"` }
type StreamingAnalyzeContentRequest_InputText ¶
type StreamingAnalyzeContentRequest_InputText struct { // The UTF-8 encoded natural language text to be processed. Must be sent if // `text_config` is set in the first message. Text length must not exceed // 256 bytes for virtual agent interactions. The `input_text` field can be // only sent once, and would cancel the speech recognition if any ongoing. InputText string `protobuf:"bytes,6,opt,name=input_text,json=inputText,proto3,oneof"` }
type StreamingAnalyzeContentRequest_TextConfig ¶
type StreamingAnalyzeContentRequest_TextConfig struct { // The natural language text to be processed. TextConfig *InputTextConfig `protobuf:"bytes,3,opt,name=text_config,json=textConfig,proto3,oneof"` }
type StreamingAnalyzeContentResponse ¶
type StreamingAnalyzeContentResponse struct { // The result of speech recognition. RecognitionResult *StreamingRecognitionResult `protobuf:"bytes,1,opt,name=recognition_result,json=recognitionResult,proto3" json:"recognition_result,omitempty"` // Optional. The output text content. // This field is set if an automated agent responded with a text for the user. ReplyText string `protobuf:"bytes,2,opt,name=reply_text,json=replyText,proto3" json:"reply_text,omitempty"` // Optional. The audio data bytes encoded as specified in the request. // This field is set if: // // - The `reply_audio_config` field is specified in the request. // - The automated agent, which this output comes from, responded with audio. // In such case, the `reply_audio.config` field contains settings used to // synthesize the speech. // // In some scenarios, multiple output audio fields may be present in the // response structure. In these cases, only the top-most-level audio output // has content. ReplyAudio *OutputAudio `protobuf:"bytes,3,opt,name=reply_audio,json=replyAudio,proto3" json:"reply_audio,omitempty"` // Optional. Only set if a Dialogflow automated agent has responded. // Note that: [AutomatedAgentReply.detect_intent_response.output_audio][] // and [AutomatedAgentReply.detect_intent_response.output_audio_config][] // are always empty, use // [reply_audio][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse.reply_audio] // instead. AutomatedAgentReply *AutomatedAgentReply `protobuf:"bytes,4,opt,name=automated_agent_reply,json=automatedAgentReply,proto3" json:"automated_agent_reply,omitempty"` // Output only. Message analyzed by CCAI. Message *Message `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` // The suggestions for most recent human agent. The order is the same as // [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] // of // [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.human_agent_suggestion_config]. HumanAgentSuggestionResults []*SuggestionResult `protobuf:"bytes,7,rep,name=human_agent_suggestion_results,json=humanAgentSuggestionResults,proto3" json:"human_agent_suggestion_results,omitempty"` // The suggestions for end user. The order is the same as // [HumanAgentAssistantConfig.SuggestionConfig.feature_configs][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.feature_configs] // of // [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.end_user_suggestion_config]. EndUserSuggestionResults []*SuggestionResult `protobuf:"bytes,8,rep,name=end_user_suggestion_results,json=endUserSuggestionResults,proto3" json:"end_user_suggestion_results,omitempty"` // Indicates the parameters of DTMF. DtmfParameters *DtmfParameters `protobuf:"bytes,10,opt,name=dtmf_parameters,json=dtmfParameters,proto3" json:"dtmf_parameters,omitempty"` // Debugging info that would get populated when // `StreamingAnalyzeContentRequest.enable_debugging_info` is set to true. DebuggingInfo *CloudConversationDebuggingInfo `protobuf:"bytes,11,opt,name=debugging_info,json=debuggingInfo,proto3" json:"debugging_info,omitempty"` // The name of the actual Cloud speech model used for speech recognition. SpeechModel string `protobuf:"bytes,13,opt,name=speech_model,json=speechModel,proto3" json:"speech_model,omitempty"` // contains filtered or unexported fields }
The top-level message returned from the `StreamingAnalyzeContent` method.
Multiple response messages can be returned in order:
If the input was set to streaming audio, the first one or more messages contain `recognition_result`. Each `recognition_result` represents a more complete transcript of what the user said. The last `recognition_result` has `is_final` set to `true`.
In virtual agent stage: if `enable_partial_automated_agent_reply` is true, the following N (currently 1 <= N <= 4) messages contain `automated_agent_reply` and optionally `reply_audio` returned by the virtual agent. The first (N-1) `automated_agent_reply`s will have `automated_agent_reply_type` set to `PARTIAL`. The last `automated_agent_reply` has `automated_agent_reply_type` set to `FINAL`. If `enable_partial_automated_agent_reply` is not enabled, response stream only contains the final reply.
In human assist stage: the following N (N >= 1) messages contain `human_agent_suggestion_results`, `end_user_suggestion_results` or `message`.
func (*StreamingAnalyzeContentResponse) Descriptor ¶
func (*StreamingAnalyzeContentResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamingAnalyzeContentResponse.ProtoReflect.Descriptor instead.
func (*StreamingAnalyzeContentResponse) GetAutomatedAgentReply ¶
func (x *StreamingAnalyzeContentResponse) GetAutomatedAgentReply() *AutomatedAgentReply
func (*StreamingAnalyzeContentResponse) GetDebuggingInfo ¶
func (x *StreamingAnalyzeContentResponse) GetDebuggingInfo() *CloudConversationDebuggingInfo
func (*StreamingAnalyzeContentResponse) GetDtmfParameters ¶
func (x *StreamingAnalyzeContentResponse) GetDtmfParameters() *DtmfParameters
func (*StreamingAnalyzeContentResponse) GetEndUserSuggestionResults ¶
func (x *StreamingAnalyzeContentResponse) GetEndUserSuggestionResults() []*SuggestionResult
func (*StreamingAnalyzeContentResponse) GetHumanAgentSuggestionResults ¶
func (x *StreamingAnalyzeContentResponse) GetHumanAgentSuggestionResults() []*SuggestionResult
func (*StreamingAnalyzeContentResponse) GetMessage ¶
func (x *StreamingAnalyzeContentResponse) GetMessage() *Message
func (*StreamingAnalyzeContentResponse) GetRecognitionResult ¶
func (x *StreamingAnalyzeContentResponse) GetRecognitionResult() *StreamingRecognitionResult
func (*StreamingAnalyzeContentResponse) GetReplyAudio ¶
func (x *StreamingAnalyzeContentResponse) GetReplyAudio() *OutputAudio
func (*StreamingAnalyzeContentResponse) GetReplyText ¶
func (x *StreamingAnalyzeContentResponse) GetReplyText() string
func (*StreamingAnalyzeContentResponse) GetSpeechModel ¶
func (x *StreamingAnalyzeContentResponse) GetSpeechModel() string
func (*StreamingAnalyzeContentResponse) ProtoMessage ¶
func (*StreamingAnalyzeContentResponse) ProtoMessage()
func (*StreamingAnalyzeContentResponse) ProtoReflect ¶
func (x *StreamingAnalyzeContentResponse) ProtoReflect() protoreflect.Message
func (*StreamingAnalyzeContentResponse) Reset ¶
func (x *StreamingAnalyzeContentResponse) Reset()
func (*StreamingAnalyzeContentResponse) String ¶
func (x *StreamingAnalyzeContentResponse) String() string
type StreamingDetectIntentRequest ¶
type StreamingDetectIntentRequest struct { // Required. The name of the session the query is sent to. // Supported formats: // - `projects/<Project ID>/agent/sessions/<Session ID>, // - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session // ID>`, // - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User // ID>/sessions/<Session ID>`, // - `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session // ID>`, // // If `Location ID` is not specified we assume default 'us' location. If // `Environment ID` is not specified, we assume default 'draft' environment. // If `User ID` is not specified, we are using "-". It's up to the API caller // to choose an appropriate `Session ID` and `User Id`. They can be a random // number or some type of user and session identifiers (preferably hashed). // The length of the `Session ID` and `User ID` must not exceed 36 characters. // // For more information, see the [API interactions // guide](https://cloud.google.com/dialogflow/docs/api-overview). // // Note: Always use agent versions for production traffic. // See [Versions and // environments](https://cloud.google.com/dialogflow/es/docs/agents-versions). Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // The parameters of this query. QueryParams *QueryParameters `protobuf:"bytes,2,opt,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"` // Required. The input specification. It can be set to: // // 1. an audio config which instructs the speech recognizer how to process // the speech audio, // // 2. a conversational query in the form of text, or // // 3. an event that specifies which intent to trigger. QueryInput *QueryInput `protobuf:"bytes,3,opt,name=query_input,json=queryInput,proto3" json:"query_input,omitempty"` // DEPRECATED. Please use // [InputAudioConfig.single_utterance][google.cloud.dialogflow.v2beta1.InputAudioConfig.single_utterance] // instead. If `false` (default), recognition does not cease until the client // closes the stream. If `true`, the recognizer will detect a single spoken // utterance in input audio. Recognition ceases when it detects the audio's // voice has stopped or paused. In this case, once a detected intent is // received, the client should close the stream and start a new request with a // new stream as needed. This setting is ignored when `query_input` is a piece // of text or an event. // // Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/session.proto. SingleUtterance bool `protobuf:"varint,4,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"` // Instructs the speech synthesizer how to generate the output // audio. If this field is not set and agent-level speech synthesizer is not // configured, no output audio is generated. OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,5,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` // Mask for // [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] // indicating which settings in this request-level config should override // speech synthesizer settings defined at agent-level. // // If unspecified or empty, // [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config] // replaces the agent-level config in its entirety. OutputAudioConfigMask *fieldmaskpb.FieldMask `protobuf:"bytes,7,opt,name=output_audio_config_mask,json=outputAudioConfigMask,proto3" json:"output_audio_config_mask,omitempty"` // The input audio content to be recognized. Must be sent if // `query_input` was set to a streaming input audio config. The complete audio // over all streaming messages must not exceed 1 minute. InputAudio []byte `protobuf:"bytes,6,opt,name=input_audio,json=inputAudio,proto3" json:"input_audio,omitempty"` // If true, `StreamingDetectIntentResponse.debugging_info` will get populated. EnableDebuggingInfo bool `protobuf:"varint,8,opt,name=enable_debugging_info,json=enableDebuggingInfo,proto3" json:"enable_debugging_info,omitempty"` // contains filtered or unexported fields }
The top-level message sent by the client to the [Sessions.StreamingDetectIntent][google.cloud.dialogflow.v2beta1.Sessions.StreamingDetectIntent] method.
Multiple request messages should be sent in order:
1. The first message must contain [session][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.session],
[query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] plus optionally [query_params][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_params]. If the client wants to receive an audio response, it should also contain [output_audio_config][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.output_audio_config]. The message must not contain [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio].
2. If [query_input][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.query_input] was set to
[query_input.audio_config][google.cloud.dialogflow.v2beta1.InputAudioConfig], all subsequent messages must contain [input_audio][google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest.input_audio] to continue with Speech recognition. If you decide to rather detect an intent from text input after you already started Speech recognition, please send a message with [query_input.text][google.cloud.dialogflow.v2beta1.QueryInput.text]. However, note that: * Dialogflow will bill you for the audio duration so far. * Dialogflow discards all Speech recognition results in favor of the input text. * Dialogflow will use the language code from the first message.
After you sent all input, you must half-close or abort the request stream.
func (*StreamingDetectIntentRequest) Descriptor ¶
func (*StreamingDetectIntentRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamingDetectIntentRequest.ProtoReflect.Descriptor instead.
func (*StreamingDetectIntentRequest) GetEnableDebuggingInfo ¶
func (x *StreamingDetectIntentRequest) GetEnableDebuggingInfo() bool
func (*StreamingDetectIntentRequest) GetInputAudio ¶
func (x *StreamingDetectIntentRequest) GetInputAudio() []byte
func (*StreamingDetectIntentRequest) GetOutputAudioConfig ¶
func (x *StreamingDetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig
func (*StreamingDetectIntentRequest) GetOutputAudioConfigMask ¶
func (x *StreamingDetectIntentRequest) GetOutputAudioConfigMask() *fieldmaskpb.FieldMask
func (*StreamingDetectIntentRequest) GetQueryInput ¶
func (x *StreamingDetectIntentRequest) GetQueryInput() *QueryInput
func (*StreamingDetectIntentRequest) GetQueryParams ¶
func (x *StreamingDetectIntentRequest) GetQueryParams() *QueryParameters
func (*StreamingDetectIntentRequest) GetSession ¶
func (x *StreamingDetectIntentRequest) GetSession() string
func (*StreamingDetectIntentRequest) GetSingleUtterance ¶
func (x *StreamingDetectIntentRequest) GetSingleUtterance() bool
Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/session.proto.
func (*StreamingDetectIntentRequest) ProtoMessage ¶
func (*StreamingDetectIntentRequest) ProtoMessage()
func (*StreamingDetectIntentRequest) ProtoReflect ¶
func (x *StreamingDetectIntentRequest) ProtoReflect() protoreflect.Message
func (*StreamingDetectIntentRequest) Reset ¶
func (x *StreamingDetectIntentRequest) Reset()
func (*StreamingDetectIntentRequest) String ¶
func (x *StreamingDetectIntentRequest) String() string
type StreamingDetectIntentResponse ¶
type StreamingDetectIntentResponse struct { // The unique identifier of the response. It can be used to // locate a response in the training example set or for reporting issues. ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"` // The result of speech recognition. RecognitionResult *StreamingRecognitionResult `protobuf:"bytes,2,opt,name=recognition_result,json=recognitionResult,proto3" json:"recognition_result,omitempty"` // The selected results of the conversational query or event processing. // See `alternative_query_results` for additional potential results. QueryResult *QueryResult `protobuf:"bytes,3,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"` // If Knowledge Connectors are enabled, there could be more than one result // returned for a given query or event, and this field will contain all // results except for the top one, which is captured in query_result. The // alternative results are ordered by decreasing // `QueryResult.intent_detection_confidence`. If Knowledge Connectors are // disabled, this field will be empty until multiple responses for regular // intents are supported, at which point those additional results will be // surfaced here. AlternativeQueryResults []*QueryResult `protobuf:"bytes,7,rep,name=alternative_query_results,json=alternativeQueryResults,proto3" json:"alternative_query_results,omitempty"` // Specifies the status of the webhook request. WebhookStatus *status.Status `protobuf:"bytes,4,opt,name=webhook_status,json=webhookStatus,proto3" json:"webhook_status,omitempty"` // The audio data bytes encoded as specified in the request. // Note: The output audio is generated based on the values of default platform // text responses found in the `query_result.fulfillment_messages` field. If // multiple default text responses exist, they will be concatenated when // generating audio. If no default platform text responses exist, the // generated audio content will be empty. // // In some scenarios, multiple output audio fields may be present in the // response structure. In these cases, only the top-most-level audio output // has content. OutputAudio []byte `protobuf:"bytes,5,opt,name=output_audio,json=outputAudio,proto3" json:"output_audio,omitempty"` // The config used by the speech synthesizer to generate the output audio. OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,6,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"` // Debugging info that would get populated when // `StreamingDetectIntentRequest.enable_debugging_info` is set to true. DebuggingInfo *CloudConversationDebuggingInfo `protobuf:"bytes,8,opt,name=debugging_info,json=debuggingInfo,proto3" json:"debugging_info,omitempty"` // contains filtered or unexported fields }
The top-level message returned from the `StreamingDetectIntent` method.
Multiple response messages can be returned in order:
If the `StreamingDetectIntentRequest.input_audio` field was set, the `recognition_result` field is populated for one or more messages. See the StreamingRecognitionResult[google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] message for details about the result message sequence.
The next message contains `response_id`, `query_result`, `alternative_query_results` and optionally `webhook_status` if a WebHook was called.
If `output_audio_config` was specified in the request or agent-level speech synthesizer is configured, all subsequent messages contain `output_audio` and `output_audio_config`.
func (*StreamingDetectIntentResponse) Descriptor ¶
func (*StreamingDetectIntentResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamingDetectIntentResponse.ProtoReflect.Descriptor instead.
func (*StreamingDetectIntentResponse) GetAlternativeQueryResults ¶
func (x *StreamingDetectIntentResponse) GetAlternativeQueryResults() []*QueryResult
func (*StreamingDetectIntentResponse) GetDebuggingInfo ¶
func (x *StreamingDetectIntentResponse) GetDebuggingInfo() *CloudConversationDebuggingInfo
func (*StreamingDetectIntentResponse) GetOutputAudio ¶
func (x *StreamingDetectIntentResponse) GetOutputAudio() []byte
func (*StreamingDetectIntentResponse) GetOutputAudioConfig ¶
func (x *StreamingDetectIntentResponse) GetOutputAudioConfig() *OutputAudioConfig
func (*StreamingDetectIntentResponse) GetQueryResult ¶
func (x *StreamingDetectIntentResponse) GetQueryResult() *QueryResult
func (*StreamingDetectIntentResponse) GetRecognitionResult ¶
func (x *StreamingDetectIntentResponse) GetRecognitionResult() *StreamingRecognitionResult
func (*StreamingDetectIntentResponse) GetResponseId ¶
func (x *StreamingDetectIntentResponse) GetResponseId() string
func (*StreamingDetectIntentResponse) GetWebhookStatus ¶
func (x *StreamingDetectIntentResponse) GetWebhookStatus() *status.Status
func (*StreamingDetectIntentResponse) ProtoMessage ¶
func (*StreamingDetectIntentResponse) ProtoMessage()
func (*StreamingDetectIntentResponse) ProtoReflect ¶
func (x *StreamingDetectIntentResponse) ProtoReflect() protoreflect.Message
func (*StreamingDetectIntentResponse) Reset ¶
func (x *StreamingDetectIntentResponse) Reset()
func (*StreamingDetectIntentResponse) String ¶
func (x *StreamingDetectIntentResponse) String() string
type StreamingRecognitionResult ¶
type StreamingRecognitionResult struct { // Type of the result message. MessageType StreamingRecognitionResult_MessageType `protobuf:"varint,1,opt,name=message_type,json=messageType,proto3,enum=google.cloud.dialogflow.v2beta1.StreamingRecognitionResult_MessageType" json:"message_type,omitempty"` // Transcript text representing the words that the user spoke. // Populated if and only if `message_type` = `TRANSCRIPT`. Transcript string `protobuf:"bytes,2,opt,name=transcript,proto3" json:"transcript,omitempty"` // If `false`, the `StreamingRecognitionResult` represents an // interim result that may change. If `true`, the recognizer will not return // any further hypotheses about this piece of the audio. May only be populated // for `message_type` = `TRANSCRIPT`. IsFinal bool `protobuf:"varint,3,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"` // The Speech confidence between 0.0 and 1.0 for the current portion of audio. // A higher number indicates an estimated greater likelihood that the // recognized words are correct. The default of 0.0 is a sentinel value // indicating that confidence was not set. // // This field is typically only provided if `is_final` is true and you should // not rely on it being accurate or even set. Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"` // An estimate of the likelihood that the speech recognizer will // not change its guess about this interim recognition result: // // - If the value is unspecified or 0.0, Dialogflow didn't compute the // stability. In particular, Dialogflow will only provide stability for // `TRANSCRIPT` results with `is_final = false`. // - Otherwise, the value is in (0.0, 1.0] where 0.0 means completely // unstable and 1.0 means completely stable. Stability float32 `protobuf:"fixed32,6,opt,name=stability,proto3" json:"stability,omitempty"` // Word-specific information for the words recognized by Speech in // [transcript][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.transcript]. // Populated if and only if `message_type` = `TRANSCRIPT` and // [InputAudioConfig.enable_word_info] is set. SpeechWordInfo []*SpeechWordInfo `protobuf:"bytes,7,rep,name=speech_word_info,json=speechWordInfo,proto3" json:"speech_word_info,omitempty"` // Time offset of the end of this Speech recognition result relative to the // beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`. SpeechEndOffset *durationpb.Duration `protobuf:"bytes,8,opt,name=speech_end_offset,json=speechEndOffset,proto3" json:"speech_end_offset,omitempty"` // Detected language code for the transcript. LanguageCode string `protobuf:"bytes,10,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // DTMF digits. Populated if and only if `message_type` = `DTMF_DIGITS`. DtmfDigits *TelephonyDtmfEvents `protobuf:"bytes,5,opt,name=dtmf_digits,json=dtmfDigits,proto3" json:"dtmf_digits,omitempty"` // contains filtered or unexported fields }
Contains a speech recognition result corresponding to a portion of the audio that is currently being processed or an indication that this is the end of the single requested utterance.
While end-user audio is being processed, Dialogflow sends a series of results. Each result may contain a `transcript` value. A transcript represents a portion of the utterance. While the recognizer is processing audio, transcript values may be interim values or finalized values. Once a transcript is finalized, the `is_final` value is set to true and processing continues for the next transcript.
If `StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was true, and the recognizer has completed processing audio, the `message_type` value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result contains the last finalized transcript.
The complete end-user utterance is determined by concatenating the finalized transcript values received for the series of results.
In the following example, single utterance is enabled. In the case where single utterance is not enabled, result 7 would not occur.
``` Num | transcript | message_type | is_final --- | ----------------------- | ----------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" | TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" | TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT | false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question" | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final` set to true, the complete utterance becomes "to be or not to be that is the question".
func (*StreamingRecognitionResult) Descriptor ¶
func (*StreamingRecognitionResult) Descriptor() ([]byte, []int)
Deprecated: Use StreamingRecognitionResult.ProtoReflect.Descriptor instead.
func (*StreamingRecognitionResult) GetConfidence ¶
func (x *StreamingRecognitionResult) GetConfidence() float32
func (*StreamingRecognitionResult) GetDtmfDigits ¶
func (x *StreamingRecognitionResult) GetDtmfDigits() *TelephonyDtmfEvents
func (*StreamingRecognitionResult) GetIsFinal ¶
func (x *StreamingRecognitionResult) GetIsFinal() bool
func (*StreamingRecognitionResult) GetLanguageCode ¶
func (x *StreamingRecognitionResult) GetLanguageCode() string
func (*StreamingRecognitionResult) GetMessageType ¶
func (x *StreamingRecognitionResult) GetMessageType() StreamingRecognitionResult_MessageType
func (*StreamingRecognitionResult) GetSpeechEndOffset ¶
func (x *StreamingRecognitionResult) GetSpeechEndOffset() *durationpb.Duration
func (*StreamingRecognitionResult) GetSpeechWordInfo ¶
func (x *StreamingRecognitionResult) GetSpeechWordInfo() []*SpeechWordInfo
func (*StreamingRecognitionResult) GetStability ¶
func (x *StreamingRecognitionResult) GetStability() float32
func (*StreamingRecognitionResult) GetTranscript ¶
func (x *StreamingRecognitionResult) GetTranscript() string
func (*StreamingRecognitionResult) ProtoMessage ¶
func (*StreamingRecognitionResult) ProtoMessage()
func (*StreamingRecognitionResult) ProtoReflect ¶
func (x *StreamingRecognitionResult) ProtoReflect() protoreflect.Message
func (*StreamingRecognitionResult) Reset ¶
func (x *StreamingRecognitionResult) Reset()
func (*StreamingRecognitionResult) String ¶
func (x *StreamingRecognitionResult) String() string
type StreamingRecognitionResult_MessageType ¶
type StreamingRecognitionResult_MessageType int32
Type of the response message.
const ( // Not specified. Should never be used. StreamingRecognitionResult_MESSAGE_TYPE_UNSPECIFIED StreamingRecognitionResult_MessageType = 0 // Message contains a (possibly partial) transcript. StreamingRecognitionResult_TRANSCRIPT StreamingRecognitionResult_MessageType = 1 // Message contains DTMF digits. StreamingRecognitionResult_DTMF_DIGITS StreamingRecognitionResult_MessageType = 3 // This event indicates that the server has detected the end of the user's // speech utterance and expects no additional speech. Therefore, the server // will not process additional audio (although it may subsequently return // additional results). The client should stop sending additional audio // data, half-close the gRPC connection, and wait for any additional results // until the server closes the gRPC connection. This message is only sent if // `single_utterance` was set to `true`, and is not used otherwise. StreamingRecognitionResult_END_OF_SINGLE_UTTERANCE StreamingRecognitionResult_MessageType = 2 // Message contains DTMF digits. Before a message with DTMF_DIGITS is sent, // a message with PARTIAL_DTMF_DIGITS may be sent with DTMF digits collected // up to the time of sending, which represents an intermediate result. StreamingRecognitionResult_PARTIAL_DTMF_DIGITS StreamingRecognitionResult_MessageType = 4 )
func (StreamingRecognitionResult_MessageType) Descriptor ¶
func (StreamingRecognitionResult_MessageType) Descriptor() protoreflect.EnumDescriptor
func (StreamingRecognitionResult_MessageType) Enum ¶
func (StreamingRecognitionResult_MessageType) EnumDescriptor ¶
func (StreamingRecognitionResult_MessageType) EnumDescriptor() ([]byte, []int)
Deprecated: Use StreamingRecognitionResult_MessageType.Descriptor instead.
func (StreamingRecognitionResult_MessageType) Number ¶
func (x StreamingRecognitionResult_MessageType) Number() protoreflect.EnumNumber
func (StreamingRecognitionResult_MessageType) String ¶
func (x StreamingRecognitionResult_MessageType) String() string
func (StreamingRecognitionResult_MessageType) Type ¶
func (StreamingRecognitionResult_MessageType) Type() protoreflect.EnumType
type SubAgent ¶
type SubAgent struct { // Required. The project of this agent. // Format: `projects/<Project ID>` or // // `projects/<Project ID>/locations/<Location ID>`. Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // Optional. The unique identifier (`environment name` in dialogflow console) // of this sub-agent environment. Assumes draft environment if `environment` // is not set. Environment string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"` // contains filtered or unexported fields }
Contains basic configuration for a sub-agent.
func (*SubAgent) Descriptor ¶
Deprecated: Use SubAgent.ProtoReflect.Descriptor instead.
func (*SubAgent) GetEnvironment ¶
func (*SubAgent) GetProject ¶
func (*SubAgent) ProtoMessage ¶
func (*SubAgent) ProtoMessage()
func (*SubAgent) ProtoReflect ¶
func (x *SubAgent) ProtoReflect() protoreflect.Message
func (*SubAgent) Reset ¶
func (x *SubAgent) Reset()
func (*SubAgent) String ¶
type SuggestArticlesRequest ¶
type SuggestArticlesRequest struct { // Required. The name of the participant to fetch suggestion for. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/participants/<Participant ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The name of the latest conversation message to compile suggestion // for. If empty, it will be the latest message of the conversation. // // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/messages/<Message ID>`. LatestMessage string `protobuf:"bytes,2,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // Optional. Max number of messages prior to and including // [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesRequest.latest_message] // to use as context when compiling the suggestion. By default 20 and at // most 50. ContextSize int32 `protobuf:"varint,3,opt,name=context_size,json=contextSize,proto3" json:"context_size,omitempty"` // Optional. Parameters for a human assist query. AssistQueryParams *AssistQueryParameters `protobuf:"bytes,4,opt,name=assist_query_params,json=assistQueryParams,proto3" json:"assist_query_params,omitempty"` // contains filtered or unexported fields }
The request message for [Participants.SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles].
func (*SuggestArticlesRequest) Descriptor ¶
func (*SuggestArticlesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SuggestArticlesRequest.ProtoReflect.Descriptor instead.
func (*SuggestArticlesRequest) GetAssistQueryParams ¶
func (x *SuggestArticlesRequest) GetAssistQueryParams() *AssistQueryParameters
func (*SuggestArticlesRequest) GetContextSize ¶
func (x *SuggestArticlesRequest) GetContextSize() int32
func (*SuggestArticlesRequest) GetLatestMessage ¶
func (x *SuggestArticlesRequest) GetLatestMessage() string
func (*SuggestArticlesRequest) GetParent ¶
func (x *SuggestArticlesRequest) GetParent() string
func (*SuggestArticlesRequest) ProtoMessage ¶
func (*SuggestArticlesRequest) ProtoMessage()
func (*SuggestArticlesRequest) ProtoReflect ¶
func (x *SuggestArticlesRequest) ProtoReflect() protoreflect.Message
func (*SuggestArticlesRequest) Reset ¶
func (x *SuggestArticlesRequest) Reset()
func (*SuggestArticlesRequest) String ¶
func (x *SuggestArticlesRequest) String() string
type SuggestArticlesResponse ¶
type SuggestArticlesResponse struct { // Output only. Articles ordered by score in descending order. ArticleAnswers []*ArticleAnswer `protobuf:"bytes,1,rep,name=article_answers,json=articleAnswers,proto3" json:"article_answers,omitempty"` // The name of the latest conversation message used to compile // suggestion for. // // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/messages/<Message ID>`. LatestMessage string `protobuf:"bytes,2,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // Number of messages prior to and including // [latest_message][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.latest_message] // to compile the suggestion. It may be smaller than the // [SuggestArticlesResponse.context_size][google.cloud.dialogflow.v2beta1.SuggestArticlesResponse.context_size] // field in the request if there aren't that many messages in the // conversation. ContextSize int32 `protobuf:"varint,3,opt,name=context_size,json=contextSize,proto3" json:"context_size,omitempty"` // contains filtered or unexported fields }
The response message for [Participants.SuggestArticles][google.cloud.dialogflow.v2beta1.Participants.SuggestArticles].
func (*SuggestArticlesResponse) Descriptor ¶
func (*SuggestArticlesResponse) Descriptor() ([]byte, []int)
Deprecated: Use SuggestArticlesResponse.ProtoReflect.Descriptor instead.
func (*SuggestArticlesResponse) GetArticleAnswers ¶
func (x *SuggestArticlesResponse) GetArticleAnswers() []*ArticleAnswer
func (*SuggestArticlesResponse) GetContextSize ¶
func (x *SuggestArticlesResponse) GetContextSize() int32
func (*SuggestArticlesResponse) GetLatestMessage ¶
func (x *SuggestArticlesResponse) GetLatestMessage() string
func (*SuggestArticlesResponse) ProtoMessage ¶
func (*SuggestArticlesResponse) ProtoMessage()
func (*SuggestArticlesResponse) ProtoReflect ¶
func (x *SuggestArticlesResponse) ProtoReflect() protoreflect.Message
func (*SuggestArticlesResponse) Reset ¶
func (x *SuggestArticlesResponse) Reset()
func (*SuggestArticlesResponse) String ¶
func (x *SuggestArticlesResponse) String() string
type SuggestConversationSummaryRequest ¶
type SuggestConversationSummaryRequest struct { // Required. The conversation to fetch suggestion for. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>`. Conversation string `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"` // Optional. The name of the latest conversation message used as context for // compiling suggestion. If empty, the latest message of the conversation will // be used. // // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/messages/<Message ID>`. LatestMessage string `protobuf:"bytes,3,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // Optional. Max number of messages prior to and including // [latest_message] to use as context when compiling the // suggestion. By default 500 and at most 1000. ContextSize int32 `protobuf:"varint,4,opt,name=context_size,json=contextSize,proto3" json:"context_size,omitempty"` // Optional. Parameters for a human assist query. Only used for POC/demo // purpose. AssistQueryParams *AssistQueryParameters `protobuf:"bytes,5,opt,name=assist_query_params,json=assistQueryParams,proto3" json:"assist_query_params,omitempty"` // contains filtered or unexported fields }
The request message for [Conversations.SuggestConversationSummary][google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary].
func (*SuggestConversationSummaryRequest) Descriptor ¶
func (*SuggestConversationSummaryRequest) Descriptor() ([]byte, []int)
Deprecated: Use SuggestConversationSummaryRequest.ProtoReflect.Descriptor instead.
func (*SuggestConversationSummaryRequest) GetAssistQueryParams ¶
func (x *SuggestConversationSummaryRequest) GetAssistQueryParams() *AssistQueryParameters
func (*SuggestConversationSummaryRequest) GetContextSize ¶
func (x *SuggestConversationSummaryRequest) GetContextSize() int32
func (*SuggestConversationSummaryRequest) GetConversation ¶
func (x *SuggestConversationSummaryRequest) GetConversation() string
func (*SuggestConversationSummaryRequest) GetLatestMessage ¶
func (x *SuggestConversationSummaryRequest) GetLatestMessage() string
func (*SuggestConversationSummaryRequest) ProtoMessage ¶
func (*SuggestConversationSummaryRequest) ProtoMessage()
func (*SuggestConversationSummaryRequest) ProtoReflect ¶
func (x *SuggestConversationSummaryRequest) ProtoReflect() protoreflect.Message
func (*SuggestConversationSummaryRequest) Reset ¶
func (x *SuggestConversationSummaryRequest) Reset()
func (*SuggestConversationSummaryRequest) String ¶
func (x *SuggestConversationSummaryRequest) String() string
type SuggestConversationSummaryResponse ¶
type SuggestConversationSummaryResponse struct { // Generated summary. Summary *SuggestConversationSummaryResponse_Summary `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` // The name of the latest conversation message used as context for // compiling suggestion. // // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/messages/<Message ID>`. LatestMessage string `protobuf:"bytes,2,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // Number of messages prior to and including // [last_conversation_message][] used to compile the suggestion. It may be // smaller than the [SuggestSummaryRequest.context_size][] field in the // request if there weren't that many messages in the conversation. ContextSize int32 `protobuf:"varint,3,opt,name=context_size,json=contextSize,proto3" json:"context_size,omitempty"` // contains filtered or unexported fields }
The response message for [Conversations.SuggestConversationSummary][google.cloud.dialogflow.v2beta1.Conversations.SuggestConversationSummary].
func (*SuggestConversationSummaryResponse) Descriptor ¶
func (*SuggestConversationSummaryResponse) Descriptor() ([]byte, []int)
Deprecated: Use SuggestConversationSummaryResponse.ProtoReflect.Descriptor instead.
func (*SuggestConversationSummaryResponse) GetContextSize ¶
func (x *SuggestConversationSummaryResponse) GetContextSize() int32
func (*SuggestConversationSummaryResponse) GetLatestMessage ¶
func (x *SuggestConversationSummaryResponse) GetLatestMessage() string
func (*SuggestConversationSummaryResponse) GetSummary ¶
func (x *SuggestConversationSummaryResponse) GetSummary() *SuggestConversationSummaryResponse_Summary
func (*SuggestConversationSummaryResponse) ProtoMessage ¶
func (*SuggestConversationSummaryResponse) ProtoMessage()
func (*SuggestConversationSummaryResponse) ProtoReflect ¶
func (x *SuggestConversationSummaryResponse) ProtoReflect() protoreflect.Message
func (*SuggestConversationSummaryResponse) Reset ¶
func (x *SuggestConversationSummaryResponse) Reset()
func (*SuggestConversationSummaryResponse) String ¶
func (x *SuggestConversationSummaryResponse) String() string
type SuggestConversationSummaryResponse_Summary ¶
type SuggestConversationSummaryResponse_Summary struct { // The summary content that is concatenated into one string. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // The summary content that is divided into sections. The key is the // section's name and the value is the section's content. There is no // specific format for the key or value. TextSections map[string]string `protobuf:"bytes,4,rep,name=text_sections,json=textSections,proto3" json:"text_sections,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The name of the answer record. Format: // "projects/<Project ID>/answerRecords/<Answer Record ID>" AnswerRecord string `protobuf:"bytes,3,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"` // The baseline model version used to generate this summary. It is empty if // a baseline model was not used to generate this summary. BaselineModelVersion string `protobuf:"bytes,5,opt,name=baseline_model_version,json=baselineModelVersion,proto3" json:"baseline_model_version,omitempty"` // contains filtered or unexported fields }
Generated summary for a conversation.
func (*SuggestConversationSummaryResponse_Summary) Descriptor ¶
func (*SuggestConversationSummaryResponse_Summary) Descriptor() ([]byte, []int)
Deprecated: Use SuggestConversationSummaryResponse_Summary.ProtoReflect.Descriptor instead.
func (*SuggestConversationSummaryResponse_Summary) GetAnswerRecord ¶
func (x *SuggestConversationSummaryResponse_Summary) GetAnswerRecord() string
func (*SuggestConversationSummaryResponse_Summary) GetBaselineModelVersion ¶
func (x *SuggestConversationSummaryResponse_Summary) GetBaselineModelVersion() string
func (*SuggestConversationSummaryResponse_Summary) GetText ¶
func (x *SuggestConversationSummaryResponse_Summary) GetText() string
func (*SuggestConversationSummaryResponse_Summary) GetTextSections ¶
func (x *SuggestConversationSummaryResponse_Summary) GetTextSections() map[string]string
func (*SuggestConversationSummaryResponse_Summary) ProtoMessage ¶
func (*SuggestConversationSummaryResponse_Summary) ProtoMessage()
func (*SuggestConversationSummaryResponse_Summary) ProtoReflect ¶
func (x *SuggestConversationSummaryResponse_Summary) ProtoReflect() protoreflect.Message
func (*SuggestConversationSummaryResponse_Summary) Reset ¶
func (x *SuggestConversationSummaryResponse_Summary) Reset()
func (*SuggestConversationSummaryResponse_Summary) String ¶
func (x *SuggestConversationSummaryResponse_Summary) String() string
type SuggestDialogflowAssistsResponse ¶
type SuggestDialogflowAssistsResponse struct { // Output only. Multiple reply options provided by Dialogflow assist // service. The order is based on the rank of the model prediction. DialogflowAssistAnswers []*DialogflowAssistAnswer `protobuf:"bytes,1,rep,name=dialogflow_assist_answers,json=dialogflowAssistAnswers,proto3" json:"dialogflow_assist_answers,omitempty"` // The name of the latest conversation message used to suggest answer. // // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/messages/<Message ID>`. LatestMessage string `protobuf:"bytes,2,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // Number of messages prior to and including // [latest_message][google.cloud.dialogflow.v2beta1.SuggestDialogflowAssistsResponse.latest_message] // to compile the suggestion. It may be smaller than the // [SuggestDialogflowAssistsRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestDialogflowAssistsRequest.context_size] // field in the request if there aren't that many messages in the // conversation. ContextSize int32 `protobuf:"varint,3,opt,name=context_size,json=contextSize,proto3" json:"context_size,omitempty"` // contains filtered or unexported fields }
The response message for [Participants.SuggestDialogflowAssists][google.cloud.dialogflow.v2beta1.Participants.SuggestDialogflowAssists].
func (*SuggestDialogflowAssistsResponse) Descriptor ¶
func (*SuggestDialogflowAssistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SuggestDialogflowAssistsResponse.ProtoReflect.Descriptor instead.
func (*SuggestDialogflowAssistsResponse) GetContextSize ¶
func (x *SuggestDialogflowAssistsResponse) GetContextSize() int32
func (*SuggestDialogflowAssistsResponse) GetDialogflowAssistAnswers ¶
func (x *SuggestDialogflowAssistsResponse) GetDialogflowAssistAnswers() []*DialogflowAssistAnswer
func (*SuggestDialogflowAssistsResponse) GetLatestMessage ¶
func (x *SuggestDialogflowAssistsResponse) GetLatestMessage() string
func (*SuggestDialogflowAssistsResponse) ProtoMessage ¶
func (*SuggestDialogflowAssistsResponse) ProtoMessage()
func (*SuggestDialogflowAssistsResponse) ProtoReflect ¶
func (x *SuggestDialogflowAssistsResponse) ProtoReflect() protoreflect.Message
func (*SuggestDialogflowAssistsResponse) Reset ¶
func (x *SuggestDialogflowAssistsResponse) Reset()
func (*SuggestDialogflowAssistsResponse) String ¶
func (x *SuggestDialogflowAssistsResponse) String() string
type SuggestFaqAnswersRequest ¶
type SuggestFaqAnswersRequest struct { // Required. The name of the participant to fetch suggestion for. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/participants/<Participant ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The name of the latest conversation message to compile suggestion // for. If empty, it will be the latest message of the conversation. // // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/messages/<Message ID>`. LatestMessage string `protobuf:"bytes,2,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // Optional. Max number of messages prior to and including // [latest_message] to use as context when compiling the // suggestion. By default 20 and at most 50. ContextSize int32 `protobuf:"varint,3,opt,name=context_size,json=contextSize,proto3" json:"context_size,omitempty"` // Optional. Parameters for a human assist query. AssistQueryParams *AssistQueryParameters `protobuf:"bytes,4,opt,name=assist_query_params,json=assistQueryParams,proto3" json:"assist_query_params,omitempty"` // contains filtered or unexported fields }
The request message for [Participants.SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers].
func (*SuggestFaqAnswersRequest) Descriptor ¶
func (*SuggestFaqAnswersRequest) Descriptor() ([]byte, []int)
Deprecated: Use SuggestFaqAnswersRequest.ProtoReflect.Descriptor instead.
func (*SuggestFaqAnswersRequest) GetAssistQueryParams ¶
func (x *SuggestFaqAnswersRequest) GetAssistQueryParams() *AssistQueryParameters
func (*SuggestFaqAnswersRequest) GetContextSize ¶
func (x *SuggestFaqAnswersRequest) GetContextSize() int32
func (*SuggestFaqAnswersRequest) GetLatestMessage ¶
func (x *SuggestFaqAnswersRequest) GetLatestMessage() string
func (*SuggestFaqAnswersRequest) GetParent ¶
func (x *SuggestFaqAnswersRequest) GetParent() string
func (*SuggestFaqAnswersRequest) ProtoMessage ¶
func (*SuggestFaqAnswersRequest) ProtoMessage()
func (*SuggestFaqAnswersRequest) ProtoReflect ¶
func (x *SuggestFaqAnswersRequest) ProtoReflect() protoreflect.Message
func (*SuggestFaqAnswersRequest) Reset ¶
func (x *SuggestFaqAnswersRequest) Reset()
func (*SuggestFaqAnswersRequest) String ¶
func (x *SuggestFaqAnswersRequest) String() string
type SuggestFaqAnswersResponse ¶
type SuggestFaqAnswersResponse struct { // Output only. Answers extracted from FAQ documents. FaqAnswers []*FaqAnswer `protobuf:"bytes,1,rep,name=faq_answers,json=faqAnswers,proto3" json:"faq_answers,omitempty"` // The name of the latest conversation message used to compile // suggestion for. // // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/messages/<Message ID>`. LatestMessage string `protobuf:"bytes,2,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // Number of messages prior to and including // [latest_message][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse.latest_message] // to compile the suggestion. It may be smaller than the // [SuggestFaqAnswersRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest.context_size] // field in the request if there aren't that many messages in the // conversation. ContextSize int32 `protobuf:"varint,3,opt,name=context_size,json=contextSize,proto3" json:"context_size,omitempty"` // contains filtered or unexported fields }
The request message for [Participants.SuggestFaqAnswers][google.cloud.dialogflow.v2beta1.Participants.SuggestFaqAnswers].
func (*SuggestFaqAnswersResponse) Descriptor ¶
func (*SuggestFaqAnswersResponse) Descriptor() ([]byte, []int)
Deprecated: Use SuggestFaqAnswersResponse.ProtoReflect.Descriptor instead.
func (*SuggestFaqAnswersResponse) GetContextSize ¶
func (x *SuggestFaqAnswersResponse) GetContextSize() int32
func (*SuggestFaqAnswersResponse) GetFaqAnswers ¶
func (x *SuggestFaqAnswersResponse) GetFaqAnswers() []*FaqAnswer
func (*SuggestFaqAnswersResponse) GetLatestMessage ¶
func (x *SuggestFaqAnswersResponse) GetLatestMessage() string
func (*SuggestFaqAnswersResponse) ProtoMessage ¶
func (*SuggestFaqAnswersResponse) ProtoMessage()
func (*SuggestFaqAnswersResponse) ProtoReflect ¶
func (x *SuggestFaqAnswersResponse) ProtoReflect() protoreflect.Message
func (*SuggestFaqAnswersResponse) Reset ¶
func (x *SuggestFaqAnswersResponse) Reset()
func (*SuggestFaqAnswersResponse) String ¶
func (x *SuggestFaqAnswersResponse) String() string
type SuggestKnowledgeAssistRequest ¶
type SuggestKnowledgeAssistRequest struct { // Required. The name of the participant to fetch suggestions for. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/participants/<Participant ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The name of the latest conversation message to compile // suggestions for. If empty, it will be the latest message of the // conversation. Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/messages/<Message ID>`. LatestMessage string `protobuf:"bytes,2,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // Optional. Max number of messages prior to and including // [latest_message][google.cloud.dialogflow.v2beta1.SuggestKnowledgeAssistRequest.latest_message] // to use as context when compiling the suggestion. The context size is by // default 100 and at most 100. ContextSize int32 `protobuf:"varint,3,opt,name=context_size,json=contextSize,proto3" json:"context_size,omitempty"` // Optional. The previously suggested query for the given conversation. This // helps identify whether the next suggestion we generate is resonably // different from the previous one. This is useful to avoid similar // suggestions within the conversation. PreviousSuggestedQuery string `protobuf:"bytes,4,opt,name=previous_suggested_query,json=previousSuggestedQuery,proto3" json:"previous_suggested_query,omitempty"` // contains filtered or unexported fields }
The request message for [Participants.SuggestKnowledgeAssist][google.cloud.dialogflow.v2beta1.Participants.SuggestKnowledgeAssist].
func (*SuggestKnowledgeAssistRequest) Descriptor ¶
func (*SuggestKnowledgeAssistRequest) Descriptor() ([]byte, []int)
Deprecated: Use SuggestKnowledgeAssistRequest.ProtoReflect.Descriptor instead.
func (*SuggestKnowledgeAssistRequest) GetContextSize ¶
func (x *SuggestKnowledgeAssistRequest) GetContextSize() int32
func (*SuggestKnowledgeAssistRequest) GetLatestMessage ¶
func (x *SuggestKnowledgeAssistRequest) GetLatestMessage() string
func (*SuggestKnowledgeAssistRequest) GetParent ¶
func (x *SuggestKnowledgeAssistRequest) GetParent() string
func (*SuggestKnowledgeAssistRequest) GetPreviousSuggestedQuery ¶
func (x *SuggestKnowledgeAssistRequest) GetPreviousSuggestedQuery() string
func (*SuggestKnowledgeAssistRequest) ProtoMessage ¶
func (*SuggestKnowledgeAssistRequest) ProtoMessage()
func (*SuggestKnowledgeAssistRequest) ProtoReflect ¶
func (x *SuggestKnowledgeAssistRequest) ProtoReflect() protoreflect.Message
func (*SuggestKnowledgeAssistRequest) Reset ¶
func (x *SuggestKnowledgeAssistRequest) Reset()
func (*SuggestKnowledgeAssistRequest) String ¶
func (x *SuggestKnowledgeAssistRequest) String() string
type SuggestKnowledgeAssistResponse ¶
type SuggestKnowledgeAssistResponse struct { // Output only. Knowledge Assist suggestion. KnowledgeAssistAnswer *KnowledgeAssistAnswer `protobuf:"bytes,1,opt,name=knowledge_assist_answer,json=knowledgeAssistAnswer,proto3" json:"knowledge_assist_answer,omitempty"` // The name of the latest conversation message used to compile suggestion for. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/messages/<Message ID>`. LatestMessage string `protobuf:"bytes,2,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // Number of messages prior to and including // [latest_message][google.cloud.dialogflow.v2beta1.SuggestKnowledgeAssistResponse.latest_message] // to compile the suggestion. It may be smaller than the // [SuggestKnowledgeAssistRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestKnowledgeAssistRequest.context_size] // field in the request if there are fewer messages in the conversation. ContextSize int32 `protobuf:"varint,3,opt,name=context_size,json=contextSize,proto3" json:"context_size,omitempty"` // contains filtered or unexported fields }
The response message for [Participants.SuggestKnowledgeAssist][google.cloud.dialogflow.v2beta1.Participants.SuggestKnowledgeAssist].
func (*SuggestKnowledgeAssistResponse) Descriptor ¶
func (*SuggestKnowledgeAssistResponse) Descriptor() ([]byte, []int)
Deprecated: Use SuggestKnowledgeAssistResponse.ProtoReflect.Descriptor instead.
func (*SuggestKnowledgeAssistResponse) GetContextSize ¶
func (x *SuggestKnowledgeAssistResponse) GetContextSize() int32
func (*SuggestKnowledgeAssistResponse) GetKnowledgeAssistAnswer ¶
func (x *SuggestKnowledgeAssistResponse) GetKnowledgeAssistAnswer() *KnowledgeAssistAnswer
func (*SuggestKnowledgeAssistResponse) GetLatestMessage ¶
func (x *SuggestKnowledgeAssistResponse) GetLatestMessage() string
func (*SuggestKnowledgeAssistResponse) ProtoMessage ¶
func (*SuggestKnowledgeAssistResponse) ProtoMessage()
func (*SuggestKnowledgeAssistResponse) ProtoReflect ¶
func (x *SuggestKnowledgeAssistResponse) ProtoReflect() protoreflect.Message
func (*SuggestKnowledgeAssistResponse) Reset ¶
func (x *SuggestKnowledgeAssistResponse) Reset()
func (*SuggestKnowledgeAssistResponse) String ¶
func (x *SuggestKnowledgeAssistResponse) String() string
type SuggestSmartRepliesRequest ¶
type SuggestSmartRepliesRequest struct { // Required. The name of the participant to fetch suggestion for. // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/participants/<Participant ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The current natural language text segment to compile suggestion // for. This provides a way for user to get follow up smart reply suggestion // after a smart reply selection, without sending a text message. CurrentTextInput *TextInput `protobuf:"bytes,4,opt,name=current_text_input,json=currentTextInput,proto3" json:"current_text_input,omitempty"` // The name of the latest conversation message to compile suggestion // for. If empty, it will be the latest message of the conversation. // // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/messages/<Message ID>`. LatestMessage string `protobuf:"bytes,2,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // Optional. Max number of messages prior to and including // [latest_message] to use as context when compiling the // suggestion. By default 20 and at most 50. ContextSize int32 `protobuf:"varint,3,opt,name=context_size,json=contextSize,proto3" json:"context_size,omitempty"` // contains filtered or unexported fields }
The request message for [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies].
func (*SuggestSmartRepliesRequest) Descriptor ¶
func (*SuggestSmartRepliesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SuggestSmartRepliesRequest.ProtoReflect.Descriptor instead.
func (*SuggestSmartRepliesRequest) GetContextSize ¶
func (x *SuggestSmartRepliesRequest) GetContextSize() int32
func (*SuggestSmartRepliesRequest) GetCurrentTextInput ¶
func (x *SuggestSmartRepliesRequest) GetCurrentTextInput() *TextInput
func (*SuggestSmartRepliesRequest) GetLatestMessage ¶
func (x *SuggestSmartRepliesRequest) GetLatestMessage() string
func (*SuggestSmartRepliesRequest) GetParent ¶
func (x *SuggestSmartRepliesRequest) GetParent() string
func (*SuggestSmartRepliesRequest) ProtoMessage ¶
func (*SuggestSmartRepliesRequest) ProtoMessage()
func (*SuggestSmartRepliesRequest) ProtoReflect ¶
func (x *SuggestSmartRepliesRequest) ProtoReflect() protoreflect.Message
func (*SuggestSmartRepliesRequest) Reset ¶
func (x *SuggestSmartRepliesRequest) Reset()
func (*SuggestSmartRepliesRequest) String ¶
func (x *SuggestSmartRepliesRequest) String() string
type SuggestSmartRepliesResponse ¶
type SuggestSmartRepliesResponse struct { // Output only. Multiple reply options provided by smart reply service. The // order is based on the rank of the model prediction. // The maximum number of the returned replies is set in SmartReplyConfig. SmartReplyAnswers []*SmartReplyAnswer `protobuf:"bytes,1,rep,name=smart_reply_answers,json=smartReplyAnswers,proto3" json:"smart_reply_answers,omitempty"` // The name of the latest conversation message used to compile // suggestion for. // // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/messages/<Message ID>`. LatestMessage string `protobuf:"bytes,2,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // Number of messages prior to and including // [latest_message][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse.latest_message] // to compile the suggestion. It may be smaller than the // [SuggestSmartRepliesRequest.context_size][google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest.context_size] // field in the request if there aren't that many messages in the // conversation. ContextSize int32 `protobuf:"varint,3,opt,name=context_size,json=contextSize,proto3" json:"context_size,omitempty"` // contains filtered or unexported fields }
The response message for [Participants.SuggestSmartReplies][google.cloud.dialogflow.v2beta1.Participants.SuggestSmartReplies].
func (*SuggestSmartRepliesResponse) Descriptor ¶
func (*SuggestSmartRepliesResponse) Descriptor() ([]byte, []int)
Deprecated: Use SuggestSmartRepliesResponse.ProtoReflect.Descriptor instead.
func (*SuggestSmartRepliesResponse) GetContextSize ¶
func (x *SuggestSmartRepliesResponse) GetContextSize() int32
func (*SuggestSmartRepliesResponse) GetLatestMessage ¶
func (x *SuggestSmartRepliesResponse) GetLatestMessage() string
func (*SuggestSmartRepliesResponse) GetSmartReplyAnswers ¶
func (x *SuggestSmartRepliesResponse) GetSmartReplyAnswers() []*SmartReplyAnswer
func (*SuggestSmartRepliesResponse) ProtoMessage ¶
func (*SuggestSmartRepliesResponse) ProtoMessage()
func (*SuggestSmartRepliesResponse) ProtoReflect ¶
func (x *SuggestSmartRepliesResponse) ProtoReflect() protoreflect.Message
func (*SuggestSmartRepliesResponse) Reset ¶
func (x *SuggestSmartRepliesResponse) Reset()
func (*SuggestSmartRepliesResponse) String ¶
func (x *SuggestSmartRepliesResponse) String() string
type Suggestion ¶
type Suggestion struct { // Output only. The name of this suggestion. // Format: // `projects/<Project ID>/locations/<Location ID>/conversations/<Conversation // ID>/participants/*/suggestions/<Suggestion ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Articles ordered by score in descending order. Articles []*Suggestion_Article `protobuf:"bytes,2,rep,name=articles,proto3" json:"articles,omitempty"` // Output only. Answers extracted from FAQ documents. FaqAnswers []*Suggestion_FaqAnswer `protobuf:"bytes,4,rep,name=faq_answers,json=faqAnswers,proto3" json:"faq_answers,omitempty"` // Output only. The time the suggestion was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Latest message used as context to compile this suggestion. // // Format: `projects/<Project ID>/locations/<Location // ID>/conversations/<Conversation ID>/messages/<Message ID>`. LatestMessage string `protobuf:"bytes,7,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"` // contains filtered or unexported fields }
Represents a suggestion for a human agent.
Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/participant.proto.
func (*Suggestion) Descriptor ¶
func (*Suggestion) Descriptor() ([]byte, []int)
Deprecated: Use Suggestion.ProtoReflect.Descriptor instead.
func (*Suggestion) GetArticles ¶
func (x *Suggestion) GetArticles() []*Suggestion_Article
func (*Suggestion) GetCreateTime ¶
func (x *Suggestion) GetCreateTime() *timestamppb.Timestamp
func (*Suggestion) GetFaqAnswers ¶
func (x *Suggestion) GetFaqAnswers() []*Suggestion_FaqAnswer
func (*Suggestion) GetLatestMessage ¶
func (x *Suggestion) GetLatestMessage() string
func (*Suggestion) GetName ¶
func (x *Suggestion) GetName() string
func (*Suggestion) ProtoMessage ¶
func (*Suggestion) ProtoMessage()
func (*Suggestion) ProtoReflect ¶
func (x *Suggestion) ProtoReflect() protoreflect.Message
func (*Suggestion) Reset ¶
func (x *Suggestion) Reset()
func (*Suggestion) String ¶
func (x *Suggestion) String() string
type SuggestionFeature ¶
type SuggestionFeature struct { // Type of Human Agent Assistant API feature to request. Type SuggestionFeature_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.dialogflow.v2beta1.SuggestionFeature_Type" json:"type,omitempty"` // contains filtered or unexported fields }
The type of Human Agent Assistant API suggestion to perform, and the maximum number of results to return for that type. Multiple `Feature` objects can be specified in the `features` list.
func (*SuggestionFeature) Descriptor ¶
func (*SuggestionFeature) Descriptor() ([]byte, []int)
Deprecated: Use SuggestionFeature.ProtoReflect.Descriptor instead.
func (*SuggestionFeature) GetType ¶
func (x *SuggestionFeature) GetType() SuggestionFeature_Type
func (*SuggestionFeature) ProtoMessage ¶
func (*SuggestionFeature) ProtoMessage()
func (*SuggestionFeature) ProtoReflect ¶
func (x *SuggestionFeature) ProtoReflect() protoreflect.Message
func (*SuggestionFeature) Reset ¶
func (x *SuggestionFeature) Reset()
func (*SuggestionFeature) String ¶
func (x *SuggestionFeature) String() string
type SuggestionFeature_Type ¶
type SuggestionFeature_Type int32
Defines the type of Human Agent Assistant feature.
const ( // Unspecified feature type. SuggestionFeature_TYPE_UNSPECIFIED SuggestionFeature_Type = 0 // Run article suggestion model for chat. SuggestionFeature_ARTICLE_SUGGESTION SuggestionFeature_Type = 1 // Run FAQ model. SuggestionFeature_FAQ SuggestionFeature_Type = 2 // Run smart reply model for chat. SuggestionFeature_SMART_REPLY SuggestionFeature_Type = 3 // Run Dialogflow assist model for chat, which will return automated agent // response as suggestion. SuggestionFeature_DIALOGFLOW_ASSIST SuggestionFeature_Type = 4 // Run conversation summarization model for chat. SuggestionFeature_CONVERSATION_SUMMARIZATION SuggestionFeature_Type = 8 // Run knowledge search with text input from agent or text generated query. SuggestionFeature_KNOWLEDGE_SEARCH SuggestionFeature_Type = 14 // Run knowledge assist with automatic query generation. SuggestionFeature_KNOWLEDGE_ASSIST SuggestionFeature_Type = 15 )
func (SuggestionFeature_Type) Descriptor ¶
func (SuggestionFeature_Type) Descriptor() protoreflect.EnumDescriptor
func (SuggestionFeature_Type) Enum ¶
func (x SuggestionFeature_Type) Enum() *SuggestionFeature_Type
func (SuggestionFeature_Type) EnumDescriptor ¶
func (SuggestionFeature_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use SuggestionFeature_Type.Descriptor instead.
func (SuggestionFeature_Type) Number ¶
func (x SuggestionFeature_Type) Number() protoreflect.EnumNumber
func (SuggestionFeature_Type) String ¶
func (x SuggestionFeature_Type) String() string
func (SuggestionFeature_Type) Type ¶
func (SuggestionFeature_Type) Type() protoreflect.EnumType
type SuggestionInput ¶
type SuggestionInput struct { // Required. The ID of a suggestion selected by the human agent. // The suggestion(s) were generated in a previous call to // request Dialogflow assist. // The format is: // `projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer Record // ID>` where <Answer Record ID> is an alphanumeric string. AnswerRecord string `protobuf:"bytes,1,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"` // Optional. If the customer edited the suggestion before using it, include // the revised text here. TextOverride *TextInput `protobuf:"bytes,2,opt,name=text_override,json=textOverride,proto3" json:"text_override,omitempty"` // In Dialogflow assist for v3, the user can submit a form by sending // a [SuggestionInput][google.cloud.dialogflow.v2beta1.SuggestionInput]. The // form is uniquely determined by the // [answer_record][google.cloud.dialogflow.v2beta1.SuggestionInput.answer_record] // field, which identifies a v3 // [QueryResult][google.cloud.dialogflow.v3alpha1.QueryResult] containing the // current [page][google.cloud.dialogflow.v3alpha1.Page]. The form parameters // are specified via the // [parameters][google.cloud.dialogflow.v2beta1.SuggestionInput.parameters] // field. // // Depending on your protocol or client library language, this is a // map, associative array, symbol table, dictionary, or JSON object // composed of a collection of (MapKey, MapValue) pairs: // // * MapKey type: string // * MapKey value: parameter name // * MapValue type: If parameter's entity type is a composite entity then use // map, otherwise, depending on the parameter value type, it could be one of // string, number, boolean, null, list or map. // * MapValue value: If parameter's entity type is a composite entity then use // map from composite entity property names to property values, otherwise, // use parameter value. Parameters *structpb.Struct `protobuf:"bytes,4,opt,name=parameters,proto3" json:"parameters,omitempty"` // The intent to be triggered on V3 agent. IntentInput *IntentInput `protobuf:"bytes,6,opt,name=intent_input,json=intentInput,proto3" json:"intent_input,omitempty"` // contains filtered or unexported fields }
Represents the selection of a suggestion.
func (*SuggestionInput) Descriptor ¶
func (*SuggestionInput) Descriptor() ([]byte, []int)
Deprecated: Use SuggestionInput.ProtoReflect.Descriptor instead.
func (*SuggestionInput) GetAnswerRecord ¶
func (x *SuggestionInput) GetAnswerRecord() string
func (*SuggestionInput) GetIntentInput ¶
func (x *SuggestionInput) GetIntentInput() *IntentInput
func (*SuggestionInput) GetParameters ¶
func (x *SuggestionInput) GetParameters() *structpb.Struct
func (*SuggestionInput) GetTextOverride ¶
func (x *SuggestionInput) GetTextOverride() *TextInput
func (*SuggestionInput) ProtoMessage ¶
func (*SuggestionInput) ProtoMessage()
func (*SuggestionInput) ProtoReflect ¶
func (x *SuggestionInput) ProtoReflect() protoreflect.Message
func (*SuggestionInput) Reset ¶
func (x *SuggestionInput) Reset()
func (*SuggestionInput) String ¶
func (x *SuggestionInput) String() string
type SuggestionResult ¶
type SuggestionResult struct { // Different type of suggestion response. // // Types that are assignable to SuggestionResponse: // // *SuggestionResult_Error // *SuggestionResult_SuggestArticlesResponse // *SuggestionResult_SuggestKnowledgeAssistResponse // *SuggestionResult_SuggestFaqAnswersResponse // *SuggestionResult_SuggestSmartRepliesResponse // *SuggestionResult_SuggestDialogflowAssistsResponse // *SuggestionResult_SuggestEntityExtractionResponse SuggestionResponse isSuggestionResult_SuggestionResponse `protobuf_oneof:"suggestion_response"` // contains filtered or unexported fields }
One response of different type of suggestion response which is used in the response of [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent] and [Participants.AnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.AnalyzeContent], as well as HumanAgentAssistantEvent[google.cloud.dialogflow.v2beta1.HumanAgentAssistantEvent].
func (*SuggestionResult) Descriptor ¶
func (*SuggestionResult) Descriptor() ([]byte, []int)
Deprecated: Use SuggestionResult.ProtoReflect.Descriptor instead.
func (*SuggestionResult) GetError ¶
func (x *SuggestionResult) GetError() *status.Status
func (*SuggestionResult) GetSuggestArticlesResponse ¶
func (x *SuggestionResult) GetSuggestArticlesResponse() *SuggestArticlesResponse
func (*SuggestionResult) GetSuggestDialogflowAssistsResponse ¶
func (x *SuggestionResult) GetSuggestDialogflowAssistsResponse() *SuggestDialogflowAssistsResponse
func (*SuggestionResult) GetSuggestEntityExtractionResponse ¶
func (x *SuggestionResult) GetSuggestEntityExtractionResponse() *SuggestDialogflowAssistsResponse
func (*SuggestionResult) GetSuggestFaqAnswersResponse ¶
func (x *SuggestionResult) GetSuggestFaqAnswersResponse() *SuggestFaqAnswersResponse
func (*SuggestionResult) GetSuggestKnowledgeAssistResponse ¶
func (x *SuggestionResult) GetSuggestKnowledgeAssistResponse() *SuggestKnowledgeAssistResponse
func (*SuggestionResult) GetSuggestSmartRepliesResponse ¶
func (x *SuggestionResult) GetSuggestSmartRepliesResponse() *SuggestSmartRepliesResponse
func (*SuggestionResult) GetSuggestionResponse ¶
func (m *SuggestionResult) GetSuggestionResponse() isSuggestionResult_SuggestionResponse
func (*SuggestionResult) ProtoMessage ¶
func (*SuggestionResult) ProtoMessage()
func (*SuggestionResult) ProtoReflect ¶
func (x *SuggestionResult) ProtoReflect() protoreflect.Message
func (*SuggestionResult) Reset ¶
func (x *SuggestionResult) Reset()
func (*SuggestionResult) String ¶
func (x *SuggestionResult) String() string
type SuggestionResult_Error ¶
type SuggestionResult_Error struct { // Error status if the request failed. Error *status.Status `protobuf:"bytes,1,opt,name=error,proto3,oneof"` }
type SuggestionResult_SuggestArticlesResponse ¶
type SuggestionResult_SuggestArticlesResponse struct { // SuggestArticlesResponse if request is for ARTICLE_SUGGESTION. SuggestArticlesResponse *SuggestArticlesResponse `protobuf:"bytes,2,opt,name=suggest_articles_response,json=suggestArticlesResponse,proto3,oneof"` }
type SuggestionResult_SuggestDialogflowAssistsResponse ¶
type SuggestionResult_SuggestDialogflowAssistsResponse struct { // SuggestDialogflowAssistsResponse if request is for DIALOGFLOW_ASSIST. SuggestDialogflowAssistsResponse *SuggestDialogflowAssistsResponse `protobuf:"bytes,5,opt,name=suggest_dialogflow_assists_response,json=suggestDialogflowAssistsResponse,proto3,oneof"` }
type SuggestionResult_SuggestEntityExtractionResponse ¶
type SuggestionResult_SuggestEntityExtractionResponse struct { // SuggestDialogflowAssistsResponse if request is for ENTITY_EXTRACTION. SuggestEntityExtractionResponse *SuggestDialogflowAssistsResponse `protobuf:"bytes,7,opt,name=suggest_entity_extraction_response,json=suggestEntityExtractionResponse,proto3,oneof"` }
type SuggestionResult_SuggestFaqAnswersResponse ¶
type SuggestionResult_SuggestFaqAnswersResponse struct { // SuggestFaqAnswersResponse if request is for FAQ_ANSWER. SuggestFaqAnswersResponse *SuggestFaqAnswersResponse `protobuf:"bytes,3,opt,name=suggest_faq_answers_response,json=suggestFaqAnswersResponse,proto3,oneof"` }
type SuggestionResult_SuggestKnowledgeAssistResponse ¶
type SuggestionResult_SuggestKnowledgeAssistResponse struct { // SuggestKnowledgeAssistResponse if request is for KNOWLEDGE_ASSIST. SuggestKnowledgeAssistResponse *SuggestKnowledgeAssistResponse `protobuf:"bytes,8,opt,name=suggest_knowledge_assist_response,json=suggestKnowledgeAssistResponse,proto3,oneof"` }
type SuggestionResult_SuggestSmartRepliesResponse ¶
type SuggestionResult_SuggestSmartRepliesResponse struct { // SuggestSmartRepliesResponse if request is for SMART_REPLY. SuggestSmartRepliesResponse *SuggestSmartRepliesResponse `protobuf:"bytes,4,opt,name=suggest_smart_replies_response,json=suggestSmartRepliesResponse,proto3,oneof"` }
type Suggestion_Article ¶
type Suggestion_Article struct { // Output only. The article title. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // Output only. The article URI. Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // Output only. Article snippets. Snippets []string `protobuf:"bytes,3,rep,name=snippets,proto3" json:"snippets,omitempty"` // Output only. A map that contains metadata about the answer and the // document from which it originates. Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. The name of answer record, in the format of // "projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer // Record ID>" AnswerRecord string `protobuf:"bytes,6,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"` // contains filtered or unexported fields }
Represents suggested article.
func (*Suggestion_Article) Descriptor ¶
func (*Suggestion_Article) Descriptor() ([]byte, []int)
Deprecated: Use Suggestion_Article.ProtoReflect.Descriptor instead.
func (*Suggestion_Article) GetAnswerRecord ¶
func (x *Suggestion_Article) GetAnswerRecord() string
func (*Suggestion_Article) GetMetadata ¶
func (x *Suggestion_Article) GetMetadata() map[string]string
func (*Suggestion_Article) GetSnippets ¶
func (x *Suggestion_Article) GetSnippets() []string
func (*Suggestion_Article) GetTitle ¶
func (x *Suggestion_Article) GetTitle() string
func (*Suggestion_Article) GetUri ¶
func (x *Suggestion_Article) GetUri() string
func (*Suggestion_Article) ProtoMessage ¶
func (*Suggestion_Article) ProtoMessage()
func (*Suggestion_Article) ProtoReflect ¶
func (x *Suggestion_Article) ProtoReflect() protoreflect.Message
func (*Suggestion_Article) Reset ¶
func (x *Suggestion_Article) Reset()
func (*Suggestion_Article) String ¶
func (x *Suggestion_Article) String() string
type Suggestion_FaqAnswer ¶
type Suggestion_FaqAnswer struct { // Output only. The piece of text from the `source` knowledge base document. Answer string `protobuf:"bytes,1,opt,name=answer,proto3" json:"answer,omitempty"` // The system's confidence score that this Knowledge answer is a good match // for this conversational query, range from 0.0 (completely uncertain) // to 1.0 (completely certain). Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"` // Output only. The corresponding FAQ question. Question string `protobuf:"bytes,3,opt,name=question,proto3" json:"question,omitempty"` // Output only. Indicates which Knowledge Document this answer was extracted // from. // Format: `projects/<Project ID>/locations/<Location // ID>/agent/knowledgeBases/<Knowledge Base ID>/documents/<Document ID>`. Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` // Output only. A map that contains metadata about the answer and the // document from which it originates. Metadata map[string]string `protobuf:"bytes,5,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Output only. The name of answer record, in the format of // "projects/<Project ID>/locations/<Location ID>/answerRecords/<Answer // Record ID>" AnswerRecord string `protobuf:"bytes,6,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"` // contains filtered or unexported fields }
Represents suggested answer from "frequently asked questions".
func (*Suggestion_FaqAnswer) Descriptor ¶
func (*Suggestion_FaqAnswer) Descriptor() ([]byte, []int)
Deprecated: Use Suggestion_FaqAnswer.ProtoReflect.Descriptor instead.
func (*Suggestion_FaqAnswer) GetAnswer ¶
func (x *Suggestion_FaqAnswer) GetAnswer() string
func (*Suggestion_FaqAnswer) GetAnswerRecord ¶
func (x *Suggestion_FaqAnswer) GetAnswerRecord() string
func (*Suggestion_FaqAnswer) GetConfidence ¶
func (x *Suggestion_FaqAnswer) GetConfidence() float32
func (*Suggestion_FaqAnswer) GetMetadata ¶
func (x *Suggestion_FaqAnswer) GetMetadata() map[string]string
func (*Suggestion_FaqAnswer) GetQuestion ¶
func (x *Suggestion_FaqAnswer) GetQuestion() string
func (*Suggestion_FaqAnswer) GetSource ¶
func (x *Suggestion_FaqAnswer) GetSource() string
func (*Suggestion_FaqAnswer) ProtoMessage ¶
func (*Suggestion_FaqAnswer) ProtoMessage()
func (*Suggestion_FaqAnswer) ProtoReflect ¶
func (x *Suggestion_FaqAnswer) ProtoReflect() protoreflect.Message
func (*Suggestion_FaqAnswer) Reset ¶
func (x *Suggestion_FaqAnswer) Reset()
func (*Suggestion_FaqAnswer) String ¶
func (x *Suggestion_FaqAnswer) String() string
type SummarizationContext ¶
type SummarizationContext struct { // Optional. List of sections. Note it contains both predefined section sand // customer defined sections. SummarizationSections []*SummarizationSection `protobuf:"bytes,1,rep,name=summarization_sections,json=summarizationSections,proto3" json:"summarization_sections,omitempty"` // Optional. List of few shot examples. FewShotExamples []*FewShotExample `protobuf:"bytes,2,rep,name=few_shot_examples,json=fewShotExamples,proto3" json:"few_shot_examples,omitempty"` // Optional. Version of the feature. If not set, default to latest version. // Current candidates are ["1.0"]. Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // Optional. The target language of the generated summary. The language code // for conversation will be used if this field is empty. Supported 2.0 and // later versions. OutputLanguageCode string `protobuf:"bytes,6,opt,name=output_language_code,json=outputLanguageCode,proto3" json:"output_language_code,omitempty"` // contains filtered or unexported fields }
Summarization context that customer can configure.
func (*SummarizationContext) Descriptor ¶
func (*SummarizationContext) Descriptor() ([]byte, []int)
Deprecated: Use SummarizationContext.ProtoReflect.Descriptor instead.
func (*SummarizationContext) GetFewShotExamples ¶
func (x *SummarizationContext) GetFewShotExamples() []*FewShotExample
func (*SummarizationContext) GetOutputLanguageCode ¶
func (x *SummarizationContext) GetOutputLanguageCode() string
func (*SummarizationContext) GetSummarizationSections ¶
func (x *SummarizationContext) GetSummarizationSections() []*SummarizationSection
func (*SummarizationContext) GetVersion ¶
func (x *SummarizationContext) GetVersion() string
func (*SummarizationContext) ProtoMessage ¶
func (*SummarizationContext) ProtoMessage()
func (*SummarizationContext) ProtoReflect ¶
func (x *SummarizationContext) ProtoReflect() protoreflect.Message
func (*SummarizationContext) Reset ¶
func (x *SummarizationContext) Reset()
func (*SummarizationContext) String ¶
func (x *SummarizationContext) String() string
type SummarizationSection ¶
type SummarizationSection struct { // Optional. Name of the section, for example, "situation". Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Optional. Definition of the section, for example, "what the customer needs // help with or has question about." Definition string `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"` // Optional. Type of the summarization section. Type SummarizationSection_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.dialogflow.v2beta1.SummarizationSection_Type" json:"type,omitempty"` // contains filtered or unexported fields }
Represents the section of summarization.
func (*SummarizationSection) Descriptor ¶
func (*SummarizationSection) Descriptor() ([]byte, []int)
Deprecated: Use SummarizationSection.ProtoReflect.Descriptor instead.
func (*SummarizationSection) GetDefinition ¶
func (x *SummarizationSection) GetDefinition() string
func (*SummarizationSection) GetKey ¶
func (x *SummarizationSection) GetKey() string
func (*SummarizationSection) GetType ¶
func (x *SummarizationSection) GetType() SummarizationSection_Type
func (*SummarizationSection) ProtoMessage ¶
func (*SummarizationSection) ProtoMessage()
func (*SummarizationSection) ProtoReflect ¶
func (x *SummarizationSection) ProtoReflect() protoreflect.Message
func (*SummarizationSection) Reset ¶
func (x *SummarizationSection) Reset()
func (*SummarizationSection) String ¶
func (x *SummarizationSection) String() string
type SummarizationSectionList ¶
type SummarizationSectionList struct { // Optional. Summarization sections. SummarizationSections []*SummarizationSection `protobuf:"bytes,1,rep,name=summarization_sections,json=summarizationSections,proto3" json:"summarization_sections,omitempty"` // contains filtered or unexported fields }
List of summarization sections.
func (*SummarizationSectionList) Descriptor ¶
func (*SummarizationSectionList) Descriptor() ([]byte, []int)
Deprecated: Use SummarizationSectionList.ProtoReflect.Descriptor instead.
func (*SummarizationSectionList) GetSummarizationSections ¶
func (x *SummarizationSectionList) GetSummarizationSections() []*SummarizationSection
func (*SummarizationSectionList) ProtoMessage ¶
func (*SummarizationSectionList) ProtoMessage()
func (*SummarizationSectionList) ProtoReflect ¶
func (x *SummarizationSectionList) ProtoReflect() protoreflect.Message
func (*SummarizationSectionList) Reset ¶
func (x *SummarizationSectionList) Reset()
func (*SummarizationSectionList) String ¶
func (x *SummarizationSectionList) String() string
type SummarizationSection_Type ¶
type SummarizationSection_Type int32
Type enum of the summarization sections.
const ( // Undefined section type, does not return anything. SummarizationSection_TYPE_UNSPECIFIED SummarizationSection_Type = 0 // What the customer needs help with or has question about. // Section name: "situation". SummarizationSection_SITUATION SummarizationSection_Type = 1 // What the agent does to help the customer. // Section name: "action". SummarizationSection_ACTION SummarizationSection_Type = 2 // Result of the customer service. A single word describing the result // of the conversation. // Section name: "resolution". SummarizationSection_RESOLUTION SummarizationSection_Type = 3 // Reason for cancellation if the customer requests for a cancellation. // "N/A" otherwise. // Section name: "reason_for_cancellation". SummarizationSection_REASON_FOR_CANCELLATION SummarizationSection_Type = 4 // "Unsatisfied" or "Satisfied" depending on the customer's feelings at // the end of the conversation. // Section name: "customer_satisfaction". SummarizationSection_CUSTOMER_SATISFACTION SummarizationSection_Type = 5 // Key entities extracted from the conversation, such as ticket number, // order number, dollar amount, etc. // Section names are prefixed by "entities/". SummarizationSection_ENTITIES SummarizationSection_Type = 6 // Customer defined sections. SummarizationSection_CUSTOMER_DEFINED SummarizationSection_Type = 7 )
func (SummarizationSection_Type) Descriptor ¶
func (SummarizationSection_Type) Descriptor() protoreflect.EnumDescriptor
func (SummarizationSection_Type) Enum ¶
func (x SummarizationSection_Type) Enum() *SummarizationSection_Type
func (SummarizationSection_Type) EnumDescriptor ¶
func (SummarizationSection_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use SummarizationSection_Type.Descriptor instead.
func (SummarizationSection_Type) Number ¶
func (x SummarizationSection_Type) Number() protoreflect.EnumNumber
func (SummarizationSection_Type) String ¶
func (x SummarizationSection_Type) String() string
func (SummarizationSection_Type) Type ¶
func (SummarizationSection_Type) Type() protoreflect.EnumType
type SummarySuggestion ¶
type SummarySuggestion struct { // Required. All the parts of generated summary. SummarySections []*SummarySuggestion_SummarySection `protobuf:"bytes,1,rep,name=summary_sections,json=summarySections,proto3" json:"summary_sections,omitempty"` // contains filtered or unexported fields }
Suggested summary of the conversation.
func (*SummarySuggestion) Descriptor ¶
func (*SummarySuggestion) Descriptor() ([]byte, []int)
Deprecated: Use SummarySuggestion.ProtoReflect.Descriptor instead.
func (*SummarySuggestion) GetSummarySections ¶
func (x *SummarySuggestion) GetSummarySections() []*SummarySuggestion_SummarySection
func (*SummarySuggestion) ProtoMessage ¶
func (*SummarySuggestion) ProtoMessage()
func (*SummarySuggestion) ProtoReflect ¶
func (x *SummarySuggestion) ProtoReflect() protoreflect.Message
func (*SummarySuggestion) Reset ¶
func (x *SummarySuggestion) Reset()
func (*SummarySuggestion) String ¶
func (x *SummarySuggestion) String() string
type SummarySuggestion_SummarySection ¶
type SummarySuggestion_SummarySection struct { // Required. Name of the section. Section string `protobuf:"bytes,1,opt,name=section,proto3" json:"section,omitempty"` // Required. Summary text for the section. Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` // contains filtered or unexported fields }
A component of the generated summary.
func (*SummarySuggestion_SummarySection) Descriptor ¶
func (*SummarySuggestion_SummarySection) Descriptor() ([]byte, []int)
Deprecated: Use SummarySuggestion_SummarySection.ProtoReflect.Descriptor instead.
func (*SummarySuggestion_SummarySection) GetSection ¶
func (x *SummarySuggestion_SummarySection) GetSection() string
func (*SummarySuggestion_SummarySection) GetSummary ¶
func (x *SummarySuggestion_SummarySection) GetSummary() string
func (*SummarySuggestion_SummarySection) ProtoMessage ¶
func (*SummarySuggestion_SummarySection) ProtoMessage()
func (*SummarySuggestion_SummarySection) ProtoReflect ¶
func (x *SummarySuggestion_SummarySection) ProtoReflect() protoreflect.Message
func (*SummarySuggestion_SummarySection) Reset ¶
func (x *SummarySuggestion_SummarySection) Reset()
func (*SummarySuggestion_SummarySection) String ¶
func (x *SummarySuggestion_SummarySection) String() string
type SynthesizeSpeechConfig ¶
type SynthesizeSpeechConfig struct { // Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal // native speed supported by the specific voice. 2.0 is twice as fast, and 0.5 // is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any other // values < 0.25 or > 4.0 will return an error. SpeakingRate float64 `protobuf:"fixed64,1,opt,name=speaking_rate,json=speakingRate,proto3" json:"speaking_rate,omitempty"` // Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 // semitones from the original pitch. -20 means decrease 20 semitones from the // original pitch. Pitch float64 `protobuf:"fixed64,2,opt,name=pitch,proto3" json:"pitch,omitempty"` // Optional. Volume gain (in dB) of the normal native volume supported by the // specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of // 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB) // will play at approximately half the amplitude of the normal native signal // amplitude. A value of +6.0 (dB) will play at approximately twice the // amplitude of the normal native signal amplitude. We strongly recommend not // to exceed +10 (dB) as there's usually no effective increase in loudness for // any value greater than that. VolumeGainDb float64 `protobuf:"fixed64,3,opt,name=volume_gain_db,json=volumeGainDb,proto3" json:"volume_gain_db,omitempty"` // Optional. An identifier which selects 'audio effects' profiles that are // applied on (post synthesized) text to speech. Effects are applied on top of // each other in the order they are given. EffectsProfileId []string `protobuf:"bytes,5,rep,name=effects_profile_id,json=effectsProfileId,proto3" json:"effects_profile_id,omitempty"` // Optional. The desired voice of the synthesized audio. Voice *VoiceSelectionParams `protobuf:"bytes,4,opt,name=voice,proto3" json:"voice,omitempty"` // contains filtered or unexported fields }
Configuration of how speech should be synthesized.
func (*SynthesizeSpeechConfig) Descriptor ¶
func (*SynthesizeSpeechConfig) Descriptor() ([]byte, []int)
Deprecated: Use SynthesizeSpeechConfig.ProtoReflect.Descriptor instead.
func (*SynthesizeSpeechConfig) GetEffectsProfileId ¶
func (x *SynthesizeSpeechConfig) GetEffectsProfileId() []string
func (*SynthesizeSpeechConfig) GetPitch ¶
func (x *SynthesizeSpeechConfig) GetPitch() float64
func (*SynthesizeSpeechConfig) GetSpeakingRate ¶
func (x *SynthesizeSpeechConfig) GetSpeakingRate() float64
func (*SynthesizeSpeechConfig) GetVoice ¶
func (x *SynthesizeSpeechConfig) GetVoice() *VoiceSelectionParams
func (*SynthesizeSpeechConfig) GetVolumeGainDb ¶
func (x *SynthesizeSpeechConfig) GetVolumeGainDb() float64
func (*SynthesizeSpeechConfig) ProtoMessage ¶
func (*SynthesizeSpeechConfig) ProtoMessage()
func (*SynthesizeSpeechConfig) ProtoReflect ¶
func (x *SynthesizeSpeechConfig) ProtoReflect() protoreflect.Message
func (*SynthesizeSpeechConfig) Reset ¶
func (x *SynthesizeSpeechConfig) Reset()
func (*SynthesizeSpeechConfig) String ¶
func (x *SynthesizeSpeechConfig) String() string
type TelephonyDtmf ¶
type TelephonyDtmf int32
[DTMF](https://en.wikipedia.org/wiki/Dual-tone_multi-frequency_signaling) digit in Telephony Gateway.
const ( // Not specified. This value may be used to indicate an absent digit. TelephonyDtmf_TELEPHONY_DTMF_UNSPECIFIED TelephonyDtmf = 0 // Number: '1'. TelephonyDtmf_DTMF_ONE TelephonyDtmf = 1 // Number: '2'. TelephonyDtmf_DTMF_TWO TelephonyDtmf = 2 // Number: '3'. TelephonyDtmf_DTMF_THREE TelephonyDtmf = 3 // Number: '4'. TelephonyDtmf_DTMF_FOUR TelephonyDtmf = 4 // Number: '5'. TelephonyDtmf_DTMF_FIVE TelephonyDtmf = 5 // Number: '6'. TelephonyDtmf_DTMF_SIX TelephonyDtmf = 6 // Number: '7'. TelephonyDtmf_DTMF_SEVEN TelephonyDtmf = 7 // Number: '8'. TelephonyDtmf_DTMF_EIGHT TelephonyDtmf = 8 // Number: '9'. TelephonyDtmf_DTMF_NINE TelephonyDtmf = 9 // Number: '0'. TelephonyDtmf_DTMF_ZERO TelephonyDtmf = 10 // Letter: 'A'. TelephonyDtmf_DTMF_A TelephonyDtmf = 11 // Letter: 'B'. TelephonyDtmf_DTMF_B TelephonyDtmf = 12 // Letter: 'C'. TelephonyDtmf_DTMF_C TelephonyDtmf = 13 // Letter: 'D'. TelephonyDtmf_DTMF_D TelephonyDtmf = 14 // Asterisk/star: '*'. TelephonyDtmf_DTMF_STAR TelephonyDtmf = 15 // Pound/diamond/hash/square/gate/octothorpe: '#'. TelephonyDtmf_DTMF_POUND TelephonyDtmf = 16 )
func (TelephonyDtmf) Descriptor ¶
func (TelephonyDtmf) Descriptor() protoreflect.EnumDescriptor
func (TelephonyDtmf) Enum ¶
func (x TelephonyDtmf) Enum() *TelephonyDtmf
func (TelephonyDtmf) EnumDescriptor ¶
func (TelephonyDtmf) EnumDescriptor() ([]byte, []int)
Deprecated: Use TelephonyDtmf.Descriptor instead.
func (TelephonyDtmf) Number ¶
func (x TelephonyDtmf) Number() protoreflect.EnumNumber
func (TelephonyDtmf) String ¶
func (x TelephonyDtmf) String() string
func (TelephonyDtmf) Type ¶
func (TelephonyDtmf) Type() protoreflect.EnumType
type TelephonyDtmfEvents ¶
type TelephonyDtmfEvents struct { // A sequence of TelephonyDtmf digits. DtmfEvents []TelephonyDtmf `protobuf:"varint,1,rep,packed,name=dtmf_events,json=dtmfEvents,proto3,enum=google.cloud.dialogflow.v2beta1.TelephonyDtmf" json:"dtmf_events,omitempty"` // contains filtered or unexported fields }
A wrapper of repeated TelephonyDtmf digits.
func (*TelephonyDtmfEvents) Descriptor ¶
func (*TelephonyDtmfEvents) Descriptor() ([]byte, []int)
Deprecated: Use TelephonyDtmfEvents.ProtoReflect.Descriptor instead.
func (*TelephonyDtmfEvents) GetDtmfEvents ¶
func (x *TelephonyDtmfEvents) GetDtmfEvents() []TelephonyDtmf
func (*TelephonyDtmfEvents) ProtoMessage ¶
func (*TelephonyDtmfEvents) ProtoMessage()
func (*TelephonyDtmfEvents) ProtoReflect ¶
func (x *TelephonyDtmfEvents) ProtoReflect() protoreflect.Message
func (*TelephonyDtmfEvents) Reset ¶
func (x *TelephonyDtmfEvents) Reset()
func (*TelephonyDtmfEvents) String ¶
func (x *TelephonyDtmfEvents) String() string
type TextInput ¶
type TextInput struct { // Required. The UTF-8 encoded natural language text to be processed. // Text length must not exceed 256 characters for virtual agent interactions. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // Required. The language of this conversational query. See [Language // Support](https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that queries in // the same session do not necessarily need to specify the same language. LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // contains filtered or unexported fields }
Represents the natural language text to be processed.
func (*TextInput) Descriptor ¶
Deprecated: Use TextInput.ProtoReflect.Descriptor instead.
func (*TextInput) GetLanguageCode ¶
func (*TextInput) GetText ¶
func (*TextInput) ProtoMessage ¶
func (*TextInput) ProtoMessage()
func (*TextInput) ProtoReflect ¶
func (x *TextInput) ProtoReflect() protoreflect.Message
func (*TextInput) Reset ¶
func (x *TextInput) Reset()
func (*TextInput) String ¶
type TextToSpeechSettings ¶
type TextToSpeechSettings struct { // Optional. Indicates whether text to speech is enabled. Even when this field // is false, other settings in this proto are still retained. EnableTextToSpeech bool `protobuf:"varint,1,opt,name=enable_text_to_speech,json=enableTextToSpeech,proto3" json:"enable_text_to_speech,omitempty"` // Required. Audio encoding of the synthesized audio content. OutputAudioEncoding OutputAudioEncoding `protobuf:"varint,2,opt,name=output_audio_encoding,json=outputAudioEncoding,proto3,enum=google.cloud.dialogflow.v2beta1.OutputAudioEncoding" json:"output_audio_encoding,omitempty"` // Optional. The synthesis sample rate (in hertz) for this audio. If not // provided, then the synthesizer will use the default sample rate based on // the audio encoding. If this is different from the voice's natural sample // rate, then the synthesizer will honor this request by converting to the // desired sample rate (which might result in worse audio quality). SampleRateHertz int32 `protobuf:"varint,3,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` // Optional. Configuration of how speech should be synthesized, mapping from // language (https://cloud.google.com/dialogflow/docs/reference/language) to // SynthesizeSpeechConfig. SynthesizeSpeechConfigs map[string]*SynthesizeSpeechConfig `protobuf:"bytes,4,rep,name=synthesize_speech_configs,json=synthesizeSpeechConfigs,proto3" json:"synthesize_speech_configs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // contains filtered or unexported fields }
Instructs the speech synthesizer on how to generate the output audio content.
func (*TextToSpeechSettings) Descriptor ¶
func (*TextToSpeechSettings) Descriptor() ([]byte, []int)
Deprecated: Use TextToSpeechSettings.ProtoReflect.Descriptor instead.
func (*TextToSpeechSettings) GetEnableTextToSpeech ¶
func (x *TextToSpeechSettings) GetEnableTextToSpeech() bool
func (*TextToSpeechSettings) GetOutputAudioEncoding ¶
func (x *TextToSpeechSettings) GetOutputAudioEncoding() OutputAudioEncoding
func (*TextToSpeechSettings) GetSampleRateHertz ¶
func (x *TextToSpeechSettings) GetSampleRateHertz() int32
func (*TextToSpeechSettings) GetSynthesizeSpeechConfigs ¶
func (x *TextToSpeechSettings) GetSynthesizeSpeechConfigs() map[string]*SynthesizeSpeechConfig
func (*TextToSpeechSettings) ProtoMessage ¶
func (*TextToSpeechSettings) ProtoMessage()
func (*TextToSpeechSettings) ProtoReflect ¶
func (x *TextToSpeechSettings) ProtoReflect() protoreflect.Message
func (*TextToSpeechSettings) Reset ¶
func (x *TextToSpeechSettings) Reset()
func (*TextToSpeechSettings) String ¶
func (x *TextToSpeechSettings) String() string
type TrainAgentRequest ¶
type TrainAgentRequest struct { // Required. The project that the agent to train is associated with. // Format: `projects/<Project ID>` or // // `projects/<Project ID>/locations/<Location ID>`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
The request message for [Agents.TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent].
func (*TrainAgentRequest) Descriptor ¶
func (*TrainAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use TrainAgentRequest.ProtoReflect.Descriptor instead.
func (*TrainAgentRequest) GetParent ¶
func (x *TrainAgentRequest) GetParent() string
func (*TrainAgentRequest) ProtoMessage ¶
func (*TrainAgentRequest) ProtoMessage()
func (*TrainAgentRequest) ProtoReflect ¶
func (x *TrainAgentRequest) ProtoReflect() protoreflect.Message
func (*TrainAgentRequest) Reset ¶
func (x *TrainAgentRequest) Reset()
func (*TrainAgentRequest) String ¶
func (x *TrainAgentRequest) String() string
type TriggerEvent ¶
type TriggerEvent int32
The event that triggers the generator and LLM execution.
const ( // Default value for TriggerEvent. TriggerEvent_TRIGGER_EVENT_UNSPECIFIED TriggerEvent = 0 // Triggers when each chat message or voice utterance ends. TriggerEvent_END_OF_UTTERANCE TriggerEvent = 1 // Triggers on the conversation manually by API calls, such as // Conversations.GenerateStatelessSuggestion and // Conversations.GenerateSuggestions. TriggerEvent_MANUAL_CALL TriggerEvent = 2 )
func (TriggerEvent) Descriptor ¶
func (TriggerEvent) Descriptor() protoreflect.EnumDescriptor
func (TriggerEvent) Enum ¶
func (x TriggerEvent) Enum() *TriggerEvent
func (TriggerEvent) EnumDescriptor ¶
func (TriggerEvent) EnumDescriptor() ([]byte, []int)
Deprecated: Use TriggerEvent.Descriptor instead.
func (TriggerEvent) Number ¶
func (x TriggerEvent) Number() protoreflect.EnumNumber
func (TriggerEvent) String ¶
func (x TriggerEvent) String() string
func (TriggerEvent) Type ¶
func (TriggerEvent) Type() protoreflect.EnumType
type UndeletePhoneNumberRequest ¶
type UndeletePhoneNumberRequest struct { // Required. The unique identifier of the `PhoneNumber` to delete. // Format: `projects/<Project ID>/phoneNumbers/<PhoneNumber ID>`. // Format: `projects/<Project ID>/locations/<Location // ID>/phoneNumbers/<PhoneNumber ID>`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
The request message for [PhoneNumbers.UndeletePhoneNumber][google.cloud.dialogflow.v2beta1.PhoneNumbers.UndeletePhoneNumber].
func (*UndeletePhoneNumberRequest) Descriptor ¶
func (*UndeletePhoneNumberRequest) Descriptor() ([]byte, []int)
Deprecated: Use UndeletePhoneNumberRequest.ProtoReflect.Descriptor instead.
func (*UndeletePhoneNumberRequest) GetName ¶
func (x *UndeletePhoneNumberRequest) GetName() string
func (*UndeletePhoneNumberRequest) ProtoMessage ¶
func (*UndeletePhoneNumberRequest) ProtoMessage()
func (*UndeletePhoneNumberRequest) ProtoReflect ¶
func (x *UndeletePhoneNumberRequest) ProtoReflect() protoreflect.Message
func (*UndeletePhoneNumberRequest) Reset ¶
func (x *UndeletePhoneNumberRequest) Reset()
func (*UndeletePhoneNumberRequest) String ¶
func (x *UndeletePhoneNumberRequest) String() string
type UnimplementedAgentsServer ¶
type UnimplementedAgentsServer struct { }
UnimplementedAgentsServer can be embedded to have forward compatible implementations.
func (*UnimplementedAgentsServer) DeleteAgent ¶
func (*UnimplementedAgentsServer) DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error)
func (*UnimplementedAgentsServer) ExportAgent ¶
func (*UnimplementedAgentsServer) ExportAgent(context.Context, *ExportAgentRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAgentsServer) GetAgent ¶
func (*UnimplementedAgentsServer) GetAgent(context.Context, *GetAgentRequest) (*Agent, error)
func (*UnimplementedAgentsServer) GetValidationResult ¶
func (*UnimplementedAgentsServer) GetValidationResult(context.Context, *GetValidationResultRequest) (*ValidationResult, error)
func (*UnimplementedAgentsServer) ImportAgent ¶
func (*UnimplementedAgentsServer) ImportAgent(context.Context, *ImportAgentRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAgentsServer) RestoreAgent ¶
func (*UnimplementedAgentsServer) RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAgentsServer) SearchAgents ¶
func (*UnimplementedAgentsServer) SearchAgents(context.Context, *SearchAgentsRequest) (*SearchAgentsResponse, error)
func (*UnimplementedAgentsServer) SetAgent ¶
func (*UnimplementedAgentsServer) SetAgent(context.Context, *SetAgentRequest) (*Agent, error)
func (*UnimplementedAgentsServer) TrainAgent ¶
func (*UnimplementedAgentsServer) TrainAgent(context.Context, *TrainAgentRequest) (*longrunningpb.Operation, error)
type UnimplementedAnswerRecordsServer ¶
type UnimplementedAnswerRecordsServer struct { }
UnimplementedAnswerRecordsServer can be embedded to have forward compatible implementations.
func (*UnimplementedAnswerRecordsServer) GetAnswerRecord ¶
func (*UnimplementedAnswerRecordsServer) GetAnswerRecord(context.Context, *GetAnswerRecordRequest) (*AnswerRecord, error)
func (*UnimplementedAnswerRecordsServer) ListAnswerRecords ¶
func (*UnimplementedAnswerRecordsServer) ListAnswerRecords(context.Context, *ListAnswerRecordsRequest) (*ListAnswerRecordsResponse, error)
func (*UnimplementedAnswerRecordsServer) UpdateAnswerRecord ¶
func (*UnimplementedAnswerRecordsServer) UpdateAnswerRecord(context.Context, *UpdateAnswerRecordRequest) (*AnswerRecord, error)
type UnimplementedContextsServer ¶
type UnimplementedContextsServer struct { }
UnimplementedContextsServer can be embedded to have forward compatible implementations.
func (*UnimplementedContextsServer) CreateContext ¶
func (*UnimplementedContextsServer) CreateContext(context.Context, *CreateContextRequest) (*Context, error)
func (*UnimplementedContextsServer) DeleteAllContexts ¶
func (*UnimplementedContextsServer) DeleteAllContexts(context.Context, *DeleteAllContextsRequest) (*emptypb.Empty, error)
func (*UnimplementedContextsServer) DeleteContext ¶
func (*UnimplementedContextsServer) DeleteContext(context.Context, *DeleteContextRequest) (*emptypb.Empty, error)
func (*UnimplementedContextsServer) GetContext ¶
func (*UnimplementedContextsServer) GetContext(context.Context, *GetContextRequest) (*Context, error)
func (*UnimplementedContextsServer) ListContexts ¶
func (*UnimplementedContextsServer) ListContexts(context.Context, *ListContextsRequest) (*ListContextsResponse, error)
func (*UnimplementedContextsServer) UpdateContext ¶
func (*UnimplementedContextsServer) UpdateContext(context.Context, *UpdateContextRequest) (*Context, error)
type UnimplementedConversationProfilesServer ¶
type UnimplementedConversationProfilesServer struct { }
UnimplementedConversationProfilesServer can be embedded to have forward compatible implementations.
func (*UnimplementedConversationProfilesServer) ClearSuggestionFeatureConfig ¶
func (*UnimplementedConversationProfilesServer) ClearSuggestionFeatureConfig(context.Context, *ClearSuggestionFeatureConfigRequest) (*longrunningpb.Operation, error)
func (*UnimplementedConversationProfilesServer) CreateConversationProfile ¶
func (*UnimplementedConversationProfilesServer) CreateConversationProfile(context.Context, *CreateConversationProfileRequest) (*ConversationProfile, error)
func (*UnimplementedConversationProfilesServer) DeleteConversationProfile ¶
func (*UnimplementedConversationProfilesServer) DeleteConversationProfile(context.Context, *DeleteConversationProfileRequest) (*emptypb.Empty, error)
func (*UnimplementedConversationProfilesServer) GetConversationProfile ¶
func (*UnimplementedConversationProfilesServer) GetConversationProfile(context.Context, *GetConversationProfileRequest) (*ConversationProfile, error)
func (*UnimplementedConversationProfilesServer) ListConversationProfiles ¶
func (*UnimplementedConversationProfilesServer) ListConversationProfiles(context.Context, *ListConversationProfilesRequest) (*ListConversationProfilesResponse, error)
func (*UnimplementedConversationProfilesServer) SetSuggestionFeatureConfig ¶
func (*UnimplementedConversationProfilesServer) SetSuggestionFeatureConfig(context.Context, *SetSuggestionFeatureConfigRequest) (*longrunningpb.Operation, error)
func (*UnimplementedConversationProfilesServer) UpdateConversationProfile ¶
func (*UnimplementedConversationProfilesServer) UpdateConversationProfile(context.Context, *UpdateConversationProfileRequest) (*ConversationProfile, error)
type UnimplementedConversationsServer ¶
type UnimplementedConversationsServer struct { }
UnimplementedConversationsServer can be embedded to have forward compatible implementations.
func (*UnimplementedConversationsServer) BatchCreateMessages ¶
func (*UnimplementedConversationsServer) BatchCreateMessages(context.Context, *BatchCreateMessagesRequest) (*BatchCreateMessagesResponse, error)
func (*UnimplementedConversationsServer) CompleteConversation ¶
func (*UnimplementedConversationsServer) CompleteConversation(context.Context, *CompleteConversationRequest) (*Conversation, error)
func (*UnimplementedConversationsServer) CreateConversation ¶
func (*UnimplementedConversationsServer) CreateConversation(context.Context, *CreateConversationRequest) (*Conversation, error)
func (*UnimplementedConversationsServer) GenerateStatelessSuggestion ¶
func (*UnimplementedConversationsServer) GenerateStatelessSuggestion(context.Context, *GenerateStatelessSuggestionRequest) (*GenerateStatelessSuggestionResponse, error)
func (*UnimplementedConversationsServer) GenerateStatelessSummary ¶
func (*UnimplementedConversationsServer) GenerateStatelessSummary(context.Context, *GenerateStatelessSummaryRequest) (*GenerateStatelessSummaryResponse, error)
func (*UnimplementedConversationsServer) GetConversation ¶
func (*UnimplementedConversationsServer) GetConversation(context.Context, *GetConversationRequest) (*Conversation, error)
func (*UnimplementedConversationsServer) ListConversations ¶
func (*UnimplementedConversationsServer) ListConversations(context.Context, *ListConversationsRequest) (*ListConversationsResponse, error)
func (*UnimplementedConversationsServer) ListMessages ¶
func (*UnimplementedConversationsServer) ListMessages(context.Context, *ListMessagesRequest) (*ListMessagesResponse, error)
func (*UnimplementedConversationsServer) SearchKnowledge ¶
func (*UnimplementedConversationsServer) SearchKnowledge(context.Context, *SearchKnowledgeRequest) (*SearchKnowledgeResponse, error)
func (*UnimplementedConversationsServer) SuggestConversationSummary ¶
func (*UnimplementedConversationsServer) SuggestConversationSummary(context.Context, *SuggestConversationSummaryRequest) (*SuggestConversationSummaryResponse, error)
type UnimplementedDocumentsServer ¶
type UnimplementedDocumentsServer struct { }
UnimplementedDocumentsServer can be embedded to have forward compatible implementations.
func (*UnimplementedDocumentsServer) CreateDocument ¶
func (*UnimplementedDocumentsServer) CreateDocument(context.Context, *CreateDocumentRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDocumentsServer) DeleteDocument ¶
func (*UnimplementedDocumentsServer) DeleteDocument(context.Context, *DeleteDocumentRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDocumentsServer) GetDocument ¶
func (*UnimplementedDocumentsServer) GetDocument(context.Context, *GetDocumentRequest) (*Document, error)
func (*UnimplementedDocumentsServer) ImportDocuments ¶
func (*UnimplementedDocumentsServer) ImportDocuments(context.Context, *ImportDocumentsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDocumentsServer) ListDocuments ¶
func (*UnimplementedDocumentsServer) ListDocuments(context.Context, *ListDocumentsRequest) (*ListDocumentsResponse, error)
func (*UnimplementedDocumentsServer) ReloadDocument ¶
func (*UnimplementedDocumentsServer) ReloadDocument(context.Context, *ReloadDocumentRequest) (*longrunningpb.Operation, error)
func (*UnimplementedDocumentsServer) UpdateDocument ¶
func (*UnimplementedDocumentsServer) UpdateDocument(context.Context, *UpdateDocumentRequest) (*longrunningpb.Operation, error)
type UnimplementedEncryptionSpecServiceServer ¶
type UnimplementedEncryptionSpecServiceServer struct { }
UnimplementedEncryptionSpecServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedEncryptionSpecServiceServer) GetEncryptionSpec ¶
func (*UnimplementedEncryptionSpecServiceServer) GetEncryptionSpec(context.Context, *GetEncryptionSpecRequest) (*EncryptionSpec, error)
func (*UnimplementedEncryptionSpecServiceServer) InitializeEncryptionSpec ¶
func (*UnimplementedEncryptionSpecServiceServer) InitializeEncryptionSpec(context.Context, *InitializeEncryptionSpecRequest) (*longrunningpb.Operation, error)
type UnimplementedEntityTypesServer ¶
type UnimplementedEntityTypesServer struct { }
UnimplementedEntityTypesServer can be embedded to have forward compatible implementations.
func (*UnimplementedEntityTypesServer) BatchCreateEntities ¶
func (*UnimplementedEntityTypesServer) BatchCreateEntities(context.Context, *BatchCreateEntitiesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedEntityTypesServer) BatchDeleteEntities ¶
func (*UnimplementedEntityTypesServer) BatchDeleteEntities(context.Context, *BatchDeleteEntitiesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedEntityTypesServer) BatchDeleteEntityTypes ¶
func (*UnimplementedEntityTypesServer) BatchDeleteEntityTypes(context.Context, *BatchDeleteEntityTypesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedEntityTypesServer) BatchUpdateEntities ¶
func (*UnimplementedEntityTypesServer) BatchUpdateEntities(context.Context, *BatchUpdateEntitiesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedEntityTypesServer) BatchUpdateEntityTypes ¶
func (*UnimplementedEntityTypesServer) BatchUpdateEntityTypes(context.Context, *BatchUpdateEntityTypesRequest) (*longrunningpb.Operation, error)
func (*UnimplementedEntityTypesServer) CreateEntityType ¶
func (*UnimplementedEntityTypesServer) CreateEntityType(context.Context, *CreateEntityTypeRequest) (*EntityType, error)
func (*UnimplementedEntityTypesServer) DeleteEntityType ¶
func (*UnimplementedEntityTypesServer) DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*emptypb.Empty, error)
func (*UnimplementedEntityTypesServer) GetEntityType ¶
func (*UnimplementedEntityTypesServer) GetEntityType(context.Context, *GetEntityTypeRequest) (*EntityType, error)
func (*UnimplementedEntityTypesServer) ListEntityTypes ¶
func (*UnimplementedEntityTypesServer) ListEntityTypes(context.Context, *ListEntityTypesRequest) (*ListEntityTypesResponse, error)
func (*UnimplementedEntityTypesServer) UpdateEntityType ¶
func (*UnimplementedEntityTypesServer) UpdateEntityType(context.Context, *UpdateEntityTypeRequest) (*EntityType, error)
type UnimplementedEnvironmentsServer ¶
type UnimplementedEnvironmentsServer struct { }
UnimplementedEnvironmentsServer can be embedded to have forward compatible implementations.
func (*UnimplementedEnvironmentsServer) CreateEnvironment ¶
func (*UnimplementedEnvironmentsServer) CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*Environment, error)
func (*UnimplementedEnvironmentsServer) DeleteEnvironment ¶
func (*UnimplementedEnvironmentsServer) DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*emptypb.Empty, error)
func (*UnimplementedEnvironmentsServer) GetEnvironment ¶
func (*UnimplementedEnvironmentsServer) GetEnvironment(context.Context, *GetEnvironmentRequest) (*Environment, error)
func (*UnimplementedEnvironmentsServer) GetEnvironmentHistory ¶
func (*UnimplementedEnvironmentsServer) GetEnvironmentHistory(context.Context, *GetEnvironmentHistoryRequest) (*EnvironmentHistory, error)
func (*UnimplementedEnvironmentsServer) ListEnvironments ¶
func (*UnimplementedEnvironmentsServer) ListEnvironments(context.Context, *ListEnvironmentsRequest) (*ListEnvironmentsResponse, error)
func (*UnimplementedEnvironmentsServer) UpdateEnvironment ¶
func (*UnimplementedEnvironmentsServer) UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*Environment, error)
type UnimplementedFulfillmentsServer ¶
type UnimplementedFulfillmentsServer struct { }
UnimplementedFulfillmentsServer can be embedded to have forward compatible implementations.
func (*UnimplementedFulfillmentsServer) GetFulfillment ¶
func (*UnimplementedFulfillmentsServer) GetFulfillment(context.Context, *GetFulfillmentRequest) (*Fulfillment, error)
func (*UnimplementedFulfillmentsServer) UpdateFulfillment ¶
func (*UnimplementedFulfillmentsServer) UpdateFulfillment(context.Context, *UpdateFulfillmentRequest) (*Fulfillment, error)
type UnimplementedGeneratorsServer ¶
type UnimplementedGeneratorsServer struct { }
UnimplementedGeneratorsServer can be embedded to have forward compatible implementations.
func (*UnimplementedGeneratorsServer) CreateGenerator ¶
func (*UnimplementedGeneratorsServer) CreateGenerator(context.Context, *CreateGeneratorRequest) (*Generator, error)
func (*UnimplementedGeneratorsServer) DeleteGenerator ¶
func (*UnimplementedGeneratorsServer) DeleteGenerator(context.Context, *DeleteGeneratorRequest) (*emptypb.Empty, error)
func (*UnimplementedGeneratorsServer) GetGenerator ¶
func (*UnimplementedGeneratorsServer) GetGenerator(context.Context, *GetGeneratorRequest) (*Generator, error)
func (*UnimplementedGeneratorsServer) ListGenerators ¶
func (*UnimplementedGeneratorsServer) ListGenerators(context.Context, *ListGeneratorsRequest) (*ListGeneratorsResponse, error)
func (*UnimplementedGeneratorsServer) UpdateGenerator ¶
func (*UnimplementedGeneratorsServer) UpdateGenerator(context.Context, *UpdateGeneratorRequest) (*Generator, error)
type UnimplementedIntentsServer ¶
type UnimplementedIntentsServer struct { }
UnimplementedIntentsServer can be embedded to have forward compatible implementations.
func (*UnimplementedIntentsServer) BatchDeleteIntents ¶
func (*UnimplementedIntentsServer) BatchDeleteIntents(context.Context, *BatchDeleteIntentsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedIntentsServer) BatchUpdateIntents ¶
func (*UnimplementedIntentsServer) BatchUpdateIntents(context.Context, *BatchUpdateIntentsRequest) (*longrunningpb.Operation, error)
func (*UnimplementedIntentsServer) CreateIntent ¶
func (*UnimplementedIntentsServer) CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error)
func (*UnimplementedIntentsServer) DeleteIntent ¶
func (*UnimplementedIntentsServer) DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error)
func (*UnimplementedIntentsServer) GetIntent ¶
func (*UnimplementedIntentsServer) GetIntent(context.Context, *GetIntentRequest) (*Intent, error)
func (*UnimplementedIntentsServer) ListIntents ¶
func (*UnimplementedIntentsServer) ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error)
func (*UnimplementedIntentsServer) UpdateIntent ¶
func (*UnimplementedIntentsServer) UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error)
type UnimplementedKnowledgeBasesServer ¶
type UnimplementedKnowledgeBasesServer struct { }
UnimplementedKnowledgeBasesServer can be embedded to have forward compatible implementations.
func (*UnimplementedKnowledgeBasesServer) CreateKnowledgeBase ¶
func (*UnimplementedKnowledgeBasesServer) CreateKnowledgeBase(context.Context, *CreateKnowledgeBaseRequest) (*KnowledgeBase, error)
func (*UnimplementedKnowledgeBasesServer) DeleteKnowledgeBase ¶
func (*UnimplementedKnowledgeBasesServer) DeleteKnowledgeBase(context.Context, *DeleteKnowledgeBaseRequest) (*emptypb.Empty, error)
func (*UnimplementedKnowledgeBasesServer) GetKnowledgeBase ¶
func (*UnimplementedKnowledgeBasesServer) GetKnowledgeBase(context.Context, *GetKnowledgeBaseRequest) (*KnowledgeBase, error)
func (*UnimplementedKnowledgeBasesServer) ListKnowledgeBases ¶
func (*UnimplementedKnowledgeBasesServer) ListKnowledgeBases(context.Context, *ListKnowledgeBasesRequest) (*ListKnowledgeBasesResponse, error)
func (*UnimplementedKnowledgeBasesServer) UpdateKnowledgeBase ¶
func (*UnimplementedKnowledgeBasesServer) UpdateKnowledgeBase(context.Context, *UpdateKnowledgeBaseRequest) (*KnowledgeBase, error)
type UnimplementedParticipantsServer ¶
type UnimplementedParticipantsServer struct { }
UnimplementedParticipantsServer can be embedded to have forward compatible implementations.
func (*UnimplementedParticipantsServer) AnalyzeContent ¶
func (*UnimplementedParticipantsServer) AnalyzeContent(context.Context, *AnalyzeContentRequest) (*AnalyzeContentResponse, error)
func (*UnimplementedParticipantsServer) CompileSuggestion ¶
func (*UnimplementedParticipantsServer) CompileSuggestion(context.Context, *CompileSuggestionRequest) (*CompileSuggestionResponse, error)
func (*UnimplementedParticipantsServer) CreateParticipant ¶
func (*UnimplementedParticipantsServer) CreateParticipant(context.Context, *CreateParticipantRequest) (*Participant, error)
func (*UnimplementedParticipantsServer) GetParticipant ¶
func (*UnimplementedParticipantsServer) GetParticipant(context.Context, *GetParticipantRequest) (*Participant, error)
func (*UnimplementedParticipantsServer) ListParticipants ¶
func (*UnimplementedParticipantsServer) ListParticipants(context.Context, *ListParticipantsRequest) (*ListParticipantsResponse, error)
func (*UnimplementedParticipantsServer) ListSuggestions ¶
func (*UnimplementedParticipantsServer) ListSuggestions(context.Context, *ListSuggestionsRequest) (*ListSuggestionsResponse, error)
func (*UnimplementedParticipantsServer) StreamingAnalyzeContent ¶
func (*UnimplementedParticipantsServer) StreamingAnalyzeContent(Participants_StreamingAnalyzeContentServer) error
func (*UnimplementedParticipantsServer) SuggestArticles ¶
func (*UnimplementedParticipantsServer) SuggestArticles(context.Context, *SuggestArticlesRequest) (*SuggestArticlesResponse, error)
func (*UnimplementedParticipantsServer) SuggestFaqAnswers ¶
func (*UnimplementedParticipantsServer) SuggestFaqAnswers(context.Context, *SuggestFaqAnswersRequest) (*SuggestFaqAnswersResponse, error)
func (*UnimplementedParticipantsServer) SuggestKnowledgeAssist ¶
func (*UnimplementedParticipantsServer) SuggestKnowledgeAssist(context.Context, *SuggestKnowledgeAssistRequest) (*SuggestKnowledgeAssistResponse, error)
func (*UnimplementedParticipantsServer) SuggestSmartReplies ¶
func (*UnimplementedParticipantsServer) SuggestSmartReplies(context.Context, *SuggestSmartRepliesRequest) (*SuggestSmartRepliesResponse, error)
func (*UnimplementedParticipantsServer) UpdateParticipant ¶
func (*UnimplementedParticipantsServer) UpdateParticipant(context.Context, *UpdateParticipantRequest) (*Participant, error)
type UnimplementedPhoneNumbersServer ¶
type UnimplementedPhoneNumbersServer struct { }
UnimplementedPhoneNumbersServer can be embedded to have forward compatible implementations.
func (*UnimplementedPhoneNumbersServer) DeletePhoneNumber ¶
func (*UnimplementedPhoneNumbersServer) DeletePhoneNumber(context.Context, *DeletePhoneNumberRequest) (*PhoneNumber, error)
func (*UnimplementedPhoneNumbersServer) ListPhoneNumbers ¶
func (*UnimplementedPhoneNumbersServer) ListPhoneNumbers(context.Context, *ListPhoneNumbersRequest) (*ListPhoneNumbersResponse, error)
func (*UnimplementedPhoneNumbersServer) UndeletePhoneNumber ¶
func (*UnimplementedPhoneNumbersServer) UndeletePhoneNumber(context.Context, *UndeletePhoneNumberRequest) (*PhoneNumber, error)
func (*UnimplementedPhoneNumbersServer) UpdatePhoneNumber ¶
func (*UnimplementedPhoneNumbersServer) UpdatePhoneNumber(context.Context, *UpdatePhoneNumberRequest) (*PhoneNumber, error)
type UnimplementedSessionEntityTypesServer ¶
type UnimplementedSessionEntityTypesServer struct { }
UnimplementedSessionEntityTypesServer can be embedded to have forward compatible implementations.
func (*UnimplementedSessionEntityTypesServer) CreateSessionEntityType ¶
func (*UnimplementedSessionEntityTypesServer) CreateSessionEntityType(context.Context, *CreateSessionEntityTypeRequest) (*SessionEntityType, error)
func (*UnimplementedSessionEntityTypesServer) DeleteSessionEntityType ¶
func (*UnimplementedSessionEntityTypesServer) DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*emptypb.Empty, error)
func (*UnimplementedSessionEntityTypesServer) GetSessionEntityType ¶
func (*UnimplementedSessionEntityTypesServer) GetSessionEntityType(context.Context, *GetSessionEntityTypeRequest) (*SessionEntityType, error)
func (*UnimplementedSessionEntityTypesServer) ListSessionEntityTypes ¶
func (*UnimplementedSessionEntityTypesServer) ListSessionEntityTypes(context.Context, *ListSessionEntityTypesRequest) (*ListSessionEntityTypesResponse, error)
func (*UnimplementedSessionEntityTypesServer) UpdateSessionEntityType ¶
func (*UnimplementedSessionEntityTypesServer) UpdateSessionEntityType(context.Context, *UpdateSessionEntityTypeRequest) (*SessionEntityType, error)
type UnimplementedSessionsServer ¶
type UnimplementedSessionsServer struct { }
UnimplementedSessionsServer can be embedded to have forward compatible implementations.
func (*UnimplementedSessionsServer) DetectIntent ¶
func (*UnimplementedSessionsServer) DetectIntent(context.Context, *DetectIntentRequest) (*DetectIntentResponse, error)
func (*UnimplementedSessionsServer) StreamingDetectIntent ¶
func (*UnimplementedSessionsServer) StreamingDetectIntent(Sessions_StreamingDetectIntentServer) error
type UnimplementedSipTrunksServer ¶
type UnimplementedSipTrunksServer struct { }
UnimplementedSipTrunksServer can be embedded to have forward compatible implementations.
func (*UnimplementedSipTrunksServer) CreateSipTrunk ¶
func (*UnimplementedSipTrunksServer) CreateSipTrunk(context.Context, *CreateSipTrunkRequest) (*SipTrunk, error)
func (*UnimplementedSipTrunksServer) DeleteSipTrunk ¶
func (*UnimplementedSipTrunksServer) DeleteSipTrunk(context.Context, *DeleteSipTrunkRequest) (*emptypb.Empty, error)
func (*UnimplementedSipTrunksServer) GetSipTrunk ¶
func (*UnimplementedSipTrunksServer) GetSipTrunk(context.Context, *GetSipTrunkRequest) (*SipTrunk, error)
func (*UnimplementedSipTrunksServer) ListSipTrunks ¶
func (*UnimplementedSipTrunksServer) ListSipTrunks(context.Context, *ListSipTrunksRequest) (*ListSipTrunksResponse, error)
func (*UnimplementedSipTrunksServer) UpdateSipTrunk ¶
func (*UnimplementedSipTrunksServer) UpdateSipTrunk(context.Context, *UpdateSipTrunkRequest) (*SipTrunk, error)
type UnimplementedVersionsServer ¶
type UnimplementedVersionsServer struct { }
UnimplementedVersionsServer can be embedded to have forward compatible implementations.
func (*UnimplementedVersionsServer) CreateVersion ¶
func (*UnimplementedVersionsServer) CreateVersion(context.Context, *CreateVersionRequest) (*Version, error)
func (*UnimplementedVersionsServer) DeleteVersion ¶
func (*UnimplementedVersionsServer) DeleteVersion(context.Context, *DeleteVersionRequest) (*emptypb.Empty, error)
func (*UnimplementedVersionsServer) GetVersion ¶
func (*UnimplementedVersionsServer) GetVersion(context.Context, *GetVersionRequest) (*Version, error)
func (*UnimplementedVersionsServer) ListVersions ¶
func (*UnimplementedVersionsServer) ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
func (*UnimplementedVersionsServer) UpdateVersion ¶
func (*UnimplementedVersionsServer) UpdateVersion(context.Context, *UpdateVersionRequest) (*Version, error)
type UpdateAnswerRecordRequest ¶
type UpdateAnswerRecordRequest struct { // Required. Answer record to update. AnswerRecord *AnswerRecord `protobuf:"bytes,1,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"` // Required. The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord].
func (*UpdateAnswerRecordRequest) Descriptor ¶
func (*UpdateAnswerRecordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAnswerRecordRequest.ProtoReflect.Descriptor instead.
func (*UpdateAnswerRecordRequest) GetAnswerRecord ¶
func (x *UpdateAnswerRecordRequest) GetAnswerRecord() *AnswerRecord
func (*UpdateAnswerRecordRequest) GetUpdateMask ¶
func (x *UpdateAnswerRecordRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAnswerRecordRequest) ProtoMessage ¶
func (*UpdateAnswerRecordRequest) ProtoMessage()
func (*UpdateAnswerRecordRequest) ProtoReflect ¶
func (x *UpdateAnswerRecordRequest) ProtoReflect() protoreflect.Message
func (*UpdateAnswerRecordRequest) Reset ¶
func (x *UpdateAnswerRecordRequest) Reset()
func (*UpdateAnswerRecordRequest) String ¶
func (x *UpdateAnswerRecordRequest) String() string
type UpdateContextRequest ¶
type UpdateContextRequest struct { // Required. The context to update. Context *Context `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"` // Optional. The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [Contexts.UpdateContext][google.cloud.dialogflow.v2beta1.Contexts.UpdateContext].
func (*UpdateContextRequest) Descriptor ¶
func (*UpdateContextRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateContextRequest.ProtoReflect.Descriptor instead.
func (*UpdateContextRequest) GetContext ¶
func (x *UpdateContextRequest) GetContext() *Context
func (*UpdateContextRequest) GetUpdateMask ¶
func (x *UpdateContextRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateContextRequest) ProtoMessage ¶
func (*UpdateContextRequest) ProtoMessage()
func (*UpdateContextRequest) ProtoReflect ¶
func (x *UpdateContextRequest) ProtoReflect() protoreflect.Message
func (*UpdateContextRequest) Reset ¶
func (x *UpdateContextRequest) Reset()
func (*UpdateContextRequest) String ¶
func (x *UpdateContextRequest) String() string
type UpdateConversationProfileRequest ¶
type UpdateConversationProfileRequest struct { // Required. The conversation profile to update. ConversationProfile *ConversationProfile `protobuf:"bytes,1,opt,name=conversation_profile,json=conversationProfile,proto3" json:"conversation_profile,omitempty"` // Required. The mask to control which fields to update. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [ConversationProfiles.UpdateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.UpdateConversationProfile].
func (*UpdateConversationProfileRequest) Descriptor ¶
func (*UpdateConversationProfileRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateConversationProfileRequest.ProtoReflect.Descriptor instead.
func (*UpdateConversationProfileRequest) GetConversationProfile ¶
func (x *UpdateConversationProfileRequest) GetConversationProfile() *ConversationProfile
func (*UpdateConversationProfileRequest) GetUpdateMask ¶
func (x *UpdateConversationProfileRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateConversationProfileRequest) ProtoMessage ¶
func (*UpdateConversationProfileRequest) ProtoMessage()
func (*UpdateConversationProfileRequest) ProtoReflect ¶
func (x *UpdateConversationProfileRequest) ProtoReflect() protoreflect.Message
func (*UpdateConversationProfileRequest) Reset ¶
func (x *UpdateConversationProfileRequest) Reset()
func (*UpdateConversationProfileRequest) String ¶
func (x *UpdateConversationProfileRequest) String() string
type UpdateDocumentRequest ¶
type UpdateDocumentRequest struct { // Required. The document to update. Document *Document `protobuf:"bytes,1,opt,name=document,proto3" json:"document,omitempty"` // Optional. Not specified means `update all`. // Currently, only `display_name` can be updated, an InvalidArgument will be // returned for attempting to update other fields. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for [Documents.UpdateDocument][google.cloud.dialogflow.v2beta1.Documents.UpdateDocument].
func (*UpdateDocumentRequest) Descriptor ¶
func (*UpdateDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDocumentRequest.ProtoReflect.Descriptor instead.
func (*UpdateDocumentRequest) GetDocument ¶
func (x *UpdateDocumentRequest) GetDocument() *Document
func (*UpdateDocumentRequest) GetUpdateMask ¶
func (x *UpdateDocumentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDocumentRequest) ProtoMessage ¶
func (*UpdateDocumentRequest) ProtoMessage()
func (*UpdateDocumentRequest) ProtoReflect ¶
func (x *UpdateDocumentRequest) ProtoReflect() protoreflect.Message
func (*UpdateDocumentRequest) Reset ¶
func (x *UpdateDocumentRequest) Reset()
func (*UpdateDocumentRequest) String ¶
func (x *UpdateDocumentRequest) String() string
type UpdateEntityTypeRequest ¶
type UpdateEntityTypeRequest struct { // Required. The entity type to update. EntityType *EntityType `protobuf:"bytes,1,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"` // Optional. The language used to access language-specific data. // If not specified, the agent's default language is used. // For more information, see // [Multilingual intent and entity // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Optional. The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType].
func (*UpdateEntityTypeRequest) Descriptor ¶
func (*UpdateEntityTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*UpdateEntityTypeRequest) GetEntityType ¶
func (x *UpdateEntityTypeRequest) GetEntityType() *EntityType
func (*UpdateEntityTypeRequest) GetLanguageCode ¶
func (x *UpdateEntityTypeRequest) GetLanguageCode() string
func (*UpdateEntityTypeRequest) GetUpdateMask ¶
func (x *UpdateEntityTypeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateEntityTypeRequest) ProtoMessage ¶
func (*UpdateEntityTypeRequest) ProtoMessage()
func (*UpdateEntityTypeRequest) ProtoReflect ¶
func (x *UpdateEntityTypeRequest) ProtoReflect() protoreflect.Message
func (*UpdateEntityTypeRequest) Reset ¶
func (x *UpdateEntityTypeRequest) Reset()
func (*UpdateEntityTypeRequest) String ¶
func (x *UpdateEntityTypeRequest) String() string
type UpdateEnvironmentRequest ¶
type UpdateEnvironmentRequest struct { // Required. The environment to update. Environment *Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"` // Required. The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Optional. This field is used to prevent accidental overwrite of the draft // environment, which is an operation that cannot be undone. To confirm that // the caller desires this overwrite, this field must be explicitly set to // true when updating the draft environment (environment ID = `-`). AllowLoadToDraftAndDiscardChanges bool `protobuf:"varint,3,opt,name=allow_load_to_draft_and_discard_changes,json=allowLoadToDraftAndDiscardChanges,proto3" json:"allow_load_to_draft_and_discard_changes,omitempty"` // contains filtered or unexported fields }
The request message for [Environments.UpdateEnvironment][google.cloud.dialogflow.v2beta1.Environments.UpdateEnvironment].
func (*UpdateEnvironmentRequest) Descriptor ¶
func (*UpdateEnvironmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*UpdateEnvironmentRequest) GetAllowLoadToDraftAndDiscardChanges ¶
func (x *UpdateEnvironmentRequest) GetAllowLoadToDraftAndDiscardChanges() bool
func (*UpdateEnvironmentRequest) GetEnvironment ¶
func (x *UpdateEnvironmentRequest) GetEnvironment() *Environment
func (*UpdateEnvironmentRequest) GetUpdateMask ¶
func (x *UpdateEnvironmentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateEnvironmentRequest) ProtoMessage ¶
func (*UpdateEnvironmentRequest) ProtoMessage()
func (*UpdateEnvironmentRequest) ProtoReflect ¶
func (x *UpdateEnvironmentRequest) ProtoReflect() protoreflect.Message
func (*UpdateEnvironmentRequest) Reset ¶
func (x *UpdateEnvironmentRequest) Reset()
func (*UpdateEnvironmentRequest) String ¶
func (x *UpdateEnvironmentRequest) String() string
type UpdateFulfillmentRequest ¶
type UpdateFulfillmentRequest struct { // Required. The fulfillment to update. Fulfillment *Fulfillment `protobuf:"bytes,1,opt,name=fulfillment,proto3" json:"fulfillment,omitempty"` // Required. The mask to control which fields get updated. If the mask is not // present, all fields will be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [Fulfillments.UpdateFulfillment][google.cloud.dialogflow.v2beta1.Fulfillments.UpdateFulfillment].
func (*UpdateFulfillmentRequest) Descriptor ¶
func (*UpdateFulfillmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFulfillmentRequest.ProtoReflect.Descriptor instead.
func (*UpdateFulfillmentRequest) GetFulfillment ¶
func (x *UpdateFulfillmentRequest) GetFulfillment() *Fulfillment
func (*UpdateFulfillmentRequest) GetUpdateMask ¶
func (x *UpdateFulfillmentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateFulfillmentRequest) ProtoMessage ¶
func (*UpdateFulfillmentRequest) ProtoMessage()
func (*UpdateFulfillmentRequest) ProtoReflect ¶
func (x *UpdateFulfillmentRequest) ProtoReflect() protoreflect.Message
func (*UpdateFulfillmentRequest) Reset ¶
func (x *UpdateFulfillmentRequest) Reset()
func (*UpdateFulfillmentRequest) String ¶
func (x *UpdateFulfillmentRequest) String() string
type UpdateGeneratorRequest ¶
type UpdateGeneratorRequest struct { // Required. The generator to update. // The name field of generator is to identify the generator to update. Generator *Generator `protobuf:"bytes,1,opt,name=generator,proto3" json:"generator,omitempty"` // Optional. The list of fields to update. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request of UpdateGenerator.
func (*UpdateGeneratorRequest) Descriptor ¶
func (*UpdateGeneratorRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGeneratorRequest.ProtoReflect.Descriptor instead.
func (*UpdateGeneratorRequest) GetGenerator ¶
func (x *UpdateGeneratorRequest) GetGenerator() *Generator
func (*UpdateGeneratorRequest) GetUpdateMask ¶
func (x *UpdateGeneratorRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateGeneratorRequest) ProtoMessage ¶
func (*UpdateGeneratorRequest) ProtoMessage()
func (*UpdateGeneratorRequest) ProtoReflect ¶
func (x *UpdateGeneratorRequest) ProtoReflect() protoreflect.Message
func (*UpdateGeneratorRequest) Reset ¶
func (x *UpdateGeneratorRequest) Reset()
func (*UpdateGeneratorRequest) String ¶
func (x *UpdateGeneratorRequest) String() string
type UpdateIntentRequest ¶
type UpdateIntentRequest struct { // Required. The intent to update. Intent *Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"` // Optional. The language used to access language-specific data. // If not specified, the agent's default language is used. // For more information, see // [Multilingual intent and entity // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` // Optional. The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Optional. The resource view to apply to the returned intent. IntentView IntentView `protobuf:"varint,4,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"` // contains filtered or unexported fields }
The request message for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent].
func (*UpdateIntentRequest) Descriptor ¶
func (*UpdateIntentRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateIntentRequest.ProtoReflect.Descriptor instead.
func (*UpdateIntentRequest) GetIntent ¶
func (x *UpdateIntentRequest) GetIntent() *Intent
func (*UpdateIntentRequest) GetIntentView ¶
func (x *UpdateIntentRequest) GetIntentView() IntentView
func (*UpdateIntentRequest) GetLanguageCode ¶
func (x *UpdateIntentRequest) GetLanguageCode() string
func (*UpdateIntentRequest) GetUpdateMask ¶
func (x *UpdateIntentRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateIntentRequest) ProtoMessage ¶
func (*UpdateIntentRequest) ProtoMessage()
func (*UpdateIntentRequest) ProtoReflect ¶
func (x *UpdateIntentRequest) ProtoReflect() protoreflect.Message
func (*UpdateIntentRequest) Reset ¶
func (x *UpdateIntentRequest) Reset()
func (*UpdateIntentRequest) String ¶
func (x *UpdateIntentRequest) String() string
type UpdateKnowledgeBaseRequest ¶
type UpdateKnowledgeBaseRequest struct { // Required. The knowledge base to update. KnowledgeBase *KnowledgeBase `protobuf:"bytes,1,opt,name=knowledge_base,json=knowledgeBase,proto3" json:"knowledge_base,omitempty"` // Optional. Not specified means `update all`. // Currently, only `display_name` can be updated, an InvalidArgument will be // returned for attempting to update other fields. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
Request message for [KnowledgeBases.UpdateKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.UpdateKnowledgeBase].
func (*UpdateKnowledgeBaseRequest) Descriptor ¶
func (*UpdateKnowledgeBaseRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateKnowledgeBaseRequest.ProtoReflect.Descriptor instead.
func (*UpdateKnowledgeBaseRequest) GetKnowledgeBase ¶
func (x *UpdateKnowledgeBaseRequest) GetKnowledgeBase() *KnowledgeBase
func (*UpdateKnowledgeBaseRequest) GetUpdateMask ¶
func (x *UpdateKnowledgeBaseRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateKnowledgeBaseRequest) ProtoMessage ¶
func (*UpdateKnowledgeBaseRequest) ProtoMessage()
func (*UpdateKnowledgeBaseRequest) ProtoReflect ¶
func (x *UpdateKnowledgeBaseRequest) ProtoReflect() protoreflect.Message
func (*UpdateKnowledgeBaseRequest) Reset ¶
func (x *UpdateKnowledgeBaseRequest) Reset()
func (*UpdateKnowledgeBaseRequest) String ¶
func (x *UpdateKnowledgeBaseRequest) String() string
type UpdateParticipantRequest ¶
type UpdateParticipantRequest struct { // Required. The participant to update. Participant *Participant `protobuf:"bytes,1,opt,name=participant,proto3" json:"participant,omitempty"` // Required. The mask to specify which fields to update. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [Participants.UpdateParticipant][google.cloud.dialogflow.v2beta1.Participants.UpdateParticipant].
func (*UpdateParticipantRequest) Descriptor ¶
func (*UpdateParticipantRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateParticipantRequest.ProtoReflect.Descriptor instead.
func (*UpdateParticipantRequest) GetParticipant ¶
func (x *UpdateParticipantRequest) GetParticipant() *Participant
func (*UpdateParticipantRequest) GetUpdateMask ¶
func (x *UpdateParticipantRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateParticipantRequest) ProtoMessage ¶
func (*UpdateParticipantRequest) ProtoMessage()
func (*UpdateParticipantRequest) ProtoReflect ¶
func (x *UpdateParticipantRequest) ProtoReflect() protoreflect.Message
func (*UpdateParticipantRequest) Reset ¶
func (x *UpdateParticipantRequest) Reset()
func (*UpdateParticipantRequest) String ¶
func (x *UpdateParticipantRequest) String() string
type UpdatePhoneNumberRequest ¶
type UpdatePhoneNumberRequest struct { // Required. The `PhoneNumber` to update. PhoneNumber *PhoneNumber `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` // Optional. The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [PhoneNumbers.UpdatePhoneNumber][google.cloud.dialogflow.v2beta1.PhoneNumbers.UpdatePhoneNumber].
func (*UpdatePhoneNumberRequest) Descriptor ¶
func (*UpdatePhoneNumberRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePhoneNumberRequest.ProtoReflect.Descriptor instead.
func (*UpdatePhoneNumberRequest) GetPhoneNumber ¶
func (x *UpdatePhoneNumberRequest) GetPhoneNumber() *PhoneNumber
func (*UpdatePhoneNumberRequest) GetUpdateMask ¶
func (x *UpdatePhoneNumberRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdatePhoneNumberRequest) ProtoMessage ¶
func (*UpdatePhoneNumberRequest) ProtoMessage()
func (*UpdatePhoneNumberRequest) ProtoReflect ¶
func (x *UpdatePhoneNumberRequest) ProtoReflect() protoreflect.Message
func (*UpdatePhoneNumberRequest) Reset ¶
func (x *UpdatePhoneNumberRequest) Reset()
func (*UpdatePhoneNumberRequest) String ¶
func (x *UpdatePhoneNumberRequest) String() string
type UpdateSessionEntityTypeRequest ¶
type UpdateSessionEntityTypeRequest struct { // Required. The session entity type to update. SessionEntityType *SessionEntityType `protobuf:"bytes,1,opt,name=session_entity_type,json=sessionEntityType,proto3" json:"session_entity_type,omitempty"` // Optional. The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityType].
func (*UpdateSessionEntityTypeRequest) Descriptor ¶
func (*UpdateSessionEntityTypeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSessionEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*UpdateSessionEntityTypeRequest) GetSessionEntityType ¶
func (x *UpdateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType
func (*UpdateSessionEntityTypeRequest) GetUpdateMask ¶
func (x *UpdateSessionEntityTypeRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSessionEntityTypeRequest) ProtoMessage ¶
func (*UpdateSessionEntityTypeRequest) ProtoMessage()
func (*UpdateSessionEntityTypeRequest) ProtoReflect ¶
func (x *UpdateSessionEntityTypeRequest) ProtoReflect() protoreflect.Message
func (*UpdateSessionEntityTypeRequest) Reset ¶
func (x *UpdateSessionEntityTypeRequest) Reset()
func (*UpdateSessionEntityTypeRequest) String ¶
func (x *UpdateSessionEntityTypeRequest) String() string
type UpdateSipTrunkRequest ¶
type UpdateSipTrunkRequest struct { // Required. The SipTrunk to update. SipTrunk *SipTrunk `protobuf:"bytes,1,opt,name=sip_trunk,json=sipTrunk,proto3" json:"sip_trunk,omitempty"` // Optional. The mask to control which fields get updated. If the mask is not // present, all fields will be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [SipTrunks.UpdateSipTrunk][google.cloud.dialogflow.v2beta1.SipTrunks.UpdateSipTrunk].
func (*UpdateSipTrunkRequest) Descriptor ¶
func (*UpdateSipTrunkRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSipTrunkRequest.ProtoReflect.Descriptor instead.
func (*UpdateSipTrunkRequest) GetSipTrunk ¶
func (x *UpdateSipTrunkRequest) GetSipTrunk() *SipTrunk
func (*UpdateSipTrunkRequest) GetUpdateMask ¶
func (x *UpdateSipTrunkRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateSipTrunkRequest) ProtoMessage ¶
func (*UpdateSipTrunkRequest) ProtoMessage()
func (*UpdateSipTrunkRequest) ProtoReflect ¶
func (x *UpdateSipTrunkRequest) ProtoReflect() protoreflect.Message
func (*UpdateSipTrunkRequest) Reset ¶
func (x *UpdateSipTrunkRequest) Reset()
func (*UpdateSipTrunkRequest) String ¶
func (x *UpdateSipTrunkRequest) String() string
type UpdateVersionRequest ¶
type UpdateVersionRequest struct { // Required. The version to update. // Supported formats: // - `projects/<Project ID>/agent/versions/<Version ID>` // - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version // ID>` Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Required. The mask to control which fields get updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
The request message for [Versions.UpdateVersion][google.cloud.dialogflow.v2beta1.Versions.UpdateVersion].
func (*UpdateVersionRequest) Descriptor ¶
func (*UpdateVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateVersionRequest.ProtoReflect.Descriptor instead.
func (*UpdateVersionRequest) GetUpdateMask ¶
func (x *UpdateVersionRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateVersionRequest) GetVersion ¶
func (x *UpdateVersionRequest) GetVersion() *Version
func (*UpdateVersionRequest) ProtoMessage ¶
func (*UpdateVersionRequest) ProtoMessage()
func (*UpdateVersionRequest) ProtoReflect ¶
func (x *UpdateVersionRequest) ProtoReflect() protoreflect.Message
func (*UpdateVersionRequest) Reset ¶
func (x *UpdateVersionRequest) Reset()
func (*UpdateVersionRequest) String ¶
func (x *UpdateVersionRequest) String() string
type ValidationError ¶
type ValidationError struct { // The severity of the error. Severity ValidationError_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=google.cloud.dialogflow.v2beta1.ValidationError_Severity" json:"severity,omitempty"` // The names of the entries that the error is associated with. // Format: // // - `projects/<Project ID>/agent`, if the error is associated with the entire // agent. // - `projects/<Project ID>/agent/intents/<Intent ID>`, if the error is // associated with certain intents. // - `projects/<Project ID>/agent/intents/<Intent // Id>/trainingPhrases/<Training Phrase ID>`, if the error is associated with // certain intent training phrases. // - `projects/<Project ID>/agent/intents/<Intent Id>/parameters/<Parameter // ID>`, if the error is associated with certain intent parameters. // - `projects/<Project ID>/agent/entities/<Entity ID>`, if the error is // associated with certain entities. Entries []string `protobuf:"bytes,3,rep,name=entries,proto3" json:"entries,omitempty"` // The detailed error message. ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
Represents a single validation error.
func (*ValidationError) Descriptor ¶
func (*ValidationError) Descriptor() ([]byte, []int)
Deprecated: Use ValidationError.ProtoReflect.Descriptor instead.
func (*ValidationError) GetEntries ¶
func (x *ValidationError) GetEntries() []string
func (*ValidationError) GetErrorMessage ¶
func (x *ValidationError) GetErrorMessage() string
func (*ValidationError) GetSeverity ¶
func (x *ValidationError) GetSeverity() ValidationError_Severity
func (*ValidationError) ProtoMessage ¶
func (*ValidationError) ProtoMessage()
func (*ValidationError) ProtoReflect ¶
func (x *ValidationError) ProtoReflect() protoreflect.Message
func (*ValidationError) Reset ¶
func (x *ValidationError) Reset()
func (*ValidationError) String ¶
func (x *ValidationError) String() string
type ValidationError_Severity ¶
type ValidationError_Severity int32
Represents a level of severity.
const ( // Not specified. This value should never be used. ValidationError_SEVERITY_UNSPECIFIED ValidationError_Severity = 0 // The agent doesn't follow Dialogflow best practices. ValidationError_INFO ValidationError_Severity = 1 // The agent may not behave as expected. ValidationError_WARNING ValidationError_Severity = 2 // The agent may experience partial failures. ValidationError_ERROR ValidationError_Severity = 3 // The agent may completely fail. ValidationError_CRITICAL ValidationError_Severity = 4 )
func (ValidationError_Severity) Descriptor ¶
func (ValidationError_Severity) Descriptor() protoreflect.EnumDescriptor
func (ValidationError_Severity) Enum ¶
func (x ValidationError_Severity) Enum() *ValidationError_Severity
func (ValidationError_Severity) EnumDescriptor ¶
func (ValidationError_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use ValidationError_Severity.Descriptor instead.
func (ValidationError_Severity) Number ¶
func (x ValidationError_Severity) Number() protoreflect.EnumNumber
func (ValidationError_Severity) String ¶
func (x ValidationError_Severity) String() string
func (ValidationError_Severity) Type ¶
func (ValidationError_Severity) Type() protoreflect.EnumType
type ValidationResult ¶
type ValidationResult struct { // Contains all validation errors. ValidationErrors []*ValidationError `protobuf:"bytes,1,rep,name=validation_errors,json=validationErrors,proto3" json:"validation_errors,omitempty"` // contains filtered or unexported fields }
Represents the output of agent validation.
func (*ValidationResult) Descriptor ¶
func (*ValidationResult) Descriptor() ([]byte, []int)
Deprecated: Use ValidationResult.ProtoReflect.Descriptor instead.
func (*ValidationResult) GetValidationErrors ¶
func (x *ValidationResult) GetValidationErrors() []*ValidationError
func (*ValidationResult) ProtoMessage ¶
func (*ValidationResult) ProtoMessage()
func (*ValidationResult) ProtoReflect ¶
func (x *ValidationResult) ProtoReflect() protoreflect.Message
func (*ValidationResult) Reset ¶
func (x *ValidationResult) Reset()
func (*ValidationResult) String ¶
func (x *ValidationResult) String() string
type Version ¶
type Version struct { // Output only. The unique identifier of this agent version. // Supported formats: // - `projects/<Project ID>/agent/versions/<Version ID>` // - `projects/<Project ID>/locations/<Location ID>/agent/versions/<Version // ID>` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The developer-provided description of this version. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Output only. The sequential number of this version. This field is read-only // which means it cannot be set by create and update methods. VersionNumber int32 `protobuf:"varint,3,opt,name=version_number,json=versionNumber,proto3" json:"version_number,omitempty"` // Output only. The creation time of this version. This field is read-only, // i.e., it cannot be set by create and update methods. CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The status of this version. This field is read-only and cannot // be set by create and update methods. Status Version_VersionStatus `protobuf:"varint,6,opt,name=status,proto3,enum=google.cloud.dialogflow.v2beta1.Version_VersionStatus" json:"status,omitempty"` // contains filtered or unexported fields }
You can create multiple versions of your agent and publish them to separate environments.
When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent.
When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for:
- testing - development - production - etc.
For more information, see the [versions and environments guide](https://cloud.google.com/dialogflow/docs/agents-versions).
func (*Version) Descriptor ¶
Deprecated: Use Version.ProtoReflect.Descriptor instead.
func (*Version) GetCreateTime ¶
func (x *Version) GetCreateTime() *timestamppb.Timestamp
func (*Version) GetDescription ¶
func (*Version) GetName ¶
func (*Version) GetStatus ¶
func (x *Version) GetStatus() Version_VersionStatus
func (*Version) GetVersionNumber ¶
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
func (*Version) Reset ¶
func (x *Version) Reset()
func (*Version) String ¶
type Version_VersionStatus ¶
type Version_VersionStatus int32
The status of a version.
const ( // Not specified. This value is not used. Version_VERSION_STATUS_UNSPECIFIED Version_VersionStatus = 0 // Version is not ready to serve (e.g. training is in progress). Version_IN_PROGRESS Version_VersionStatus = 1 // Version is ready to serve. Version_READY Version_VersionStatus = 2 // Version training failed. Version_FAILED Version_VersionStatus = 3 )
func (Version_VersionStatus) Descriptor ¶
func (Version_VersionStatus) Descriptor() protoreflect.EnumDescriptor
func (Version_VersionStatus) Enum ¶
func (x Version_VersionStatus) Enum() *Version_VersionStatus
func (Version_VersionStatus) EnumDescriptor ¶
func (Version_VersionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use Version_VersionStatus.Descriptor instead.
func (Version_VersionStatus) Number ¶
func (x Version_VersionStatus) Number() protoreflect.EnumNumber
func (Version_VersionStatus) String ¶
func (x Version_VersionStatus) String() string
func (Version_VersionStatus) Type ¶
func (Version_VersionStatus) Type() protoreflect.EnumType
type VersionsClient ¶
type VersionsClient interface { // Returns the list of all versions of the specified agent. ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error) // Retrieves the specified agent version. GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error) // Creates an agent version. // // The new version points to the agent instance in the "default" environment. CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*Version, error) // Updates the specified agent version. // // Note that this method does not allow you to update the state of the agent // the given version points to. It allows you to update only mutable // properties of the version resource. UpdateVersion(ctx context.Context, in *UpdateVersionRequest, opts ...grpc.CallOption) (*Version, error) // Delete the specified agent version. DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
VersionsClient is the client API for Versions service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewVersionsClient ¶
func NewVersionsClient(cc grpc.ClientConnInterface) VersionsClient
type VersionsServer ¶
type VersionsServer interface { // Returns the list of all versions of the specified agent. ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error) // Retrieves the specified agent version. GetVersion(context.Context, *GetVersionRequest) (*Version, error) // Creates an agent version. // // The new version points to the agent instance in the "default" environment. CreateVersion(context.Context, *CreateVersionRequest) (*Version, error) // Updates the specified agent version. // // Note that this method does not allow you to update the state of the agent // the given version points to. It allows you to update only mutable // properties of the version resource. UpdateVersion(context.Context, *UpdateVersionRequest) (*Version, error) // Delete the specified agent version. DeleteVersion(context.Context, *DeleteVersionRequest) (*emptypb.Empty, error) }
VersionsServer is the server API for Versions service.
type VoiceSelectionParams ¶
type VoiceSelectionParams struct { // Optional. The name of the voice. If not set, the service will choose a // voice based on the other parameters such as language_code and // [ssml_gender][google.cloud.dialogflow.v2beta1.VoiceSelectionParams.ssml_gender]. // // For the list of available voices, please refer to [Supported voices and // languages](https://cloud.google.com/text-to-speech/docs/voices). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The preferred gender of the voice. If not set, the service will // choose a voice based on the other parameters such as language_code and // [name][google.cloud.dialogflow.v2beta1.VoiceSelectionParams.name]. Note // that this is only a preference, not requirement. If a voice of the // appropriate gender is not available, the synthesizer should substitute a // voice with a different gender rather than failing the request. SsmlGender SsmlVoiceGender `protobuf:"varint,2,opt,name=ssml_gender,json=ssmlGender,proto3,enum=google.cloud.dialogflow.v2beta1.SsmlVoiceGender" json:"ssml_gender,omitempty"` // contains filtered or unexported fields }
Description of which voice to use for speech synthesis.
func (*VoiceSelectionParams) Descriptor ¶
func (*VoiceSelectionParams) Descriptor() ([]byte, []int)
Deprecated: Use VoiceSelectionParams.ProtoReflect.Descriptor instead.
func (*VoiceSelectionParams) GetName ¶
func (x *VoiceSelectionParams) GetName() string
func (*VoiceSelectionParams) GetSsmlGender ¶
func (x *VoiceSelectionParams) GetSsmlGender() SsmlVoiceGender
func (*VoiceSelectionParams) ProtoMessage ¶
func (*VoiceSelectionParams) ProtoMessage()
func (*VoiceSelectionParams) ProtoReflect ¶
func (x *VoiceSelectionParams) ProtoReflect() protoreflect.Message
func (*VoiceSelectionParams) Reset ¶
func (x *VoiceSelectionParams) Reset()
func (*VoiceSelectionParams) String ¶
func (x *VoiceSelectionParams) String() string
type WebhookRequest ¶
type WebhookRequest struct { // The unique identifier of detectIntent request session. // Can be used to identify end-user inside webhook implementation. // Supported formats: // - `projects/<Project ID>/agent/sessions/<Session ID>, // - `projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session // ID>`, // - `projects/<Project ID>/agent/environments/<Environment ID>/users/<User // ID>/sessions/<Session ID>`, // - `projects/<Project ID>/locations/<Location // ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session // ID>`, Session string `protobuf:"bytes,4,opt,name=session,proto3" json:"session,omitempty"` // The unique identifier of the response. Contains the same value as // `[Streaming]DetectIntentResponse.response_id`. ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"` // The result of the conversational query or event processing. Contains the // same value as `[Streaming]DetectIntentResponse.query_result`. QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"` // Alternative query results from KnowledgeService. AlternativeQueryResults []*QueryResult `protobuf:"bytes,5,rep,name=alternative_query_results,json=alternativeQueryResults,proto3" json:"alternative_query_results,omitempty"` // Optional. The contents of the original request that was passed to // `[Streaming]DetectIntent` call. OriginalDetectIntentRequest *OriginalDetectIntentRequest `protobuf:"bytes,3,opt,name=original_detect_intent_request,json=originalDetectIntentRequest,proto3" json:"original_detect_intent_request,omitempty"` // contains filtered or unexported fields }
The request message for a webhook call.
func (*WebhookRequest) Descriptor ¶
func (*WebhookRequest) Descriptor() ([]byte, []int)
Deprecated: Use WebhookRequest.ProtoReflect.Descriptor instead.
func (*WebhookRequest) GetAlternativeQueryResults ¶
func (x *WebhookRequest) GetAlternativeQueryResults() []*QueryResult
func (*WebhookRequest) GetOriginalDetectIntentRequest ¶
func (x *WebhookRequest) GetOriginalDetectIntentRequest() *OriginalDetectIntentRequest
func (*WebhookRequest) GetQueryResult ¶
func (x *WebhookRequest) GetQueryResult() *QueryResult
func (*WebhookRequest) GetResponseId ¶
func (x *WebhookRequest) GetResponseId() string
func (*WebhookRequest) GetSession ¶
func (x *WebhookRequest) GetSession() string
func (*WebhookRequest) ProtoMessage ¶
func (*WebhookRequest) ProtoMessage()
func (*WebhookRequest) ProtoReflect ¶
func (x *WebhookRequest) ProtoReflect() protoreflect.Message
func (*WebhookRequest) Reset ¶
func (x *WebhookRequest) Reset()
func (*WebhookRequest) String ¶
func (x *WebhookRequest) String() string
type WebhookResponse ¶
type WebhookResponse struct { // Optional. The text response message intended for the end-user. // It is recommended to use `fulfillment_messages.text.text[0]` instead. // When provided, Dialogflow uses this field to populate // [QueryResult.fulfillment_text][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_text] // sent to the integration or API caller. FulfillmentText string `protobuf:"bytes,1,opt,name=fulfillment_text,json=fulfillmentText,proto3" json:"fulfillment_text,omitempty"` // Optional. The rich response messages intended for the end-user. // When provided, Dialogflow uses this field to populate // [QueryResult.fulfillment_messages][google.cloud.dialogflow.v2beta1.QueryResult.fulfillment_messages] // sent to the integration or API caller. FulfillmentMessages []*Intent_Message `protobuf:"bytes,2,rep,name=fulfillment_messages,json=fulfillmentMessages,proto3" json:"fulfillment_messages,omitempty"` // Optional. A custom field used to identify the webhook source. // Arbitrary strings are supported. // When provided, Dialogflow uses this field to populate // [QueryResult.webhook_source][google.cloud.dialogflow.v2beta1.QueryResult.webhook_source] // sent to the integration or API caller. Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` // Optional. This field can be used to pass custom data from your webhook to // the integration or API caller. Arbitrary JSON objects are supported. When // provided, Dialogflow uses this field to populate // [QueryResult.webhook_payload][google.cloud.dialogflow.v2beta1.QueryResult.webhook_payload] // sent to the integration or API caller. This field is also used by the // [Google Assistant // integration](https://cloud.google.com/dialogflow/docs/integrations/aog) // for rich response messages. // See the format definition at [Google Assistant Dialogflow webhook // format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json) Payload *structpb.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` // Optional. The collection of output contexts that will overwrite currently // active contexts for the session and reset their lifespans. // When provided, Dialogflow uses this field to populate // [QueryResult.output_contexts][google.cloud.dialogflow.v2beta1.QueryResult.output_contexts] // sent to the integration or API caller. OutputContexts []*Context `protobuf:"bytes,5,rep,name=output_contexts,json=outputContexts,proto3" json:"output_contexts,omitempty"` // Optional. Invokes the supplied events. // When this field is set, Dialogflow ignores the `fulfillment_text`, // `fulfillment_messages`, and `payload` fields. FollowupEventInput *EventInput `protobuf:"bytes,6,opt,name=followup_event_input,json=followupEventInput,proto3" json:"followup_event_input,omitempty"` // Indicates that a live agent should be brought in to handle the // interaction with the user. In most cases, when you set this flag to true, // you would also want to set end_interaction to true as well. Default is // false. LiveAgentHandoff bool `protobuf:"varint,7,opt,name=live_agent_handoff,json=liveAgentHandoff,proto3" json:"live_agent_handoff,omitempty"` // Optional. Indicates that this intent ends an interaction. Some integrations // (e.g., Actions on Google or Dialogflow phone gateway) use this information // to close interaction with an end user. Default is false. EndInteraction bool `protobuf:"varint,8,opt,name=end_interaction,json=endInteraction,proto3" json:"end_interaction,omitempty"` // Optional. Additional session entity types to replace or extend developer // entity types with. The entity synonyms apply to all languages and persist // for the session. Setting this data from a webhook overwrites // the session entity types that have been set using `detectIntent`, // `streamingDetectIntent` or // [SessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityType] // management methods. SessionEntityTypes []*SessionEntityType `protobuf:"bytes,10,rep,name=session_entity_types,json=sessionEntityTypes,proto3" json:"session_entity_types,omitempty"` // contains filtered or unexported fields }
The response message for a webhook call.
This response is validated by the Dialogflow server. If validation fails, an error will be returned in the [QueryResult.diagnostic_info][google.cloud.dialogflow.v2beta1.QueryResult.diagnostic_info] field. Setting JSON fields to an empty value with the wrong type is a common error. To avoid this error:
- Use `""` for empty strings - Use `{}` or `null` for empty objects - Use `[]` or `null` for empty arrays
For more information, see the [Protocol Buffers Language Guide](https://developers.google.com/protocol-buffers/docs/proto3#json).
func (*WebhookResponse) Descriptor ¶
func (*WebhookResponse) Descriptor() ([]byte, []int)
Deprecated: Use WebhookResponse.ProtoReflect.Descriptor instead.
func (*WebhookResponse) GetEndInteraction ¶
func (x *WebhookResponse) GetEndInteraction() bool
func (*WebhookResponse) GetFollowupEventInput ¶
func (x *WebhookResponse) GetFollowupEventInput() *EventInput
func (*WebhookResponse) GetFulfillmentMessages ¶
func (x *WebhookResponse) GetFulfillmentMessages() []*Intent_Message
func (*WebhookResponse) GetFulfillmentText ¶
func (x *WebhookResponse) GetFulfillmentText() string
func (*WebhookResponse) GetLiveAgentHandoff ¶
func (x *WebhookResponse) GetLiveAgentHandoff() bool
func (*WebhookResponse) GetOutputContexts ¶
func (x *WebhookResponse) GetOutputContexts() []*Context
func (*WebhookResponse) GetPayload ¶
func (x *WebhookResponse) GetPayload() *structpb.Struct
func (*WebhookResponse) GetSessionEntityTypes ¶
func (x *WebhookResponse) GetSessionEntityTypes() []*SessionEntityType
func (*WebhookResponse) GetSource ¶
func (x *WebhookResponse) GetSource() string
func (*WebhookResponse) ProtoMessage ¶
func (*WebhookResponse) ProtoMessage()
func (*WebhookResponse) ProtoReflect ¶
func (x *WebhookResponse) ProtoReflect() protoreflect.Message
func (*WebhookResponse) Reset ¶
func (x *WebhookResponse) Reset()
func (*WebhookResponse) String ¶
func (x *WebhookResponse) String() string
Source Files ¶
agent.pb.go answer_record.pb.go audio_config.pb.go context.pb.go conversation.pb.go conversation_event.pb.go conversation_profile.pb.go document.pb.go encryption_spec.pb.go entity_type.pb.go environment.pb.go fulfillment.pb.go gcs.pb.go generator.pb.go human_agent_assistant_event.pb.go intent.pb.go knowledge_base.pb.go participant.pb.go phone_number.pb.go session.pb.go session_entity_type.pb.go sip_trunk.pb.go validation_result.pb.go version.pb.go webhook.pb.go
- Version
- v1.65.0 (latest)
- Published
- Feb 12, 2025
- Platform
- linux/amd64
- Imports
- 17 packages
- Last checked
- 6 days ago –
Tools for package owners.