dialogflowpb

package
v1.76.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2026 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Agents_GetAgent_FullMethodName            = "/google.cloud.dialogflow.v2beta1.Agents/GetAgent"
	Agents_SetAgent_FullMethodName            = "/google.cloud.dialogflow.v2beta1.Agents/SetAgent"
	Agents_DeleteAgent_FullMethodName         = "/google.cloud.dialogflow.v2beta1.Agents/DeleteAgent"
	Agents_SearchAgents_FullMethodName        = "/google.cloud.dialogflow.v2beta1.Agents/SearchAgents"
	Agents_TrainAgent_FullMethodName          = "/google.cloud.dialogflow.v2beta1.Agents/TrainAgent"
	Agents_ExportAgent_FullMethodName         = "/google.cloud.dialogflow.v2beta1.Agents/ExportAgent"
	Agents_ImportAgent_FullMethodName         = "/google.cloud.dialogflow.v2beta1.Agents/ImportAgent"
	Agents_RestoreAgent_FullMethodName        = "/google.cloud.dialogflow.v2beta1.Agents/RestoreAgent"
	Agents_GetValidationResult_FullMethodName = "/google.cloud.dialogflow.v2beta1.Agents/GetValidationResult"
)
View Source
const (
	AnswerRecords_GetAnswerRecord_FullMethodName    = "/google.cloud.dialogflow.v2beta1.AnswerRecords/GetAnswerRecord"
	AnswerRecords_ListAnswerRecords_FullMethodName  = "/google.cloud.dialogflow.v2beta1.AnswerRecords/ListAnswerRecords"
	AnswerRecords_UpdateAnswerRecord_FullMethodName = "/google.cloud.dialogflow.v2beta1.AnswerRecords/UpdateAnswerRecord"
)
View Source
const (
	Contexts_ListContexts_FullMethodName      = "/google.cloud.dialogflow.v2beta1.Contexts/ListContexts"
	Contexts_GetContext_FullMethodName        = "/google.cloud.dialogflow.v2beta1.Contexts/GetContext"
	Contexts_CreateContext_FullMethodName     = "/google.cloud.dialogflow.v2beta1.Contexts/CreateContext"
	Contexts_UpdateContext_FullMethodName     = "/google.cloud.dialogflow.v2beta1.Contexts/UpdateContext"
	Contexts_DeleteContext_FullMethodName     = "/google.cloud.dialogflow.v2beta1.Contexts/DeleteContext"
	Contexts_DeleteAllContexts_FullMethodName = "/google.cloud.dialogflow.v2beta1.Contexts/DeleteAllContexts"
)
View Source
const (
	Conversations_CreateConversation_FullMethodName          = "/google.cloud.dialogflow.v2beta1.Conversations/CreateConversation"
	Conversations_ListConversations_FullMethodName           = "/google.cloud.dialogflow.v2beta1.Conversations/ListConversations"
	Conversations_GetConversation_FullMethodName             = "/google.cloud.dialogflow.v2beta1.Conversations/GetConversation"
	Conversations_CompleteConversation_FullMethodName        = "/google.cloud.dialogflow.v2beta1.Conversations/CompleteConversation"
	Conversations_IngestContextReferences_FullMethodName     = "/google.cloud.dialogflow.v2beta1.Conversations/IngestContextReferences"
	Conversations_BatchCreateMessages_FullMethodName         = "/google.cloud.dialogflow.v2beta1.Conversations/BatchCreateMessages"
	Conversations_ListMessages_FullMethodName                = "/google.cloud.dialogflow.v2beta1.Conversations/ListMessages"
	Conversations_SuggestConversationSummary_FullMethodName  = "/google.cloud.dialogflow.v2beta1.Conversations/SuggestConversationSummary"
	Conversations_GenerateStatelessSummary_FullMethodName    = "/google.cloud.dialogflow.v2beta1.Conversations/GenerateStatelessSummary"
	Conversations_GenerateStatelessSuggestion_FullMethodName = "/google.cloud.dialogflow.v2beta1.Conversations/GenerateStatelessSuggestion"
	Conversations_SearchKnowledge_FullMethodName             = "/google.cloud.dialogflow.v2beta1.Conversations/SearchKnowledge"
	Conversations_GenerateSuggestions_FullMethodName         = "/google.cloud.dialogflow.v2beta1.Conversations/GenerateSuggestions"
)
View Source
const (
	ConversationProfiles_ListConversationProfiles_FullMethodName     = "/google.cloud.dialogflow.v2beta1.ConversationProfiles/ListConversationProfiles"
	ConversationProfiles_GetConversationProfile_FullMethodName       = "/google.cloud.dialogflow.v2beta1.ConversationProfiles/GetConversationProfile"
	ConversationProfiles_CreateConversationProfile_FullMethodName    = "/google.cloud.dialogflow.v2beta1.ConversationProfiles/CreateConversationProfile"
	ConversationProfiles_UpdateConversationProfile_FullMethodName    = "/google.cloud.dialogflow.v2beta1.ConversationProfiles/UpdateConversationProfile"
	ConversationProfiles_DeleteConversationProfile_FullMethodName    = "/google.cloud.dialogflow.v2beta1.ConversationProfiles/DeleteConversationProfile"
	ConversationProfiles_SetSuggestionFeatureConfig_FullMethodName   = "/google.cloud.dialogflow.v2beta1.ConversationProfiles/SetSuggestionFeatureConfig"
	ConversationProfiles_ClearSuggestionFeatureConfig_FullMethodName = "/google.cloud.dialogflow.v2beta1.ConversationProfiles/ClearSuggestionFeatureConfig"
)
View Source
const (
	Documents_ListDocuments_FullMethodName   = "/google.cloud.dialogflow.v2beta1.Documents/ListDocuments"
	Documents_GetDocument_FullMethodName     = "/google.cloud.dialogflow.v2beta1.Documents/GetDocument"
	Documents_CreateDocument_FullMethodName  = "/google.cloud.dialogflow.v2beta1.Documents/CreateDocument"
	Documents_ImportDocuments_FullMethodName = "/google.cloud.dialogflow.v2beta1.Documents/ImportDocuments"
	Documents_DeleteDocument_FullMethodName  = "/google.cloud.dialogflow.v2beta1.Documents/DeleteDocument"
	Documents_UpdateDocument_FullMethodName  = "/google.cloud.dialogflow.v2beta1.Documents/UpdateDocument"
	Documents_ReloadDocument_FullMethodName  = "/google.cloud.dialogflow.v2beta1.Documents/ReloadDocument"
)
View Source
const (
	EncryptionSpecService_GetEncryptionSpec_FullMethodName        = "/google.cloud.dialogflow.v2beta1.EncryptionSpecService/GetEncryptionSpec"
	EncryptionSpecService_InitializeEncryptionSpec_FullMethodName = "/google.cloud.dialogflow.v2beta1.EncryptionSpecService/InitializeEncryptionSpec"
)
View Source
const (
	EntityTypes_ListEntityTypes_FullMethodName        = "/google.cloud.dialogflow.v2beta1.EntityTypes/ListEntityTypes"
	EntityTypes_GetEntityType_FullMethodName          = "/google.cloud.dialogflow.v2beta1.EntityTypes/GetEntityType"
	EntityTypes_CreateEntityType_FullMethodName       = "/google.cloud.dialogflow.v2beta1.EntityTypes/CreateEntityType"
	EntityTypes_UpdateEntityType_FullMethodName       = "/google.cloud.dialogflow.v2beta1.EntityTypes/UpdateEntityType"
	EntityTypes_DeleteEntityType_FullMethodName       = "/google.cloud.dialogflow.v2beta1.EntityTypes/DeleteEntityType"
	EntityTypes_BatchUpdateEntityTypes_FullMethodName = "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchUpdateEntityTypes"
	EntityTypes_BatchDeleteEntityTypes_FullMethodName = "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchDeleteEntityTypes"
	EntityTypes_BatchCreateEntities_FullMethodName    = "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchCreateEntities"
	EntityTypes_BatchUpdateEntities_FullMethodName    = "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchUpdateEntities"
	EntityTypes_BatchDeleteEntities_FullMethodName    = "/google.cloud.dialogflow.v2beta1.EntityTypes/BatchDeleteEntities"
)
View Source
const (
	Environments_ListEnvironments_FullMethodName      = "/google.cloud.dialogflow.v2beta1.Environments/ListEnvironments"
	Environments_GetEnvironment_FullMethodName        = "/google.cloud.dialogflow.v2beta1.Environments/GetEnvironment"
	Environments_CreateEnvironment_FullMethodName     = "/google.cloud.dialogflow.v2beta1.Environments/CreateEnvironment"
	Environments_UpdateEnvironment_FullMethodName     = "/google.cloud.dialogflow.v2beta1.Environments/UpdateEnvironment"
	Environments_DeleteEnvironment_FullMethodName     = "/google.cloud.dialogflow.v2beta1.Environments/DeleteEnvironment"
	Environments_GetEnvironmentHistory_FullMethodName = "/google.cloud.dialogflow.v2beta1.Environments/GetEnvironmentHistory"
)
View Source
const (
	Fulfillments_GetFulfillment_FullMethodName    = "/google.cloud.dialogflow.v2beta1.Fulfillments/GetFulfillment"
	Fulfillments_UpdateFulfillment_FullMethodName = "/google.cloud.dialogflow.v2beta1.Fulfillments/UpdateFulfillment"
)
View Source
const (
	GeneratorEvaluations_CreateGeneratorEvaluation_FullMethodName = "/google.cloud.dialogflow.v2beta1.GeneratorEvaluations/CreateGeneratorEvaluation"
	GeneratorEvaluations_GetGeneratorEvaluation_FullMethodName    = "/google.cloud.dialogflow.v2beta1.GeneratorEvaluations/GetGeneratorEvaluation"
	GeneratorEvaluations_ListGeneratorEvaluations_FullMethodName  = "/google.cloud.dialogflow.v2beta1.GeneratorEvaluations/ListGeneratorEvaluations"
	GeneratorEvaluations_DeleteGeneratorEvaluation_FullMethodName = "/google.cloud.dialogflow.v2beta1.GeneratorEvaluations/DeleteGeneratorEvaluation"
)
View Source
const (
	Generators_CreateGenerator_FullMethodName = "/google.cloud.dialogflow.v2beta1.Generators/CreateGenerator"
	Generators_GetGenerator_FullMethodName    = "/google.cloud.dialogflow.v2beta1.Generators/GetGenerator"
	Generators_ListGenerators_FullMethodName  = "/google.cloud.dialogflow.v2beta1.Generators/ListGenerators"
	Generators_DeleteGenerator_FullMethodName = "/google.cloud.dialogflow.v2beta1.Generators/DeleteGenerator"
	Generators_UpdateGenerator_FullMethodName = "/google.cloud.dialogflow.v2beta1.Generators/UpdateGenerator"
)
View Source
const (
	Intents_ListIntents_FullMethodName        = "/google.cloud.dialogflow.v2beta1.Intents/ListIntents"
	Intents_GetIntent_FullMethodName          = "/google.cloud.dialogflow.v2beta1.Intents/GetIntent"
	Intents_CreateIntent_FullMethodName       = "/google.cloud.dialogflow.v2beta1.Intents/CreateIntent"
	Intents_UpdateIntent_FullMethodName       = "/google.cloud.dialogflow.v2beta1.Intents/UpdateIntent"
	Intents_DeleteIntent_FullMethodName       = "/google.cloud.dialogflow.v2beta1.Intents/DeleteIntent"
	Intents_BatchUpdateIntents_FullMethodName = "/google.cloud.dialogflow.v2beta1.Intents/BatchUpdateIntents"
	Intents_BatchDeleteIntents_FullMethodName = "/google.cloud.dialogflow.v2beta1.Intents/BatchDeleteIntents"
)
View Source
const (
	KnowledgeBases_ListKnowledgeBases_FullMethodName  = "/google.cloud.dialogflow.v2beta1.KnowledgeBases/ListKnowledgeBases"
	KnowledgeBases_GetKnowledgeBase_FullMethodName    = "/google.cloud.dialogflow.v2beta1.KnowledgeBases/GetKnowledgeBase"
	KnowledgeBases_CreateKnowledgeBase_FullMethodName = "/google.cloud.dialogflow.v2beta1.KnowledgeBases/CreateKnowledgeBase"
	KnowledgeBases_DeleteKnowledgeBase_FullMethodName = "/google.cloud.dialogflow.v2beta1.KnowledgeBases/DeleteKnowledgeBase"
	KnowledgeBases_UpdateKnowledgeBase_FullMethodName = "/google.cloud.dialogflow.v2beta1.KnowledgeBases/UpdateKnowledgeBase"
)
View Source
const (
	Participants_CreateParticipant_FullMethodName           = "/google.cloud.dialogflow.v2beta1.Participants/CreateParticipant"
	Participants_GetParticipant_FullMethodName              = "/google.cloud.dialogflow.v2beta1.Participants/GetParticipant"
	Participants_ListParticipants_FullMethodName            = "/google.cloud.dialogflow.v2beta1.Participants/ListParticipants"
	Participants_UpdateParticipant_FullMethodName           = "/google.cloud.dialogflow.v2beta1.Participants/UpdateParticipant"
	Participants_AnalyzeContent_FullMethodName              = "/google.cloud.dialogflow.v2beta1.Participants/AnalyzeContent"
	Participants_StreamingAnalyzeContent_FullMethodName     = "/google.cloud.dialogflow.v2beta1.Participants/StreamingAnalyzeContent"
	Participants_BidiStreamingAnalyzeContent_FullMethodName = "/google.cloud.dialogflow.v2beta1.Participants/BidiStreamingAnalyzeContent"
	Participants_SuggestArticles_FullMethodName             = "/google.cloud.dialogflow.v2beta1.Participants/SuggestArticles"
	Participants_SuggestFaqAnswers_FullMethodName           = "/google.cloud.dialogflow.v2beta1.Participants/SuggestFaqAnswers"
	Participants_SuggestSmartReplies_FullMethodName         = "/google.cloud.dialogflow.v2beta1.Participants/SuggestSmartReplies"
	Participants_SuggestKnowledgeAssist_FullMethodName      = "/google.cloud.dialogflow.v2beta1.Participants/SuggestKnowledgeAssist"
	Participants_ListSuggestions_FullMethodName             = "/google.cloud.dialogflow.v2beta1.Participants/ListSuggestions"
	Participants_CompileSuggestion_FullMethodName           = "/google.cloud.dialogflow.v2beta1.Participants/CompileSuggestion"
)
View Source
const (
	PhoneNumbers_ListPhoneNumbers_FullMethodName    = "/google.cloud.dialogflow.v2beta1.PhoneNumbers/ListPhoneNumbers"
	PhoneNumbers_UpdatePhoneNumber_FullMethodName   = "/google.cloud.dialogflow.v2beta1.PhoneNumbers/UpdatePhoneNumber"
	PhoneNumbers_DeletePhoneNumber_FullMethodName   = "/google.cloud.dialogflow.v2beta1.PhoneNumbers/DeletePhoneNumber"
	PhoneNumbers_UndeletePhoneNumber_FullMethodName = "/google.cloud.dialogflow.v2beta1.PhoneNumbers/UndeletePhoneNumber"
)
View Source
const (
	SessionEntityTypes_ListSessionEntityTypes_FullMethodName  = "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/ListSessionEntityTypes"
	SessionEntityTypes_GetSessionEntityType_FullMethodName    = "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/GetSessionEntityType"
	SessionEntityTypes_CreateSessionEntityType_FullMethodName = "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/CreateSessionEntityType"
	SessionEntityTypes_UpdateSessionEntityType_FullMethodName = "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/UpdateSessionEntityType"
	SessionEntityTypes_DeleteSessionEntityType_FullMethodName = "/google.cloud.dialogflow.v2beta1.SessionEntityTypes/DeleteSessionEntityType"
)
View Source
const (
	Sessions_DetectIntent_FullMethodName          = "/google.cloud.dialogflow.v2beta1.Sessions/DetectIntent"
	Sessions_StreamingDetectIntent_FullMethodName = "/google.cloud.dialogflow.v2beta1.Sessions/StreamingDetectIntent"
)
View Source
const (
	SipTrunks_CreateSipTrunk_FullMethodName = "/google.cloud.dialogflow.v2beta1.SipTrunks/CreateSipTrunk"
	SipTrunks_DeleteSipTrunk_FullMethodName = "/google.cloud.dialogflow.v2beta1.SipTrunks/DeleteSipTrunk"
	SipTrunks_ListSipTrunks_FullMethodName  = "/google.cloud.dialogflow.v2beta1.SipTrunks/ListSipTrunks"
	SipTrunks_GetSipTrunk_FullMethodName    = "/google.cloud.dialogflow.v2beta1.SipTrunks/GetSipTrunk"
	SipTrunks_UpdateSipTrunk_FullMethodName = "/google.cloud.dialogflow.v2beta1.SipTrunks/UpdateSipTrunk"
)
View Source
const (
	Tools_CreateTool_FullMethodName = "/google.cloud.dialogflow.v2beta1.Tools/CreateTool"
	Tools_GetTool_FullMethodName    = "/google.cloud.dialogflow.v2beta1.Tools/GetTool"
	Tools_ListTools_FullMethodName  = "/google.cloud.dialogflow.v2beta1.Tools/ListTools"
	Tools_DeleteTool_FullMethodName = "/google.cloud.dialogflow.v2beta1.Tools/DeleteTool"
	Tools_UpdateTool_FullMethodName = "/google.cloud.dialogflow.v2beta1.Tools/UpdateTool"
)
View Source
const (
	Versions_ListVersions_FullMethodName  = "/google.cloud.dialogflow.v2beta1.Versions/ListVersions"
	Versions_GetVersion_FullMethodName    = "/google.cloud.dialogflow.v2beta1.Versions/GetVersion"
	Versions_CreateVersion_FullMethodName = "/google.cloud.dialogflow.v2beta1.Versions/CreateVersion"
	Versions_UpdateVersion_FullMethodName = "/google.cloud.dialogflow.v2beta1.Versions/UpdateVersion"
	Versions_DeleteVersion_FullMethodName = "/google.cloud.dialogflow.v2beta1.Versions/DeleteVersion"
)

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	AgentCoachingInstruction_TriggerEvent_name = map[int32]string{
		0: "TRIGGER_EVENT_UNSPECIFIED",
		1: "END_OF_UTTERANCE",
		2: "MANUAL_CALL",
		3: "CUSTOMER_MESSAGE",
		4: "AGENT_MESSAGE",
		5: "TOOL_CALL_COMPLETION",
	}
	AgentCoachingInstruction_TriggerEvent_value = map[string]int32{
		"TRIGGER_EVENT_UNSPECIFIED": 0,
		"END_OF_UTTERANCE":          1,
		"MANUAL_CALL":               2,
		"CUSTOMER_MESSAGE":          3,
		"AGENT_MESSAGE":             4,
		"TOOL_CALL_COMPLETION":      5,
	}
)

Enum value maps for AgentCoachingInstruction_TriggerEvent.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	CustomPronunciationParams_PhoneticEncoding_name = map[int32]string{
		0: "PHONETIC_ENCODING_UNSPECIFIED",
		1: "PHONETIC_ENCODING_IPA",
		2: "PHONETIC_ENCODING_X_SAMPA",
	}
	CustomPronunciationParams_PhoneticEncoding_value = map[string]int32{
		"PHONETIC_ENCODING_UNSPECIFIED": 0,
		"PHONETIC_ENCODING_IPA":         1,
		"PHONETIC_ENCODING_X_SAMPA":     2,
	}
)

Enum value maps for CustomPronunciationParams_PhoneticEncoding.

View Source
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.

View Source
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.

View Source
var (
	Conversation_ContextReference_UpdateMode_name = map[int32]string{
		0: "UPDATE_MODE_UNSPECIFIED",
		1: "APPEND",
		2: "OVERWRITE",
	}
	Conversation_ContextReference_UpdateMode_value = map[string]int32{
		"UPDATE_MODE_UNSPECIFIED": 0,
		"APPEND":                  1,
		"OVERWRITE":               2,
	}
)

Enum value maps for Conversation_ContextReference_UpdateMode.

View Source
var (
	Conversation_ContextReference_ContextContent_ContentFormat_name = map[int32]string{
		0: "CONTENT_FORMAT_UNSPECIFIED",
		1: "JSON",
		2: "PLAIN_TEXT",
	}
	Conversation_ContextReference_ContextContent_ContentFormat_value = map[string]int32{
		"CONTENT_FORMAT_UNSPECIFIED": 0,
		"JSON":                       1,
		"PLAIN_TEXT":                 2,
	}
)

Enum value maps for Conversation_ContextReference_ContextContent_ContentFormat.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	TriggerEvent_name = map[int32]string{
		0: "TRIGGER_EVENT_UNSPECIFIED",
		1: "END_OF_UTTERANCE",
		2: "MANUAL_CALL",
		3: "CUSTOMER_MESSAGE",
		4: "AGENT_MESSAGE",
	}
	TriggerEvent_value = map[string]int32{
		"TRIGGER_EVENT_UNSPECIFIED": 0,
		"END_OF_UTTERANCE":          1,
		"MANUAL_CALL":               2,
		"CUSTOMER_MESSAGE":          3,
		"AGENT_MESSAGE":             4,
	}
)

Enum value maps for TriggerEvent.

View Source
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.

View Source
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",
		9:  "SITUATION_CONCISE",
		10: "ACTION_CONCISE",
	}
	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,
		"SITUATION_CONCISE":       9,
		"ACTION_CONCISE":          10,
	}
)

Enum value maps for SummarizationSection_Type.

View Source
var (
	RaiSettings_RaiCategoryConfig_RaiCategory_name = map[int32]string{
		0: "RAI_CATEGORY_UNSPECIFIED",
		1: "DANGEROUS_CONTENT",
		2: "SEXUALLY_EXPLICIT",
		3: "HARASSMENT",
		4: "HATE_SPEECH",
	}
	RaiSettings_RaiCategoryConfig_RaiCategory_value = map[string]int32{
		"RAI_CATEGORY_UNSPECIFIED": 0,
		"DANGEROUS_CONTENT":        1,
		"SEXUALLY_EXPLICIT":        2,
		"HARASSMENT":               3,
		"HATE_SPEECH":              4,
	}
)

Enum value maps for RaiSettings_RaiCategoryConfig_RaiCategory.

View Source
var (
	RaiSettings_RaiCategoryConfig_SensitivityLevel_name = map[int32]string{
		0: "SENSITIVITY_LEVEL_UNSPECIFIED",
		1: "BLOCK_MOST",
		2: "BLOCK_SOME",
		3: "BLOCK_FEW",
		4: "BLOCK_NONE",
	}
	RaiSettings_RaiCategoryConfig_SensitivityLevel_value = map[string]int32{
		"SENSITIVITY_LEVEL_UNSPECIFIED": 0,
		"BLOCK_MOST":                    1,
		"BLOCK_SOME":                    2,
		"BLOCK_FEW":                     3,
		"BLOCK_NONE":                    4,
	}
)

Enum value maps for RaiSettings_RaiCategoryConfig_SensitivityLevel.

View Source
var (
	GeneratorEvaluationConfig_InputDataSourceType_name = map[int32]string{
		0: "INPUT_DATA_SOURCE_TYPE_UNSPECIFIED",
		1: "AGENT_ASSIST_CONVERSATIONS",
		2: "INSIGHTS_CONVERSATIONS",
	}
	GeneratorEvaluationConfig_InputDataSourceType_value = map[string]int32{
		"INPUT_DATA_SOURCE_TYPE_UNSPECIFIED": 0,
		"AGENT_ASSIST_CONVERSATIONS":         1,
		"INSIGHTS_CONVERSATIONS":             2,
	}
)

Enum value maps for GeneratorEvaluationConfig_InputDataSourceType.

View Source
var (
	GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption_name = map[int32]string{
		0: "SUMMARY_GENERATION_OPTION_UNSPECIFIED",
		1: "ALWAYS_GENERATE",
		2: "GENERATE_IF_MISSING",
		3: "DO_NOT_GENERATE",
	}
	GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption_value = map[string]int32{
		"SUMMARY_GENERATION_OPTION_UNSPECIFIED": 0,
		"ALWAYS_GENERATE":                       1,
		"GENERATE_IF_MISSING":                   2,
		"DO_NOT_GENERATE":                       3,
	}
)

Enum value maps for GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	Participant_AgentDesktopSource_name = map[int32]string{
		0: "AGENT_DESKTOP_SOURCE_UNSPECIFIED",
		1: "LIVE_PERSON",
		2: "GENESYS_CLOUD",
		3: "TWILIO",
		4: "SALESFORCE",
		8: "OTHER",
	}
	Participant_AgentDesktopSource_value = map[string]int32{
		"AGENT_DESKTOP_SOURCE_UNSPECIFIED": 0,
		"LIVE_PERSON":                      1,
		"GENESYS_CLOUD":                    2,
		"TWILIO":                           3,
		"SALESFORCE":                       4,
		"OTHER":                            8,
	}
)

Enum value maps for Participant_AgentDesktopSource.

View Source
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.

View Source
var (
	SuggestionInput_Action_name = map[int32]string{
		0: "ACTION_UNSPECIFIED",
		1: "CANCEL",
		2: "REVISE",
		3: "CONFIRM",
	}
	SuggestionInput_Action_value = map[string]int32{
		"ACTION_UNSPECIFIED": 0,
		"CANCEL":             1,
		"REVISE":             2,
		"CONFIRM":            3,
	}
)

Enum value maps for SuggestionInput_Action.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	StreamingRecognitionResult_MessageType_name = map[int32]string{
		0: "MESSAGE_TYPE_UNSPECIFIED",
		1: "TRANSCRIPT",
		2: "END_OF_SINGLE_UTTERANCE",
		3: "DTMF_DIGITS",
		4: "PARTIAL_DTMF_DIGITS",
	}
	StreamingRecognitionResult_MessageType_value = map[string]int32{
		"MESSAGE_TYPE_UNSPECIFIED": 0,
		"TRANSCRIPT":               1,
		"END_OF_SINGLE_UTTERANCE":  2,
		"DTMF_DIGITS":              3,
		"PARTIAL_DTMF_DIGITS":      4,
	}
)

Enum value maps for StreamingRecognitionResult_MessageType.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	Tool_ConfirmationRequirement_name = map[int32]string{
		0: "CONFIRMATION_REQUIREMENT_UNSPECIFIED",
		1: "REQUIRED",
		2: "NOT_REQUIRED",
	}
	Tool_ConfirmationRequirement_value = map[string]int32{
		"CONFIRMATION_REQUIREMENT_UNSPECIFIED": 0,
		"REQUIRED":                             1,
		"NOT_REQUIRED":                         2,
	}
)

Enum value maps for Tool_ConfirmationRequirement.

View Source
var (
	Tool_MethodType_name = map[int32]string{
		0: "METHOD_TYPE_UNSPECIFIED",
		1: "GET",
		2: "POST",
		3: "PUT",
		4: "DELETE",
		5: "PATCH",
	}
	Tool_MethodType_value = map[string]int32{
		"METHOD_TYPE_UNSPECIFIED": 0,
		"GET":                     1,
		"POST":                    2,
		"PUT":                     3,
		"DELETE":                  4,
		"PATCH":                   5,
	}
)

Enum value maps for Tool_MethodType.

View Source
var (
	Tool_ConnectorTool_Action_EntityOperation_OperationType_name = map[int32]string{
		0: "OPERATION_TYPE_UNSPECIFIED",
		1: "LIST",
		2: "GET",
		3: "CREATE",
		4: "UPDATE",
		5: "DELETE",
	}
	Tool_ConnectorTool_Action_EntityOperation_OperationType_value = map[string]int32{
		"OPERATION_TYPE_UNSPECIFIED": 0,
		"LIST":                       1,
		"GET":                        2,
		"CREATE":                     3,
		"UPDATE":                     4,
		"DELETE":                     5,
	}
)

Enum value maps for Tool_ConnectorTool_Action_EntityOperation_OperationType.

View Source
var (
	Tool_Authentication_RequestLocation_name = map[int32]string{
		0: "REQUEST_LOCATION_UNSPECIFIED",
		1: "HEADER",
		2: "QUERY_STRING",
	}
	Tool_Authentication_RequestLocation_value = map[string]int32{
		"REQUEST_LOCATION_UNSPECIFIED": 0,
		"HEADER":                       1,
		"QUERY_STRING":                 2,
	}
)

Enum value maps for Tool_Authentication_RequestLocation.

View Source
var (
	Tool_Authentication_OAuthConfig_OauthGrantType_name = map[int32]string{
		0: "OAUTH_GRANT_TYPE_UNSPECIFIED",
		1: "CLIENT_CREDENTIAL",
	}
	Tool_Authentication_OAuthConfig_OauthGrantType_value = map[string]int32{
		"OAUTH_GRANT_TYPE_UNSPECIFIED": 0,
		"CLIENT_CREDENTIAL":            1,
	}
)

Enum value maps for Tool_Authentication_OAuthConfig_OauthGrantType.

View Source
var (
	Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth_name = map[int32]string{
		0: "SERVICE_AGENT_AUTH_UNSPECIFIED",
		1: "ID_TOKEN",
		2: "ACCESS_TOKEN",
	}
	Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth_value = map[string]int32{
		"SERVICE_AGENT_AUTH_UNSPECIFIED": 0,
		"ID_TOKEN":                       1,
		"ACCESS_TOKEN":                   2,
	}
)

Enum value maps for Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth.

View Source
var (
	ToolCall_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "TRIGGERED",
		2: "NEEDS_CONFIRMATION",
	}
	ToolCall_State_value = map[string]int32{
		"STATE_UNSPECIFIED":  0,
		"TRIGGERED":          1,
		"NEEDS_CONFIRMATION": 2,
	}
)

Enum value maps for ToolCall_State.

View Source
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.

View Source
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.

View Source
var Agents_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.Agents",
	HandlerType: (*AgentsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAgent",
			Handler:    _Agents_GetAgent_Handler,
		},
		{
			MethodName: "SetAgent",
			Handler:    _Agents_SetAgent_Handler,
		},
		{
			MethodName: "DeleteAgent",
			Handler:    _Agents_DeleteAgent_Handler,
		},
		{
			MethodName: "SearchAgents",
			Handler:    _Agents_SearchAgents_Handler,
		},
		{
			MethodName: "TrainAgent",
			Handler:    _Agents_TrainAgent_Handler,
		},
		{
			MethodName: "ExportAgent",
			Handler:    _Agents_ExportAgent_Handler,
		},
		{
			MethodName: "ImportAgent",
			Handler:    _Agents_ImportAgent_Handler,
		},
		{
			MethodName: "RestoreAgent",
			Handler:    _Agents_RestoreAgent_Handler,
		},
		{
			MethodName: "GetValidationResult",
			Handler:    _Agents_GetValidationResult_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/agent.proto",
}

Agents_ServiceDesc is the grpc.ServiceDesc for Agents service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var AnswerRecords_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.AnswerRecords",
	HandlerType: (*AnswerRecordsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAnswerRecord",
			Handler:    _AnswerRecords_GetAnswerRecord_Handler,
		},
		{
			MethodName: "ListAnswerRecords",
			Handler:    _AnswerRecords_ListAnswerRecords_Handler,
		},
		{
			MethodName: "UpdateAnswerRecord",
			Handler:    _AnswerRecords_UpdateAnswerRecord_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/answer_record.proto",
}

AnswerRecords_ServiceDesc is the grpc.ServiceDesc for AnswerRecords service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Contexts_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.Contexts",
	HandlerType: (*ContextsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListContexts",
			Handler:    _Contexts_ListContexts_Handler,
		},
		{
			MethodName: "GetContext",
			Handler:    _Contexts_GetContext_Handler,
		},
		{
			MethodName: "CreateContext",
			Handler:    _Contexts_CreateContext_Handler,
		},
		{
			MethodName: "UpdateContext",
			Handler:    _Contexts_UpdateContext_Handler,
		},
		{
			MethodName: "DeleteContext",
			Handler:    _Contexts_DeleteContext_Handler,
		},
		{
			MethodName: "DeleteAllContexts",
			Handler:    _Contexts_DeleteAllContexts_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/context.proto",
}

Contexts_ServiceDesc is the grpc.ServiceDesc for Contexts service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ConversationProfiles_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.ConversationProfiles",
	HandlerType: (*ConversationProfilesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListConversationProfiles",
			Handler:    _ConversationProfiles_ListConversationProfiles_Handler,
		},
		{
			MethodName: "GetConversationProfile",
			Handler:    _ConversationProfiles_GetConversationProfile_Handler,
		},
		{
			MethodName: "CreateConversationProfile",
			Handler:    _ConversationProfiles_CreateConversationProfile_Handler,
		},
		{
			MethodName: "UpdateConversationProfile",
			Handler:    _ConversationProfiles_UpdateConversationProfile_Handler,
		},
		{
			MethodName: "DeleteConversationProfile",
			Handler:    _ConversationProfiles_DeleteConversationProfile_Handler,
		},
		{
			MethodName: "SetSuggestionFeatureConfig",
			Handler:    _ConversationProfiles_SetSuggestionFeatureConfig_Handler,
		},
		{
			MethodName: "ClearSuggestionFeatureConfig",
			Handler:    _ConversationProfiles_ClearSuggestionFeatureConfig_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/conversation_profile.proto",
}

ConversationProfiles_ServiceDesc is the grpc.ServiceDesc for ConversationProfiles service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Conversations_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.Conversations",
	HandlerType: (*ConversationsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateConversation",
			Handler:    _Conversations_CreateConversation_Handler,
		},
		{
			MethodName: "ListConversations",
			Handler:    _Conversations_ListConversations_Handler,
		},
		{
			MethodName: "GetConversation",
			Handler:    _Conversations_GetConversation_Handler,
		},
		{
			MethodName: "CompleteConversation",
			Handler:    _Conversations_CompleteConversation_Handler,
		},
		{
			MethodName: "IngestContextReferences",
			Handler:    _Conversations_IngestContextReferences_Handler,
		},
		{
			MethodName: "BatchCreateMessages",
			Handler:    _Conversations_BatchCreateMessages_Handler,
		},
		{
			MethodName: "ListMessages",
			Handler:    _Conversations_ListMessages_Handler,
		},
		{
			MethodName: "SuggestConversationSummary",
			Handler:    _Conversations_SuggestConversationSummary_Handler,
		},
		{
			MethodName: "GenerateStatelessSummary",
			Handler:    _Conversations_GenerateStatelessSummary_Handler,
		},
		{
			MethodName: "GenerateStatelessSuggestion",
			Handler:    _Conversations_GenerateStatelessSuggestion_Handler,
		},
		{
			MethodName: "SearchKnowledge",
			Handler:    _Conversations_SearchKnowledge_Handler,
		},
		{
			MethodName: "GenerateSuggestions",
			Handler:    _Conversations_GenerateSuggestions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/conversation.proto",
}

Conversations_ServiceDesc is the grpc.ServiceDesc for Conversations service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Documents_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.Documents",
	HandlerType: (*DocumentsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListDocuments",
			Handler:    _Documents_ListDocuments_Handler,
		},
		{
			MethodName: "GetDocument",
			Handler:    _Documents_GetDocument_Handler,
		},
		{
			MethodName: "CreateDocument",
			Handler:    _Documents_CreateDocument_Handler,
		},
		{
			MethodName: "ImportDocuments",
			Handler:    _Documents_ImportDocuments_Handler,
		},
		{
			MethodName: "DeleteDocument",
			Handler:    _Documents_DeleteDocument_Handler,
		},
		{
			MethodName: "UpdateDocument",
			Handler:    _Documents_UpdateDocument_Handler,
		},
		{
			MethodName: "ReloadDocument",
			Handler:    _Documents_ReloadDocument_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/document.proto",
}

Documents_ServiceDesc is the grpc.ServiceDesc for Documents service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var EncryptionSpecService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.EncryptionSpecService",
	HandlerType: (*EncryptionSpecServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetEncryptionSpec",
			Handler:    _EncryptionSpecService_GetEncryptionSpec_Handler,
		},
		{
			MethodName: "InitializeEncryptionSpec",
			Handler:    _EncryptionSpecService_InitializeEncryptionSpec_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/encryption_spec.proto",
}

EncryptionSpecService_ServiceDesc is the grpc.ServiceDesc for EncryptionSpecService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var EntityTypes_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.EntityTypes",
	HandlerType: (*EntityTypesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListEntityTypes",
			Handler:    _EntityTypes_ListEntityTypes_Handler,
		},
		{
			MethodName: "GetEntityType",
			Handler:    _EntityTypes_GetEntityType_Handler,
		},
		{
			MethodName: "CreateEntityType",
			Handler:    _EntityTypes_CreateEntityType_Handler,
		},
		{
			MethodName: "UpdateEntityType",
			Handler:    _EntityTypes_UpdateEntityType_Handler,
		},
		{
			MethodName: "DeleteEntityType",
			Handler:    _EntityTypes_DeleteEntityType_Handler,
		},
		{
			MethodName: "BatchUpdateEntityTypes",
			Handler:    _EntityTypes_BatchUpdateEntityTypes_Handler,
		},
		{
			MethodName: "BatchDeleteEntityTypes",
			Handler:    _EntityTypes_BatchDeleteEntityTypes_Handler,
		},
		{
			MethodName: "BatchCreateEntities",
			Handler:    _EntityTypes_BatchCreateEntities_Handler,
		},
		{
			MethodName: "BatchUpdateEntities",
			Handler:    _EntityTypes_BatchUpdateEntities_Handler,
		},
		{
			MethodName: "BatchDeleteEntities",
			Handler:    _EntityTypes_BatchDeleteEntities_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/entity_type.proto",
}

EntityTypes_ServiceDesc is the grpc.ServiceDesc for EntityTypes service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Environments_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.Environments",
	HandlerType: (*EnvironmentsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListEnvironments",
			Handler:    _Environments_ListEnvironments_Handler,
		},
		{
			MethodName: "GetEnvironment",
			Handler:    _Environments_GetEnvironment_Handler,
		},
		{
			MethodName: "CreateEnvironment",
			Handler:    _Environments_CreateEnvironment_Handler,
		},
		{
			MethodName: "UpdateEnvironment",
			Handler:    _Environments_UpdateEnvironment_Handler,
		},
		{
			MethodName: "DeleteEnvironment",
			Handler:    _Environments_DeleteEnvironment_Handler,
		},
		{
			MethodName: "GetEnvironmentHistory",
			Handler:    _Environments_GetEnvironmentHistory_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/environment.proto",
}

Environments_ServiceDesc is the grpc.ServiceDesc for Environments service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_google_cloud_dialogflow_v2beta1_agent_coaching_instruction_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_agent_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_answer_record_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_audio_config_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_context_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_conversation_event_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_conversation_profile_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_conversation_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_document_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_encryption_spec_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_entity_type_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_environment_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_fulfillment_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_gcs_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_generator_evaluation_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_generator_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_human_agent_assistant_event_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_intent_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_knowledge_base_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_operations_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_participant_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_phone_number_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_session_entity_type_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_session_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_sip_trunk_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_tool_call_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_tool_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_validation_result_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_version_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2beta1_webhook_proto protoreflect.FileDescriptor
View Source
var Fulfillments_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.Fulfillments",
	HandlerType: (*FulfillmentsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetFulfillment",
			Handler:    _Fulfillments_GetFulfillment_Handler,
		},
		{
			MethodName: "UpdateFulfillment",
			Handler:    _Fulfillments_UpdateFulfillment_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/fulfillment.proto",
}

Fulfillments_ServiceDesc is the grpc.ServiceDesc for Fulfillments service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var GeneratorEvaluations_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.GeneratorEvaluations",
	HandlerType: (*GeneratorEvaluationsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateGeneratorEvaluation",
			Handler:    _GeneratorEvaluations_CreateGeneratorEvaluation_Handler,
		},
		{
			MethodName: "GetGeneratorEvaluation",
			Handler:    _GeneratorEvaluations_GetGeneratorEvaluation_Handler,
		},
		{
			MethodName: "ListGeneratorEvaluations",
			Handler:    _GeneratorEvaluations_ListGeneratorEvaluations_Handler,
		},
		{
			MethodName: "DeleteGeneratorEvaluation",
			Handler:    _GeneratorEvaluations_DeleteGeneratorEvaluation_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/generator_evaluation.proto",
}

GeneratorEvaluations_ServiceDesc is the grpc.ServiceDesc for GeneratorEvaluations service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Generators_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.Generators",
	HandlerType: (*GeneratorsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateGenerator",
			Handler:    _Generators_CreateGenerator_Handler,
		},
		{
			MethodName: "GetGenerator",
			Handler:    _Generators_GetGenerator_Handler,
		},
		{
			MethodName: "ListGenerators",
			Handler:    _Generators_ListGenerators_Handler,
		},
		{
			MethodName: "DeleteGenerator",
			Handler:    _Generators_DeleteGenerator_Handler,
		},
		{
			MethodName: "UpdateGenerator",
			Handler:    _Generators_UpdateGenerator_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/generator.proto",
}

Generators_ServiceDesc is the grpc.ServiceDesc for Generators service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Intents_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.Intents",
	HandlerType: (*IntentsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListIntents",
			Handler:    _Intents_ListIntents_Handler,
		},
		{
			MethodName: "GetIntent",
			Handler:    _Intents_GetIntent_Handler,
		},
		{
			MethodName: "CreateIntent",
			Handler:    _Intents_CreateIntent_Handler,
		},
		{
			MethodName: "UpdateIntent",
			Handler:    _Intents_UpdateIntent_Handler,
		},
		{
			MethodName: "DeleteIntent",
			Handler:    _Intents_DeleteIntent_Handler,
		},
		{
			MethodName: "BatchUpdateIntents",
			Handler:    _Intents_BatchUpdateIntents_Handler,
		},
		{
			MethodName: "BatchDeleteIntents",
			Handler:    _Intents_BatchDeleteIntents_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/intent.proto",
}

Intents_ServiceDesc is the grpc.ServiceDesc for Intents service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var KnowledgeBases_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.KnowledgeBases",
	HandlerType: (*KnowledgeBasesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListKnowledgeBases",
			Handler:    _KnowledgeBases_ListKnowledgeBases_Handler,
		},
		{
			MethodName: "GetKnowledgeBase",
			Handler:    _KnowledgeBases_GetKnowledgeBase_Handler,
		},
		{
			MethodName: "CreateKnowledgeBase",
			Handler:    _KnowledgeBases_CreateKnowledgeBase_Handler,
		},
		{
			MethodName: "DeleteKnowledgeBase",
			Handler:    _KnowledgeBases_DeleteKnowledgeBase_Handler,
		},
		{
			MethodName: "UpdateKnowledgeBase",
			Handler:    _KnowledgeBases_UpdateKnowledgeBase_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/knowledge_base.proto",
}

KnowledgeBases_ServiceDesc is the grpc.ServiceDesc for KnowledgeBases service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Participants_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.Participants",
	HandlerType: (*ParticipantsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateParticipant",
			Handler:    _Participants_CreateParticipant_Handler,
		},
		{
			MethodName: "GetParticipant",
			Handler:    _Participants_GetParticipant_Handler,
		},
		{
			MethodName: "ListParticipants",
			Handler:    _Participants_ListParticipants_Handler,
		},
		{
			MethodName: "UpdateParticipant",
			Handler:    _Participants_UpdateParticipant_Handler,
		},
		{
			MethodName: "AnalyzeContent",
			Handler:    _Participants_AnalyzeContent_Handler,
		},
		{
			MethodName: "SuggestArticles",
			Handler:    _Participants_SuggestArticles_Handler,
		},
		{
			MethodName: "SuggestFaqAnswers",
			Handler:    _Participants_SuggestFaqAnswers_Handler,
		},
		{
			MethodName: "SuggestSmartReplies",
			Handler:    _Participants_SuggestSmartReplies_Handler,
		},
		{
			MethodName: "SuggestKnowledgeAssist",
			Handler:    _Participants_SuggestKnowledgeAssist_Handler,
		},
		{
			MethodName: "ListSuggestions",
			Handler:    _Participants_ListSuggestions_Handler,
		},
		{
			MethodName: "CompileSuggestion",
			Handler:    _Participants_CompileSuggestion_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamingAnalyzeContent",
			Handler:       _Participants_StreamingAnalyzeContent_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "BidiStreamingAnalyzeContent",
			Handler:       _Participants_BidiStreamingAnalyzeContent_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "google/cloud/dialogflow/v2beta1/participant.proto",
}

Participants_ServiceDesc is the grpc.ServiceDesc for Participants service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var PhoneNumbers_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.PhoneNumbers",
	HandlerType: (*PhoneNumbersServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListPhoneNumbers",
			Handler:    _PhoneNumbers_ListPhoneNumbers_Handler,
		},
		{
			MethodName: "UpdatePhoneNumber",
			Handler:    _PhoneNumbers_UpdatePhoneNumber_Handler,
		},
		{
			MethodName: "DeletePhoneNumber",
			Handler:    _PhoneNumbers_DeletePhoneNumber_Handler,
		},
		{
			MethodName: "UndeletePhoneNumber",
			Handler:    _PhoneNumbers_UndeletePhoneNumber_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/phone_number.proto",
}

PhoneNumbers_ServiceDesc is the grpc.ServiceDesc for PhoneNumbers service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SessionEntityTypes_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.SessionEntityTypes",
	HandlerType: (*SessionEntityTypesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListSessionEntityTypes",
			Handler:    _SessionEntityTypes_ListSessionEntityTypes_Handler,
		},
		{
			MethodName: "GetSessionEntityType",
			Handler:    _SessionEntityTypes_GetSessionEntityType_Handler,
		},
		{
			MethodName: "CreateSessionEntityType",
			Handler:    _SessionEntityTypes_CreateSessionEntityType_Handler,
		},
		{
			MethodName: "UpdateSessionEntityType",
			Handler:    _SessionEntityTypes_UpdateSessionEntityType_Handler,
		},
		{
			MethodName: "DeleteSessionEntityType",
			Handler:    _SessionEntityTypes_DeleteSessionEntityType_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/session_entity_type.proto",
}

SessionEntityTypes_ServiceDesc is the grpc.ServiceDesc for SessionEntityTypes service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Sessions_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.Sessions",
	HandlerType: (*SessionsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DetectIntent",
			Handler:    _Sessions_DetectIntent_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamingDetectIntent",
			Handler:       _Sessions_StreamingDetectIntent_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "google/cloud/dialogflow/v2beta1/session.proto",
}

Sessions_ServiceDesc is the grpc.ServiceDesc for Sessions service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SipTrunks_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.SipTrunks",
	HandlerType: (*SipTrunksServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateSipTrunk",
			Handler:    _SipTrunks_CreateSipTrunk_Handler,
		},
		{
			MethodName: "DeleteSipTrunk",
			Handler:    _SipTrunks_DeleteSipTrunk_Handler,
		},
		{
			MethodName: "ListSipTrunks",
			Handler:    _SipTrunks_ListSipTrunks_Handler,
		},
		{
			MethodName: "GetSipTrunk",
			Handler:    _SipTrunks_GetSipTrunk_Handler,
		},
		{
			MethodName: "UpdateSipTrunk",
			Handler:    _SipTrunks_UpdateSipTrunk_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/sip_trunk.proto",
}

SipTrunks_ServiceDesc is the grpc.ServiceDesc for SipTrunks service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Tools_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.Tools",
	HandlerType: (*ToolsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateTool",
			Handler:    _Tools_CreateTool_Handler,
		},
		{
			MethodName: "GetTool",
			Handler:    _Tools_GetTool_Handler,
		},
		{
			MethodName: "ListTools",
			Handler:    _Tools_ListTools_Handler,
		},
		{
			MethodName: "DeleteTool",
			Handler:    _Tools_DeleteTool_Handler,
		},
		{
			MethodName: "UpdateTool",
			Handler:    _Tools_UpdateTool_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/tool.proto",
}

Tools_ServiceDesc is the grpc.ServiceDesc for Tools service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Versions_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2beta1.Versions",
	HandlerType: (*VersionsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListVersions",
			Handler:    _Versions_ListVersions_Handler,
		},
		{
			MethodName: "GetVersion",
			Handler:    _Versions_GetVersion_Handler,
		},
		{
			MethodName: "CreateVersion",
			Handler:    _Versions_CreateVersion_Handler,
		},
		{
			MethodName: "UpdateVersion",
			Handler:    _Versions_UpdateVersion_Handler,
		},
		{
			MethodName: "DeleteVersion",
			Handler:    _Versions_DeleteVersion_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2beta1/version.proto",
}

Versions_ServiceDesc is the grpc.ServiceDesc for Versions service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterAgentsServer

func RegisterAgentsServer(s grpc.ServiceRegistrar, srv AgentsServer)

func RegisterAnswerRecordsServer

func RegisterAnswerRecordsServer(s grpc.ServiceRegistrar, srv AnswerRecordsServer)

func RegisterContextsServer

func RegisterContextsServer(s grpc.ServiceRegistrar, srv ContextsServer)

func RegisterConversationProfilesServer

func RegisterConversationProfilesServer(s grpc.ServiceRegistrar, srv ConversationProfilesServer)

func RegisterConversationsServer

func RegisterConversationsServer(s grpc.ServiceRegistrar, srv ConversationsServer)

func RegisterDocumentsServer

func RegisterDocumentsServer(s grpc.ServiceRegistrar, srv DocumentsServer)

func RegisterEncryptionSpecServiceServer added in v1.56.0

func RegisterEncryptionSpecServiceServer(s grpc.ServiceRegistrar, srv EncryptionSpecServiceServer)

func RegisterEntityTypesServer

func RegisterEntityTypesServer(s grpc.ServiceRegistrar, srv EntityTypesServer)

func RegisterEnvironmentsServer

func RegisterEnvironmentsServer(s grpc.ServiceRegistrar, srv EnvironmentsServer)

func RegisterFulfillmentsServer

func RegisterFulfillmentsServer(s grpc.ServiceRegistrar, srv FulfillmentsServer)

func RegisterGeneratorEvaluationsServer added in v1.71.0

func RegisterGeneratorEvaluationsServer(s grpc.ServiceRegistrar, srv GeneratorEvaluationsServer)

func RegisterGeneratorsServer added in v1.56.0

func RegisterGeneratorsServer(s grpc.ServiceRegistrar, srv GeneratorsServer)

func RegisterIntentsServer

func RegisterIntentsServer(s grpc.ServiceRegistrar, srv IntentsServer)

func RegisterKnowledgeBasesServer

func RegisterKnowledgeBasesServer(s grpc.ServiceRegistrar, srv KnowledgeBasesServer)

func RegisterParticipantsServer

func RegisterParticipantsServer(s grpc.ServiceRegistrar, srv ParticipantsServer)

func RegisterPhoneNumbersServer added in v1.65.0

func RegisterPhoneNumbersServer(s grpc.ServiceRegistrar, srv PhoneNumbersServer)

func RegisterSessionEntityTypesServer

func RegisterSessionEntityTypesServer(s grpc.ServiceRegistrar, srv SessionEntityTypesServer)

func RegisterSessionsServer

func RegisterSessionsServer(s grpc.ServiceRegistrar, srv SessionsServer)

func RegisterSipTrunksServer added in v1.60.0

func RegisterSipTrunksServer(s grpc.ServiceRegistrar, srv SipTrunksServer)

func RegisterToolsServer added in v1.71.0

func RegisterToolsServer(s grpc.ServiceRegistrar, srv ToolsServer)

func RegisterVersionsServer

func RegisterVersionsServer(s grpc.ServiceRegistrar, 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 `` /* 129-byte string literal not displayed */
	// 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 `` /* 142-byte string literal not displayed */
	// 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 `` /* 133-byte string literal not displayed */
	// 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 `` /* 147-byte string literal not displayed */
	// 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

func (*Agent) Descriptor() ([]byte, []int)

Deprecated: Use Agent.ProtoReflect.Descriptor instead.

func (*Agent) GetApiVersion

func (x *Agent) GetApiVersion() Agent_ApiVersion

func (*Agent) GetAvatarUri

func (x *Agent) GetAvatarUri() string

func (*Agent) GetClassificationThreshold

func (x *Agent) GetClassificationThreshold() float32

func (*Agent) GetDefaultLanguageCode

func (x *Agent) GetDefaultLanguageCode() string

func (*Agent) GetDescription

func (x *Agent) GetDescription() string

func (*Agent) GetDisplayName

func (x *Agent) GetDisplayName() string

func (*Agent) GetEnableLogging

func (x *Agent) GetEnableLogging() bool

func (*Agent) GetMatchMode deprecated

func (x *Agent) GetMatchMode() Agent_MatchMode

Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/agent.proto.

func (*Agent) GetParent

func (x *Agent) GetParent() string

func (*Agent) GetSupportedLanguageCodes

func (x *Agent) GetSupportedLanguageCodes() []string

func (*Agent) GetTier

func (x *Agent) GetTier() Agent_Tier

func (*Agent) GetTimeZone

func (x *Agent) GetTimeZone() string

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

func (x *Agent) String() 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 `` /* 183-byte string literal not displayed */
	// 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][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.document_correctness]: [INCORRECT][google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentCorrectness.INCORRECT]
	DocumentCorrectness AgentAssistantFeedback_DocumentCorrectness `` /* 199-byte string literal not displayed */
	// 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 `` /* 195-byte string literal not displayed */
	// 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 `` /* 132-byte string literal not displayed */
	// Optional. Feedback for knowledge assist.
	KnowledgeAssistFeedback *AgentAssistantFeedback_KnowledgeAssistFeedback `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

Detail feedback of Agent Assistant result.

func (*AgentAssistantFeedback) Descriptor deprecated

func (*AgentAssistantFeedback) Descriptor() ([]byte, []int)

Deprecated: Use AgentAssistantFeedback.ProtoReflect.Descriptor instead.

func (*AgentAssistantFeedback) GetAnswerRelevance

func (*AgentAssistantFeedback) GetDocumentCorrectness

func (*AgentAssistantFeedback) GetDocumentEfficiency

func (*AgentAssistantFeedback) GetKnowledgeAssistFeedback added in v1.56.0

func (*AgentAssistantFeedback) GetKnowledgeSearchFeedback added in v1.43.0

func (*AgentAssistantFeedback) GetSummarizationFeedback

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) Enum

func (AgentAssistantFeedback_AnswerRelevance) EnumDescriptor deprecated

func (AgentAssistantFeedback_AnswerRelevance) EnumDescriptor() ([]byte, []int)

Deprecated: Use AgentAssistantFeedback_AnswerRelevance.Descriptor instead.

func (AgentAssistantFeedback_AnswerRelevance) Number

func (AgentAssistantFeedback_AnswerRelevance) String

func (AgentAssistantFeedback_AnswerRelevance) Type

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) Enum

func (AgentAssistantFeedback_DocumentCorrectness) EnumDescriptor deprecated

func (AgentAssistantFeedback_DocumentCorrectness) EnumDescriptor() ([]byte, []int)

Deprecated: Use AgentAssistantFeedback_DocumentCorrectness.Descriptor instead.

func (AgentAssistantFeedback_DocumentCorrectness) Number

func (AgentAssistantFeedback_DocumentCorrectness) String

func (AgentAssistantFeedback_DocumentCorrectness) Type

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) Enum

func (AgentAssistantFeedback_DocumentEfficiency) EnumDescriptor deprecated

func (AgentAssistantFeedback_DocumentEfficiency) EnumDescriptor() ([]byte, []int)

Deprecated: Use AgentAssistantFeedback_DocumentEfficiency.Descriptor instead.

func (AgentAssistantFeedback_DocumentEfficiency) Number

func (AgentAssistantFeedback_DocumentEfficiency) String

func (AgentAssistantFeedback_DocumentEfficiency) Type

type AgentAssistantFeedback_KnowledgeAssistFeedback added in v1.56.0

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 deprecated added in v1.56.0

Deprecated: Use AgentAssistantFeedback_KnowledgeAssistFeedback.ProtoReflect.Descriptor instead.

func (*AgentAssistantFeedback_KnowledgeAssistFeedback) GetAnswerCopied added in v1.56.0

func (*AgentAssistantFeedback_KnowledgeAssistFeedback) GetClickedUris added in v1.56.0

func (*AgentAssistantFeedback_KnowledgeAssistFeedback) ProtoMessage added in v1.56.0

func (*AgentAssistantFeedback_KnowledgeAssistFeedback) ProtoReflect added in v1.56.0

func (*AgentAssistantFeedback_KnowledgeAssistFeedback) Reset added in v1.56.0

func (*AgentAssistantFeedback_KnowledgeAssistFeedback) String added in v1.56.0

type AgentAssistantFeedback_KnowledgeSearchFeedback added in v1.43.0

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 deprecated added in v1.43.0

Deprecated: Use AgentAssistantFeedback_KnowledgeSearchFeedback.ProtoReflect.Descriptor instead.

func (*AgentAssistantFeedback_KnowledgeSearchFeedback) GetAnswerCopied added in v1.43.0

func (*AgentAssistantFeedback_KnowledgeSearchFeedback) GetClickedUris added in v1.43.0

func (*AgentAssistantFeedback_KnowledgeSearchFeedback) ProtoMessage added in v1.43.0

func (*AgentAssistantFeedback_KnowledgeSearchFeedback) ProtoReflect added in v1.43.0

func (*AgentAssistantFeedback_KnowledgeSearchFeedback) Reset added in v1.43.0

func (*AgentAssistantFeedback_KnowledgeSearchFeedback) String added in v1.43.0

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 `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

Feedback for conversation summarization.

func (*AgentAssistantFeedback_SummarizationFeedback) Descriptor deprecated

Deprecated: Use AgentAssistantFeedback_SummarizationFeedback.ProtoReflect.Descriptor instead.

func (*AgentAssistantFeedback_SummarizationFeedback) GetStartTimestamp

func (*AgentAssistantFeedback_SummarizationFeedback) GetSubmitTimestamp

func (*AgentAssistantFeedback_SummarizationFeedback) GetSummaryText

func (*AgentAssistantFeedback_SummarizationFeedback) GetTextSections added in v1.51.0

func (*AgentAssistantFeedback_SummarizationFeedback) ProtoMessage

func (*AgentAssistantFeedback_SummarizationFeedback) ProtoReflect

func (*AgentAssistantFeedback_SummarizationFeedback) Reset

func (*AgentAssistantFeedback_SummarizationFeedback) String

type AgentAssistantRecord

type AgentAssistantRecord struct {

	// Output only. The agent assistant answer.
	//
	// Types that are assignable to Answer:
	//
	//	*AgentAssistantRecord_ArticleSuggestionAnswer
	//	*AgentAssistantRecord_FaqAnswer
	//	*AgentAssistantRecord_DialogflowAssistAnswer
	//	*AgentAssistantRecord_GeneratorSuggestion
	Answer isAgentAssistantRecord_Answer `protobuf_oneof:"answer"`
	// contains filtered or unexported fields
}

Represents a record of a human agent assistant answer.

func (*AgentAssistantRecord) Descriptor deprecated

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 added in v1.38.0

func (x *AgentAssistantRecord) GetDialogflowAssistAnswer() *DialogflowAssistAnswer

func (*AgentAssistantRecord) GetFaqAnswer

func (x *AgentAssistantRecord) GetFaqAnswer() *FaqAnswer

func (*AgentAssistantRecord) GetGeneratorSuggestion added in v1.71.0

func (x *AgentAssistantRecord) GetGeneratorSuggestion() *GeneratorSuggestion

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 added in v1.38.0

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 AgentAssistantRecord_GeneratorSuggestion added in v1.71.0

type AgentAssistantRecord_GeneratorSuggestion struct {
	// Output only. The generator suggestion.
	GeneratorSuggestion *GeneratorSuggestion `protobuf:"bytes,8,opt,name=generator_suggestion,json=generatorSuggestion,proto3,oneof"`
}

type AgentCoachingContext added in v1.71.0

type AgentCoachingContext struct {

	// Optional. The overarching guidance for the agent coaching. This should be
	// set only for v1.5 and later versions.
	OverarchingGuidance string `protobuf:"bytes,7,opt,name=overarching_guidance,json=overarchingGuidance,proto3" json:"overarching_guidance,omitempty"`
	// Optional. Customized instructions for agent coaching.
	Instructions []*AgentCoachingInstruction `protobuf:"bytes,1,rep,name=instructions,proto3" json:"instructions,omitempty"`
	// Optional. Version of the feature. If not set, default to latest version.
	// Current candidates are ["2.5"].
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// Optional. Output language code.
	OutputLanguageCode string `protobuf:"bytes,9,opt,name=output_language_code,json=outputLanguageCode,proto3" json:"output_language_code,omitempty"`
	// contains filtered or unexported fields
}

Agent Coaching context that customer can configure.

func (*AgentCoachingContext) Descriptor deprecated added in v1.71.0

func (*AgentCoachingContext) Descriptor() ([]byte, []int)

Deprecated: Use AgentCoachingContext.ProtoReflect.Descriptor instead.

func (*AgentCoachingContext) GetInstructions added in v1.71.0

func (x *AgentCoachingContext) GetInstructions() []*AgentCoachingInstruction

func (*AgentCoachingContext) GetOutputLanguageCode added in v1.71.0

func (x *AgentCoachingContext) GetOutputLanguageCode() string

func (*AgentCoachingContext) GetOverarchingGuidance added in v1.71.0

func (x *AgentCoachingContext) GetOverarchingGuidance() string

func (*AgentCoachingContext) GetVersion added in v1.71.0

func (x *AgentCoachingContext) GetVersion() string

func (*AgentCoachingContext) ProtoMessage added in v1.71.0

func (*AgentCoachingContext) ProtoMessage()

func (*AgentCoachingContext) ProtoReflect added in v1.71.0

func (x *AgentCoachingContext) ProtoReflect() protoreflect.Message

func (*AgentCoachingContext) Reset added in v1.71.0

func (x *AgentCoachingContext) Reset()

func (*AgentCoachingContext) String added in v1.71.0

func (x *AgentCoachingContext) String() string

type AgentCoachingInstruction added in v1.71.0

type AgentCoachingInstruction struct {

	// Optional. Display name for the instruction.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. The detailed description of this instruction.
	DisplayDetails string `protobuf:"bytes,2,opt,name=display_details,json=displayDetails,proto3" json:"display_details,omitempty"`
	// Optional. The condition of the instruction. For example, "the customer
	// wants to cancel an order".  If the users want the instruction to be
	// triggered unconditionally, the condition can be empty.
	Condition string `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
	// Optional. The action that human agent should take. For example, "apologize
	// for the slow shipping". If the users only want to use agent coaching for
	// intent detection, agent_action can be empty
	AgentAction string `protobuf:"bytes,4,opt,name=agent_action,json=agentAction,proto3" json:"agent_action,omitempty"`
	// Optional. The action that system should take. For example,
	// "call GetOrderTime with order_number={order number provided by the
	// customer}". If the users don't have plugins or don't want to trigger
	// plugins, the system_action can be empty
	SystemAction string `protobuf:"bytes,5,opt,name=system_action,json=systemAction,proto3" json:"system_action,omitempty"`
	// Output only. Duplication check for the AgentCoachingInstruction.
	DuplicateCheckResult *AgentCoachingInstruction_DuplicateCheckResult `protobuf:"bytes,8,opt,name=duplicate_check_result,json=duplicateCheckResult,proto3" json:"duplicate_check_result,omitempty"`
	// Optional. The event that should trigger this instruction.
	// If UNSPECIFIED, the instruction triggering will be same as the generator's
	// trigger_event.
	TriggeringEvent AgentCoachingInstruction_TriggerEvent `` /* 183-byte string literal not displayed */
	// contains filtered or unexported fields
}

Agent Coaching instructions that customer can configure.

func (*AgentCoachingInstruction) Descriptor deprecated added in v1.71.0

func (*AgentCoachingInstruction) Descriptor() ([]byte, []int)

Deprecated: Use AgentCoachingInstruction.ProtoReflect.Descriptor instead.

func (*AgentCoachingInstruction) GetAgentAction added in v1.71.0

func (x *AgentCoachingInstruction) GetAgentAction() string

func (*AgentCoachingInstruction) GetCondition added in v1.71.0

func (x *AgentCoachingInstruction) GetCondition() string

func (*AgentCoachingInstruction) GetDisplayDetails added in v1.71.0

func (x *AgentCoachingInstruction) GetDisplayDetails() string

func (*AgentCoachingInstruction) GetDisplayName added in v1.71.0

func (x *AgentCoachingInstruction) GetDisplayName() string

func (*AgentCoachingInstruction) GetDuplicateCheckResult added in v1.71.0

func (*AgentCoachingInstruction) GetSystemAction added in v1.71.0

func (x *AgentCoachingInstruction) GetSystemAction() string

func (*AgentCoachingInstruction) GetTriggeringEvent added in v1.73.0

func (*AgentCoachingInstruction) ProtoMessage added in v1.71.0

func (*AgentCoachingInstruction) ProtoMessage()

func (*AgentCoachingInstruction) ProtoReflect added in v1.71.0

func (x *AgentCoachingInstruction) ProtoReflect() protoreflect.Message

func (*AgentCoachingInstruction) Reset added in v1.71.0

func (x *AgentCoachingInstruction) Reset()

func (*AgentCoachingInstruction) String added in v1.71.0

func (x *AgentCoachingInstruction) String() string

type AgentCoachingInstruction_DuplicateCheckResult added in v1.71.0

type AgentCoachingInstruction_DuplicateCheckResult struct {

	// Output only. The duplicate suggestions.
	DuplicateSuggestions []*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion `protobuf:"bytes,1,rep,name=duplicate_suggestions,json=duplicateSuggestions,proto3" json:"duplicate_suggestions,omitempty"`
	// contains filtered or unexported fields
}

Duplication check for the suggestion.

func (*AgentCoachingInstruction_DuplicateCheckResult) Descriptor deprecated added in v1.71.0

Deprecated: Use AgentCoachingInstruction_DuplicateCheckResult.ProtoReflect.Descriptor instead.

func (*AgentCoachingInstruction_DuplicateCheckResult) GetDuplicateSuggestions added in v1.71.0

func (*AgentCoachingInstruction_DuplicateCheckResult) ProtoMessage added in v1.71.0

func (*AgentCoachingInstruction_DuplicateCheckResult) ProtoReflect added in v1.71.0

func (*AgentCoachingInstruction_DuplicateCheckResult) Reset added in v1.71.0

func (*AgentCoachingInstruction_DuplicateCheckResult) String added in v1.71.0

type AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion added in v1.71.0

type AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion struct {

	// Output only. The answer record id of the past duplicate suggestion.
	AnswerRecord string `protobuf:"bytes,1,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"`
	// Output only. The index of the duplicate suggestion in the past
	// suggestion list.
	SuggestionIndex int32 `protobuf:"varint,3,opt,name=suggestion_index,json=suggestionIndex,proto3" json:"suggestion_index,omitempty"`
	// Output only. The similarity score of between the past and current
	// suggestion.
	SimilarityScore float32 `protobuf:"fixed32,4,opt,name=similarity_score,json=similarityScore,proto3" json:"similarity_score,omitempty"`
	// contains filtered or unexported fields
}

The duplicate suggestion details.

func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) Descriptor deprecated added in v1.71.0

Deprecated: Use AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion.ProtoReflect.Descriptor instead.

func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) GetAnswerRecord added in v1.71.0

func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) GetSimilarityScore added in v1.71.0

func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) GetSuggestionIndex added in v1.71.0

func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) ProtoMessage added in v1.71.0

func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) ProtoReflect added in v1.71.0

func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) Reset added in v1.71.0

func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) String added in v1.71.0

type AgentCoachingInstruction_TriggerEvent added in v1.73.0

type AgentCoachingInstruction_TriggerEvent int32

The event that should trigger this instruction.

const (
	// Default value for TriggerEvent.
	AgentCoachingInstruction_TRIGGER_EVENT_UNSPECIFIED AgentCoachingInstruction_TriggerEvent = 0
	// Triggers when each chat message or voice utterance ends.
	AgentCoachingInstruction_END_OF_UTTERANCE AgentCoachingInstruction_TriggerEvent = 1
	// Triggers on the conversation manually by API calls.
	AgentCoachingInstruction_MANUAL_CALL AgentCoachingInstruction_TriggerEvent = 2
	// Triggers after each customer message.
	AgentCoachingInstruction_CUSTOMER_MESSAGE AgentCoachingInstruction_TriggerEvent = 3
	// Triggers after each agent message.
	AgentCoachingInstruction_AGENT_MESSAGE AgentCoachingInstruction_TriggerEvent = 4
	// Triggers on tool call completion.
	AgentCoachingInstruction_TOOL_CALL_COMPLETION AgentCoachingInstruction_TriggerEvent = 5
)

func (AgentCoachingInstruction_TriggerEvent) Descriptor added in v1.73.0

func (AgentCoachingInstruction_TriggerEvent) Enum added in v1.73.0

func (AgentCoachingInstruction_TriggerEvent) EnumDescriptor deprecated added in v1.73.0

func (AgentCoachingInstruction_TriggerEvent) EnumDescriptor() ([]byte, []int)

Deprecated: Use AgentCoachingInstruction_TriggerEvent.Descriptor instead.

func (AgentCoachingInstruction_TriggerEvent) Number added in v1.73.0

func (AgentCoachingInstruction_TriggerEvent) String added in v1.73.0

func (AgentCoachingInstruction_TriggerEvent) Type added in v1.73.0

type AgentCoachingSuggestion added in v1.71.0

type AgentCoachingSuggestion struct {

	// Optional. Instructions applicable based on the current context.
	ApplicableInstructions []*AgentCoachingInstruction `` /* 127-byte string literal not displayed */
	// Optional. Suggested actions for the agent to take.
	AgentActionSuggestions []*AgentCoachingSuggestion_AgentActionSuggestion `` /* 129-byte string literal not displayed */
	// Optional. Sample response for the Agent.
	SampleResponses []*AgentCoachingSuggestion_SampleResponse `protobuf:"bytes,3,rep,name=sample_responses,json=sampleResponses,proto3" json:"sample_responses,omitempty"`
	// contains filtered or unexported fields
}

Suggestion for coaching agents.

func (*AgentCoachingSuggestion) Descriptor deprecated added in v1.71.0

func (*AgentCoachingSuggestion) Descriptor() ([]byte, []int)

Deprecated: Use AgentCoachingSuggestion.ProtoReflect.Descriptor instead.

func (*AgentCoachingSuggestion) GetAgentActionSuggestions added in v1.71.0

func (*AgentCoachingSuggestion) GetApplicableInstructions added in v1.71.0

func (x *AgentCoachingSuggestion) GetApplicableInstructions() []*AgentCoachingInstruction

func (*AgentCoachingSuggestion) GetSampleResponses added in v1.71.0

func (*AgentCoachingSuggestion) ProtoMessage added in v1.71.0

func (*AgentCoachingSuggestion) ProtoMessage()

func (*AgentCoachingSuggestion) ProtoReflect added in v1.71.0

func (x *AgentCoachingSuggestion) ProtoReflect() protoreflect.Message

func (*AgentCoachingSuggestion) Reset added in v1.71.0

func (x *AgentCoachingSuggestion) Reset()

func (*AgentCoachingSuggestion) String added in v1.71.0

func (x *AgentCoachingSuggestion) String() string

type AgentCoachingSuggestion_AgentActionSuggestion added in v1.71.0

type AgentCoachingSuggestion_AgentActionSuggestion struct {

	// Optional. The suggested action for the agent.
	AgentAction string `protobuf:"bytes,1,opt,name=agent_action,json=agentAction,proto3" json:"agent_action,omitempty"`
	// Output only. Sources for the agent action suggestion.
	Sources *AgentCoachingSuggestion_Sources `protobuf:"bytes,2,opt,name=sources,proto3" json:"sources,omitempty"`
	// Output only. Duplicate check result for the agent action suggestion.
	DuplicateCheckResult *AgentCoachingSuggestion_DuplicateCheckResult `protobuf:"bytes,3,opt,name=duplicate_check_result,json=duplicateCheckResult,proto3" json:"duplicate_check_result,omitempty"`
	// contains filtered or unexported fields
}

Actions suggested for the agent. This is based on applicable instructions.

func (*AgentCoachingSuggestion_AgentActionSuggestion) Descriptor deprecated added in v1.71.0

Deprecated: Use AgentCoachingSuggestion_AgentActionSuggestion.ProtoReflect.Descriptor instead.

func (*AgentCoachingSuggestion_AgentActionSuggestion) GetAgentAction added in v1.71.0

func (*AgentCoachingSuggestion_AgentActionSuggestion) GetDuplicateCheckResult added in v1.71.0

func (*AgentCoachingSuggestion_AgentActionSuggestion) GetSources added in v1.71.0

func (*AgentCoachingSuggestion_AgentActionSuggestion) ProtoMessage added in v1.71.0

func (*AgentCoachingSuggestion_AgentActionSuggestion) ProtoReflect added in v1.71.0

func (*AgentCoachingSuggestion_AgentActionSuggestion) Reset added in v1.71.0

func (*AgentCoachingSuggestion_AgentActionSuggestion) String added in v1.71.0

type AgentCoachingSuggestion_DuplicateCheckResult added in v1.71.0

type AgentCoachingSuggestion_DuplicateCheckResult struct {

	// Output only. The duplicate suggestions.
	DuplicateSuggestions []*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion `protobuf:"bytes,1,rep,name=duplicate_suggestions,json=duplicateSuggestions,proto3" json:"duplicate_suggestions,omitempty"`
	// contains filtered or unexported fields
}

Duplication check for the suggestion.

func (*AgentCoachingSuggestion_DuplicateCheckResult) Descriptor deprecated added in v1.71.0

Deprecated: Use AgentCoachingSuggestion_DuplicateCheckResult.ProtoReflect.Descriptor instead.

func (*AgentCoachingSuggestion_DuplicateCheckResult) GetDuplicateSuggestions added in v1.71.0

func (*AgentCoachingSuggestion_DuplicateCheckResult) ProtoMessage added in v1.71.0

func (*AgentCoachingSuggestion_DuplicateCheckResult) ProtoReflect added in v1.71.0

func (*AgentCoachingSuggestion_DuplicateCheckResult) Reset added in v1.71.0

func (*AgentCoachingSuggestion_DuplicateCheckResult) String added in v1.71.0

type AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion added in v1.71.0

type AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion struct {

	// Output only. The answer record id of the past duplicate suggestion.
	AnswerRecord string `protobuf:"bytes,1,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"`
	// Output only. Sources for the suggestion.
	Sources *AgentCoachingSuggestion_Sources `protobuf:"bytes,2,opt,name=sources,proto3" json:"sources,omitempty"`
	// Output only. The index of the duplicate suggestion in the past
	// suggestion list.
	SuggestionIndex int32 `protobuf:"varint,3,opt,name=suggestion_index,json=suggestionIndex,proto3" json:"suggestion_index,omitempty"`
	// Output only. The similarity score of between the past and current
	// suggestion.
	SimilarityScore float32 `protobuf:"fixed32,4,opt,name=similarity_score,json=similarityScore,proto3" json:"similarity_score,omitempty"`
	// contains filtered or unexported fields
}

The duplicate suggestion details. Keeping answer_record and sources together as they are identifiers for duplicate suggestions.

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) Descriptor deprecated added in v1.71.0

Deprecated: Use AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion.ProtoReflect.Descriptor instead.

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) GetAnswerRecord added in v1.71.0

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) GetSimilarityScore added in v1.71.0

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) GetSources added in v1.71.0

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) GetSuggestionIndex added in v1.71.0

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) ProtoMessage added in v1.71.0

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) ProtoReflect added in v1.71.0

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) Reset added in v1.71.0

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) String added in v1.71.0

type AgentCoachingSuggestion_SampleResponse added in v1.71.0

type AgentCoachingSuggestion_SampleResponse struct {

	// Optional. Sample response for Agent in text.
	ResponseText string `protobuf:"bytes,1,opt,name=response_text,json=responseText,proto3" json:"response_text,omitempty"`
	// Output only. Sources for the Sample Response.
	Sources *AgentCoachingSuggestion_Sources `protobuf:"bytes,2,opt,name=sources,proto3" json:"sources,omitempty"`
	// Output only. Duplicate check result for the sample response.
	DuplicateCheckResult *AgentCoachingSuggestion_DuplicateCheckResult `protobuf:"bytes,3,opt,name=duplicate_check_result,json=duplicateCheckResult,proto3" json:"duplicate_check_result,omitempty"`
	// contains filtered or unexported fields
}

Sample response that the agent can use. This could be based on applicable instructions and ingested data from other systems.

func (*AgentCoachingSuggestion_SampleResponse) Descriptor deprecated added in v1.71.0

func (*AgentCoachingSuggestion_SampleResponse) Descriptor() ([]byte, []int)

Deprecated: Use AgentCoachingSuggestion_SampleResponse.ProtoReflect.Descriptor instead.

func (*AgentCoachingSuggestion_SampleResponse) GetDuplicateCheckResult added in v1.71.0

func (*AgentCoachingSuggestion_SampleResponse) GetResponseText added in v1.71.0

func (x *AgentCoachingSuggestion_SampleResponse) GetResponseText() string

func (*AgentCoachingSuggestion_SampleResponse) GetSources added in v1.71.0

func (*AgentCoachingSuggestion_SampleResponse) ProtoMessage added in v1.71.0

func (*AgentCoachingSuggestion_SampleResponse) ProtoReflect added in v1.71.0

func (*AgentCoachingSuggestion_SampleResponse) Reset added in v1.71.0

func (*AgentCoachingSuggestion_SampleResponse) String added in v1.71.0

type AgentCoachingSuggestion_Sources added in v1.71.0

type AgentCoachingSuggestion_Sources struct {

	// Output only. Source instruction indexes for the suggestion. This is the
	// index of the applicable_instructions field.
	InstructionIndexes []int32 `protobuf:"varint,2,rep,packed,name=instruction_indexes,json=instructionIndexes,proto3" json:"instruction_indexes,omitempty"`
	// contains filtered or unexported fields
}

Sources for the suggestion.

func (*AgentCoachingSuggestion_Sources) Descriptor deprecated added in v1.71.0

func (*AgentCoachingSuggestion_Sources) Descriptor() ([]byte, []int)

Deprecated: Use AgentCoachingSuggestion_Sources.ProtoReflect.Descriptor instead.

func (*AgentCoachingSuggestion_Sources) GetInstructionIndexes added in v1.71.0

func (x *AgentCoachingSuggestion_Sources) GetInstructionIndexes() []int32

func (*AgentCoachingSuggestion_Sources) ProtoMessage added in v1.71.0

func (*AgentCoachingSuggestion_Sources) ProtoMessage()

func (*AgentCoachingSuggestion_Sources) ProtoReflect added in v1.71.0

func (*AgentCoachingSuggestion_Sources) Reset added in v1.71.0

func (*AgentCoachingSuggestion_Sources) String added in v1.71.0

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) Enum

func (Agent_ApiVersion) EnumDescriptor deprecated

func (Agent_ApiVersion) EnumDescriptor() ([]byte, []int)

Deprecated: Use Agent_ApiVersion.Descriptor instead.

func (Agent_ApiVersion) Number

func (Agent_ApiVersion) String

func (x Agent_ApiVersion) String() string

func (Agent_ApiVersion) Type

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) Enum

func (x Agent_MatchMode) Enum() *Agent_MatchMode

func (Agent_MatchMode) EnumDescriptor deprecated

func (Agent_MatchMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use Agent_MatchMode.Descriptor instead.

func (Agent_MatchMode) Number

func (Agent_MatchMode) String

func (x Agent_MatchMode) String() string

func (Agent_MatchMode) Type

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 deprecated

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

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#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. All implementations should embed UnimplementedAgentsServer for forward compatibility

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 Dialogflow 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 deprecated

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 added in v1.51.0

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 added in v1.38.0

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 added in v1.51.0

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 added in v1.38.0

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 `` /* 146-byte string literal not displayed */
	// 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 `` /* 137-byte string literal not displayed */
	// 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 deprecated

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 deprecated

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 `` /* 179-byte string literal not displayed */
	// 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 deprecated

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) Enum

func (AnswerFeedback_CorrectnessLevel) EnumDescriptor deprecated

func (AnswerFeedback_CorrectnessLevel) EnumDescriptor() ([]byte, []int)

Deprecated: Use AnswerFeedback_CorrectnessLevel.Descriptor instead.

func (AnswerFeedback_CorrectnessLevel) Number

func (AnswerFeedback_CorrectnessLevel) String

func (AnswerFeedback_CorrectnessLevel) Type

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:

  1. 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.
  2. 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 deprecated

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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. All implementations should embed UnimplementedAnswerRecordsServer for forward compatibility

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 `` /* 157-byte string literal not displayed */
	// 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 deprecated

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 `` /* 223-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents the parameters of human assist query.

func (*AssistQueryParameters) Descriptor deprecated

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) Enum

func (x AudioEncoding) Enum() *AudioEncoding

func (AudioEncoding) EnumDescriptor deprecated

func (AudioEncoding) EnumDescriptor() ([]byte, []int)

Deprecated: Use AudioEncoding.Descriptor instead.

func (AudioEncoding) Number

func (AudioEncoding) String

func (x AudioEncoding) String() string

func (AudioEncoding) Type

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 deprecated

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 deprecated

func (*AutomatedAgentConfig) Descriptor() ([]byte, []int)

Deprecated: Use AutomatedAgentConfig.ProtoReflect.Descriptor instead.

func (*AutomatedAgentConfig) GetAgent

func (x *AutomatedAgentConfig) GetAgent() string

func (*AutomatedAgentConfig) GetSessionTtl added in v1.38.0

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 `` /* 216-byte string literal not displayed */
	// 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 `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents a response from an automated agent.

func (*AutomatedAgentReply) Descriptor deprecated

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 added in v1.56.0

func (x *AutomatedAgentReply) GetCallCompanionAuthCode() []byte

func (*AutomatedAgentReply) GetCxCurrentPage

func (x *AutomatedAgentReply) GetCxCurrentPage() string

func (*AutomatedAgentReply) GetCxSessionParameters deprecated

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) Enum

func (AutomatedAgentReply_AutomatedAgentReplyType) EnumDescriptor deprecated

func (AutomatedAgentReply_AutomatedAgentReplyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AutomatedAgentReply_AutomatedAgentReplyType.Descriptor instead.

func (AutomatedAgentReply_AutomatedAgentReplyType) Number

func (AutomatedAgentReply_AutomatedAgentReplyType) String

func (AutomatedAgentReply_AutomatedAgentReplyType) Type

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 added in v1.32.0

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 deprecated added in v1.32.0

func (*BargeInConfig) Descriptor() ([]byte, []int)

Deprecated: Use BargeInConfig.ProtoReflect.Descriptor instead.

func (*BargeInConfig) GetNoBargeInDuration added in v1.32.0

func (x *BargeInConfig) GetNoBargeInDuration() *durationpb.Duration

func (*BargeInConfig) GetTotalDuration added in v1.32.0

func (x *BargeInConfig) GetTotalDuration() *durationpb.Duration

func (*BargeInConfig) ProtoMessage added in v1.32.0

func (*BargeInConfig) ProtoMessage()

func (*BargeInConfig) ProtoReflect added in v1.32.0

func (x *BargeInConfig) ProtoReflect() protoreflect.Message

func (*BargeInConfig) Reset added in v1.32.0

func (x *BargeInConfig) Reset()

func (*BargeInConfig) String added in v1.32.0

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 deprecated

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 (*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 deprecated

func (*BatchCreateMessagesRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateMessagesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateMessagesRequest) GetParent

func (x *BatchCreateMessagesRequest) GetParent() string

func (*BatchCreateMessagesRequest) GetRequests

func (*BatchCreateMessagesRequest) ProtoMessage

func (*BatchCreateMessagesRequest) ProtoMessage()

func (*BatchCreateMessagesRequest) ProtoReflect

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 deprecated

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 (*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 deprecated

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 (*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 deprecated

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 (*BatchDeleteEntityTypesRequest) Reset

func (x *BatchDeleteEntityTypesRequest) Reset()

func (*BatchDeleteEntityTypesRequest) 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 deprecated

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 (*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 deprecated

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 (*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 deprecated

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 (*BatchUpdateEntityTypesRequest) ProtoMessage

func (*BatchUpdateEntityTypesRequest) ProtoMessage()

func (*BatchUpdateEntityTypesRequest) ProtoReflect

func (*BatchUpdateEntityTypesRequest) Reset

func (x *BatchUpdateEntityTypesRequest) Reset()

func (*BatchUpdateEntityTypesRequest) 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 deprecated

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 (*BatchUpdateEntityTypesResponse) Reset

func (x *BatchUpdateEntityTypesResponse) Reset()

func (*BatchUpdateEntityTypesResponse) 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 `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

The request message for [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents].

func (*BatchUpdateIntentsRequest) Descriptor deprecated

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 (*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 deprecated

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 (*BatchUpdateIntentsResponse) Reset

func (x *BatchUpdateIntentsResponse) Reset()

func (*BatchUpdateIntentsResponse) String

func (x *BatchUpdateIntentsResponse) String() string

type BidiStreamingAnalyzeContentRequest added in v1.71.0

type BidiStreamingAnalyzeContentRequest struct {

	// Required. Possible request types for BidiStreamingAnalyzeContent.
	//
	// Types that are assignable to Request:
	//
	//	*BidiStreamingAnalyzeContentRequest_Config_
	//	*BidiStreamingAnalyzeContentRequest_Input_
	Request isBidiStreamingAnalyzeContentRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

The request message for [Participants.BidiStreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.BidiStreamingAnalyzeContent].

func (*BidiStreamingAnalyzeContentRequest) Descriptor deprecated added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest) Descriptor() ([]byte, []int)

Deprecated: Use BidiStreamingAnalyzeContentRequest.ProtoReflect.Descriptor instead.

func (*BidiStreamingAnalyzeContentRequest) GetConfig added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest) GetInput added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest) GetRequest added in v1.71.0

func (m *BidiStreamingAnalyzeContentRequest) GetRequest() isBidiStreamingAnalyzeContentRequest_Request

func (*BidiStreamingAnalyzeContentRequest) ProtoMessage added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest) ProtoMessage()

func (*BidiStreamingAnalyzeContentRequest) ProtoReflect added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest) Reset added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest) String added in v1.71.0

type BidiStreamingAnalyzeContentRequest_Config added in v1.71.0

type BidiStreamingAnalyzeContentRequest_Config struct {

	// Required. The name of the participant to fetch response for.
	// 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"`
	// The config of the session.
	//
	// Types that are assignable to Config:
	//
	//	*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig_
	Config isBidiStreamingAnalyzeContentRequest_Config_Config `protobuf_oneof:"config"`
	// Parameters to be passed to the virtual agent at the beginning.
	InitialVirtualAgentParameters *structpb.Struct `` /* 152-byte string literal not displayed */
	// Initial parameters for the virtual-agent.
	InitialVirtualAgentQueryParams *QueryParameters `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

The config of the session.

func (*BidiStreamingAnalyzeContentRequest_Config) Descriptor deprecated added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Config) Descriptor() ([]byte, []int)

Deprecated: Use BidiStreamingAnalyzeContentRequest_Config.ProtoReflect.Descriptor instead.

func (*BidiStreamingAnalyzeContentRequest_Config) GetConfig added in v1.71.0

func (m *BidiStreamingAnalyzeContentRequest_Config) GetConfig() isBidiStreamingAnalyzeContentRequest_Config_Config

func (*BidiStreamingAnalyzeContentRequest_Config) GetInitialVirtualAgentParameters added in v1.71.0

func (x *BidiStreamingAnalyzeContentRequest_Config) GetInitialVirtualAgentParameters() *structpb.Struct

func (*BidiStreamingAnalyzeContentRequest_Config) GetInitialVirtualAgentQueryParams added in v1.71.0

func (x *BidiStreamingAnalyzeContentRequest_Config) GetInitialVirtualAgentQueryParams() *QueryParameters

func (*BidiStreamingAnalyzeContentRequest_Config) GetParticipant added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Config) GetVoiceSessionConfig added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Config) ProtoMessage added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Config) ProtoReflect added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Config) Reset added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Config) String added in v1.71.0

type BidiStreamingAnalyzeContentRequest_Config_ added in v1.71.0

type BidiStreamingAnalyzeContentRequest_Config_ struct {
	// The config message for this conversation.
	Config *BidiStreamingAnalyzeContentRequest_Config `protobuf:"bytes,1,opt,name=config,proto3,oneof"`
}

type BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig added in v1.71.0

type BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig struct {

	// Required. The encoding of input audio.
	InputAudioEncoding AudioEncoding `` /* 169-byte string literal not displayed */
	// Required. The sample rate of input audio.
	InputAudioSampleRateHertz int32 `` /* 143-byte string literal not displayed */
	// Required. The encoding of output audio.
	OutputAudioEncoding OutputAudioEncoding `` /* 178-byte string literal not displayed */
	// Required. The sample rate of output audio.
	OutputAudioSampleRateHertz int32 `` /* 146-byte string literal not displayed */
	// Optional. Whether to enable CX proactive processing.
	EnableCxProactiveProcessing bool `` /* 147-byte string literal not displayed */
	// Optional. If true, Dialogflow will stream the audio bytes from Cloud
	// TTS for speech synthesis using the StreamingSynthesize api.
	EnableStreamingSynthesize bool `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

The config about how to process the audio for a voice-based session.

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) Descriptor deprecated added in v1.71.0

Deprecated: Use BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig.ProtoReflect.Descriptor instead.

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetEnableCxProactiveProcessing added in v1.71.0

func (x *BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetEnableCxProactiveProcessing() bool

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetEnableStreamingSynthesize added in v1.71.0

func (x *BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetEnableStreamingSynthesize() bool

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetInputAudioEncoding added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetInputAudioSampleRateHertz added in v1.71.0

func (x *BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetInputAudioSampleRateHertz() int32

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetOutputAudioEncoding added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetOutputAudioSampleRateHertz added in v1.71.0

func (x *BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetOutputAudioSampleRateHertz() int32

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) ProtoMessage added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) ProtoReflect added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) Reset added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) String added in v1.71.0

type BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig_ added in v1.71.0

type BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig_ struct {
	// Configure a voice-based session.
	VoiceSessionConfig *BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig `protobuf:"bytes,2,opt,name=voice_session_config,json=voiceSessionConfig,proto3,oneof"`
}

type BidiStreamingAnalyzeContentRequest_Input added in v1.71.0

type BidiStreamingAnalyzeContentRequest_Input struct {

	// Types that are assignable to Input:
	//
	//	*BidiStreamingAnalyzeContentRequest_Input_Audio
	//	*BidiStreamingAnalyzeContentRequest_Input_Dtmf
	//	*BidiStreamingAnalyzeContentRequest_Input_Turn
	Input isBidiStreamingAnalyzeContentRequest_Input_Input `protobuf_oneof:"input"`
	// contains filtered or unexported fields
}

Input for the conversation.

func (*BidiStreamingAnalyzeContentRequest_Input) Descriptor deprecated added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Input) Descriptor() ([]byte, []int)

Deprecated: Use BidiStreamingAnalyzeContentRequest_Input.ProtoReflect.Descriptor instead.

func (*BidiStreamingAnalyzeContentRequest_Input) GetAudio added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Input) GetDtmf added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Input) GetInput added in v1.71.0

func (m *BidiStreamingAnalyzeContentRequest_Input) GetInput() isBidiStreamingAnalyzeContentRequest_Input_Input

func (*BidiStreamingAnalyzeContentRequest_Input) GetTurn added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Input) ProtoMessage added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Input) ProtoReflect added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Input) Reset added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_Input) String added in v1.71.0

type BidiStreamingAnalyzeContentRequest_Input_ added in v1.71.0

type BidiStreamingAnalyzeContentRequest_Input_ struct {
	// Text, audio or other multi-modality inputs.
	// This is the second and following messages sent by the client.
	Input *BidiStreamingAnalyzeContentRequest_Input `protobuf:"bytes,2,opt,name=input,proto3,oneof"`
}

type BidiStreamingAnalyzeContentRequest_Input_Audio added in v1.71.0

type BidiStreamingAnalyzeContentRequest_Input_Audio struct {
	// The content of audio stream to be recognized.
	Audio []byte `protobuf:"bytes,1,opt,name=audio,proto3,oneof"`
}

type BidiStreamingAnalyzeContentRequest_Input_Dtmf added in v1.71.0

type BidiStreamingAnalyzeContentRequest_Input_Dtmf 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.
	Dtmf *TelephonyDtmfEvents `protobuf:"bytes,2,opt,name=dtmf,proto3,oneof"`
}

type BidiStreamingAnalyzeContentRequest_Input_Turn added in v1.71.0

type BidiStreamingAnalyzeContentRequest_Input_Turn struct {
	// Turn input.
	Turn *BidiStreamingAnalyzeContentRequest_TurnInput `protobuf:"bytes,3,opt,name=turn,proto3,oneof"`
}

type BidiStreamingAnalyzeContentRequest_TurnInput added in v1.71.0

type BidiStreamingAnalyzeContentRequest_TurnInput struct {

	// Content that indicates the end of the turn.
	//
	// Types that are assignable to MainContent:
	//
	//	*BidiStreamingAnalyzeContentRequest_TurnInput_Text
	//	*BidiStreamingAnalyzeContentRequest_TurnInput_Intent
	//	*BidiStreamingAnalyzeContentRequest_TurnInput_Event
	MainContent isBidiStreamingAnalyzeContentRequest_TurnInput_MainContent `protobuf_oneof:"main_content"`
	// Optional. Parameters to be passed to the virtual agent.
	VirtualAgentParameters *structpb.Struct `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Input that forms data for a single turn.

func (*BidiStreamingAnalyzeContentRequest_TurnInput) Descriptor deprecated added in v1.71.0

Deprecated: Use BidiStreamingAnalyzeContentRequest_TurnInput.ProtoReflect.Descriptor instead.

func (*BidiStreamingAnalyzeContentRequest_TurnInput) GetEvent added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_TurnInput) GetIntent added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_TurnInput) GetMainContent added in v1.71.0

func (m *BidiStreamingAnalyzeContentRequest_TurnInput) GetMainContent() isBidiStreamingAnalyzeContentRequest_TurnInput_MainContent

func (*BidiStreamingAnalyzeContentRequest_TurnInput) GetText added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_TurnInput) GetVirtualAgentParameters added in v1.71.0

func (x *BidiStreamingAnalyzeContentRequest_TurnInput) GetVirtualAgentParameters() *structpb.Struct

func (*BidiStreamingAnalyzeContentRequest_TurnInput) ProtoMessage added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_TurnInput) ProtoReflect added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_TurnInput) Reset added in v1.71.0

func (*BidiStreamingAnalyzeContentRequest_TurnInput) String added in v1.71.0

type BidiStreamingAnalyzeContentRequest_TurnInput_Event added in v1.71.0

type BidiStreamingAnalyzeContentRequest_TurnInput_Event struct {
	// The input event name.
	// This can only be sent once and would cancel the ongoing speech
	// recognition if any. To trigger the Welcome intent use the
	// event "WELCOME"
	Event string `protobuf:"bytes,3,opt,name=event,proto3,oneof"`
}

type BidiStreamingAnalyzeContentRequest_TurnInput_Intent added in v1.71.0

type BidiStreamingAnalyzeContentRequest_TurnInput_Intent 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>`. This can only be
	// used to trigger the Welcome intent id if the modality is text.
	Intent string `protobuf:"bytes,2,opt,name=intent,proto3,oneof"`
}

type BidiStreamingAnalyzeContentRequest_TurnInput_Text added in v1.71.0

type BidiStreamingAnalyzeContentRequest_TurnInput_Text struct {
	// The UTF-8 encoded natural language text to be processed.
	Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}

type BidiStreamingAnalyzeContentResponse added in v1.71.0

type BidiStreamingAnalyzeContentResponse struct {

	// The output response.
	//
	// Types that are assignable to Response:
	//
	//	*BidiStreamingAnalyzeContentResponse_RecognitionResult
	//	*BidiStreamingAnalyzeContentResponse_BargeInSignal_
	//	*BidiStreamingAnalyzeContentResponse_AnalyzeContentResponse
	//	*BidiStreamingAnalyzeContentResponse_TurnComplete_
	Response isBidiStreamingAnalyzeContentResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

The response message for [Participants.BidiStreamingAnalyzeContent][google.cloud.dialogflow.v2beta1.Participants.BidiStreamingAnalyzeContent].

func (*BidiStreamingAnalyzeContentResponse) Descriptor deprecated added in v1.71.0

func (*BidiStreamingAnalyzeContentResponse) Descriptor() ([]byte, []int)

Deprecated: Use BidiStreamingAnalyzeContentResponse.ProtoReflect.Descriptor instead.

func (*BidiStreamingAnalyzeContentResponse) GetAnalyzeContentResponse added in v1.71.0

func (x *BidiStreamingAnalyzeContentResponse) GetAnalyzeContentResponse() *AnalyzeContentResponse

func (*BidiStreamingAnalyzeContentResponse) GetBargeInSignal added in v1.71.0

func (*BidiStreamingAnalyzeContentResponse) GetRecognitionResult added in v1.71.0

func (*BidiStreamingAnalyzeContentResponse) GetResponse added in v1.71.0

func (m *BidiStreamingAnalyzeContentResponse) GetResponse() isBidiStreamingAnalyzeContentResponse_Response

func (*BidiStreamingAnalyzeContentResponse) GetTurnComplete added in v1.71.0

func (*BidiStreamingAnalyzeContentResponse) ProtoMessage added in v1.71.0

func (*BidiStreamingAnalyzeContentResponse) ProtoMessage()

func (*BidiStreamingAnalyzeContentResponse) ProtoReflect added in v1.71.0

func (*BidiStreamingAnalyzeContentResponse) Reset added in v1.71.0

func (*BidiStreamingAnalyzeContentResponse) String added in v1.71.0

type BidiStreamingAnalyzeContentResponse_AnalyzeContentResponse added in v1.71.0

type BidiStreamingAnalyzeContentResponse_AnalyzeContentResponse struct {
	// The agent response from analyze content.
	AnalyzeContentResponse *AnalyzeContentResponse `protobuf:"bytes,3,opt,name=analyze_content_response,json=analyzeContentResponse,proto3,oneof"`
}

type BidiStreamingAnalyzeContentResponse_BargeInSignal added in v1.71.0

type BidiStreamingAnalyzeContentResponse_BargeInSignal struct {
	// contains filtered or unexported fields
}

Indicate the user barge-in has been detected.

func (*BidiStreamingAnalyzeContentResponse_BargeInSignal) Descriptor deprecated added in v1.71.0

Deprecated: Use BidiStreamingAnalyzeContentResponse_BargeInSignal.ProtoReflect.Descriptor instead.

func (*BidiStreamingAnalyzeContentResponse_BargeInSignal) ProtoMessage added in v1.71.0

func (*BidiStreamingAnalyzeContentResponse_BargeInSignal) ProtoReflect added in v1.71.0

func (*BidiStreamingAnalyzeContentResponse_BargeInSignal) Reset added in v1.71.0

func (*BidiStreamingAnalyzeContentResponse_BargeInSignal) String added in v1.71.0

type BidiStreamingAnalyzeContentResponse_BargeInSignal_ added in v1.71.0

type BidiStreamingAnalyzeContentResponse_BargeInSignal_ struct {
	// Indicate the user barge-in has been detected, and client should stop
	// playing back the audio.
	BargeInSignal *BidiStreamingAnalyzeContentResponse_BargeInSignal `protobuf:"bytes,2,opt,name=barge_in_signal,json=bargeInSignal,proto3,oneof"`
}

type BidiStreamingAnalyzeContentResponse_RecognitionResult added in v1.71.0

type BidiStreamingAnalyzeContentResponse_RecognitionResult struct {
	// The result of speech recognition.
	RecognitionResult *StreamingRecognitionResult `protobuf:"bytes,1,opt,name=recognition_result,json=recognitionResult,proto3,oneof"`
}

type BidiStreamingAnalyzeContentResponse_TurnComplete added in v1.71.0

type BidiStreamingAnalyzeContentResponse_TurnComplete struct {
	// contains filtered or unexported fields
}

Indicate that the turn is complete.

func (*BidiStreamingAnalyzeContentResponse_TurnComplete) Descriptor deprecated added in v1.71.0

Deprecated: Use BidiStreamingAnalyzeContentResponse_TurnComplete.ProtoReflect.Descriptor instead.

func (*BidiStreamingAnalyzeContentResponse_TurnComplete) ProtoMessage added in v1.71.0

func (*BidiStreamingAnalyzeContentResponse_TurnComplete) ProtoReflect added in v1.71.0

func (*BidiStreamingAnalyzeContentResponse_TurnComplete) Reset added in v1.71.0

func (*BidiStreamingAnalyzeContentResponse_TurnComplete) String added in v1.71.0

type BidiStreamingAnalyzeContentResponse_TurnComplete_ added in v1.71.0

type BidiStreamingAnalyzeContentResponse_TurnComplete_ struct {
	// Indicate that the turn is complete.
	TurnComplete *BidiStreamingAnalyzeContentResponse_TurnComplete `protobuf:"bytes,4,opt,name=turn_complete,json=turnComplete,proto3,oneof"`
}

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 `` /* 161-byte string literal not displayed */
	// Required. The type of the suggestion feature to remove.
	SuggestionFeatureType SuggestionFeature_Type `` /* 187-byte string literal not displayed */
	// 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 deprecated

Deprecated: Use ClearSuggestionFeatureConfigOperationMetadata.ProtoReflect.Descriptor instead.

func (*ClearSuggestionFeatureConfigOperationMetadata) GetConversationProfile

func (x *ClearSuggestionFeatureConfigOperationMetadata) GetConversationProfile() string

func (*ClearSuggestionFeatureConfigOperationMetadata) GetCreateTime

func (*ClearSuggestionFeatureConfigOperationMetadata) GetParticipantRole

func (*ClearSuggestionFeatureConfigOperationMetadata) GetSuggestionFeatureType

func (*ClearSuggestionFeatureConfigOperationMetadata) ProtoMessage

func (*ClearSuggestionFeatureConfigOperationMetadata) ProtoReflect

func (*ClearSuggestionFeatureConfigOperationMetadata) Reset

func (*ClearSuggestionFeatureConfigOperationMetadata) 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 `` /* 161-byte string literal not displayed */
	// Required. The type of the suggestion feature to remove.
	SuggestionFeatureType SuggestionFeature_Type `` /* 187-byte string literal not displayed */
	// contains filtered or unexported fields
}

The request message for [ConversationProfiles.ClearFeature][].

func (*ClearSuggestionFeatureConfigRequest) Descriptor deprecated

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 (*ClearSuggestionFeatureConfigRequest) Reset

func (*ClearSuggestionFeatureConfigRequest) String

type CloudConversationDebuggingInfo added in v1.33.0

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 `` /* 151-byte string literal not displayed */
	// Time offsets of the speech final results (is_final=true) relative to the
	// beginning of the stream.
	SpeechFinalResultsEndTimes []*durationpb.Duration `` /* 145-byte string literal not displayed */
	// 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 `` /* 163-byte string literal not displayed */
	// Whether a barge-in event is triggered in this request.
	BargeinEventTriggered bool `` /* 128-byte string literal not displayed */
	// Whether speech uses single utterance mode.
	SpeechSingleUtterance bool `` /* 128-byte string literal not displayed */
	// Time offsets of the DTMF partial results relative to the beginning of
	// the stream.
	DtmfPartialResultsTimes []*durationpb.Duration `` /* 135-byte string literal not displayed */
	// Time offsets of the DTMF final results relative to the beginning of
	// the stream.
	DtmfFinalResultsTimes []*durationpb.Duration `` /* 129-byte string literal not displayed */
	// Time offset of the end-of-single-utterance signal relative to the
	// beginning of the stream.
	SingleUtteranceEndTimeOffset *durationpb.Duration `` /* 152-byte string literal not displayed */
	// 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 `` /* 143-byte string literal not displayed */
	// Client half close time in terms of API streaming duration.
	ClientHalfCloseStreamingTimeOffset *durationpb.Duration `` /* 172-byte string literal not displayed */
	// 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 deprecated added in v1.33.0

func (*CloudConversationDebuggingInfo) Descriptor() ([]byte, []int)

Deprecated: Use CloudConversationDebuggingInfo.ProtoReflect.Descriptor instead.

func (*CloudConversationDebuggingInfo) GetAudioDataChunks added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetAudioDataChunks() int32

func (*CloudConversationDebuggingInfo) GetBargeinEventTriggered added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetBargeinEventTriggered() bool

func (*CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() *durationpb.Duration

func (*CloudConversationDebuggingInfo) GetClientHalfCloseTimeOffset added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetClientHalfCloseTimeOffset() *durationpb.Duration

func (*CloudConversationDebuggingInfo) GetDtmfFinalResultsTimes added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetDtmfFinalResultsTimes() []*durationpb.Duration

func (*CloudConversationDebuggingInfo) GetDtmfPartialResultsTimes added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetDtmfPartialResultsTimes() []*durationpb.Duration

func (*CloudConversationDebuggingInfo) GetEndpointingTimeout added in v1.43.0

func (x *CloudConversationDebuggingInfo) GetEndpointingTimeout() *durationpb.Duration

func (*CloudConversationDebuggingInfo) GetFirstAudioDuration added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetFirstAudioDuration() *durationpb.Duration

func (*CloudConversationDebuggingInfo) GetIsInputText added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetIsInputText() bool

func (*CloudConversationDebuggingInfo) GetNoSpeechTimeout added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetNoSpeechTimeout() *durationpb.Duration

func (*CloudConversationDebuggingInfo) GetPartialResponses added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetPartialResponses() int32

func (*CloudConversationDebuggingInfo) GetResultEndTimeOffset added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetResultEndTimeOffset() *durationpb.Duration

func (*CloudConversationDebuggingInfo) GetSingleUtterance added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetSingleUtterance() bool

func (*CloudConversationDebuggingInfo) GetSingleUtteranceEndTimeOffset added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetSingleUtteranceEndTimeOffset() *durationpb.Duration

func (*CloudConversationDebuggingInfo) GetSpeakerIdPassiveLatencyMsOffset added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetSpeakerIdPassiveLatencyMsOffset() int32

func (*CloudConversationDebuggingInfo) GetSpeechFinalResultsEndTimes added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetSpeechFinalResultsEndTimes() []*durationpb.Duration

func (*CloudConversationDebuggingInfo) GetSpeechPartialResultsEndTimes added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetSpeechPartialResultsEndTimes() []*durationpb.Duration

func (*CloudConversationDebuggingInfo) GetSpeechSingleUtterance added in v1.33.0

func (x *CloudConversationDebuggingInfo) GetSpeechSingleUtterance() bool

func (*CloudConversationDebuggingInfo) ProtoMessage added in v1.33.0

func (*CloudConversationDebuggingInfo) ProtoMessage()

func (*CloudConversationDebuggingInfo) ProtoReflect added in v1.33.0

func (*CloudConversationDebuggingInfo) Reset added in v1.33.0

func (x *CloudConversationDebuggingInfo) Reset()

func (*CloudConversationDebuggingInfo) String added in v1.33.0

type CompileSuggestionRequest deprecated

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 deprecated

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 deprecated

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 deprecated

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 (*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 deprecated

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 (*CompleteConversationRequest) Reset

func (x *CompleteConversationRequest) Reset()

func (*CompleteConversationRequest) String

func (x *CompleteConversationRequest) String() string

type Connection added in v1.60.0

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 deprecated added in v1.60.0

func (*Connection) Descriptor() ([]byte, []int)

Deprecated: Use Connection.ProtoReflect.Descriptor instead.

func (*Connection) GetConnectionId added in v1.60.0

func (x *Connection) GetConnectionId() string

func (*Connection) GetErrorDetails added in v1.60.0

func (x *Connection) GetErrorDetails() *Connection_ErrorDetails

func (*Connection) GetState added in v1.60.0

func (x *Connection) GetState() Connection_State

func (*Connection) GetUpdateTime added in v1.60.0

func (x *Connection) GetUpdateTime() *timestamppb.Timestamp

func (*Connection) ProtoMessage added in v1.60.0

func (*Connection) ProtoMessage()

func (*Connection) ProtoReflect added in v1.60.0

func (x *Connection) ProtoReflect() protoreflect.Message

func (*Connection) Reset added in v1.60.0

func (x *Connection) Reset()

func (*Connection) String added in v1.60.0

func (x *Connection) String() string

type Connection_CertificateState added in v1.60.0

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 added in v1.60.0

func (Connection_CertificateState) Enum added in v1.60.0

func (Connection_CertificateState) EnumDescriptor deprecated added in v1.60.0

func (Connection_CertificateState) EnumDescriptor() ([]byte, []int)

Deprecated: Use Connection_CertificateState.Descriptor instead.

func (Connection_CertificateState) Number added in v1.60.0

func (Connection_CertificateState) String added in v1.60.0

func (Connection_CertificateState) Type added in v1.60.0

type Connection_ErrorDetails added in v1.60.0

type Connection_ErrorDetails struct {

	// Output only. The status of the certificate authentication.
	CertificateState *Connection_CertificateState `` /* 181-byte string literal not displayed */
	// 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 deprecated added in v1.60.0

func (*Connection_ErrorDetails) Descriptor() ([]byte, []int)

Deprecated: Use Connection_ErrorDetails.ProtoReflect.Descriptor instead.

func (*Connection_ErrorDetails) GetCertificateState added in v1.60.0

func (x *Connection_ErrorDetails) GetCertificateState() Connection_CertificateState

func (*Connection_ErrorDetails) GetErrorMessage added in v1.60.0

func (x *Connection_ErrorDetails) GetErrorMessage() string

func (*Connection_ErrorDetails) ProtoMessage added in v1.60.0

func (*Connection_ErrorDetails) ProtoMessage()

func (*Connection_ErrorDetails) ProtoReflect added in v1.60.0

func (x *Connection_ErrorDetails) ProtoReflect() protoreflect.Message

func (*Connection_ErrorDetails) Reset added in v1.60.0

func (x *Connection_ErrorDetails) Reset()

func (*Connection_ErrorDetails) String added in v1.60.0

func (x *Connection_ErrorDetails) String() string

type Connection_State added in v1.60.0

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 added in v1.60.0

func (Connection_State) Enum added in v1.60.0

func (Connection_State) EnumDescriptor deprecated added in v1.60.0

func (Connection_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Connection_State.Descriptor instead.

func (Connection_State) Number added in v1.60.0

func (Connection_State) String added in v1.60.0

func (x Connection_State) String() string

func (Connection_State) Type added in v1.60.0

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

func (*Context) Descriptor() ([]byte, []int)

Deprecated: Use Context.ProtoReflect.Descriptor instead.

func (*Context) GetLifespanCount

func (x *Context) GetLifespanCount() int32

func (*Context) GetName

func (x *Context) GetName() string

func (*Context) GetParameters

func (x *Context) GetParameters() *structpb.Struct

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

func (x *Context) String() 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#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. All implementations should embed UnimplementedContextsServer for forward compatibility

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 `` /* 169-byte string literal not displayed */
	// 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 `` /* 181-byte string literal not displayed */
	// 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 `` /* 133-byte string literal not displayed */
	// Output only. The context reference updates provided by external systems.
	IngestedContextReferences map[string]*Conversation_ContextReference `` /* 227-byte string literal not displayed */
	// 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 deprecated

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) GetIngestedContextReferences added in v1.68.0

func (x *Conversation) GetIngestedContextReferences() map[string]*Conversation_ContextReference

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 added in v1.65.0

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 added in v1.56.0

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 deprecated added in v1.56.0

func (*ConversationContext) Descriptor() ([]byte, []int)

Deprecated: Use ConversationContext.ProtoReflect.Descriptor instead.

func (*ConversationContext) GetMessageEntries added in v1.56.0

func (x *ConversationContext) GetMessageEntries() []*MessageEntry

func (*ConversationContext) ProtoMessage added in v1.56.0

func (*ConversationContext) ProtoMessage()

func (*ConversationContext) ProtoReflect added in v1.56.0

func (x *ConversationContext) ProtoReflect() protoreflect.Message

func (*ConversationContext) Reset added in v1.56.0

func (x *ConversationContext) Reset()

func (*ConversationContext) String added in v1.56.0

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 deprecated

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 added in v1.64.0

func (x *ConversationEvent) GetNewRecognitionResultPayload() *StreamingRecognitionResult

func (*ConversationEvent) GetPayload

func (m *ConversationEvent) GetPayload() isConversationEvent_Payload

func (*ConversationEvent) GetType

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 added in v1.64.0

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.
	// The event is fired for every CompleteConversation call, even if the
	// conversation is already closed.
	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) Enum

func (ConversationEvent_Type) EnumDescriptor deprecated

func (ConversationEvent_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use ConversationEvent_Type.Descriptor instead.

func (ConversationEvent_Type) Number

func (ConversationEvent_Type) String

func (x ConversationEvent_Type) String() string

func (ConversationEvent_Type) Type

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 deprecated

func (*ConversationPhoneNumber) Descriptor() ([]byte, []int)

Deprecated: Use ConversationPhoneNumber.ProtoReflect.Descriptor instead.

func (*ConversationPhoneNumber) GetCountryCode added in v1.65.0

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 `` /* 140-byte string literal not displayed */
	// Configuration for connecting to a live agent.
	//
	// Currently, this feature is not general available, please contact Google
	// to get access.
	HumanAgentHandoffConfig *HumanAgentHandoffConfig `` /* 134-byte string literal not displayed */
	// 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 `` /* 166-byte string literal not displayed */
	// 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 `` /* 182-byte string literal not displayed */
	// 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 deprecated

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 added in v1.64.0

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 added in v1.32.0

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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. All implementations should embed UnimplementedConversationProfilesServer for forward compatibility

type Conversation_ContextReference added in v1.68.0

type Conversation_ContextReference struct {

	// Required. The list of content updates for a context reference.
	ContextContents []*Conversation_ContextReference_ContextContent `protobuf:"bytes,1,rep,name=context_contents,json=contextContents,proto3" json:"context_contents,omitempty"`
	// Required. The mode in which context reference contents are updated.
	UpdateMode Conversation_ContextReference_UpdateMode `` /* 170-byte string literal not displayed */
	// Optional. The language of the information ingested, defaults to "en-US"
	// if not set.
	LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// Output only. The time the context reference was first created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// contains filtered or unexported fields
}

Represents a piece of ingested context information.

func (*Conversation_ContextReference) Descriptor deprecated added in v1.68.0

func (*Conversation_ContextReference) Descriptor() ([]byte, []int)

Deprecated: Use Conversation_ContextReference.ProtoReflect.Descriptor instead.

func (*Conversation_ContextReference) GetContextContents added in v1.68.0

func (*Conversation_ContextReference) GetCreateTime added in v1.68.0

func (*Conversation_ContextReference) GetLanguageCode added in v1.68.0

func (x *Conversation_ContextReference) GetLanguageCode() string

func (*Conversation_ContextReference) GetUpdateMode added in v1.68.0

func (*Conversation_ContextReference) ProtoMessage added in v1.68.0

func (*Conversation_ContextReference) ProtoMessage()

func (*Conversation_ContextReference) ProtoReflect added in v1.68.0

func (*Conversation_ContextReference) Reset added in v1.68.0

func (x *Conversation_ContextReference) Reset()

func (*Conversation_ContextReference) String added in v1.68.0

type Conversation_ContextReference_ContextContent added in v1.68.0

type Conversation_ContextReference_ContextContent struct {

	// Required. The information ingested in a single request.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// Required. The format of the ingested string.
	ContentFormat Conversation_ContextReference_ContextContent_ContentFormat `` /* 197-byte string literal not displayed */
	// Output only. The time when this information was incorporated into the
	// relevant context reference.
	IngestionTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=ingestion_time,json=ingestionTime,proto3" json:"ingestion_time,omitempty"`
	// If the context content was generated from a tool call, specify the
	// answer record associated with the tool call.
	// Format: `projects/<Project ID>/locations/<Location
	// ID>/answerRecords/<Answer Record ID>`.
	AnswerRecord string `protobuf:"bytes,4,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"`
	// contains filtered or unexported fields
}

Contents ingested.

func (*Conversation_ContextReference_ContextContent) Descriptor deprecated added in v1.68.0

Deprecated: Use Conversation_ContextReference_ContextContent.ProtoReflect.Descriptor instead.

func (*Conversation_ContextReference_ContextContent) GetAnswerRecord added in v1.71.0

func (*Conversation_ContextReference_ContextContent) GetContent added in v1.68.0

func (*Conversation_ContextReference_ContextContent) GetContentFormat added in v1.68.0

func (*Conversation_ContextReference_ContextContent) GetIngestionTime added in v1.68.0

func (*Conversation_ContextReference_ContextContent) ProtoMessage added in v1.68.0

func (*Conversation_ContextReference_ContextContent) ProtoReflect added in v1.68.0

func (*Conversation_ContextReference_ContextContent) Reset added in v1.68.0

func (*Conversation_ContextReference_ContextContent) String added in v1.68.0

type Conversation_ContextReference_ContextContent_ContentFormat added in v1.68.0

type Conversation_ContextReference_ContextContent_ContentFormat int32

Represents the format of the ingested string.

const (
	// Unspecified content format.
	Conversation_ContextReference_ContextContent_CONTENT_FORMAT_UNSPECIFIED Conversation_ContextReference_ContextContent_ContentFormat = 0
	// Content was provided in JSON format.
	Conversation_ContextReference_ContextContent_JSON Conversation_ContextReference_ContextContent_ContentFormat = 1
	// Content was provided as plain text.
	Conversation_ContextReference_ContextContent_PLAIN_TEXT Conversation_ContextReference_ContextContent_ContentFormat = 2
)

func (Conversation_ContextReference_ContextContent_ContentFormat) Descriptor added in v1.68.0

func (Conversation_ContextReference_ContextContent_ContentFormat) Enum added in v1.68.0

func (Conversation_ContextReference_ContextContent_ContentFormat) EnumDescriptor deprecated added in v1.68.0

Deprecated: Use Conversation_ContextReference_ContextContent_ContentFormat.Descriptor instead.

func (Conversation_ContextReference_ContextContent_ContentFormat) Number added in v1.68.0

func (Conversation_ContextReference_ContextContent_ContentFormat) String added in v1.68.0

func (Conversation_ContextReference_ContextContent_ContentFormat) Type added in v1.68.0

type Conversation_ContextReference_UpdateMode added in v1.68.0

type Conversation_ContextReference_UpdateMode int32

Represents the mode in which context reference contents are updated.

const (
	// Unspecified update mode.
	Conversation_ContextReference_UPDATE_MODE_UNSPECIFIED Conversation_ContextReference_UpdateMode = 0
	// Context content updates are applied in append mode.
	Conversation_ContextReference_APPEND Conversation_ContextReference_UpdateMode = 1
	// Context content updates are applied in overwrite mode.
	Conversation_ContextReference_OVERWRITE Conversation_ContextReference_UpdateMode = 2
)

func (Conversation_ContextReference_UpdateMode) Descriptor added in v1.68.0

func (Conversation_ContextReference_UpdateMode) Enum added in v1.68.0

func (Conversation_ContextReference_UpdateMode) EnumDescriptor deprecated added in v1.68.0

func (Conversation_ContextReference_UpdateMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use Conversation_ContextReference_UpdateMode.Descriptor instead.

func (Conversation_ContextReference_UpdateMode) Number added in v1.68.0

func (Conversation_ContextReference_UpdateMode) String added in v1.68.0

func (Conversation_ContextReference_UpdateMode) Type added in v1.68.0

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) Enum

func (Conversation_ConversationStage) EnumDescriptor deprecated

func (Conversation_ConversationStage) EnumDescriptor() ([]byte, []int)

Deprecated: Use Conversation_ConversationStage.Descriptor instead.

func (Conversation_ConversationStage) Number

func (Conversation_ConversationStage) String

func (Conversation_ConversationStage) Type

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) Enum

func (Conversation_LifecycleState) EnumDescriptor deprecated

func (Conversation_LifecycleState) EnumDescriptor() ([]byte, []int)

Deprecated: Use Conversation_LifecycleState.Descriptor instead.

func (Conversation_LifecycleState) Number

func (Conversation_LifecycleState) String

func (Conversation_LifecycleState) Type

type Conversation_TelephonyConnectionInfo added in v1.65.0

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 incoming
	// call, 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 deprecated added in v1.65.0

func (*Conversation_TelephonyConnectionInfo) Descriptor() ([]byte, []int)

Deprecated: Use Conversation_TelephonyConnectionInfo.ProtoReflect.Descriptor instead.

func (*Conversation_TelephonyConnectionInfo) GetDialedNumber added in v1.65.0

func (x *Conversation_TelephonyConnectionInfo) GetDialedNumber() string

func (*Conversation_TelephonyConnectionInfo) GetExtraMimeContents added in v1.65.0

func (*Conversation_TelephonyConnectionInfo) GetSdp added in v1.65.0

func (*Conversation_TelephonyConnectionInfo) GetSipHeaders added in v1.65.0

func (*Conversation_TelephonyConnectionInfo) ProtoMessage added in v1.65.0

func (*Conversation_TelephonyConnectionInfo) ProtoMessage()

func (*Conversation_TelephonyConnectionInfo) ProtoReflect added in v1.65.0

func (*Conversation_TelephonyConnectionInfo) Reset added in v1.65.0

func (*Conversation_TelephonyConnectionInfo) String added in v1.65.0

type Conversation_TelephonyConnectionInfo_MimeContent added in v1.65.0

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 deprecated added in v1.65.0

Deprecated: Use Conversation_TelephonyConnectionInfo_MimeContent.ProtoReflect.Descriptor instead.

func (*Conversation_TelephonyConnectionInfo_MimeContent) GetContent added in v1.65.0

func (*Conversation_TelephonyConnectionInfo_MimeContent) GetMimeType added in v1.65.0

func (*Conversation_TelephonyConnectionInfo_MimeContent) ProtoMessage added in v1.65.0

func (*Conversation_TelephonyConnectionInfo_MimeContent) ProtoReflect added in v1.65.0

func (*Conversation_TelephonyConnectionInfo_MimeContent) Reset added in v1.65.0

func (*Conversation_TelephonyConnectionInfo_MimeContent) String added in v1.65.0

type Conversation_TelephonyConnectionInfo_SipHeader added in v1.65.0

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 deprecated added in v1.65.0

Deprecated: Use Conversation_TelephonyConnectionInfo_SipHeader.ProtoReflect.Descriptor instead.

func (*Conversation_TelephonyConnectionInfo_SipHeader) GetName added in v1.65.0

func (*Conversation_TelephonyConnectionInfo_SipHeader) GetValue added in v1.65.0

func (*Conversation_TelephonyConnectionInfo_SipHeader) ProtoMessage added in v1.65.0

func (*Conversation_TelephonyConnectionInfo_SipHeader) ProtoReflect added in v1.65.0

func (*Conversation_TelephonyConnectionInfo_SipHeader) Reset added in v1.65.0

func (*Conversation_TelephonyConnectionInfo_SipHeader) String added in v1.65.0

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)
	// Data ingestion API.
	// Ingests context references for an existing conversation.
	IngestContextReferences(ctx context.Context, in *IngestContextReferencesRequest, opts ...grpc.CallOption) (*IngestContextReferencesResponse, 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)
	// Generates all the suggestions using generators configured in the
	// conversation profile. A generator is used only if its trigger event is
	// matched.
	GenerateSuggestions(ctx context.Context, in *GenerateSuggestionsRequest, opts ...grpc.CallOption) (*GenerateSuggestionsResponse, error)
}

ConversationsClient is the client API for Conversations service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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)
	// Data ingestion API.
	// Ingests context references for an existing conversation.
	IngestContextReferences(context.Context, *IngestContextReferencesRequest) (*IngestContextReferencesResponse, 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)
	// Generates all the suggestions using generators configured in the
	// conversation profile. A generator is used only if its trigger event is
	// matched.
	GenerateSuggestions(context.Context, *GenerateSuggestionsRequest) (*GenerateSuggestionsResponse, error)
}

ConversationsServer is the server API for Conversations service. All implementations should embed UnimplementedConversationsServer for forward compatibility

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 deprecated

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 deprecated

func (*CreateConversationProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateConversationProfileRequest.ProtoReflect.Descriptor instead.

func (*CreateConversationProfileRequest) GetConversationProfile

func (x *CreateConversationProfileRequest) GetConversationProfile() *ConversationProfile

func (*CreateConversationProfileRequest) GetParent

func (*CreateConversationProfileRequest) ProtoMessage

func (*CreateConversationProfileRequest) ProtoMessage()

func (*CreateConversationProfileRequest) ProtoReflect

func (*CreateConversationProfileRequest) Reset

func (*CreateConversationProfileRequest) 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 deprecated

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 (*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 `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request message for [Documents.CreateDocument][google.cloud.dialogflow.v2beta1.Documents.CreateDocument].

func (*CreateDocumentRequest) Descriptor deprecated

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 deprecated

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 deprecated

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 CreateGeneratorEvaluationRequest added in v1.71.0

type CreateGeneratorEvaluationRequest struct {

	// Required. The generator resource name. Format:
	// `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The generator evaluation to be created.
	GeneratorEvaluation *GeneratorEvaluation `protobuf:"bytes,2,opt,name=generator_evaluation,json=generatorEvaluation,proto3" json:"generator_evaluation,omitempty"`
	// contains filtered or unexported fields
}

Request of CreateGeneratorEvaluation.

func (*CreateGeneratorEvaluationRequest) Descriptor deprecated added in v1.71.0

func (*CreateGeneratorEvaluationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateGeneratorEvaluationRequest.ProtoReflect.Descriptor instead.

func (*CreateGeneratorEvaluationRequest) GetGeneratorEvaluation added in v1.71.0

func (x *CreateGeneratorEvaluationRequest) GetGeneratorEvaluation() *GeneratorEvaluation

func (*CreateGeneratorEvaluationRequest) GetParent added in v1.71.0

func (*CreateGeneratorEvaluationRequest) ProtoMessage added in v1.71.0

func (*CreateGeneratorEvaluationRequest) ProtoMessage()

func (*CreateGeneratorEvaluationRequest) ProtoReflect added in v1.71.0

func (*CreateGeneratorEvaluationRequest) Reset added in v1.71.0

func (*CreateGeneratorEvaluationRequest) String added in v1.71.0

type CreateGeneratorRequest added in v1.56.0

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 deprecated added in v1.56.0

func (*CreateGeneratorRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateGeneratorRequest.ProtoReflect.Descriptor instead.

func (*CreateGeneratorRequest) GetGenerator added in v1.56.0

func (x *CreateGeneratorRequest) GetGenerator() *Generator

func (*CreateGeneratorRequest) GetGeneratorId added in v1.56.0

func (x *CreateGeneratorRequest) GetGeneratorId() string

func (*CreateGeneratorRequest) GetParent added in v1.56.0

func (x *CreateGeneratorRequest) GetParent() string

func (*CreateGeneratorRequest) ProtoMessage added in v1.56.0

func (*CreateGeneratorRequest) ProtoMessage()

func (*CreateGeneratorRequest) ProtoReflect added in v1.56.0

func (x *CreateGeneratorRequest) ProtoReflect() protoreflect.Message

func (*CreateGeneratorRequest) Reset added in v1.56.0

func (x *CreateGeneratorRequest) Reset()

func (*CreateGeneratorRequest) String added in v1.56.0

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 `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

The request message for [Intents.CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent].

func (*CreateIntentRequest) Descriptor deprecated

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 deprecated

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 (*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 deprecated

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 deprecated

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 deprecated

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 (*CreateSessionEntityTypeRequest) Reset

func (x *CreateSessionEntityTypeRequest) Reset()

func (*CreateSessionEntityTypeRequest) String

type CreateSipTrunkRequest added in v1.60.0

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 deprecated added in v1.60.0

func (*CreateSipTrunkRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSipTrunkRequest.ProtoReflect.Descriptor instead.

func (*CreateSipTrunkRequest) GetParent added in v1.60.0

func (x *CreateSipTrunkRequest) GetParent() string

func (*CreateSipTrunkRequest) GetSipTrunk added in v1.60.0

func (x *CreateSipTrunkRequest) GetSipTrunk() *SipTrunk

func (*CreateSipTrunkRequest) ProtoMessage added in v1.60.0

func (*CreateSipTrunkRequest) ProtoMessage()

func (*CreateSipTrunkRequest) ProtoReflect added in v1.60.0

func (x *CreateSipTrunkRequest) ProtoReflect() protoreflect.Message

func (*CreateSipTrunkRequest) Reset added in v1.60.0

func (x *CreateSipTrunkRequest) Reset()

func (*CreateSipTrunkRequest) String added in v1.60.0

func (x *CreateSipTrunkRequest) String() string

type CreateToolRequest added in v1.71.0

type CreateToolRequest struct {

	// Required. The project/location to create tool for. Format:
	// `projects/<Project ID>/locations/<Location ID>`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The tool to create.
	Tool *Tool `protobuf:"bytes,2,opt,name=tool,proto3" json:"tool,omitempty"`
	// Optional. The ID to use for the tool, which will become the final
	// component of the tool's resource name.
	//
	// The tool 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 provide, 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.
	ToolId string `protobuf:"bytes,3,opt,name=tool_id,json=toolId,proto3" json:"tool_id,omitempty"`
	// contains filtered or unexported fields
}

Request message of CreateTool.

func (*CreateToolRequest) Descriptor deprecated added in v1.71.0

func (*CreateToolRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateToolRequest.ProtoReflect.Descriptor instead.

func (*CreateToolRequest) GetParent added in v1.71.0

func (x *CreateToolRequest) GetParent() string

func (*CreateToolRequest) GetTool added in v1.71.0

func (x *CreateToolRequest) GetTool() *Tool

func (*CreateToolRequest) GetToolId added in v1.71.0

func (x *CreateToolRequest) GetToolId() string

func (*CreateToolRequest) ProtoMessage added in v1.71.0

func (*CreateToolRequest) ProtoMessage()

func (*CreateToolRequest) ProtoReflect added in v1.71.0

func (x *CreateToolRequest) ProtoReflect() protoreflect.Message

func (*CreateToolRequest) Reset added in v1.71.0

func (x *CreateToolRequest) Reset()

func (*CreateToolRequest) String added in v1.71.0

func (x *CreateToolRequest) 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 deprecated

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 CustomPronunciationParams added in v1.71.0

type CustomPronunciationParams struct {

	// The phrase to which the customization is applied.
	// The phrase can be multiple words, such as proper nouns, but shouldn't span
	// the length of the sentence.
	Phrase string `protobuf:"bytes,1,opt,name=phrase,proto3" json:"phrase,omitempty"`
	// The phonetic encoding of the phrase.
	PhoneticEncoding CustomPronunciationParams_PhoneticEncoding `` /* 190-byte string literal not displayed */
	// The pronunciation of the phrase. This must be in the phonetic encoding
	// specified above.
	Pronunciation string `protobuf:"bytes,3,opt,name=pronunciation,proto3" json:"pronunciation,omitempty"`
	// contains filtered or unexported fields
}

Pronunciation customization for a phrase.

func (*CustomPronunciationParams) Descriptor deprecated added in v1.71.0

func (*CustomPronunciationParams) Descriptor() ([]byte, []int)

Deprecated: Use CustomPronunciationParams.ProtoReflect.Descriptor instead.

func (*CustomPronunciationParams) GetPhoneticEncoding added in v1.71.0

func (*CustomPronunciationParams) GetPhrase added in v1.71.0

func (x *CustomPronunciationParams) GetPhrase() string

func (*CustomPronunciationParams) GetPronunciation added in v1.71.0

func (x *CustomPronunciationParams) GetPronunciation() string

func (*CustomPronunciationParams) ProtoMessage added in v1.71.0

func (*CustomPronunciationParams) ProtoMessage()

func (*CustomPronunciationParams) ProtoReflect added in v1.71.0

func (*CustomPronunciationParams) Reset added in v1.71.0

func (x *CustomPronunciationParams) Reset()

func (*CustomPronunciationParams) String added in v1.71.0

func (x *CustomPronunciationParams) String() string

type CustomPronunciationParams_PhoneticEncoding added in v1.71.0

type CustomPronunciationParams_PhoneticEncoding int32

The phonetic encoding of the phrase.

const (
	// Not specified.
	CustomPronunciationParams_PHONETIC_ENCODING_UNSPECIFIED CustomPronunciationParams_PhoneticEncoding = 0
	// IPA, such as apple -> ˈæpəl.
	// https://en.wikipedia.org/wiki/International_Phonetic_Alphabet
	CustomPronunciationParams_PHONETIC_ENCODING_IPA CustomPronunciationParams_PhoneticEncoding = 1
	// X-SAMPA, such as apple -> "{p@l".
	// https://en.wikipedia.org/wiki/X-SAMPA
	CustomPronunciationParams_PHONETIC_ENCODING_X_SAMPA CustomPronunciationParams_PhoneticEncoding = 2
)

func (CustomPronunciationParams_PhoneticEncoding) Descriptor added in v1.71.0

func (CustomPronunciationParams_PhoneticEncoding) Enum added in v1.71.0

func (CustomPronunciationParams_PhoneticEncoding) EnumDescriptor deprecated added in v1.71.0

func (CustomPronunciationParams_PhoneticEncoding) EnumDescriptor() ([]byte, []int)

Deprecated: Use CustomPronunciationParams_PhoneticEncoding.Descriptor instead.

func (CustomPronunciationParams_PhoneticEncoding) Number added in v1.71.0

func (CustomPronunciationParams_PhoneticEncoding) String added in v1.71.0

func (CustomPronunciationParams_PhoneticEncoding) Type added in v1.71.0

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 deprecated

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 deprecated

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 deprecated

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 deprecated

func (*DeleteConversationProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteConversationProfileRequest.ProtoReflect.Descriptor instead.

func (*DeleteConversationProfileRequest) GetName

func (*DeleteConversationProfileRequest) ProtoMessage

func (*DeleteConversationProfileRequest) ProtoMessage()

func (*DeleteConversationProfileRequest) ProtoReflect

func (*DeleteConversationProfileRequest) Reset

func (*DeleteConversationProfileRequest) 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 deprecated

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 deprecated

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 deprecated

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 DeleteGeneratorEvaluationRequest added in v1.71.0

type DeleteGeneratorEvaluationRequest struct {

	// Required. The generator evaluation resource name. Format:
	// `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>/
	// evaluations/<Evaluation ID>`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request of DeleteGeneratorEvaluation.

func (*DeleteGeneratorEvaluationRequest) Descriptor deprecated added in v1.71.0

func (*DeleteGeneratorEvaluationRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteGeneratorEvaluationRequest.ProtoReflect.Descriptor instead.

func (*DeleteGeneratorEvaluationRequest) GetName added in v1.71.0

func (*DeleteGeneratorEvaluationRequest) ProtoMessage added in v1.71.0

func (*DeleteGeneratorEvaluationRequest) ProtoMessage()

func (*DeleteGeneratorEvaluationRequest) ProtoReflect added in v1.71.0

func (*DeleteGeneratorEvaluationRequest) Reset added in v1.71.0

func (*DeleteGeneratorEvaluationRequest) String added in v1.71.0

type DeleteGeneratorRequest added in v1.56.0

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 deprecated added in v1.56.0

func (*DeleteGeneratorRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteGeneratorRequest.ProtoReflect.Descriptor instead.

func (*DeleteGeneratorRequest) GetName added in v1.56.0

func (x *DeleteGeneratorRequest) GetName() string

func (*DeleteGeneratorRequest) ProtoMessage added in v1.56.0

func (*DeleteGeneratorRequest) ProtoMessage()

func (*DeleteGeneratorRequest) ProtoReflect added in v1.56.0

func (x *DeleteGeneratorRequest) ProtoReflect() protoreflect.Message

func (*DeleteGeneratorRequest) Reset added in v1.56.0

func (x *DeleteGeneratorRequest) Reset()

func (*DeleteGeneratorRequest) String added in v1.56.0

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 deprecated

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 deprecated

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 (*DeleteKnowledgeBaseRequest) Reset

func (x *DeleteKnowledgeBaseRequest) Reset()

func (*DeleteKnowledgeBaseRequest) String

func (x *DeleteKnowledgeBaseRequest) String() string

type DeletePhoneNumberRequest added in v1.65.0

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 deprecated added in v1.65.0

func (*DeletePhoneNumberRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePhoneNumberRequest.ProtoReflect.Descriptor instead.

func (*DeletePhoneNumberRequest) GetName added in v1.65.0

func (x *DeletePhoneNumberRequest) GetName() string

func (*DeletePhoneNumberRequest) ProtoMessage added in v1.65.0

func (*DeletePhoneNumberRequest) ProtoMessage()

func (*DeletePhoneNumberRequest) ProtoReflect added in v1.65.0

func (x *DeletePhoneNumberRequest) ProtoReflect() protoreflect.Message

func (*DeletePhoneNumberRequest) Reset added in v1.65.0

func (x *DeletePhoneNumberRequest) Reset()

func (*DeletePhoneNumberRequest) String added in v1.65.0

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 deprecated

func (*DeleteSessionEntityTypeRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSessionEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*DeleteSessionEntityTypeRequest) GetName

func (*DeleteSessionEntityTypeRequest) ProtoMessage

func (*DeleteSessionEntityTypeRequest) ProtoMessage()

func (*DeleteSessionEntityTypeRequest) ProtoReflect

func (*DeleteSessionEntityTypeRequest) Reset

func (x *DeleteSessionEntityTypeRequest) Reset()

func (*DeleteSessionEntityTypeRequest) String

type DeleteSipTrunkRequest added in v1.60.0

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 deprecated added in v1.60.0

func (*DeleteSipTrunkRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSipTrunkRequest.ProtoReflect.Descriptor instead.

func (*DeleteSipTrunkRequest) GetName added in v1.60.0

func (x *DeleteSipTrunkRequest) GetName() string

func (*DeleteSipTrunkRequest) ProtoMessage added in v1.60.0

func (*DeleteSipTrunkRequest) ProtoMessage()

func (*DeleteSipTrunkRequest) ProtoReflect added in v1.60.0

func (x *DeleteSipTrunkRequest) ProtoReflect() protoreflect.Message

func (*DeleteSipTrunkRequest) Reset added in v1.60.0

func (x *DeleteSipTrunkRequest) Reset()

func (*DeleteSipTrunkRequest) String added in v1.60.0

func (x *DeleteSipTrunkRequest) String() string

type DeleteToolRequest added in v1.71.0

type DeleteToolRequest struct {

	// Required. The tool resource name to delete. Format:
	// `projects/<Project ID>/locations/<Location ID>/tools/<Tool ID>`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request of DeleteTool.

func (*DeleteToolRequest) Descriptor deprecated added in v1.71.0

func (*DeleteToolRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteToolRequest.ProtoReflect.Descriptor instead.

func (*DeleteToolRequest) GetName added in v1.71.0

func (x *DeleteToolRequest) GetName() string

func (*DeleteToolRequest) ProtoMessage added in v1.71.0

func (*DeleteToolRequest) ProtoMessage()

func (*DeleteToolRequest) ProtoReflect added in v1.71.0

func (x *DeleteToolRequest) ProtoReflect() protoreflect.Message

func (*DeleteToolRequest) Reset added in v1.71.0

func (x *DeleteToolRequest) Reset()

func (*DeleteToolRequest) String added in v1.71.0

func (x *DeleteToolRequest) 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 deprecated

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 `` /* 128-byte string literal not displayed */
	// 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 deprecated

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 `` /* 132-byte string literal not displayed */
	// 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 deprecated

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 added in v1.38.0

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 deprecated added in v1.38.0

func (*DialogflowAssistAnswer) Descriptor() ([]byte, []int)

Deprecated: Use DialogflowAssistAnswer.ProtoReflect.Descriptor instead.

func (*DialogflowAssistAnswer) GetAnswerRecord added in v1.38.0

func (x *DialogflowAssistAnswer) GetAnswerRecord() string

func (*DialogflowAssistAnswer) GetIntentSuggestion added in v1.38.0

func (x *DialogflowAssistAnswer) GetIntentSuggestion() *IntentSuggestion

func (*DialogflowAssistAnswer) GetQueryResult added in v1.38.0

func (x *DialogflowAssistAnswer) GetQueryResult() *QueryResult

func (*DialogflowAssistAnswer) GetResult added in v1.38.0

func (m *DialogflowAssistAnswer) GetResult() isDialogflowAssistAnswer_Result

func (*DialogflowAssistAnswer) ProtoMessage added in v1.38.0

func (*DialogflowAssistAnswer) ProtoMessage()

func (*DialogflowAssistAnswer) ProtoReflect added in v1.38.0

func (x *DialogflowAssistAnswer) ProtoReflect() protoreflect.Message

func (*DialogflowAssistAnswer) Reset added in v1.38.0

func (x *DialogflowAssistAnswer) Reset()

func (*DialogflowAssistAnswer) String added in v1.38.0

func (x *DialogflowAssistAnswer) String() string

type DialogflowAssistAnswer_IntentSuggestion added in v1.38.0

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 added in v1.38.0

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 `` /* 171-byte string literal not displayed */
	// 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 `` /* 157-byte string literal not displayed */
	// 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

func (*Document) Descriptor() ([]byte, []int)

Deprecated: Use Document.ProtoReflect.Descriptor instead.

func (*Document) GetContent deprecated

func (x *Document) GetContent() string

Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/document.proto.

func (*Document) GetContentUri

func (x *Document) GetContentUri() string

func (*Document) GetDisplayName

func (x *Document) GetDisplayName() string

func (*Document) GetEnableAutoReload

func (x *Document) GetEnableAutoReload() bool

func (*Document) GetKnowledgeTypes

func (x *Document) GetKnowledgeTypes() []Document_KnowledgeType

func (*Document) GetLatestReloadStatus

func (x *Document) GetLatestReloadStatus() *Document_ReloadStatus

func (*Document) GetMetadata

func (x *Document) GetMetadata() map[string]string

func (*Document) GetMimeType

func (x *Document) GetMimeType() string

func (*Document) GetName

func (x *Document) GetName() string

func (*Document) GetRawContent

func (x *Document) GetRawContent() []byte

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

func (x *Document) String() 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) Enum

func (Document_KnowledgeType) EnumDescriptor deprecated

func (Document_KnowledgeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Document_KnowledgeType.Descriptor instead.

func (Document_KnowledgeType) Number

func (Document_KnowledgeType) String

func (x Document_KnowledgeType) String() string

func (Document_KnowledgeType) Type

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 deprecated

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 (*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) Enum

func (x Document_State) Enum() *Document_State

func (Document_State) EnumDescriptor deprecated

func (Document_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Document_State.Descriptor instead.

func (Document_State) Number

func (Document_State) String

func (x Document_State) String() string

func (Document_State) Type

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#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. All implementations should embed UnimplementedDocumentsServer for forward compatibility

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 deprecated

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 added in v1.56.0

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 deprecated added in v1.56.0

func (*EncryptionSpec) Descriptor() ([]byte, []int)

Deprecated: Use EncryptionSpec.ProtoReflect.Descriptor instead.

func (*EncryptionSpec) GetKmsKey added in v1.56.0

func (x *EncryptionSpec) GetKmsKey() string

func (*EncryptionSpec) GetName added in v1.56.0

func (x *EncryptionSpec) GetName() string

func (*EncryptionSpec) ProtoMessage added in v1.56.0

func (*EncryptionSpec) ProtoMessage()

func (*EncryptionSpec) ProtoReflect added in v1.56.0

func (x *EncryptionSpec) ProtoReflect() protoreflect.Message

func (*EncryptionSpec) Reset added in v1.56.0

func (x *EncryptionSpec) Reset()

func (*EncryptionSpec) String added in v1.56.0

func (x *EncryptionSpec) String() string

type EncryptionSpecServiceClient added in v1.56.0

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewEncryptionSpecServiceClient added in v1.56.0

func NewEncryptionSpecServiceClient(cc grpc.ClientConnInterface) EncryptionSpecServiceClient

type EncryptionSpecServiceServer added in v1.56.0

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. All implementations should embed UnimplementedEncryptionSpecServiceServer for forward compatibility

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 `` /* 181-byte string literal not displayed */
	// 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 `` /* 127-byte string literal not displayed */
	// 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 deprecated

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 deprecated

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) Enum

func (EntityType_AutoExpansionMode) EnumDescriptor deprecated

func (EntityType_AutoExpansionMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use EntityType_AutoExpansionMode.Descriptor instead.

func (EntityType_AutoExpansionMode) Number

func (EntityType_AutoExpansionMode) String

func (EntityType_AutoExpansionMode) Type

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 deprecated

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) Enum

func (x EntityType_Kind) Enum() *EntityType_Kind

func (EntityType_Kind) EnumDescriptor deprecated

func (EntityType_Kind) EnumDescriptor() ([]byte, []int)

Deprecated: Use EntityType_Kind.Descriptor instead.

func (EntityType_Kind) Number

func (EntityType_Kind) String

func (x EntityType_Kind) String() string

func (EntityType_Kind) Type

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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. All implementations should embed UnimplementedEntityTypesServer for forward compatibility

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 deprecated

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 deprecated

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 deprecated

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) Enum

func (Environment_State) EnumDescriptor deprecated

func (Environment_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Environment_State.Descriptor instead.

func (Environment_State) Number

func (Environment_State) String

func (x Environment_State) String() string

func (Environment_State) Type

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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. All implementations should embed UnimplementedEnvironmentsServer for forward compatibility

type EvaluationStatus added in v1.71.0

type EvaluationStatus struct {

	// Output only. If the value is `false`, it means the evaluation is still in
	// progress. If `true`, the operation is completed, and either `error` or
	// `response` is available.
	Done *bool `protobuf:"varint,1,opt,name=done,proto3,oneof" json:"done,omitempty"`
	// Output only. The error result of the evaluation in case of failure in
	// evaluation pipeline.
	PipelineStatus *status.Status `protobuf:"bytes,2,opt,name=pipeline_status,json=pipelineStatus,proto3" json:"pipeline_status,omitempty"`
	// contains filtered or unexported fields
}

A common evalaution pipeline status.

func (*EvaluationStatus) Descriptor deprecated added in v1.71.0

func (*EvaluationStatus) Descriptor() ([]byte, []int)

Deprecated: Use EvaluationStatus.ProtoReflect.Descriptor instead.

func (*EvaluationStatus) GetDone added in v1.71.0

func (x *EvaluationStatus) GetDone() bool

func (*EvaluationStatus) GetPipelineStatus added in v1.71.0

func (x *EvaluationStatus) GetPipelineStatus() *status.Status

func (*EvaluationStatus) ProtoMessage added in v1.71.0

func (*EvaluationStatus) ProtoMessage()

func (*EvaluationStatus) ProtoReflect added in v1.71.0

func (x *EvaluationStatus) ProtoReflect() protoreflect.Message

func (*EvaluationStatus) Reset added in v1.71.0

func (x *EvaluationStatus) Reset()

func (*EvaluationStatus) String added in v1.71.0

func (x *EvaluationStatus) String() string

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 deprecated

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 deprecated

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 deprecated

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 `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Metadata related to the Export Data Operations (e.g. ExportDocument).

func (*ExportOperationMetadata) Descriptor deprecated

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 `` /* 157-byte string literal not displayed */
	// 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

func (*FaqAnswer) Descriptor() ([]byte, []int)

Deprecated: Use FaqAnswer.ProtoReflect.Descriptor instead.

func (*FaqAnswer) GetAnswer

func (x *FaqAnswer) GetAnswer() string

func (*FaqAnswer) GetAnswerRecord

func (x *FaqAnswer) GetAnswerRecord() string

func (*FaqAnswer) GetConfidence

func (x *FaqAnswer) GetConfidence() float32

func (*FaqAnswer) GetMetadata

func (x *FaqAnswer) GetMetadata() map[string]string

func (*FaqAnswer) GetQuestion

func (x *FaqAnswer) GetQuestion() string

func (*FaqAnswer) GetSource

func (x *FaqAnswer) GetSource() string

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

func (x *FaqAnswer) String() string

type FewShotExample added in v1.56.0

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 `` /* 176-byte string literal not displayed */
	// 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 deprecated added in v1.56.0

func (*FewShotExample) Descriptor() ([]byte, []int)

Deprecated: Use FewShotExample.ProtoReflect.Descriptor instead.

func (*FewShotExample) GetConversationContext added in v1.56.0

func (x *FewShotExample) GetConversationContext() *ConversationContext

func (*FewShotExample) GetExtraInfo added in v1.56.0

func (x *FewShotExample) GetExtraInfo() map[string]string

func (*FewShotExample) GetInstructionList added in v1.56.0

func (m *FewShotExample) GetInstructionList() isFewShotExample_InstructionList

func (*FewShotExample) GetOutput added in v1.56.0

func (x *FewShotExample) GetOutput() *GeneratorSuggestion

func (*FewShotExample) GetSummarizationSectionList added in v1.56.0

func (x *FewShotExample) GetSummarizationSectionList() *SummarizationSectionList

func (*FewShotExample) ProtoMessage added in v1.56.0

func (*FewShotExample) ProtoMessage()

func (*FewShotExample) ProtoReflect added in v1.56.0

func (x *FewShotExample) ProtoReflect() protoreflect.Message

func (*FewShotExample) Reset added in v1.56.0

func (x *FewShotExample) Reset()

func (*FewShotExample) String added in v1.56.0

func (x *FewShotExample) String() string

type FewShotExample_SummarizationSectionList added in v1.56.0

type FewShotExample_SummarizationSectionList struct {
	// Summarization sections.
	SummarizationSectionList *SummarizationSectionList `protobuf:"bytes,6,opt,name=summarization_section_list,json=summarizationSectionList,proto3,oneof"`
}

type FreeFormContext added in v1.68.0

type FreeFormContext struct {

	// Optional. Free form text input to LLM.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

Free form generator context that customer can configure.

func (*FreeFormContext) Descriptor deprecated added in v1.68.0

func (*FreeFormContext) Descriptor() ([]byte, []int)

Deprecated: Use FreeFormContext.ProtoReflect.Descriptor instead.

func (*FreeFormContext) GetText added in v1.68.0

func (x *FreeFormContext) GetText() string

func (*FreeFormContext) ProtoMessage added in v1.68.0

func (*FreeFormContext) ProtoMessage()

func (*FreeFormContext) ProtoReflect added in v1.68.0

func (x *FreeFormContext) ProtoReflect() protoreflect.Message

func (*FreeFormContext) Reset added in v1.68.0

func (x *FreeFormContext) Reset()

func (*FreeFormContext) String added in v1.68.0

func (x *FreeFormContext) String() string

type FreeFormSuggestion added in v1.68.0

type FreeFormSuggestion struct {

	// Required. Free form suggestion.
	Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

Suggestion generated using free form generator.

func (*FreeFormSuggestion) Descriptor deprecated added in v1.68.0

func (*FreeFormSuggestion) Descriptor() ([]byte, []int)

Deprecated: Use FreeFormSuggestion.ProtoReflect.Descriptor instead.

func (*FreeFormSuggestion) GetResponse added in v1.68.0

func (x *FreeFormSuggestion) GetResponse() string

func (*FreeFormSuggestion) ProtoMessage added in v1.68.0

func (*FreeFormSuggestion) ProtoMessage()

func (*FreeFormSuggestion) ProtoReflect added in v1.68.0

func (x *FreeFormSuggestion) ProtoReflect() protoreflect.Message

func (*FreeFormSuggestion) Reset added in v1.68.0

func (x *FreeFormSuggestion) Reset()

func (*FreeFormSuggestion) String added in v1.68.0

func (x *FreeFormSuggestion) String() string

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 deprecated

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 deprecated

func (*Fulfillment_Feature) Descriptor() ([]byte, []int)

Deprecated: Use Fulfillment_Feature.ProtoReflect.Descriptor instead.

func (*Fulfillment_Feature) GetType

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) Enum

func (Fulfillment_Feature_Type) EnumDescriptor deprecated

func (Fulfillment_Feature_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Fulfillment_Feature_Type.Descriptor instead.

func (Fulfillment_Feature_Type) Number

func (Fulfillment_Feature_Type) String

func (x Fulfillment_Feature_Type) String() string

func (Fulfillment_Feature_Type) Type

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 `` /* 191-byte string literal not displayed */
	// 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 deprecated

func (*Fulfillment_GenericWebService) Descriptor() ([]byte, []int)

Deprecated: Use Fulfillment_GenericWebService.ProtoReflect.Descriptor instead.

func (*Fulfillment_GenericWebService) GetIsCloudFunction deprecated

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 (*Fulfillment_GenericWebService) GetUsername

func (x *Fulfillment_GenericWebService) GetUsername() string

func (*Fulfillment_GenericWebService) ProtoMessage

func (*Fulfillment_GenericWebService) ProtoMessage()

func (*Fulfillment_GenericWebService) ProtoReflect

func (*Fulfillment_GenericWebService) Reset

func (x *Fulfillment_GenericWebService) Reset()

func (*Fulfillment_GenericWebService) 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

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. All implementations should embed UnimplementedFulfillmentsServer for forward compatibility

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 deprecated

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

func (*GcsSource) Descriptor() ([]byte, []int)

Deprecated: Use GcsSource.ProtoReflect.Descriptor instead.

func (*GcsSource) GetUri

func (x *GcsSource) GetUri() string

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

func (x *GcsSource) String() 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 deprecated

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 added in v1.56.0

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. A section of ingested context information. The key is the name of
	// the context reference and the value contains the contents of the context
	// reference. The key is used to incorporate ingested context references to
	// enhance the generator.
	ContextReferences map[string]*Conversation_ContextReference `` /* 200-byte string literal not displayed */
	// 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 `` /* 158-byte string literal not displayed */
	// Optional. Name of the CX SecuritySettings which is used to redact generated
	// response. If this field is empty, try to fetch v2 security_settings, which
	// is a project level setting. If this field is empty and no v2
	// security_settings set up in this project, no redaction will be done.
	//
	// Format:
	// `projects/<Project ID>/locations/<Location ID>/securitySettings/<Security
	// Settings ID>`.
	SecuritySettings string `protobuf:"bytes,8,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"`
	// contains filtered or unexported fields
}

The request message for [Conversations.GenerateStatelessSuggestion][google.cloud.dialogflow.v2beta1.Conversations.GenerateStatelessSuggestion].

func (*GenerateStatelessSuggestionRequest) Descriptor deprecated added in v1.56.0

func (*GenerateStatelessSuggestionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateStatelessSuggestionRequest.ProtoReflect.Descriptor instead.

func (*GenerateStatelessSuggestionRequest) GetContextReferences added in v1.68.0

func (*GenerateStatelessSuggestionRequest) GetConversationContext added in v1.56.0

func (x *GenerateStatelessSuggestionRequest) GetConversationContext() *ConversationContext

func (*GenerateStatelessSuggestionRequest) GetGenerator added in v1.56.0

func (x *GenerateStatelessSuggestionRequest) GetGenerator() *Generator

func (*GenerateStatelessSuggestionRequest) GetGeneratorName added in v1.56.0

func (x *GenerateStatelessSuggestionRequest) GetGeneratorName() string

func (*GenerateStatelessSuggestionRequest) GetGeneratorResource added in v1.56.0

func (m *GenerateStatelessSuggestionRequest) GetGeneratorResource() isGenerateStatelessSuggestionRequest_GeneratorResource

func (*GenerateStatelessSuggestionRequest) GetParent added in v1.56.0

func (*GenerateStatelessSuggestionRequest) GetSecuritySettings added in v1.71.0

func (x *GenerateStatelessSuggestionRequest) GetSecuritySettings() string

func (*GenerateStatelessSuggestionRequest) GetTriggerEvents added in v1.56.0

func (x *GenerateStatelessSuggestionRequest) GetTriggerEvents() []TriggerEvent

func (*GenerateStatelessSuggestionRequest) ProtoMessage added in v1.56.0

func (*GenerateStatelessSuggestionRequest) ProtoMessage()

func (*GenerateStatelessSuggestionRequest) ProtoReflect added in v1.56.0

func (*GenerateStatelessSuggestionRequest) Reset added in v1.56.0

func (*GenerateStatelessSuggestionRequest) String added in v1.56.0

type GenerateStatelessSuggestionRequest_Generator added in v1.56.0

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 added in v1.56.0

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 added in v1.56.0

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 deprecated added in v1.56.0

func (*GenerateStatelessSuggestionResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateStatelessSuggestionResponse.ProtoReflect.Descriptor instead.

func (*GenerateStatelessSuggestionResponse) GetGeneratorSuggestion added in v1.56.0

func (x *GenerateStatelessSuggestionResponse) GetGeneratorSuggestion() *GeneratorSuggestion

func (*GenerateStatelessSuggestionResponse) ProtoMessage added in v1.56.0

func (*GenerateStatelessSuggestionResponse) ProtoMessage()

func (*GenerateStatelessSuggestionResponse) ProtoReflect added in v1.56.0

func (*GenerateStatelessSuggestionResponse) Reset added in v1.56.0

func (*GenerateStatelessSuggestionResponse) String added in v1.56.0

type GenerateStatelessSummaryRequest added in v1.33.0

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 deprecated added in v1.33.0

func (*GenerateStatelessSummaryRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateStatelessSummaryRequest.ProtoReflect.Descriptor instead.

func (*GenerateStatelessSummaryRequest) GetConversationProfile added in v1.33.0

func (x *GenerateStatelessSummaryRequest) GetConversationProfile() *ConversationProfile

func (*GenerateStatelessSummaryRequest) GetLatestMessage added in v1.33.0

func (x *GenerateStatelessSummaryRequest) GetLatestMessage() string

func (*GenerateStatelessSummaryRequest) GetMaxContextSize added in v1.33.0

func (x *GenerateStatelessSummaryRequest) GetMaxContextSize() int32

func (*GenerateStatelessSummaryRequest) GetStatelessConversation added in v1.33.0

func (*GenerateStatelessSummaryRequest) ProtoMessage added in v1.33.0

func (*GenerateStatelessSummaryRequest) ProtoMessage()

func (*GenerateStatelessSummaryRequest) ProtoReflect added in v1.33.0

func (*GenerateStatelessSummaryRequest) Reset added in v1.33.0

func (*GenerateStatelessSummaryRequest) String added in v1.33.0

type GenerateStatelessSummaryRequest_MinimalConversation added in v1.33.0

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 deprecated added in v1.33.0

Deprecated: Use GenerateStatelessSummaryRequest_MinimalConversation.ProtoReflect.Descriptor instead.

func (*GenerateStatelessSummaryRequest_MinimalConversation) GetMessages added in v1.33.0

func (*GenerateStatelessSummaryRequest_MinimalConversation) GetParent added in v1.33.0

func (*GenerateStatelessSummaryRequest_MinimalConversation) ProtoMessage added in v1.33.0

func (*GenerateStatelessSummaryRequest_MinimalConversation) ProtoReflect added in v1.33.0

func (*GenerateStatelessSummaryRequest_MinimalConversation) Reset added in v1.33.0

func (*GenerateStatelessSummaryRequest_MinimalConversation) String added in v1.33.0

type GenerateStatelessSummaryResponse added in v1.33.0

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 deprecated added in v1.33.0

func (*GenerateStatelessSummaryResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateStatelessSummaryResponse.ProtoReflect.Descriptor instead.

func (*GenerateStatelessSummaryResponse) GetContextSize added in v1.33.0

func (x *GenerateStatelessSummaryResponse) GetContextSize() int32

func (*GenerateStatelessSummaryResponse) GetLatestMessage added in v1.33.0

func (x *GenerateStatelessSummaryResponse) GetLatestMessage() string

func (*GenerateStatelessSummaryResponse) GetSummary added in v1.33.0

func (*GenerateStatelessSummaryResponse) ProtoMessage added in v1.33.0

func (*GenerateStatelessSummaryResponse) ProtoMessage()

func (*GenerateStatelessSummaryResponse) ProtoReflect added in v1.33.0

func (*GenerateStatelessSummaryResponse) Reset added in v1.33.0

func (*GenerateStatelessSummaryResponse) String added in v1.33.0

type GenerateStatelessSummaryResponse_Summary added in v1.33.0

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 `` /* 185-byte string literal not displayed */
	// 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 deprecated added in v1.33.0

func (*GenerateStatelessSummaryResponse_Summary) Descriptor() ([]byte, []int)

Deprecated: Use GenerateStatelessSummaryResponse_Summary.ProtoReflect.Descriptor instead.

func (*GenerateStatelessSummaryResponse_Summary) GetBaselineModelVersion added in v1.42.0

func (x *GenerateStatelessSummaryResponse_Summary) GetBaselineModelVersion() string

func (*GenerateStatelessSummaryResponse_Summary) GetText added in v1.33.0

func (*GenerateStatelessSummaryResponse_Summary) GetTextSections added in v1.33.0

func (x *GenerateStatelessSummaryResponse_Summary) GetTextSections() map[string]string

func (*GenerateStatelessSummaryResponse_Summary) ProtoMessage added in v1.33.0

func (*GenerateStatelessSummaryResponse_Summary) ProtoReflect added in v1.33.0

func (*GenerateStatelessSummaryResponse_Summary) Reset added in v1.33.0

func (*GenerateStatelessSummaryResponse_Summary) String added in v1.33.0

type GenerateSuggestionsRequest added in v1.68.0

type GenerateSuggestionsRequest struct {

	// Required. The conversation for which the suggestions are generated. Format:
	// `projects/<Project ID>/locations/<Location
	// ID>/conversations/<Conversation ID>`.
	//
	// The conversation must be created with a conversation profile which has
	// generators configured in it to be able to get suggestions.
	Conversation string `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
	// Optional. The name of the latest conversation message for which the request
	// is triggered. 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. A list of trigger events. Only generators configured in the
	// conversation_profile whose trigger_event is listed here will be triggered.
	TriggerEvents []TriggerEvent `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

The request message for [Conversations.GenerateSuggestions][google.cloud.dialogflow.v2beta1.Conversations.GenerateSuggestions].

func (*GenerateSuggestionsRequest) Descriptor deprecated added in v1.68.0

func (*GenerateSuggestionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateSuggestionsRequest.ProtoReflect.Descriptor instead.

func (*GenerateSuggestionsRequest) GetConversation added in v1.68.0

func (x *GenerateSuggestionsRequest) GetConversation() string

func (*GenerateSuggestionsRequest) GetLatestMessage added in v1.68.0

func (x *GenerateSuggestionsRequest) GetLatestMessage() string

func (*GenerateSuggestionsRequest) GetTriggerEvents added in v1.68.0

func (x *GenerateSuggestionsRequest) GetTriggerEvents() []TriggerEvent

func (*GenerateSuggestionsRequest) ProtoMessage added in v1.68.0

func (*GenerateSuggestionsRequest) ProtoMessage()

func (*GenerateSuggestionsRequest) ProtoReflect added in v1.68.0

func (*GenerateSuggestionsRequest) Reset added in v1.68.0

func (x *GenerateSuggestionsRequest) Reset()

func (*GenerateSuggestionsRequest) String added in v1.68.0

func (x *GenerateSuggestionsRequest) String() string

type GenerateSuggestionsResponse added in v1.68.0

type GenerateSuggestionsResponse struct {

	// The answers generated for the conversation based on context.
	GeneratorSuggestionAnswers []*GenerateSuggestionsResponse_GeneratorSuggestionAnswer `` /* 141-byte string literal not displayed */
	// 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"`
	// contains filtered or unexported fields
}

The response message for [Conversations.GenerateSuggestions][google.cloud.dialogflow.v2beta1.Conversations.GenerateSuggestions].

func (*GenerateSuggestionsResponse) Descriptor deprecated added in v1.68.0

func (*GenerateSuggestionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateSuggestionsResponse.ProtoReflect.Descriptor instead.

func (*GenerateSuggestionsResponse) GetGeneratorSuggestionAnswers added in v1.68.0

func (*GenerateSuggestionsResponse) GetLatestMessage added in v1.68.0

func (x *GenerateSuggestionsResponse) GetLatestMessage() string

func (*GenerateSuggestionsResponse) ProtoMessage added in v1.68.0

func (*GenerateSuggestionsResponse) ProtoMessage()

func (*GenerateSuggestionsResponse) ProtoReflect added in v1.68.0

func (*GenerateSuggestionsResponse) Reset added in v1.68.0

func (x *GenerateSuggestionsResponse) Reset()

func (*GenerateSuggestionsResponse) String added in v1.68.0

func (x *GenerateSuggestionsResponse) String() string

type GenerateSuggestionsResponse_GeneratorSuggestionAnswer added in v1.68.0

type GenerateSuggestionsResponse_GeneratorSuggestionAnswer struct {

	// Suggestion details.
	GeneratorSuggestion *GeneratorSuggestion `protobuf:"bytes,1,opt,name=generator_suggestion,json=generatorSuggestion,proto3" json:"generator_suggestion,omitempty"`
	// The name of the generator used to generate this suggestion. Format:
	// `projects/<Project ID>/locations/<Location ID>/generators/<Generator
	// ID>`.
	SourceGenerator string `protobuf:"bytes,2,opt,name=source_generator,json=sourceGenerator,proto3" json:"source_generator,omitempty"`
	// Answer record that uniquely identifies the suggestion. This can be used
	// to provide suggestion feedback.
	AnswerRecord string `protobuf:"bytes,3,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"`
	// contains filtered or unexported fields
}

A GeneratorSuggestion answer.

func (*GenerateSuggestionsResponse_GeneratorSuggestionAnswer) Descriptor deprecated added in v1.68.0

Deprecated: Use GenerateSuggestionsResponse_GeneratorSuggestionAnswer.ProtoReflect.Descriptor instead.

func (*GenerateSuggestionsResponse_GeneratorSuggestionAnswer) GetAnswerRecord added in v1.68.0

func (*GenerateSuggestionsResponse_GeneratorSuggestionAnswer) GetGeneratorSuggestion added in v1.68.0

func (*GenerateSuggestionsResponse_GeneratorSuggestionAnswer) GetSourceGenerator added in v1.68.0

func (*GenerateSuggestionsResponse_GeneratorSuggestionAnswer) ProtoMessage added in v1.68.0

func (*GenerateSuggestionsResponse_GeneratorSuggestionAnswer) ProtoReflect added in v1.68.0

func (*GenerateSuggestionsResponse_GeneratorSuggestionAnswer) Reset added in v1.68.0

func (*GenerateSuggestionsResponse_GeneratorSuggestionAnswer) String added in v1.68.0

type Generator added in v1.56.0

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_FreeFormContext
	//	*Generator_AgentCoachingContext
	//	*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 `` /* 148-byte string literal not displayed */
	// The foundation model to use for generating suggestions. If a foundation
	// model isn't specified here, a model specifically tuned for the feature
	// type (and version when applicable) will be used.
	//
	// Types that are assignable to FoundationModel:
	//
	//	*Generator_PublishedModel
	FoundationModel isGenerator_FoundationModel `protobuf_oneof:"foundation_model"`
	// 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"`
	// Optional. Resource names of the tools that the generator can choose from.
	// Format: `projects/<Project ID>/locations/<Location ID>/tools/<tool ID>`.
	Tools []string `protobuf:"bytes,14,rep,name=tools,proto3" json:"tools,omitempty"`
	// Optional. Configuration for suggestion deduping. This is only applicable to
	// AI Coach feature.
	SuggestionDedupingConfig *SuggestionDedupingConfig `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

LLM generator.

func (*Generator) Descriptor deprecated added in v1.56.0

func (*Generator) Descriptor() ([]byte, []int)

Deprecated: Use Generator.ProtoReflect.Descriptor instead.

func (*Generator) GetAgentCoachingContext added in v1.71.0

func (x *Generator) GetAgentCoachingContext() *AgentCoachingContext

func (*Generator) GetContext added in v1.56.0

func (m *Generator) GetContext() isGenerator_Context

func (*Generator) GetCreateTime added in v1.56.0

func (x *Generator) GetCreateTime() *timestamppb.Timestamp

func (*Generator) GetDescription added in v1.56.0

func (x *Generator) GetDescription() string

func (*Generator) GetFoundationModel added in v1.68.0

func (m *Generator) GetFoundationModel() isGenerator_FoundationModel

func (*Generator) GetFreeFormContext added in v1.68.0

func (x *Generator) GetFreeFormContext() *FreeFormContext

func (*Generator) GetInferenceParameter added in v1.56.0

func (x *Generator) GetInferenceParameter() *InferenceParameter

func (*Generator) GetName added in v1.56.0

func (x *Generator) GetName() string

func (*Generator) GetPublishedModel added in v1.68.0

func (x *Generator) GetPublishedModel() string

func (*Generator) GetSuggestionDedupingConfig added in v1.71.0

func (x *Generator) GetSuggestionDedupingConfig() *SuggestionDedupingConfig

func (*Generator) GetSummarizationContext added in v1.56.0

func (x *Generator) GetSummarizationContext() *SummarizationContext

func (*Generator) GetTools added in v1.71.0

func (x *Generator) GetTools() []string

func (*Generator) GetTriggerEvent added in v1.56.0

func (x *Generator) GetTriggerEvent() TriggerEvent

func (*Generator) GetUpdateTime added in v1.56.0

func (x *Generator) GetUpdateTime() *timestamppb.Timestamp

func (*Generator) ProtoMessage added in v1.56.0

func (*Generator) ProtoMessage()

func (*Generator) ProtoReflect added in v1.56.0

func (x *Generator) ProtoReflect() protoreflect.Message

func (*Generator) Reset added in v1.56.0

func (x *Generator) Reset()

func (*Generator) String added in v1.56.0

func (x *Generator) String() string

type GeneratorEvaluation added in v1.71.0

type GeneratorEvaluation struct {

	// Output only. Identifier. The resource name of the evaluation. Format:
	// `projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>/
	// evaluations/<Evaluation ID>`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The display name of the generator evaluation. At most 64 bytes
	// long.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Required. The configuration of the evaluation task.
	GeneratorEvaluationConfig *GeneratorEvaluationConfig `` /* 138-byte string literal not displayed */
	// Output only. Creation time of this generator evaluation.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Completion time of this generator evaluation.
	CompleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=complete_time,json=completeTime,proto3" json:"complete_time,omitempty"`
	// Required. The initial generator that was used when creating this
	// evaluation. This is a copy of the generator read from storage when creating
	// the evaluation.
	InitialGenerator *Generator `protobuf:"bytes,5,opt,name=initial_generator,json=initialGenerator,proto3" json:"initial_generator,omitempty"`
	// Metrics details.
	//
	// Types that are assignable to Metrics:
	//
	//	*GeneratorEvaluation_SummarizationMetrics
	Metrics isGeneratorEvaluation_Metrics `protobuf_oneof:"metrics"`
	// Output only. The result status of the evaluation pipeline. Provides the
	// status information including if the evaluation is still in progress,
	// completed or failed with certain error and user actionable message.
	EvaluationStatus *EvaluationStatus `protobuf:"bytes,10,opt,name=evaluation_status,json=evaluationStatus,proto3" json:"evaluation_status,omitempty"`
	// Output only. A read only boolean field reflecting Zone Separation
	// status of the model. The field is an aggregated
	// value of ZS status of its underlying dependencies. See more details in
	// go/zicy-resource-placement#resource-status
	SatisfiesPzs *bool `protobuf:"varint,11,opt,name=satisfies_pzs,json=satisfiesPzs,proto3,oneof" json:"satisfies_pzs,omitempty"`
	// Output only. A read only boolean field reflecting Zone Isolation status
	// of the model. The field is an aggregated value of
	// ZI status of its underlying dependencies. See more details in
	// go/zicy-resource-placement#resource-status
	SatisfiesPzi *bool `protobuf:"varint,12,opt,name=satisfies_pzi,json=satisfiesPzi,proto3,oneof" json:"satisfies_pzi,omitempty"`
	// contains filtered or unexported fields
}

Represents evaluation result of a generator.

func (*GeneratorEvaluation) Descriptor deprecated added in v1.71.0

func (*GeneratorEvaluation) Descriptor() ([]byte, []int)

Deprecated: Use GeneratorEvaluation.ProtoReflect.Descriptor instead.

func (*GeneratorEvaluation) GetCompleteTime added in v1.71.0

func (x *GeneratorEvaluation) GetCompleteTime() *timestamppb.Timestamp

func (*GeneratorEvaluation) GetCreateTime added in v1.71.0

func (x *GeneratorEvaluation) GetCreateTime() *timestamppb.Timestamp

func (*GeneratorEvaluation) GetDisplayName added in v1.71.0

func (x *GeneratorEvaluation) GetDisplayName() string

func (*GeneratorEvaluation) GetEvaluationStatus added in v1.71.0

func (x *GeneratorEvaluation) GetEvaluationStatus() *EvaluationStatus

func (*GeneratorEvaluation) GetGeneratorEvaluationConfig added in v1.71.0

func (x *GeneratorEvaluation) GetGeneratorEvaluationConfig() *GeneratorEvaluationConfig

func (*GeneratorEvaluation) GetInitialGenerator added in v1.71.0

func (x *GeneratorEvaluation) GetInitialGenerator() *Generator

func (*GeneratorEvaluation) GetMetrics added in v1.71.0

func (m *GeneratorEvaluation) GetMetrics() isGeneratorEvaluation_Metrics

func (*GeneratorEvaluation) GetName added in v1.71.0

func (x *GeneratorEvaluation) GetName() string

func (*GeneratorEvaluation) GetSatisfiesPzi added in v1.71.0

func (x *GeneratorEvaluation) GetSatisfiesPzi() bool

func (*GeneratorEvaluation) GetSatisfiesPzs added in v1.71.0

func (x *GeneratorEvaluation) GetSatisfiesPzs() bool

func (*GeneratorEvaluation) GetSummarizationMetrics added in v1.71.0

func (x *GeneratorEvaluation) GetSummarizationMetrics() *SummarizationEvaluationMetrics

func (*GeneratorEvaluation) ProtoMessage added in v1.71.0

func (*GeneratorEvaluation) ProtoMessage()

func (*GeneratorEvaluation) ProtoReflect added in v1.71.0

func (x *GeneratorEvaluation) ProtoReflect() protoreflect.Message

func (*GeneratorEvaluation) Reset added in v1.71.0

func (x *GeneratorEvaluation) Reset()

func (*GeneratorEvaluation) String added in v1.71.0

func (x *GeneratorEvaluation) String() string

type GeneratorEvaluationConfig added in v1.71.0

type GeneratorEvaluationConfig struct {

	// Required. The config/source of input data.
	InputDataConfig *GeneratorEvaluationConfig_InputDataConfig `protobuf:"bytes,1,opt,name=input_data_config,json=inputDataConfig,proto3" json:"input_data_config,omitempty"`
	// Required. The output Cloud Storage bucket path to store eval files, e.g.
	// per_summary_accuracy_score report. This path is provided by customer and
	// files stored in it are visible to customer, no internal data should be
	// stored in this path.
	OutputGcsBucketPath string `protobuf:"bytes,2,opt,name=output_gcs_bucket_path,json=outputGcsBucketPath,proto3" json:"output_gcs_bucket_path,omitempty"`
	// Feature used for evaluation.
	//
	// Types that are assignable to EvaluationFeatureConfig:
	//
	//	*GeneratorEvaluationConfig_SummarizationConfig_
	EvaluationFeatureConfig isGeneratorEvaluationConfig_EvaluationFeatureConfig `protobuf_oneof:"evaluation_feature_config"`
	// contains filtered or unexported fields
}

Generator evaluation input config.

func (*GeneratorEvaluationConfig) Descriptor deprecated added in v1.71.0

func (*GeneratorEvaluationConfig) Descriptor() ([]byte, []int)

Deprecated: Use GeneratorEvaluationConfig.ProtoReflect.Descriptor instead.

func (*GeneratorEvaluationConfig) GetEvaluationFeatureConfig added in v1.71.0

func (m *GeneratorEvaluationConfig) GetEvaluationFeatureConfig() isGeneratorEvaluationConfig_EvaluationFeatureConfig

func (*GeneratorEvaluationConfig) GetInputDataConfig added in v1.71.0

func (*GeneratorEvaluationConfig) GetOutputGcsBucketPath added in v1.71.0

func (x *GeneratorEvaluationConfig) GetOutputGcsBucketPath() string

func (*GeneratorEvaluationConfig) GetSummarizationConfig added in v1.71.0

func (*GeneratorEvaluationConfig) ProtoMessage added in v1.71.0

func (*GeneratorEvaluationConfig) ProtoMessage()

func (*GeneratorEvaluationConfig) ProtoReflect added in v1.71.0

func (*GeneratorEvaluationConfig) Reset added in v1.71.0

func (x *GeneratorEvaluationConfig) Reset()

func (*GeneratorEvaluationConfig) String added in v1.71.0

func (x *GeneratorEvaluationConfig) String() string

type GeneratorEvaluationConfig_AgentAssistInputDataConfig added in v1.71.0

type GeneratorEvaluationConfig_AgentAssistInputDataConfig struct {

	// Required. The start of the time range for conversations to be evaluated.
	// Only conversations created at or after this timestamp will be sampled.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Required. The end of the time range for conversations to be evaluated.
	// Only conversations ended at or before this timestamp will be sampled.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

The distinctive configs for Agent Assist conversations as the conversation source.

func (*GeneratorEvaluationConfig_AgentAssistInputDataConfig) Descriptor deprecated added in v1.71.0

Deprecated: Use GeneratorEvaluationConfig_AgentAssistInputDataConfig.ProtoReflect.Descriptor instead.

func (*GeneratorEvaluationConfig_AgentAssistInputDataConfig) GetEndTime added in v1.71.0

func (*GeneratorEvaluationConfig_AgentAssistInputDataConfig) GetStartTime added in v1.71.0

func (*GeneratorEvaluationConfig_AgentAssistInputDataConfig) ProtoMessage added in v1.71.0

func (*GeneratorEvaluationConfig_AgentAssistInputDataConfig) ProtoReflect added in v1.71.0

func (*GeneratorEvaluationConfig_AgentAssistInputDataConfig) Reset added in v1.71.0

func (*GeneratorEvaluationConfig_AgentAssistInputDataConfig) String added in v1.71.0

type GeneratorEvaluationConfig_DatasetInputDataConfig added in v1.71.0

type GeneratorEvaluationConfig_DatasetInputDataConfig struct {

	// Required. The identifier of the dataset to be evaluated.
	// Format:
	// `projects/<ProjectId>/locations/<LocationID>/datasets/<DatasetID>`.
	Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
	// contains filtered or unexported fields
}

The distinctive configs for dataset as the conversation source.

func (*GeneratorEvaluationConfig_DatasetInputDataConfig) Descriptor deprecated added in v1.71.0

Deprecated: Use GeneratorEvaluationConfig_DatasetInputDataConfig.ProtoReflect.Descriptor instead.

func (*GeneratorEvaluationConfig_DatasetInputDataConfig) GetDataset added in v1.71.0

func (*GeneratorEvaluationConfig_DatasetInputDataConfig) ProtoMessage added in v1.71.0

func (*GeneratorEvaluationConfig_DatasetInputDataConfig) ProtoReflect added in v1.71.0

func (*GeneratorEvaluationConfig_DatasetInputDataConfig) Reset added in v1.71.0

func (*GeneratorEvaluationConfig_DatasetInputDataConfig) String added in v1.71.0

type GeneratorEvaluationConfig_InputDataConfig added in v1.71.0

type GeneratorEvaluationConfig_InputDataConfig struct {

	// Required. The source type of input data.
	//
	// Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/generator_evaluation.proto.
	InputDataSourceType GeneratorEvaluationConfig_InputDataSourceType `` /* 206-byte string literal not displayed */
	// Optional. The start timestamp to fetch conversation data.
	//
	// Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/generator_evaluation.proto.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Optional. The end timestamp to fetch conversation data.
	//
	// Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/generator_evaluation.proto.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Optional. Desired number of conversation-summary pairs to be evaluated.
	SampleSize int32 `protobuf:"varint,4,opt,name=sample_size,json=sampleSize,proto3" json:"sample_size,omitempty"`
	// Optional. Whether the summary generation is allowed when the pre-existing
	// qualified summaries are insufficient to cover the sample size.
	//
	// Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/generator_evaluation.proto.
	IsSummaryGenerationAllowed bool `` /* 144-byte string literal not displayed */
	// Optional. Option to control whether summaries are generated during
	// evaluation.
	SummaryGenerationOption GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption `` /* 236-byte string literal not displayed */
	// The source specific config for the input data.
	//
	// Types that are assignable to SourceSpecificConfig:
	//
	//	*GeneratorEvaluationConfig_InputDataConfig_AgentAssistInputDataConfig
	//	*GeneratorEvaluationConfig_InputDataConfig_DatasetInputDataConfig
	SourceSpecificConfig isGeneratorEvaluationConfig_InputDataConfig_SourceSpecificConfig `protobuf_oneof:"source_specific_config"`
	// contains filtered or unexported fields
}

Input data config details

func (*GeneratorEvaluationConfig_InputDataConfig) Descriptor deprecated added in v1.71.0

func (*GeneratorEvaluationConfig_InputDataConfig) Descriptor() ([]byte, []int)

Deprecated: Use GeneratorEvaluationConfig_InputDataConfig.ProtoReflect.Descriptor instead.

func (*GeneratorEvaluationConfig_InputDataConfig) GetAgentAssistInputDataConfig added in v1.71.0

func (*GeneratorEvaluationConfig_InputDataConfig) GetDatasetInputDataConfig added in v1.71.0

func (*GeneratorEvaluationConfig_InputDataConfig) GetEndTime deprecated added in v1.71.0

Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/generator_evaluation.proto.

func (*GeneratorEvaluationConfig_InputDataConfig) GetInputDataSourceType deprecated added in v1.71.0

Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/generator_evaluation.proto.

func (*GeneratorEvaluationConfig_InputDataConfig) GetIsSummaryGenerationAllowed deprecated added in v1.71.0

func (x *GeneratorEvaluationConfig_InputDataConfig) GetIsSummaryGenerationAllowed() bool

Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/generator_evaluation.proto.

func (*GeneratorEvaluationConfig_InputDataConfig) GetSampleSize added in v1.71.0

func (*GeneratorEvaluationConfig_InputDataConfig) GetSourceSpecificConfig added in v1.71.0

func (m *GeneratorEvaluationConfig_InputDataConfig) GetSourceSpecificConfig() isGeneratorEvaluationConfig_InputDataConfig_SourceSpecificConfig

func (*GeneratorEvaluationConfig_InputDataConfig) GetStartTime deprecated added in v1.71.0

Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/generator_evaluation.proto.

func (*GeneratorEvaluationConfig_InputDataConfig) GetSummaryGenerationOption added in v1.71.0

func (*GeneratorEvaluationConfig_InputDataConfig) ProtoMessage added in v1.71.0

func (*GeneratorEvaluationConfig_InputDataConfig) ProtoReflect added in v1.71.0

func (*GeneratorEvaluationConfig_InputDataConfig) Reset added in v1.71.0

func (*GeneratorEvaluationConfig_InputDataConfig) String added in v1.71.0

type GeneratorEvaluationConfig_InputDataConfig_AgentAssistInputDataConfig added in v1.71.0

type GeneratorEvaluationConfig_InputDataConfig_AgentAssistInputDataConfig struct {
	// The distinctive configs for Agent Assist conversations as the
	// conversation source.
	AgentAssistInputDataConfig *GeneratorEvaluationConfig_AgentAssistInputDataConfig `protobuf:"bytes,6,opt,name=agent_assist_input_data_config,json=agentAssistInputDataConfig,proto3,oneof"`
}

type GeneratorEvaluationConfig_InputDataConfig_DatasetInputDataConfig added in v1.71.0

type GeneratorEvaluationConfig_InputDataConfig_DatasetInputDataConfig struct {
	// The distinctive configs for dataset as the conversation source.
	DatasetInputDataConfig *GeneratorEvaluationConfig_DatasetInputDataConfig `protobuf:"bytes,7,opt,name=dataset_input_data_config,json=datasetInputDataConfig,proto3,oneof"`
}

type GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption added in v1.71.0

type GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption int32

Summary generation options.

const (
	// Default option will not be used
	GeneratorEvaluationConfig_InputDataConfig_SUMMARY_GENERATION_OPTION_UNSPECIFIED GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption = 0
	// Always Generate summary for all conversations.
	GeneratorEvaluationConfig_InputDataConfig_ALWAYS_GENERATE GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption = 1
	// Gnerate only missing summaries.
	GeneratorEvaluationConfig_InputDataConfig_GENERATE_IF_MISSING GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption = 2
	// Do not generate new summaries. Only use existing summaries found.
	GeneratorEvaluationConfig_InputDataConfig_DO_NOT_GENERATE GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption = 3
)

func (GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption) Descriptor added in v1.71.0

func (GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption) Enum added in v1.71.0

func (GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption) EnumDescriptor deprecated added in v1.71.0

Deprecated: Use GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption.Descriptor instead.

func (GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption) Number added in v1.71.0

func (GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption) String added in v1.71.0

func (GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption) Type added in v1.71.0

type GeneratorEvaluationConfig_InputDataSourceType added in v1.71.0

type GeneratorEvaluationConfig_InputDataSourceType int32

Enumeration of input data source type.

const (
	// Unspecified InputDataSourceType. Should not be used.
	GeneratorEvaluationConfig_INPUT_DATA_SOURCE_TYPE_UNSPECIFIED GeneratorEvaluationConfig_InputDataSourceType = 0
	// Fetch data from Agent Assist storage. If this source type is chosen,
	// input_data_config.start_time and input_data_config.end_timestamp must be
	// provided.
	GeneratorEvaluationConfig_AGENT_ASSIST_CONVERSATIONS GeneratorEvaluationConfig_InputDataSourceType = 1
	// Fetch data from Insights storage. If this source type is chosen,
	// input_data_config.start_time and input_data_config.end_timestamp must be
	// provided.
	GeneratorEvaluationConfig_INSIGHTS_CONVERSATIONS GeneratorEvaluationConfig_InputDataSourceType = 2
)

func (GeneratorEvaluationConfig_InputDataSourceType) Descriptor added in v1.71.0

func (GeneratorEvaluationConfig_InputDataSourceType) Enum added in v1.71.0

func (GeneratorEvaluationConfig_InputDataSourceType) EnumDescriptor deprecated added in v1.71.0

func (GeneratorEvaluationConfig_InputDataSourceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use GeneratorEvaluationConfig_InputDataSourceType.Descriptor instead.

func (GeneratorEvaluationConfig_InputDataSourceType) Number added in v1.71.0

func (GeneratorEvaluationConfig_InputDataSourceType) String added in v1.71.0

func (GeneratorEvaluationConfig_InputDataSourceType) Type added in v1.71.0

type GeneratorEvaluationConfig_SummarizationConfig added in v1.71.0

type GeneratorEvaluationConfig_SummarizationConfig struct {

	// Optional. Enable accuracy evaluation.
	//
	// Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/generator_evaluation.proto.
	EnableAccuracyEvaluation bool `` /* 136-byte string literal not displayed */
	// Optional. Version for summarization accuracy. This will determine the
	// prompt and model used at backend.
	//
	// Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/generator_evaluation.proto.
	AccuracyEvaluationVersion string `` /* 138-byte string literal not displayed */
	// Optional. Enable completeness evaluation.
	//
	// Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/generator_evaluation.proto.
	EnableCompletenessEvaluation bool `` /* 148-byte string literal not displayed */
	// Optional. Version for summarization completeness. This will determine the
	// prompt and model used at backend.
	//
	// Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/generator_evaluation.proto.
	CompletenessEvaluationVersion string `` /* 150-byte string literal not displayed */
	// Optional. Version for summarization evaluation.
	EvaluatorVersion *string `protobuf:"bytes,5,opt,name=evaluator_version,json=evaluatorVersion,proto3,oneof" json:"evaluator_version,omitempty"`
	// contains filtered or unexported fields
}

Evaluation configs for summarization generator.

func (*GeneratorEvaluationConfig_SummarizationConfig) Descriptor deprecated added in v1.71.0

Deprecated: Use GeneratorEvaluationConfig_SummarizationConfig.ProtoReflect.Descriptor instead.

func (*GeneratorEvaluationConfig_SummarizationConfig) GetAccuracyEvaluationVersion deprecated added in v1.71.0

func (x *GeneratorEvaluationConfig_SummarizationConfig) GetAccuracyEvaluationVersion() string

Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/generator_evaluation.proto.

func (*GeneratorEvaluationConfig_SummarizationConfig) GetCompletenessEvaluationVersion deprecated added in v1.71.0

func (x *GeneratorEvaluationConfig_SummarizationConfig) GetCompletenessEvaluationVersion() string

Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/generator_evaluation.proto.

func (*GeneratorEvaluationConfig_SummarizationConfig) GetEnableAccuracyEvaluation deprecated added in v1.71.0

func (x *GeneratorEvaluationConfig_SummarizationConfig) GetEnableAccuracyEvaluation() bool

Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/generator_evaluation.proto.

func (*GeneratorEvaluationConfig_SummarizationConfig) GetEnableCompletenessEvaluation deprecated added in v1.71.0

func (x *GeneratorEvaluationConfig_SummarizationConfig) GetEnableCompletenessEvaluation() bool

Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/generator_evaluation.proto.

func (*GeneratorEvaluationConfig_SummarizationConfig) GetEvaluatorVersion added in v1.71.0

func (x *GeneratorEvaluationConfig_SummarizationConfig) GetEvaluatorVersion() string

func (*GeneratorEvaluationConfig_SummarizationConfig) ProtoMessage added in v1.71.0

func (*GeneratorEvaluationConfig_SummarizationConfig) ProtoReflect added in v1.71.0

func (*GeneratorEvaluationConfig_SummarizationConfig) Reset added in v1.71.0

func (*GeneratorEvaluationConfig_SummarizationConfig) String added in v1.71.0

type GeneratorEvaluationConfig_SummarizationConfig_ added in v1.71.0

type GeneratorEvaluationConfig_SummarizationConfig_ struct {
	// Evaluation configs for summarization generator.
	SummarizationConfig *GeneratorEvaluationConfig_SummarizationConfig `protobuf:"bytes,3,opt,name=summarization_config,json=summarizationConfig,proto3,oneof"`
}

type GeneratorEvaluationOperationMetadata added in v1.71.0

type GeneratorEvaluationOperationMetadata struct {

	// Output only. The resource name of the generator evaluation. Format:
	// `projects/<Project ID>/locations/<Location
	// ID>/generators/<Generator ID>/evaluations/<Evaluation ID>`
	GeneratorEvaluation string `protobuf:"bytes,1,opt,name=generator_evaluation,json=generatorEvaluation,proto3" json:"generator_evaluation,omitempty"`
	// contains filtered or unexported fields
}

Metadata for a [GeneratorEvaluations.CreateGeneratorEvaluation][google.cloud.dialogflow.v2beta1.GeneratorEvaluations.CreateGeneratorEvaluation] operation.

func (*GeneratorEvaluationOperationMetadata) Descriptor deprecated added in v1.71.0

func (*GeneratorEvaluationOperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use GeneratorEvaluationOperationMetadata.ProtoReflect.Descriptor instead.

func (*GeneratorEvaluationOperationMetadata) GetGeneratorEvaluation added in v1.71.0

func (x *GeneratorEvaluationOperationMetadata) GetGeneratorEvaluation() string

func (*GeneratorEvaluationOperationMetadata) ProtoMessage added in v1.71.0

func (*GeneratorEvaluationOperationMetadata) ProtoMessage()

func (*GeneratorEvaluationOperationMetadata) ProtoReflect added in v1.71.0

func (*GeneratorEvaluationOperationMetadata) Reset added in v1.71.0

func (*GeneratorEvaluationOperationMetadata) String added in v1.71.0

type GeneratorEvaluation_SummarizationMetrics added in v1.71.0

type GeneratorEvaluation_SummarizationMetrics struct {
	// Output only. Only available when the summarization generator is provided.
	SummarizationMetrics *SummarizationEvaluationMetrics `protobuf:"bytes,6,opt,name=summarization_metrics,json=summarizationMetrics,proto3,oneof"`
}

type GeneratorEvaluationsClient added in v1.71.0

type GeneratorEvaluationsClient interface {
	// Creates evaluation of a generator.
	CreateGeneratorEvaluation(ctx context.Context, in *CreateGeneratorEvaluationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets an evaluation of generator.
	GetGeneratorEvaluation(ctx context.Context, in *GetGeneratorEvaluationRequest, opts ...grpc.CallOption) (*GeneratorEvaluation, error)
	// Lists evaluations of generator.
	ListGeneratorEvaluations(ctx context.Context, in *ListGeneratorEvaluationsRequest, opts ...grpc.CallOption) (*ListGeneratorEvaluationsResponse, error)
	// Deletes an evaluation of generator.
	DeleteGeneratorEvaluation(ctx context.Context, in *DeleteGeneratorEvaluationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

GeneratorEvaluationsClient is the client API for GeneratorEvaluations service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewGeneratorEvaluationsClient added in v1.71.0

func NewGeneratorEvaluationsClient(cc grpc.ClientConnInterface) GeneratorEvaluationsClient

type GeneratorEvaluationsServer added in v1.71.0

type GeneratorEvaluationsServer interface {
	// Creates evaluation of a generator.
	CreateGeneratorEvaluation(context.Context, *CreateGeneratorEvaluationRequest) (*longrunningpb.Operation, error)
	// Gets an evaluation of generator.
	GetGeneratorEvaluation(context.Context, *GetGeneratorEvaluationRequest) (*GeneratorEvaluation, error)
	// Lists evaluations of generator.
	ListGeneratorEvaluations(context.Context, *ListGeneratorEvaluationsRequest) (*ListGeneratorEvaluationsResponse, error)
	// Deletes an evaluation of generator.
	DeleteGeneratorEvaluation(context.Context, *DeleteGeneratorEvaluationRequest) (*emptypb.Empty, error)
}

GeneratorEvaluationsServer is the server API for GeneratorEvaluations service. All implementations should embed UnimplementedGeneratorEvaluationsServer for forward compatibility

type GeneratorSuggestion added in v1.56.0

type GeneratorSuggestion struct {

	// The suggestion could be one of the many types
	//
	// Types that are assignable to Suggestion:
	//
	//	*GeneratorSuggestion_FreeFormSuggestion
	//	*GeneratorSuggestion_SummarySuggestion
	//	*GeneratorSuggestion_AgentCoachingSuggestion
	Suggestion isGeneratorSuggestion_Suggestion `protobuf_oneof:"suggestion"`
	// Optional. List of request and response for tool calls executed.
	ToolCallInfo []*GeneratorSuggestion_ToolCallInfo `protobuf:"bytes,9,rep,name=tool_call_info,json=toolCallInfo,proto3" json:"tool_call_info,omitempty"`
	// contains filtered or unexported fields
}

Suggestion generated using a Generator.

func (*GeneratorSuggestion) Descriptor deprecated added in v1.56.0

func (*GeneratorSuggestion) Descriptor() ([]byte, []int)

Deprecated: Use GeneratorSuggestion.ProtoReflect.Descriptor instead.

func (*GeneratorSuggestion) GetAgentCoachingSuggestion added in v1.71.0

func (x *GeneratorSuggestion) GetAgentCoachingSuggestion() *AgentCoachingSuggestion

func (*GeneratorSuggestion) GetFreeFormSuggestion added in v1.68.0

func (x *GeneratorSuggestion) GetFreeFormSuggestion() *FreeFormSuggestion

func (*GeneratorSuggestion) GetSuggestion added in v1.56.0

func (m *GeneratorSuggestion) GetSuggestion() isGeneratorSuggestion_Suggestion

func (*GeneratorSuggestion) GetSummarySuggestion added in v1.56.0

func (x *GeneratorSuggestion) GetSummarySuggestion() *SummarySuggestion

func (*GeneratorSuggestion) GetToolCallInfo added in v1.71.0

func (x *GeneratorSuggestion) GetToolCallInfo() []*GeneratorSuggestion_ToolCallInfo

func (*GeneratorSuggestion) ProtoMessage added in v1.56.0

func (*GeneratorSuggestion) ProtoMessage()

func (*GeneratorSuggestion) ProtoReflect added in v1.56.0

func (x *GeneratorSuggestion) ProtoReflect() protoreflect.Message

func (*GeneratorSuggestion) Reset added in v1.56.0

func (x *GeneratorSuggestion) Reset()

func (*GeneratorSuggestion) String added in v1.56.0

func (x *GeneratorSuggestion) String() string

type GeneratorSuggestion_AgentCoachingSuggestion added in v1.71.0

type GeneratorSuggestion_AgentCoachingSuggestion struct {
	// Optional. Suggestion to coach the agent.
	AgentCoachingSuggestion *AgentCoachingSuggestion `protobuf:"bytes,3,opt,name=agent_coaching_suggestion,json=agentCoachingSuggestion,proto3,oneof"`
}

type GeneratorSuggestion_FreeFormSuggestion added in v1.68.0

type GeneratorSuggestion_FreeFormSuggestion struct {
	// Optional. Free form suggestion.
	FreeFormSuggestion *FreeFormSuggestion `protobuf:"bytes,1,opt,name=free_form_suggestion,json=freeFormSuggestion,proto3,oneof"`
}

type GeneratorSuggestion_SummarySuggestion added in v1.56.0

type GeneratorSuggestion_SummarySuggestion struct {
	// Optional. Suggested summary.
	SummarySuggestion *SummarySuggestion `protobuf:"bytes,2,opt,name=summary_suggestion,json=summarySuggestion,proto3,oneof"`
}

type GeneratorSuggestion_ToolCallInfo added in v1.71.0

type GeneratorSuggestion_ToolCallInfo struct {

	// Required. Request for a tool call.
	ToolCall *ToolCall `protobuf:"bytes,1,opt,name=tool_call,json=toolCall,proto3" json:"tool_call,omitempty"`
	// Required. Response for a tool call.
	ToolCallResult *ToolCallResult `protobuf:"bytes,2,opt,name=tool_call_result,json=toolCallResult,proto3" json:"tool_call_result,omitempty"`
	// contains filtered or unexported fields
}

Request and response for a tool call.

func (*GeneratorSuggestion_ToolCallInfo) Descriptor deprecated added in v1.71.0

func (*GeneratorSuggestion_ToolCallInfo) Descriptor() ([]byte, []int)

Deprecated: Use GeneratorSuggestion_ToolCallInfo.ProtoReflect.Descriptor instead.

func (*GeneratorSuggestion_ToolCallInfo) GetToolCall added in v1.71.0

func (x *GeneratorSuggestion_ToolCallInfo) GetToolCall() *ToolCall

func (*GeneratorSuggestion_ToolCallInfo) GetToolCallResult added in v1.71.0

func (x *GeneratorSuggestion_ToolCallInfo) GetToolCallResult() *ToolCallResult

func (*GeneratorSuggestion_ToolCallInfo) ProtoMessage added in v1.71.0

func (*GeneratorSuggestion_ToolCallInfo) ProtoMessage()

func (*GeneratorSuggestion_ToolCallInfo) ProtoReflect added in v1.71.0

func (*GeneratorSuggestion_ToolCallInfo) Reset added in v1.71.0

func (*GeneratorSuggestion_ToolCallInfo) String added in v1.71.0

type Generator_AgentCoachingContext added in v1.71.0

type Generator_AgentCoachingContext struct {
	// Input of Agent Coaching feature.
	AgentCoachingContext *AgentCoachingContext `protobuf:"bytes,12,opt,name=agent_coaching_context,json=agentCoachingContext,proto3,oneof"`
}

type Generator_FreeFormContext added in v1.68.0

type Generator_FreeFormContext struct {
	// Input of free from generator to LLM.
	FreeFormContext *FreeFormContext `protobuf:"bytes,11,opt,name=free_form_context,json=freeFormContext,proto3,oneof"`
}

type Generator_PublishedModel added in v1.68.0

type Generator_PublishedModel struct {
	// Optional. The published Large Language Model name.
	//   - To use the latest model version, specify the model name without version
	//     number. Example: `text-bison`
	//   - To use a stable model version, specify the version number as well.
	//     Example: `text-bison@002`.
	PublishedModel string `protobuf:"bytes,15,opt,name=published_model,json=publishedModel,proto3,oneof"`
}

type Generator_SummarizationContext added in v1.56.0

type Generator_SummarizationContext struct {
	// Input of Summarization feature.
	SummarizationContext *SummarizationContext `protobuf:"bytes,13,opt,name=summarization_context,json=summarizationContext,proto3,oneof"`
}

type GeneratorsClient added in v1.56.0

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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewGeneratorsClient added in v1.56.0

func NewGeneratorsClient(cc grpc.ClientConnInterface) GeneratorsClient

type GeneratorsServer added in v1.56.0

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. All implementations should embed UnimplementedGeneratorsServer for forward compatibility

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 deprecated

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 deprecated

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 deprecated

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 deprecated

func (*GetConversationProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetConversationProfileRequest.ProtoReflect.Descriptor instead.

func (*GetConversationProfileRequest) GetName

func (*GetConversationProfileRequest) ProtoMessage

func (*GetConversationProfileRequest) ProtoMessage()

func (*GetConversationProfileRequest) ProtoReflect

func (*GetConversationProfileRequest) Reset

func (x *GetConversationProfileRequest) Reset()

func (*GetConversationProfileRequest) 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 deprecated

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 deprecated

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 added in v1.56.0

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 deprecated added in v1.56.0

func (*GetEncryptionSpecRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetEncryptionSpecRequest.ProtoReflect.Descriptor instead.

func (*GetEncryptionSpecRequest) GetName added in v1.56.0

func (x *GetEncryptionSpecRequest) GetName() string

func (*GetEncryptionSpecRequest) ProtoMessage added in v1.56.0

func (*GetEncryptionSpecRequest) ProtoMessage()

func (*GetEncryptionSpecRequest) ProtoReflect added in v1.56.0

func (x *GetEncryptionSpecRequest) ProtoReflect() protoreflect.Message

func (*GetEncryptionSpecRequest) Reset added in v1.56.0

func (x *GetEncryptionSpecRequest) Reset()

func (*GetEncryptionSpecRequest) String added in v1.56.0

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 deprecated

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 deprecated

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 (*GetEnvironmentHistoryRequest) Reset

func (x *GetEnvironmentHistoryRequest) Reset()

func (*GetEnvironmentHistoryRequest) 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 deprecated

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 deprecated

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 GetGeneratorEvaluationRequest added in v1.71.0

type GetGeneratorEvaluationRequest struct {

	// Required. The generator evaluation resource name. Format:
	// `projects/<Project ID>/locations/<Location ID>/generators/<Generator
	// ID>/evaluations/<Evaluation ID>`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request of GetGeneratorEvaluation.

func (*GetGeneratorEvaluationRequest) Descriptor deprecated added in v1.71.0

func (*GetGeneratorEvaluationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetGeneratorEvaluationRequest.ProtoReflect.Descriptor instead.

func (*GetGeneratorEvaluationRequest) GetName added in v1.71.0

func (*GetGeneratorEvaluationRequest) ProtoMessage added in v1.71.0

func (*GetGeneratorEvaluationRequest) ProtoMessage()

func (*GetGeneratorEvaluationRequest) ProtoReflect added in v1.71.0

func (*GetGeneratorEvaluationRequest) Reset added in v1.71.0

func (x *GetGeneratorEvaluationRequest) Reset()

func (*GetGeneratorEvaluationRequest) String added in v1.71.0

type GetGeneratorRequest added in v1.56.0

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 deprecated added in v1.56.0

func (*GetGeneratorRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetGeneratorRequest.ProtoReflect.Descriptor instead.

func (*GetGeneratorRequest) GetName added in v1.56.0

func (x *GetGeneratorRequest) GetName() string

func (*GetGeneratorRequest) ProtoMessage added in v1.56.0

func (*GetGeneratorRequest) ProtoMessage()

func (*GetGeneratorRequest) ProtoReflect added in v1.56.0

func (x *GetGeneratorRequest) ProtoReflect() protoreflect.Message

func (*GetGeneratorRequest) Reset added in v1.56.0

func (x *GetGeneratorRequest) Reset()

func (*GetGeneratorRequest) String added in v1.56.0

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 `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

The request message for [Intents.GetIntent][google.cloud.dialogflow.v2beta1.Intents.GetIntent].

func (*GetIntentRequest) Descriptor deprecated

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 deprecated

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 deprecated

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 deprecated

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 (*GetSessionEntityTypeRequest) Reset

func (x *GetSessionEntityTypeRequest) Reset()

func (*GetSessionEntityTypeRequest) String

func (x *GetSessionEntityTypeRequest) String() string

type GetSipTrunkRequest added in v1.60.0

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 deprecated added in v1.60.0

func (*GetSipTrunkRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSipTrunkRequest.ProtoReflect.Descriptor instead.

func (*GetSipTrunkRequest) GetName added in v1.60.0

func (x *GetSipTrunkRequest) GetName() string

func (*GetSipTrunkRequest) ProtoMessage added in v1.60.0

func (*GetSipTrunkRequest) ProtoMessage()

func (*GetSipTrunkRequest) ProtoReflect added in v1.60.0

func (x *GetSipTrunkRequest) ProtoReflect() protoreflect.Message

func (*GetSipTrunkRequest) Reset added in v1.60.0

func (x *GetSipTrunkRequest) Reset()

func (*GetSipTrunkRequest) String added in v1.60.0

func (x *GetSipTrunkRequest) String() string

type GetToolRequest added in v1.71.0

type GetToolRequest struct {

	// Required. The tool resource name to retrieve. Format:
	// `projects/<Project ID>/locations/<Location ID>/tools/<Tool ID>`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message of GetTool.

func (*GetToolRequest) Descriptor deprecated added in v1.71.0

func (*GetToolRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetToolRequest.ProtoReflect.Descriptor instead.

func (*GetToolRequest) GetName added in v1.71.0

func (x *GetToolRequest) GetName() string

func (*GetToolRequest) ProtoMessage added in v1.71.0

func (*GetToolRequest) ProtoMessage()

func (*GetToolRequest) ProtoReflect added in v1.71.0

func (x *GetToolRequest) ProtoReflect() protoreflect.Message

func (*GetToolRequest) Reset added in v1.71.0

func (x *GetToolRequest) Reset()

func (*GetToolRequest) String added in v1.71.0

func (x *GetToolRequest) 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 deprecated

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 (*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 deprecated

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 `` /* 143-byte string literal not displayed */
	// Configuration for agent assistance of end user participant.
	//
	// Currently, this feature is not general available, please contact Google
	// to get access.
	EndUserSuggestionConfig *HumanAgentAssistantConfig_SuggestionConfig `` /* 134-byte string literal not displayed */
	// Configuration for message analysis.
	MessageAnalysisConfig *HumanAgentAssistantConfig_MessageAnalysisConfig `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines the Human Agent Assistant to connect to a conversation.

func (*HumanAgentAssistantConfig) Descriptor deprecated

func (*HumanAgentAssistantConfig) Descriptor() ([]byte, []int)

Deprecated: Use HumanAgentAssistantConfig.ProtoReflect.Descriptor instead.

func (*HumanAgentAssistantConfig) GetEndUserSuggestionConfig

func (*HumanAgentAssistantConfig) GetHumanAgentSuggestionConfig

func (x *HumanAgentAssistantConfig) GetHumanAgentSuggestionConfig() *HumanAgentAssistantConfig_SuggestionConfig

func (*HumanAgentAssistantConfig) GetMessageAnalysisConfig

func (*HumanAgentAssistantConfig) GetNotificationConfig

func (x *HumanAgentAssistantConfig) GetNotificationConfig() *NotificationConfig

func (*HumanAgentAssistantConfig) ProtoMessage

func (*HumanAgentAssistantConfig) ProtoMessage()

func (*HumanAgentAssistantConfig) ProtoReflect

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 deprecated

Deprecated: Use HumanAgentAssistantConfig_ConversationModelConfig.ProtoReflect.Descriptor instead.

func (*HumanAgentAssistantConfig_ConversationModelConfig) GetBaselineModelVersion added in v1.34.0

func (x *HumanAgentAssistantConfig_ConversationModelConfig) GetBaselineModelVersion() string

func (*HumanAgentAssistantConfig_ConversationModelConfig) GetModel

func (*HumanAgentAssistantConfig_ConversationModelConfig) ProtoMessage

func (*HumanAgentAssistantConfig_ConversationModelConfig) ProtoReflect

func (*HumanAgentAssistantConfig_ConversationModelConfig) Reset

func (*HumanAgentAssistantConfig_ConversationModelConfig) 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 deprecated

Deprecated: Use HumanAgentAssistantConfig_ConversationProcessConfig.ProtoReflect.Descriptor instead.

func (*HumanAgentAssistantConfig_ConversationProcessConfig) GetRecentSentencesCount

func (x *HumanAgentAssistantConfig_ConversationProcessConfig) GetRecentSentencesCount() int32

func (*HumanAgentAssistantConfig_ConversationProcessConfig) ProtoMessage

func (*HumanAgentAssistantConfig_ConversationProcessConfig) ProtoReflect

func (*HumanAgentAssistantConfig_ConversationProcessConfig) Reset

func (*HumanAgentAssistantConfig_ConversationProcessConfig) 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 `` /* 130-byte string literal not displayed */
	// 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 `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for analyses to run on each conversation message.

func (*HumanAgentAssistantConfig_MessageAnalysisConfig) Descriptor deprecated

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) ProtoReflect

func (*HumanAgentAssistantConfig_MessageAnalysisConfig) Reset

func (*HumanAgentAssistantConfig_MessageAnalysisConfig) 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 `` /* 136-byte string literal not displayed */
	// 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 `` /* 184-byte string literal not displayed */
	// Optional. Enable skipping event based suggestion if the suggestion is
	// empty.
	//
	// For example, with this field disabled, Knowledge Assist feature sends
	// a Pub/Sub message when there are no suggestions. Enabling this field
	// will change the behavior to skip the Pub/Sub message in this situation.
	SkipEmptyEventBasedSuggestion bool `` /* 155-byte string literal not displayed */
	// Optional. If true,
	// use unredacted transcript data (Supported features: AI_COACH) and
	// use unredacted ingested context (Supported features: All Agent Assist
	// features)
	UseUnredactedConversationData bool `` /* 153-byte string literal not displayed */
	// Optional. If true, enable asynchronous execution of tools.
	EnableAsyncToolCall bool `protobuf:"varint,9,opt,name=enable_async_tool_call,json=enableAsyncToolCall,proto3" json:"enable_async_tool_call,omitempty"`
	// contains filtered or unexported fields
}

Detail human agent assistant config.

func (*HumanAgentAssistantConfig_SuggestionConfig) Descriptor deprecated

Deprecated: Use HumanAgentAssistantConfig_SuggestionConfig.ProtoReflect.Descriptor instead.

func (*HumanAgentAssistantConfig_SuggestionConfig) GetDisableHighLatencyFeaturesSyncDelivery added in v1.56.0

func (x *HumanAgentAssistantConfig_SuggestionConfig) GetDisableHighLatencyFeaturesSyncDelivery() bool

func (*HumanAgentAssistantConfig_SuggestionConfig) GetEnableAsyncToolCall added in v1.71.0

func (x *HumanAgentAssistantConfig_SuggestionConfig) GetEnableAsyncToolCall() bool

func (*HumanAgentAssistantConfig_SuggestionConfig) GetFeatureConfigs

func (*HumanAgentAssistantConfig_SuggestionConfig) GetGenerators added in v1.56.0

func (*HumanAgentAssistantConfig_SuggestionConfig) GetGroupSuggestionResponses

func (x *HumanAgentAssistantConfig_SuggestionConfig) GetGroupSuggestionResponses() bool

func (*HumanAgentAssistantConfig_SuggestionConfig) GetSkipEmptyEventBasedSuggestion added in v1.71.0

func (x *HumanAgentAssistantConfig_SuggestionConfig) GetSkipEmptyEventBasedSuggestion() bool

func (*HumanAgentAssistantConfig_SuggestionConfig) GetUseUnredactedConversationData added in v1.71.0

func (x *HumanAgentAssistantConfig_SuggestionConfig) GetUseUnredactedConversationData() bool

func (*HumanAgentAssistantConfig_SuggestionConfig) ProtoMessage

func (*HumanAgentAssistantConfig_SuggestionConfig) ProtoReflect

func (*HumanAgentAssistantConfig_SuggestionConfig) Reset

func (*HumanAgentAssistantConfig_SuggestionConfig) 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 `` /* 144-byte string literal not displayed */
	// 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 `` /* 139-byte string literal not displayed */
	// 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 `` /* 170-byte string literal not displayed */
	// Optional. Enable including conversation context during query answer
	// generation. Supported features: KNOWLEDGE_SEARCH.
	EnableConversationAugmentedQuery bool `` /* 163-byte string literal not displayed */
	// Optional. Enable query suggestion only.
	// Supported features: KNOWLEDGE_ASSIST
	EnableQuerySuggestionOnly bool `` /* 142-byte string literal not displayed */
	// Optional. Enable returning detailed reasons for suggestion results.
	//
	// For example, with this field disabled, Knowledge Search feature returns
	// NotFound error when no answer is found for the input query. Enabling this
	// field will change the behavior to return an OK response with
	// detailed information indicating the lack of results.
	//
	// Supported features: KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST
	EnableResponseDebugInfo bool `` /* 136-byte string literal not displayed */
	// Optional. Settings for Responsible AI checks.
	// Supported features:  KNOWLEDGE_ASSIST
	RaiSettings *RaiSettings `protobuf:"bytes,19,opt,name=rai_settings,json=raiSettings,proto3" json:"rai_settings,omitempty"`
	// Settings of suggestion trigger.
	//
	// Currently, only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use
	// this field.
	SuggestionTriggerSettings *HumanAgentAssistantConfig_SuggestionTriggerSettings `` /* 139-byte string literal not displayed */
	// 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 `` /* 132-byte string literal not displayed */
	// Configs for processing conversation.
	ConversationProcessConfig *HumanAgentAssistantConfig_ConversationProcessConfig `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

Config for suggestion features.

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) Descriptor deprecated

Deprecated: Use HumanAgentAssistantConfig_SuggestionFeatureConfig.ProtoReflect.Descriptor instead.

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetConversationModelConfig

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetConversationProcessConfig

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetDisableAgentQueryLogging added in v1.43.0

func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetDisableAgentQueryLogging() bool

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableConversationAugmentedQuery added in v1.48.0

func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableConversationAugmentedQuery() bool

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableEventBasedSuggestion

func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableEventBasedSuggestion() bool

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableQuerySuggestionOnly added in v1.56.0

func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableQuerySuggestionOnly() bool

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableQuerySuggestionWhenNoAnswer added in v1.56.0

func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableQuerySuggestionWhenNoAnswer() bool

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableResponseDebugInfo added in v1.71.0

func (x *HumanAgentAssistantConfig_SuggestionFeatureConfig) GetEnableResponseDebugInfo() bool

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetQueryConfig

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetRaiSettings added in v1.71.0

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetSuggestionFeature

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) GetSuggestionTriggerSettings

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) ProtoMessage

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) ProtoReflect

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) Reset

func (*HumanAgentAssistantConfig_SuggestionFeatureConfig) 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 `` /* 126-byte string literal not displayed */
	// 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 deprecated

Deprecated: Use HumanAgentAssistantConfig_SuggestionQueryConfig.ProtoReflect.Descriptor instead.

func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetConfidenceThreshold

func (x *HumanAgentAssistantConfig_SuggestionQueryConfig) GetConfidenceThreshold() float32

func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetContextFilterSettings

func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetContextSize added in v1.60.0

func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetDialogflowQuerySource

func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetDocumentQuerySource

func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetKnowledgeBaseQuerySource

func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetMaxResults

func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetQuerySource

func (m *HumanAgentAssistantConfig_SuggestionQueryConfig) GetQuerySource() isHumanAgentAssistantConfig_SuggestionQueryConfig_QuerySource

func (*HumanAgentAssistantConfig_SuggestionQueryConfig) GetSections added in v1.48.0

func (*HumanAgentAssistantConfig_SuggestionQueryConfig) ProtoMessage

func (*HumanAgentAssistantConfig_SuggestionQueryConfig) ProtoReflect

func (*HumanAgentAssistantConfig_SuggestionQueryConfig) Reset

func (*HumanAgentAssistantConfig_SuggestionQueryConfig) 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 `` /* 138-byte string literal not displayed */
	// 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 deprecated

Deprecated: Use HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings.ProtoReflect.Descriptor instead.

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) GetDropHandoffMessages

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) GetDropIvrMessages

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) GetDropVirtualAgentMessages

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) ProtoMessage

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) ProtoReflect

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) Reset

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_ContextFilterSettings) 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 deprecated

Deprecated: Use HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource.ProtoReflect.Descriptor instead.

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) GetAgent

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) GetHumanAgentSideConfig added in v1.38.0

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) ProtoMessage

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) ProtoReflect

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) Reset

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource) 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 added in v1.38.0

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 deprecated added in v1.38.0

Deprecated: Use HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig.ProtoReflect.Descriptor instead.

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) GetAgent added in v1.38.0

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) ProtoMessage added in v1.38.0

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) ProtoReflect added in v1.38.0

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) Reset added in v1.38.0

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DialogflowQuerySource_HumanAgentSideConfig) String added in v1.38.0

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 deprecated

Deprecated: Use HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource.ProtoReflect.Descriptor instead.

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) GetDocuments

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) ProtoMessage

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) ProtoReflect

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) Reset

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_DocumentQuerySource) 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 deprecated

Deprecated: Use HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource.ProtoReflect.Descriptor instead.

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) GetKnowledgeBases

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) ProtoMessage

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) ProtoReflect

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) Reset

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_KnowledgeBaseQuerySource) 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 added in v1.48.0

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 `` /* 211-byte string literal not displayed */
	// 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 deprecated added in v1.48.0

Deprecated: Use HumanAgentAssistantConfig_SuggestionQueryConfig_Sections.ProtoReflect.Descriptor instead.

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) GetSectionTypes added in v1.48.0

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) ProtoMessage added in v1.48.0

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) ProtoReflect added in v1.48.0

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) Reset added in v1.48.0

func (*HumanAgentAssistantConfig_SuggestionQueryConfig_Sections) String added in v1.48.0

type HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType added in v1.48.0

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 added in v1.48.0

func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) Enum added in v1.48.0

func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) EnumDescriptor deprecated added in v1.48.0

Deprecated: Use HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType.Descriptor instead.

func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) Number added in v1.48.0

func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) String added in v1.48.0

func (HumanAgentAssistantConfig_SuggestionQueryConfig_Sections_SectionType) Type added in v1.48.0

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 deprecated

Deprecated: Use HumanAgentAssistantConfig_SuggestionTriggerSettings.ProtoReflect.Descriptor instead.

func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) GetNoSmallTalk

func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) GetOnlyEndUser

func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) ProtoMessage

func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) ProtoReflect

func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) Reset

func (*HumanAgentAssistantConfig_SuggestionTriggerSettings) 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 deprecated

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 deprecated

func (*HumanAgentHandoffConfig) Descriptor() ([]byte, []int)

Deprecated: Use HumanAgentHandoffConfig.ProtoReflect.Descriptor instead.

func (*HumanAgentHandoffConfig) GetAgentService

func (m *HumanAgentHandoffConfig) GetAgentService() isHumanAgentHandoffConfig_AgentService

func (*HumanAgentHandoffConfig) GetLivePersonConfig

func (*HumanAgentHandoffConfig) GetSalesforceLiveAgentConfig

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 deprecated

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) ProtoReflect

func (*HumanAgentHandoffConfig_LivePersonConfig) Reset

func (*HumanAgentHandoffConfig_LivePersonConfig) 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 deprecated

Deprecated: Use HumanAgentHandoffConfig_SalesforceLiveAgentConfig.ProtoReflect.Descriptor instead.

func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) GetButtonId

func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) GetDeploymentId

func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) GetEndpointDomain

func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) GetOrganizationId

func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) ProtoMessage

func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) ProtoReflect

func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) Reset

func (*HumanAgentHandoffConfig_SalesforceLiveAgentConfig) 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 deprecated

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 `` /* 171-byte string literal not displayed */
	// 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 `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

The template used for importing documents.

func (*ImportDocumentTemplate) Descriptor deprecated

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 `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request message for [Documents.ImportDocuments][google.cloud.dialogflow.v2beta1.Documents.ImportDocuments].

func (*ImportDocumentsRequest) Descriptor deprecated

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 deprecated

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 added in v1.56.0

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 deprecated added in v1.56.0

func (*InferenceParameter) Descriptor() ([]byte, []int)

Deprecated: Use InferenceParameter.ProtoReflect.Descriptor instead.

func (*InferenceParameter) GetMaxOutputTokens added in v1.56.0

func (x *InferenceParameter) GetMaxOutputTokens() int32

func (*InferenceParameter) GetTemperature added in v1.56.0

func (x *InferenceParameter) GetTemperature() float64

func (*InferenceParameter) GetTopK added in v1.56.0

func (x *InferenceParameter) GetTopK() int32

func (*InferenceParameter) GetTopP added in v1.56.0

func (x *InferenceParameter) GetTopP() float64

func (*InferenceParameter) ProtoMessage added in v1.56.0

func (*InferenceParameter) ProtoMessage()

func (*InferenceParameter) ProtoReflect added in v1.56.0

func (x *InferenceParameter) ProtoReflect() protoreflect.Message

func (*InferenceParameter) Reset added in v1.56.0

func (x *InferenceParameter) Reset()

func (*InferenceParameter) String added in v1.56.0

func (x *InferenceParameter) String() string

type IngestContextReferencesRequest added in v1.68.0

type IngestContextReferencesRequest struct {

	// Required. Resource identifier of the conversation to ingest context
	// information for. Format: `projects/<Project ID>/locations/<Location
	// ID>/conversations/<Conversation ID>`.
	Conversation string `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
	// Required. The context references to ingest. The key is the name of the
	// context reference and the value contains the contents of the context
	// reference. The key is used to incorporate ingested context references to
	// enhance the generator.
	ContextReferences map[string]*Conversation_ContextReference `` /* 200-byte string literal not displayed */
	// contains filtered or unexported fields
}

The request message for [ConversationsService.IngestContextReferences][].

func (*IngestContextReferencesRequest) Descriptor deprecated added in v1.68.0

func (*IngestContextReferencesRequest) Descriptor() ([]byte, []int)

Deprecated: Use IngestContextReferencesRequest.ProtoReflect.Descriptor instead.

func (*IngestContextReferencesRequest) GetContextReferences added in v1.68.0

func (*IngestContextReferencesRequest) GetConversation added in v1.68.0

func (x *IngestContextReferencesRequest) GetConversation() string

func (*IngestContextReferencesRequest) ProtoMessage added in v1.68.0

func (*IngestContextReferencesRequest) ProtoMessage()

func (*IngestContextReferencesRequest) ProtoReflect added in v1.68.0

func (*IngestContextReferencesRequest) Reset added in v1.68.0

func (x *IngestContextReferencesRequest) Reset()

func (*IngestContextReferencesRequest) String added in v1.68.0

type IngestContextReferencesResponse added in v1.68.0

type IngestContextReferencesResponse struct {

	// All context references ingested.
	IngestedContextReferences map[string]*Conversation_ContextReference `` /* 226-byte string literal not displayed */
	// contains filtered or unexported fields
}

The response message for [ConversationsService.IngestContextReferences][].

func (*IngestContextReferencesResponse) Descriptor deprecated added in v1.68.0

func (*IngestContextReferencesResponse) Descriptor() ([]byte, []int)

Deprecated: Use IngestContextReferencesResponse.ProtoReflect.Descriptor instead.

func (*IngestContextReferencesResponse) GetIngestedContextReferences added in v1.68.0

func (x *IngestContextReferencesResponse) GetIngestedContextReferences() map[string]*Conversation_ContextReference

func (*IngestContextReferencesResponse) ProtoMessage added in v1.68.0

func (*IngestContextReferencesResponse) ProtoMessage()

func (*IngestContextReferencesResponse) ProtoReflect added in v1.68.0

func (*IngestContextReferencesResponse) Reset added in v1.68.0

func (*IngestContextReferencesResponse) String added in v1.68.0

type InitializeEncryptionSpecMetadata added in v1.56.0

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 deprecated added in v1.56.0

func (*InitializeEncryptionSpecMetadata) Descriptor() ([]byte, []int)

Deprecated: Use InitializeEncryptionSpecMetadata.ProtoReflect.Descriptor instead.

func (*InitializeEncryptionSpecMetadata) GetRequest added in v1.56.0

func (*InitializeEncryptionSpecMetadata) ProtoMessage added in v1.56.0

func (*InitializeEncryptionSpecMetadata) ProtoMessage()

func (*InitializeEncryptionSpecMetadata) ProtoReflect added in v1.56.0

func (*InitializeEncryptionSpecMetadata) Reset added in v1.56.0

func (*InitializeEncryptionSpecMetadata) String added in v1.56.0

type InitializeEncryptionSpecRequest added in v1.56.0

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 deprecated added in v1.56.0

func (*InitializeEncryptionSpecRequest) Descriptor() ([]byte, []int)

Deprecated: Use InitializeEncryptionSpecRequest.ProtoReflect.Descriptor instead.

func (*InitializeEncryptionSpecRequest) GetEncryptionSpec added in v1.56.0

func (x *InitializeEncryptionSpecRequest) GetEncryptionSpec() *EncryptionSpec

func (*InitializeEncryptionSpecRequest) ProtoMessage added in v1.56.0

func (*InitializeEncryptionSpecRequest) ProtoMessage()

func (*InitializeEncryptionSpecRequest) ProtoReflect added in v1.56.0

func (*InitializeEncryptionSpecRequest) Reset added in v1.56.0

func (*InitializeEncryptionSpecRequest) String added in v1.56.0

type InitializeEncryptionSpecResponse added in v1.56.0

type InitializeEncryptionSpecResponse struct {
	// contains filtered or unexported fields
}

The response to initialize a location-level encryption specification.

func (*InitializeEncryptionSpecResponse) Descriptor deprecated added in v1.56.0

func (*InitializeEncryptionSpecResponse) Descriptor() ([]byte, []int)

Deprecated: Use InitializeEncryptionSpecResponse.ProtoReflect.Descriptor instead.

func (*InitializeEncryptionSpecResponse) ProtoMessage added in v1.56.0

func (*InitializeEncryptionSpecResponse) ProtoMessage()

func (*InitializeEncryptionSpecResponse) ProtoReflect added in v1.56.0

func (*InitializeEncryptionSpecResponse) Reset added in v1.56.0

func (*InitializeEncryptionSpecResponse) String added in v1.56.0

type InputAudioConfig

type InputAudioConfig struct {

	// Required. Audio encoding of the audio content to process.
	AudioEncoding AudioEncoding `` /* 152-byte string literal not displayed */
	// 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.
	// If not set, the language is inferred from the
	// [ConversationProfile.stt_config][google.cloud.dialogflow.v2beta1.ConversationProfile.stt_config].
	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 `` /* 155-byte string literal not displayed */
	// 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 `` /* 159-byte string literal not displayed */
	// 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 `` /* 143-byte string literal not displayed */
	// If set, use this no-speech timeout when the agent does not provide a
	// no-speech timeout itself.
	DefaultNoSpeechTimeout *durationpb.Duration `` /* 132-byte string literal not displayed */
	// 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 `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

Instructs the speech recognizer on how to process the audio content.

func (*InputAudioConfig) Descriptor deprecated

func (*InputAudioConfig) Descriptor() ([]byte, []int)

Deprecated: Use InputAudioConfig.ProtoReflect.Descriptor instead.

func (*InputAudioConfig) GetAudioEncoding

func (x *InputAudioConfig) GetAudioEncoding() AudioEncoding

func (*InputAudioConfig) GetBargeInConfig added in v1.32.0

func (x *InputAudioConfig) GetBargeInConfig() *BargeInConfig

func (*InputAudioConfig) GetDefaultNoSpeechTimeout added in v1.56.0

func (x *InputAudioConfig) GetDefaultNoSpeechTimeout() *durationpb.Duration

func (*InputAudioConfig) GetDisableNoSpeechRecognizedEvent

func (x *InputAudioConfig) GetDisableNoSpeechRecognizedEvent() bool

func (*InputAudioConfig) GetEnableAutomaticPunctuation added in v1.33.0

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 added in v1.51.0

func (x *InputAudioConfig) GetOptOutConformerModelMigration() bool

func (*InputAudioConfig) GetPhraseHints deprecated

func (x *InputAudioConfig) GetPhraseHints() []string

Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/audio_config.proto.

func (*InputAudioConfig) GetPhraseSets added in v1.60.0

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 deprecated

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 `` /* 155-byte string literal not displayed */
	// 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 `` /* 205-byte string literal not displayed */
	// 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 `` /* 132-byte string literal not displayed */
	// 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 `` /* 138-byte string literal not displayed */
	// 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

func (*Intent) Descriptor() ([]byte, []int)

Deprecated: Use Intent.ProtoReflect.Descriptor instead.

func (*Intent) GetAction

func (x *Intent) GetAction() string

func (*Intent) GetDefaultResponsePlatforms

func (x *Intent) GetDefaultResponsePlatforms() []Intent_Message_Platform

func (*Intent) GetDisplayName

func (x *Intent) GetDisplayName() string

func (*Intent) GetEndInteraction

func (x *Intent) GetEndInteraction() bool

func (*Intent) GetEvents

func (x *Intent) GetEvents() []string

func (*Intent) GetFollowupIntentInfo

func (x *Intent) GetFollowupIntentInfo() []*Intent_FollowupIntentInfo

func (*Intent) GetInputContextNames

func (x *Intent) GetInputContextNames() []string

func (*Intent) GetIsFallback

func (x *Intent) GetIsFallback() bool

func (*Intent) GetLiveAgentHandoff

func (x *Intent) GetLiveAgentHandoff() bool

func (*Intent) GetMessages

func (x *Intent) GetMessages() []*Intent_Message

func (*Intent) GetMlDisabled

func (x *Intent) GetMlDisabled() bool

func (*Intent) GetMlEnabled deprecated

func (x *Intent) GetMlEnabled() bool

Deprecated: Marked as deprecated in google/cloud/dialogflow/v2beta1/intent.proto.

func (*Intent) GetName

func (x *Intent) GetName() string

func (*Intent) GetOutputContexts

func (x *Intent) GetOutputContexts() []*Context

func (*Intent) GetParameters

func (x *Intent) GetParameters() []*Intent_Parameter

func (*Intent) GetParentFollowupIntentName

func (x *Intent) GetParentFollowupIntentName() string

func (*Intent) GetPriority

func (x *Intent) GetPriority() int32

func (*Intent) GetResetContexts

func (x *Intent) GetResetContexts() bool

func (*Intent) GetRootFollowupIntentName

func (x *Intent) GetRootFollowupIntentName() string

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

func (x *Intent) String() 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 deprecated

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 added in v1.38.0

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 deprecated added in v1.38.0

func (*IntentInput) Descriptor() ([]byte, []int)

Deprecated: Use IntentInput.ProtoReflect.Descriptor instead.

func (*IntentInput) GetIntent added in v1.38.0

func (x *IntentInput) GetIntent() string

func (*IntentInput) GetLanguageCode added in v1.38.0

func (x *IntentInput) GetLanguageCode() string

func (*IntentInput) ProtoMessage added in v1.38.0

func (*IntentInput) ProtoMessage()

func (*IntentInput) ProtoReflect added in v1.38.0

func (x *IntentInput) ProtoReflect() protoreflect.Message

func (*IntentInput) Reset added in v1.38.0

func (x *IntentInput) Reset()

func (*IntentInput) String added in v1.38.0

func (x *IntentInput) String() string

type IntentSuggestion added in v1.38.0

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 deprecated added in v1.38.0

func (*IntentSuggestion) Descriptor() ([]byte, []int)

Deprecated: Use IntentSuggestion.ProtoReflect.Descriptor instead.

func (*IntentSuggestion) GetDescription added in v1.38.0

func (x *IntentSuggestion) GetDescription() string

func (*IntentSuggestion) GetDisplayName added in v1.38.0

func (x *IntentSuggestion) GetDisplayName() string

func (*IntentSuggestion) GetIntent added in v1.38.0

func (m *IntentSuggestion) GetIntent() isIntentSuggestion_Intent

func (*IntentSuggestion) GetIntentV2 added in v1.38.0

func (x *IntentSuggestion) GetIntentV2() string

func (*IntentSuggestion) ProtoMessage added in v1.38.0

func (*IntentSuggestion) ProtoMessage()

func (*IntentSuggestion) ProtoReflect added in v1.38.0

func (x *IntentSuggestion) ProtoReflect() protoreflect.Message

func (*IntentSuggestion) Reset added in v1.38.0

func (x *IntentSuggestion) Reset()

func (*IntentSuggestion) String added in v1.38.0

func (x *IntentSuggestion) String() string

type IntentSuggestion_IntentV2 added in v1.38.0

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 deprecated

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

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 `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents a single followup intent in the chain.

func (*Intent_FollowupIntentInfo) Descriptor deprecated

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 (*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 `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

Corresponds to the `Response` field in the Dialogflow console.

func (*Intent_Message) Descriptor deprecated

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 deprecated

func (*Intent_Message_BasicCard) Descriptor() ([]byte, []int)

Deprecated: Use Intent_Message_BasicCard.ProtoReflect.Descriptor instead.

func (*Intent_Message_BasicCard) GetButtons

func (*Intent_Message_BasicCard) GetFormattedText

func (x *Intent_Message_BasicCard) GetFormattedText() string

func (*Intent_Message_BasicCard) GetImage

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 deprecated

func (*Intent_Message_BasicCard_Button) Descriptor() ([]byte, []int)

Deprecated: Use Intent_Message_BasicCard_Button.ProtoReflect.Descriptor instead.

func (*Intent_Message_BasicCard_Button) GetOpenUriAction

func (*Intent_Message_BasicCard_Button) GetTitle

func (*Intent_Message_BasicCard_Button) ProtoMessage

func (*Intent_Message_BasicCard_Button) ProtoMessage()

func (*Intent_Message_BasicCard_Button) ProtoReflect

func (*Intent_Message_BasicCard_Button) Reset

func (*Intent_Message_BasicCard_Button) 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 deprecated

Deprecated: Use Intent_Message_BasicCard_Button_OpenUriAction.ProtoReflect.Descriptor instead.

func (*Intent_Message_BasicCard_Button_OpenUriAction) GetUri

func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoMessage

func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoReflect

func (*Intent_Message_BasicCard_Button_OpenUriAction) Reset

func (*Intent_Message_BasicCard_Button_OpenUriAction) 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 `` /* 212-byte string literal not displayed */
	// 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 deprecated

func (*Intent_Message_BrowseCarouselCard) Descriptor() ([]byte, []int)

Deprecated: Use Intent_Message_BrowseCarouselCard.ProtoReflect.Descriptor instead.

func (*Intent_Message_BrowseCarouselCard) GetImageDisplayOptions

func (*Intent_Message_BrowseCarouselCard) GetItems

func (*Intent_Message_BrowseCarouselCard) ProtoMessage

func (*Intent_Message_BrowseCarouselCard) ProtoMessage()

func (*Intent_Message_BrowseCarouselCard) ProtoReflect

func (*Intent_Message_BrowseCarouselCard) Reset

func (*Intent_Message_BrowseCarouselCard) 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.
	Footer 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 deprecated

Deprecated: Use Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem.ProtoReflect.Descriptor instead.

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetDescription

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetFooter

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetImage

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetOpenUriAction

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetTitle

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) ProtoMessage

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) ProtoReflect

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) Reset

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) 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:&