dialogflowpb

package
v1.88.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: Apache-2.0 Imports: 18 Imported by: 8

Documentation

Index

Constants

View Source
const (
	Agents_GetAgent_FullMethodName            = "/google.cloud.dialogflow.v2.Agents/GetAgent"
	Agents_SetAgent_FullMethodName            = "/google.cloud.dialogflow.v2.Agents/SetAgent"
	Agents_DeleteAgent_FullMethodName         = "/google.cloud.dialogflow.v2.Agents/DeleteAgent"
	Agents_SearchAgents_FullMethodName        = "/google.cloud.dialogflow.v2.Agents/SearchAgents"
	Agents_TrainAgent_FullMethodName          = "/google.cloud.dialogflow.v2.Agents/TrainAgent"
	Agents_ExportAgent_FullMethodName         = "/google.cloud.dialogflow.v2.Agents/ExportAgent"
	Agents_ImportAgent_FullMethodName         = "/google.cloud.dialogflow.v2.Agents/ImportAgent"
	Agents_RestoreAgent_FullMethodName        = "/google.cloud.dialogflow.v2.Agents/RestoreAgent"
	Agents_GetValidationResult_FullMethodName = "/google.cloud.dialogflow.v2.Agents/GetValidationResult"
)
View Source
const (
	AnswerRecords_ListAnswerRecords_FullMethodName  = "/google.cloud.dialogflow.v2.AnswerRecords/ListAnswerRecords"
	AnswerRecords_UpdateAnswerRecord_FullMethodName = "/google.cloud.dialogflow.v2.AnswerRecords/UpdateAnswerRecord"
)
View Source
const (
	CompanionAgents_CreateCompanionAgent_FullMethodName = "/google.cloud.dialogflow.v2.CompanionAgents/CreateCompanionAgent"
	CompanionAgents_GetCompanionAgent_FullMethodName    = "/google.cloud.dialogflow.v2.CompanionAgents/GetCompanionAgent"
	CompanionAgents_UpdateCompanionAgent_FullMethodName = "/google.cloud.dialogflow.v2.CompanionAgents/UpdateCompanionAgent"
	CompanionAgents_DeleteCompanionAgent_FullMethodName = "/google.cloud.dialogflow.v2.CompanionAgents/DeleteCompanionAgent"
	CompanionAgents_ListCompanionAgents_FullMethodName  = "/google.cloud.dialogflow.v2.CompanionAgents/ListCompanionAgents"
)
View Source
const (
	Contexts_ListContexts_FullMethodName      = "/google.cloud.dialogflow.v2.Contexts/ListContexts"
	Contexts_GetContext_FullMethodName        = "/google.cloud.dialogflow.v2.Contexts/GetContext"
	Contexts_CreateContext_FullMethodName     = "/google.cloud.dialogflow.v2.Contexts/CreateContext"
	Contexts_UpdateContext_FullMethodName     = "/google.cloud.dialogflow.v2.Contexts/UpdateContext"
	Contexts_DeleteContext_FullMethodName     = "/google.cloud.dialogflow.v2.Contexts/DeleteContext"
	Contexts_DeleteAllContexts_FullMethodName = "/google.cloud.dialogflow.v2.Contexts/DeleteAllContexts"
)
View Source
const (
	ConversationDatasets_CreateConversationDataset_FullMethodName = "/google.cloud.dialogflow.v2.ConversationDatasets/CreateConversationDataset"
	ConversationDatasets_GetConversationDataset_FullMethodName    = "/google.cloud.dialogflow.v2.ConversationDatasets/GetConversationDataset"
	ConversationDatasets_ListConversationDatasets_FullMethodName  = "/google.cloud.dialogflow.v2.ConversationDatasets/ListConversationDatasets"
	ConversationDatasets_DeleteConversationDataset_FullMethodName = "/google.cloud.dialogflow.v2.ConversationDatasets/DeleteConversationDataset"
	ConversationDatasets_ImportConversationData_FullMethodName    = "/google.cloud.dialogflow.v2.ConversationDatasets/ImportConversationData"
)
View Source
const (
	Conversations_CreateConversation_FullMethodName          = "/google.cloud.dialogflow.v2.Conversations/CreateConversation"
	Conversations_ListConversations_FullMethodName           = "/google.cloud.dialogflow.v2.Conversations/ListConversations"
	Conversations_GetConversation_FullMethodName             = "/google.cloud.dialogflow.v2.Conversations/GetConversation"
	Conversations_CompleteConversation_FullMethodName        = "/google.cloud.dialogflow.v2.Conversations/CompleteConversation"
	Conversations_IngestContextReferences_FullMethodName     = "/google.cloud.dialogflow.v2.Conversations/IngestContextReferences"
	Conversations_ListMessages_FullMethodName                = "/google.cloud.dialogflow.v2.Conversations/ListMessages"
	Conversations_SuggestConversationSummary_FullMethodName  = "/google.cloud.dialogflow.v2.Conversations/SuggestConversationSummary"
	Conversations_GenerateStatelessSummary_FullMethodName    = "/google.cloud.dialogflow.v2.Conversations/GenerateStatelessSummary"
	Conversations_GenerateStatelessSuggestion_FullMethodName = "/google.cloud.dialogflow.v2.Conversations/GenerateStatelessSuggestion"
	Conversations_SearchKnowledge_FullMethodName             = "/google.cloud.dialogflow.v2.Conversations/SearchKnowledge"
	Conversations_GenerateSuggestions_FullMethodName         = "/google.cloud.dialogflow.v2.Conversations/GenerateSuggestions"
)
View Source
const (
	ConversationModels_CreateConversationModel_FullMethodName           = "/google.cloud.dialogflow.v2.ConversationModels/CreateConversationModel"
	ConversationModels_GetConversationModel_FullMethodName              = "/google.cloud.dialogflow.v2.ConversationModels/GetConversationModel"
	ConversationModels_ListConversationModels_FullMethodName            = "/google.cloud.dialogflow.v2.ConversationModels/ListConversationModels"
	ConversationModels_DeleteConversationModel_FullMethodName           = "/google.cloud.dialogflow.v2.ConversationModels/DeleteConversationModel"
	ConversationModels_DeployConversationModel_FullMethodName           = "/google.cloud.dialogflow.v2.ConversationModels/DeployConversationModel"
	ConversationModels_UndeployConversationModel_FullMethodName         = "/google.cloud.dialogflow.v2.ConversationModels/UndeployConversationModel"
	ConversationModels_GetConversationModelEvaluation_FullMethodName    = "/google.cloud.dialogflow.v2.ConversationModels/GetConversationModelEvaluation"
	ConversationModels_ListConversationModelEvaluations_FullMethodName  = "/google.cloud.dialogflow.v2.ConversationModels/ListConversationModelEvaluations"
	ConversationModels_CreateConversationModelEvaluation_FullMethodName = "/google.cloud.dialogflow.v2.ConversationModels/CreateConversationModelEvaluation"
)
View Source
const (
	ConversationProfiles_ListConversationProfiles_FullMethodName     = "/google.cloud.dialogflow.v2.ConversationProfiles/ListConversationProfiles"
	ConversationProfiles_GetConversationProfile_FullMethodName       = "/google.cloud.dialogflow.v2.ConversationProfiles/GetConversationProfile"
	ConversationProfiles_CreateConversationProfile_FullMethodName    = "/google.cloud.dialogflow.v2.ConversationProfiles/CreateConversationProfile"
	ConversationProfiles_UpdateConversationProfile_FullMethodName    = "/google.cloud.dialogflow.v2.ConversationProfiles/UpdateConversationProfile"
	ConversationProfiles_DeleteConversationProfile_FullMethodName    = "/google.cloud.dialogflow.v2.ConversationProfiles/DeleteConversationProfile"
	ConversationProfiles_SetSuggestionFeatureConfig_FullMethodName   = "/google.cloud.dialogflow.v2.ConversationProfiles/SetSuggestionFeatureConfig"
	ConversationProfiles_ClearSuggestionFeatureConfig_FullMethodName = "/google.cloud.dialogflow.v2.ConversationProfiles/ClearSuggestionFeatureConfig"
)
View Source
const (
	Documents_ListDocuments_FullMethodName   = "/google.cloud.dialogflow.v2.Documents/ListDocuments"
	Documents_GetDocument_FullMethodName     = "/google.cloud.dialogflow.v2.Documents/GetDocument"
	Documents_CreateDocument_FullMethodName  = "/google.cloud.dialogflow.v2.Documents/CreateDocument"
	Documents_ImportDocuments_FullMethodName = "/google.cloud.dialogflow.v2.Documents/ImportDocuments"
	Documents_DeleteDocument_FullMethodName  = "/google.cloud.dialogflow.v2.Documents/DeleteDocument"
	Documents_UpdateDocument_FullMethodName  = "/google.cloud.dialogflow.v2.Documents/UpdateDocument"
	Documents_ReloadDocument_FullMethodName  = "/google.cloud.dialogflow.v2.Documents/ReloadDocument"
	Documents_ExportDocument_FullMethodName  = "/google.cloud.dialogflow.v2.Documents/ExportDocument"
)
View Source
const (
	EncryptionSpecService_GetEncryptionSpec_FullMethodName        = "/google.cloud.dialogflow.v2.EncryptionSpecService/GetEncryptionSpec"
	EncryptionSpecService_InitializeEncryptionSpec_FullMethodName = "/google.cloud.dialogflow.v2.EncryptionSpecService/InitializeEncryptionSpec"
)
View Source
const (
	EntityTypes_ListEntityTypes_FullMethodName        = "/google.cloud.dialogflow.v2.EntityTypes/ListEntityTypes"
	EntityTypes_GetEntityType_FullMethodName          = "/google.cloud.dialogflow.v2.EntityTypes/GetEntityType"
	EntityTypes_CreateEntityType_FullMethodName       = "/google.cloud.dialogflow.v2.EntityTypes/CreateEntityType"
	EntityTypes_UpdateEntityType_FullMethodName       = "/google.cloud.dialogflow.v2.EntityTypes/UpdateEntityType"
	EntityTypes_DeleteEntityType_FullMethodName       = "/google.cloud.dialogflow.v2.EntityTypes/DeleteEntityType"
	EntityTypes_BatchUpdateEntityTypes_FullMethodName = "/google.cloud.dialogflow.v2.EntityTypes/BatchUpdateEntityTypes"
	EntityTypes_BatchDeleteEntityTypes_FullMethodName = "/google.cloud.dialogflow.v2.EntityTypes/BatchDeleteEntityTypes"
	EntityTypes_BatchCreateEntities_FullMethodName    = "/google.cloud.dialogflow.v2.EntityTypes/BatchCreateEntities"
	EntityTypes_BatchUpdateEntities_FullMethodName    = "/google.cloud.dialogflow.v2.EntityTypes/BatchUpdateEntities"
	EntityTypes_BatchDeleteEntities_FullMethodName    = "/google.cloud.dialogflow.v2.EntityTypes/BatchDeleteEntities"
)
View Source
const (
	Environments_ListEnvironments_FullMethodName      = "/google.cloud.dialogflow.v2.Environments/ListEnvironments"
	Environments_GetEnvironment_FullMethodName        = "/google.cloud.dialogflow.v2.Environments/GetEnvironment"
	Environments_CreateEnvironment_FullMethodName     = "/google.cloud.dialogflow.v2.Environments/CreateEnvironment"
	Environments_UpdateEnvironment_FullMethodName     = "/google.cloud.dialogflow.v2.Environments/UpdateEnvironment"
	Environments_DeleteEnvironment_FullMethodName     = "/google.cloud.dialogflow.v2.Environments/DeleteEnvironment"
	Environments_GetEnvironmentHistory_FullMethodName = "/google.cloud.dialogflow.v2.Environments/GetEnvironmentHistory"
)
View Source
const (
	Fulfillments_GetFulfillment_FullMethodName    = "/google.cloud.dialogflow.v2.Fulfillments/GetFulfillment"
	Fulfillments_UpdateFulfillment_FullMethodName = "/google.cloud.dialogflow.v2.Fulfillments/UpdateFulfillment"
)
View Source
const (
	GeneratorEvaluations_CreateGeneratorEvaluation_FullMethodName = "/google.cloud.dialogflow.v2.GeneratorEvaluations/CreateGeneratorEvaluation"
	GeneratorEvaluations_GetGeneratorEvaluation_FullMethodName    = "/google.cloud.dialogflow.v2.GeneratorEvaluations/GetGeneratorEvaluation"
	GeneratorEvaluations_ListGeneratorEvaluations_FullMethodName  = "/google.cloud.dialogflow.v2.GeneratorEvaluations/ListGeneratorEvaluations"
	GeneratorEvaluations_DeleteGeneratorEvaluation_FullMethodName = "/google.cloud.dialogflow.v2.GeneratorEvaluations/DeleteGeneratorEvaluation"
)
View Source
const (
	Generators_CreateGenerator_FullMethodName = "/google.cloud.dialogflow.v2.Generators/CreateGenerator"
	Generators_GetGenerator_FullMethodName    = "/google.cloud.dialogflow.v2.Generators/GetGenerator"
	Generators_ListGenerators_FullMethodName  = "/google.cloud.dialogflow.v2.Generators/ListGenerators"
	Generators_DeleteGenerator_FullMethodName = "/google.cloud.dialogflow.v2.Generators/DeleteGenerator"
	Generators_UpdateGenerator_FullMethodName = "/google.cloud.dialogflow.v2.Generators/UpdateGenerator"
)
View Source
const (
	Intents_ListIntents_FullMethodName        = "/google.cloud.dialogflow.v2.Intents/ListIntents"
	Intents_GetIntent_FullMethodName          = "/google.cloud.dialogflow.v2.Intents/GetIntent"
	Intents_CreateIntent_FullMethodName       = "/google.cloud.dialogflow.v2.Intents/CreateIntent"
	Intents_UpdateIntent_FullMethodName       = "/google.cloud.dialogflow.v2.Intents/UpdateIntent"
	Intents_DeleteIntent_FullMethodName       = "/google.cloud.dialogflow.v2.Intents/DeleteIntent"
	Intents_BatchUpdateIntents_FullMethodName = "/google.cloud.dialogflow.v2.Intents/BatchUpdateIntents"
	Intents_BatchDeleteIntents_FullMethodName = "/google.cloud.dialogflow.v2.Intents/BatchDeleteIntents"
)
View Source
const (
	KnowledgeBases_ListKnowledgeBases_FullMethodName  = "/google.cloud.dialogflow.v2.KnowledgeBases/ListKnowledgeBases"
	KnowledgeBases_GetKnowledgeBase_FullMethodName    = "/google.cloud.dialogflow.v2.KnowledgeBases/GetKnowledgeBase"
	KnowledgeBases_CreateKnowledgeBase_FullMethodName = "/google.cloud.dialogflow.v2.KnowledgeBases/CreateKnowledgeBase"
	KnowledgeBases_DeleteKnowledgeBase_FullMethodName = "/google.cloud.dialogflow.v2.KnowledgeBases/DeleteKnowledgeBase"
	KnowledgeBases_UpdateKnowledgeBase_FullMethodName = "/google.cloud.dialogflow.v2.KnowledgeBases/UpdateKnowledgeBase"
)
View Source
const (
	Participants_CreateParticipant_FullMethodName                     = "/google.cloud.dialogflow.v2.Participants/CreateParticipant"
	Participants_GetParticipant_FullMethodName                        = "/google.cloud.dialogflow.v2.Participants/GetParticipant"
	Participants_ListParticipants_FullMethodName                      = "/google.cloud.dialogflow.v2.Participants/ListParticipants"
	Participants_UpdateParticipant_FullMethodName                     = "/google.cloud.dialogflow.v2.Participants/UpdateParticipant"
	Participants_AnalyzeContent_FullMethodName                        = "/google.cloud.dialogflow.v2.Participants/AnalyzeContent"
	Participants_StreamingAnalyzeContent_FullMethodName               = "/google.cloud.dialogflow.v2.Participants/StreamingAnalyzeContent"
	Participants_BidiStreamingAnalyzeContent_FullMethodName           = "/google.cloud.dialogflow.v2.Participants/BidiStreamingAnalyzeContent"
	Participants_StreamingReactiveCompanionSuggestions_FullMethodName = "/google.cloud.dialogflow.v2.Participants/StreamingReactiveCompanionSuggestions"
	Participants_SuggestArticles_FullMethodName                       = "/google.cloud.dialogflow.v2.Participants/SuggestArticles"
	Participants_SuggestFaqAnswers_FullMethodName                     = "/google.cloud.dialogflow.v2.Participants/SuggestFaqAnswers"
	Participants_SuggestSmartReplies_FullMethodName                   = "/google.cloud.dialogflow.v2.Participants/SuggestSmartReplies"
	Participants_SuggestKnowledgeAssist_FullMethodName                = "/google.cloud.dialogflow.v2.Participants/SuggestKnowledgeAssist"
)
View Source
const (
	SessionEntityTypes_ListSessionEntityTypes_FullMethodName  = "/google.cloud.dialogflow.v2.SessionEntityTypes/ListSessionEntityTypes"
	SessionEntityTypes_GetSessionEntityType_FullMethodName    = "/google.cloud.dialogflow.v2.SessionEntityTypes/GetSessionEntityType"
	SessionEntityTypes_CreateSessionEntityType_FullMethodName = "/google.cloud.dialogflow.v2.SessionEntityTypes/CreateSessionEntityType"
	SessionEntityTypes_UpdateSessionEntityType_FullMethodName = "/google.cloud.dialogflow.v2.SessionEntityTypes/UpdateSessionEntityType"
	SessionEntityTypes_DeleteSessionEntityType_FullMethodName = "/google.cloud.dialogflow.v2.SessionEntityTypes/DeleteSessionEntityType"
)
View Source
const (
	Sessions_DetectIntent_FullMethodName          = "/google.cloud.dialogflow.v2.Sessions/DetectIntent"
	Sessions_StreamingDetectIntent_FullMethodName = "/google.cloud.dialogflow.v2.Sessions/StreamingDetectIntent"
)
View Source
const (
	SipTrunks_CreateSipTrunk_FullMethodName = "/google.cloud.dialogflow.v2.SipTrunks/CreateSipTrunk"
	SipTrunks_DeleteSipTrunk_FullMethodName = "/google.cloud.dialogflow.v2.SipTrunks/DeleteSipTrunk"
	SipTrunks_ListSipTrunks_FullMethodName  = "/google.cloud.dialogflow.v2.SipTrunks/ListSipTrunks"
	SipTrunks_GetSipTrunk_FullMethodName    = "/google.cloud.dialogflow.v2.SipTrunks/GetSipTrunk"
	SipTrunks_UpdateSipTrunk_FullMethodName = "/google.cloud.dialogflow.v2.SipTrunks/UpdateSipTrunk"
)
View Source
const (
	Tools_CreateTool_FullMethodName = "/google.cloud.dialogflow.v2.Tools/CreateTool"
	Tools_GetTool_FullMethodName    = "/google.cloud.dialogflow.v2.Tools/GetTool"
	Tools_ListTools_FullMethodName  = "/google.cloud.dialogflow.v2.Tools/ListTools"
	Tools_DeleteTool_FullMethodName = "/google.cloud.dialogflow.v2.Tools/DeleteTool"
	Tools_UpdateTool_FullMethodName = "/google.cloud.dialogflow.v2.Tools/UpdateTool"
)
View Source
const (
	Versions_ListVersions_FullMethodName  = "/google.cloud.dialogflow.v2.Versions/ListVersions"
	Versions_GetVersion_FullMethodName    = "/google.cloud.dialogflow.v2.Versions/GetVersion"
	Versions_CreateVersion_FullMethodName = "/google.cloud.dialogflow.v2.Versions/CreateVersion"
	Versions_UpdateVersion_FullMethodName = "/google.cloud.dialogflow.v2.Versions/UpdateVersion"
	Versions_DeleteVersion_FullMethodName = "/google.cloud.dialogflow.v2.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 (
	SpeechToTextConfig_GeminiAsrConfig_StartSensitivity_name = map[int32]string{
		0: "START_SENSITIVITY_UNSPECIFIED",
		1: "START_SENSITIVITY_HIGH",
		2: "START_SENSITIVITY_LOW",
	}
	SpeechToTextConfig_GeminiAsrConfig_StartSensitivity_value = map[string]int32{
		"START_SENSITIVITY_UNSPECIFIED": 0,
		"START_SENSITIVITY_HIGH":        1,
		"START_SENSITIVITY_LOW":         2,
	}
)

Enum value maps for SpeechToTextConfig_GeminiAsrConfig_StartSensitivity.

View Source
var (
	SpeechToTextConfig_GeminiAsrConfig_EndSensitivity_name = map[int32]string{
		0: "END_SENSITIVITY_UNSPECIFIED",
		1: "END_SENSITIVITY_HIGH",
		2: "END_SENSITIVITY_LOW",
	}
	SpeechToTextConfig_GeminiAsrConfig_EndSensitivity_value = map[string]int32{
		"END_SENSITIVITY_UNSPECIFIED": 0,
		"END_SENSITIVITY_HIGH":        1,
		"END_SENSITIVITY_LOW":         2,
	}
)

Enum value maps for SpeechToTextConfig_GeminiAsrConfig_EndSensitivity.

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

Enum value maps for CompanionAgent_TriggerEvent.

View Source
var (
	CompanionAgent_SkillConfig_SkillTriggerEvent_name = map[int32]string{
		0: "SKILL_TRIGGER_EVENT_UNSPECIFIED",
		1: "END_OF_UTTERANCE",
		2: "CUSTOMER_MESSAGE",
		3: "AGENT_MESSAGE",
	}
	CompanionAgent_SkillConfig_SkillTriggerEvent_value = map[string]int32{
		"SKILL_TRIGGER_EVENT_UNSPECIFIED": 0,
		"END_OF_UTTERANCE":                1,
		"CUSTOMER_MESSAGE":                2,
		"AGENT_MESSAGE":                   3,
	}
)

Enum value maps for CompanionAgent_SkillConfig_SkillTriggerEvent.

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 (
	Conversation_GeneratorContext_GeneratorType_name = map[int32]string{
		0: "GENERATOR_TYPE_UNSPECIFIED",
		1: "FREE_FORM",
		2: "AGENT_COACHING",
		3: "SUMMARIZATION",
		4: "TRANSLATION",
		5: "AGENT_FEEDBACK",
		6: "CUSTOMER_MESSAGE_GENERATION",
	}
	Conversation_GeneratorContext_GeneratorType_value = map[string]int32{
		"GENERATOR_TYPE_UNSPECIFIED":  0,
		"FREE_FORM":                   1,
		"AGENT_COACHING":              2,
		"SUMMARIZATION":               3,
		"TRANSLATION":                 4,
		"AGENT_FEEDBACK":              5,
		"CUSTOMER_MESSAGE_GENERATION": 6,
	}
)

Enum value maps for Conversation_GeneratorContext_GeneratorType.

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",
		4: "PLAYBOOK",
		5: "EVENT",
	}
	SearchKnowledgeAnswer_AnswerType_value = map[string]int32{
		"ANSWER_TYPE_UNSPECIFIED": 0,
		"FAQ":                     1,
		"GENERATIVE":              2,
		"INTENT":                  3,
		"PLAYBOOK":                4,
		"EVENT":                   5,
	}
)

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 (
	ConversationModel_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "UNDEPLOYED",
		3: "DEPLOYING",
		4: "DEPLOYED",
		5: "UNDEPLOYING",
		6: "DELETING",
		7: "FAILED",
		8: "PENDING",
	}
	ConversationModel_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"UNDEPLOYED":        2,
		"DEPLOYING":         3,
		"DEPLOYED":          4,
		"UNDEPLOYING":       5,
		"DELETING":          6,
		"FAILED":            7,
		"PENDING":           8,
	}
)

Enum value maps for ConversationModel_State.

View Source
var (
	ConversationModel_ModelType_name = map[int32]string{
		0: "MODEL_TYPE_UNSPECIFIED",
		2: "SMART_REPLY_DUAL_ENCODER_MODEL",
		6: "SMART_REPLY_BERT_MODEL",
	}
	ConversationModel_ModelType_value = map[string]int32{
		"MODEL_TYPE_UNSPECIFIED":         0,
		"SMART_REPLY_DUAL_ENCODER_MODEL": 2,
		"SMART_REPLY_BERT_MODEL":         6,
	}
)

Enum value maps for ConversationModel_ModelType.

View Source
var (
	CreateConversationModelOperationMetadata_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING",
		2: "SUCCEEDED",
		3: "FAILED",
		4: "CANCELLED",
		5: "CANCELLING",
		6: "TRAINING",
	}
	CreateConversationModelOperationMetadata_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"SUCCEEDED":         2,
		"FAILED":            3,
		"CANCELLED":         4,
		"CANCELLING":        5,
		"TRAINING":          6,
	}
)

Enum value maps for CreateConversationModelOperationMetadata_State.

View Source
var (
	CreateConversationModelEvaluationOperationMetadata_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "INITIALIZING",
		2: "RUNNING",
		3: "CANCELLED",
		4: "SUCCEEDED",
		5: "FAILED",
	}
	CreateConversationModelEvaluationOperationMetadata_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"INITIALIZING":      1,
		"RUNNING":           2,
		"CANCELLED":         3,
		"SUCCEEDED":         4,
		"FAILED":            5,
	}
)

Enum value maps for CreateConversationModelEvaluationOperationMetadata_State.

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 (
	SuggestionFeature_Type_name = map[int32]string{
		0:  "TYPE_UNSPECIFIED",
		1:  "ARTICLE_SUGGESTION",
		2:  "FAQ",
		3:  "SMART_REPLY",
		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,
		"CONVERSATION_SUMMARIZATION": 8,
		"KNOWLEDGE_SEARCH":           14,
		"KNOWLEDGE_ASSIST":           15,
	}
)

Enum value maps for SuggestionFeature_Type.

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,
	}
)

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",
		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,
		"GOOGLE_HANGOUTS":      11,
	}
)

Enum value maps for Intent_Message_Platform.

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 (
	DatastoreResponseReason_name = map[int32]string{
		0: "DATASTORE_RESPONSE_REASON_UNSPECIFIED",
		1: "NONE",
		2: "SEARCH_OUT_OF_QUOTA",
		3: "SEARCH_EMPTY_RESULTS",
		4: "ANSWER_GENERATION_GEN_AI_DISABLED",
		5: "ANSWER_GENERATION_OUT_OF_QUOTA",
		6: "ANSWER_GENERATION_ERROR",
		7: "ANSWER_GENERATION_NOT_ENOUGH_INFO",
		8: "ANSWER_GENERATION_RAI_FAILED",
		9: "ANSWER_GENERATION_NOT_GROUNDED",
	}
	DatastoreResponseReason_value = map[string]int32{
		"DATASTORE_RESPONSE_REASON_UNSPECIFIED": 0,
		"NONE":                                  1,
		"SEARCH_OUT_OF_QUOTA":                   2,
		"SEARCH_EMPTY_RESULTS":                  3,
		"ANSWER_GENERATION_GEN_AI_DISABLED":     4,
		"ANSWER_GENERATION_OUT_OF_QUOTA":        5,
		"ANSWER_GENERATION_ERROR":               6,
		"ANSWER_GENERATION_NOT_ENOUGH_INFO":     7,
		"ANSWER_GENERATION_RAI_FAILED":          8,
		"ANSWER_GENERATION_NOT_GROUNDED":        9,
	}
)

Enum value maps for DatastoreResponseReason.

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 (
	IngestedContextReferenceDebugInfo_IngestedParameterDebugInfo_IngestionStatus_name = map[int32]string{
		0: "INGESTION_STATUS_UNSPECIFIED",
		1: "INGESTION_STATUS_SUCCEEDED",
		2: "INGESTION_STATUS_CONTEXT_NOT_AVAILABLE",
		3: "INGESTION_STATUS_PARSE_FAILED",
		4: "INGESTION_STATUS_INVALID_ENTRY",
		5: "INGESTION_STATUS_INVALID_FORMAT",
		6: "INGESTION_STATUS_LANGUAGE_MISMATCH",
	}
	IngestedContextReferenceDebugInfo_IngestedParameterDebugInfo_IngestionStatus_value = map[string]int32{
		"INGESTION_STATUS_UNSPECIFIED":           0,
		"INGESTION_STATUS_SUCCEEDED":             1,
		"INGESTION_STATUS_CONTEXT_NOT_AVAILABLE": 2,
		"INGESTION_STATUS_PARSE_FAILED":          3,
		"INGESTION_STATUS_INVALID_ENTRY":         4,
		"INGESTION_STATUS_INVALID_FORMAT":        5,
		"INGESTION_STATUS_LANGUAGE_MISMATCH":     6,
	}
)

Enum value maps for IngestedContextReferenceDebugInfo_IngestedParameterDebugInfo_IngestionStatus.

View Source
var (
	KnowledgeAssistDebugInfo_QueryGenerationFailureReason_name = map[int32]string{
		0:  "QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED",
		1:  "QUERY_GENERATION_OUT_OF_QUOTA",
		2:  "QUERY_GENERATION_FAILED",
		3:  "QUERY_GENERATION_NO_QUERY_GENERATED",
		4:  "QUERY_GENERATION_RAI_FAILED",
		5:  "NOT_IN_ALLOWLIST",
		6:  "QUERY_GENERATION_QUERY_REDACTED",
		10: "QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED",
		11: "QUERY_GENERATION_EMPTY_CONVERSATION",
		12: "QUERY_GENERATION_EMPTY_LAST_MESSAGE",
		13: "QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET",
	}
	KnowledgeAssistDebugInfo_QueryGenerationFailureReason_value = map[string]int32{
		"QUERY_GENERATION_FAILURE_REASON_UNSPECIFIED":         0,
		"QUERY_GENERATION_OUT_OF_QUOTA":                       1,
		"QUERY_GENERATION_FAILED":                             2,
		"QUERY_GENERATION_NO_QUERY_GENERATED":                 3,
		"QUERY_GENERATION_RAI_FAILED":                         4,
		"NOT_IN_ALLOWLIST":                                    5,
		"QUERY_GENERATION_QUERY_REDACTED":                     6,
		"QUERY_GENERATION_LLM_RESPONSE_PARSE_FAILED":          10,
		"QUERY_GENERATION_EMPTY_CONVERSATION":                 11,
		"QUERY_GENERATION_EMPTY_LAST_MESSAGE":                 12,
		"QUERY_GENERATION_TRIGGERING_EVENT_CONDITION_NOT_MET": 13,
	}
)

Enum value maps for KnowledgeAssistDebugInfo_QueryGenerationFailureReason.

View Source
var (
	KnowledgeAssistDebugInfo_QueryCategorizationFailureReason_name = map[int32]string{
		0: "QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED",
		1: "QUERY_CATEGORIZATION_INVALID_CONFIG",
		2: "QUERY_CATEGORIZATION_RESULT_NOT_FOUND",
		3: "QUERY_CATEGORIZATION_FAILED",
	}
	KnowledgeAssistDebugInfo_QueryCategorizationFailureReason_value = map[string]int32{
		"QUERY_CATEGORIZATION_FAILURE_REASON_UNSPECIFIED": 0,
		"QUERY_CATEGORIZATION_INVALID_CONFIG":             1,
		"QUERY_CATEGORIZATION_RESULT_NOT_FOUND":           2,
		"QUERY_CATEGORIZATION_FAILED":                     3,
	}
)

Enum value maps for KnowledgeAssistDebugInfo_QueryCategorizationFailureReason.

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

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 (
	SipTrunk_GoogleRootCertFile_name = map[int32]string{
		0: "CERT_FILE_UNSPECIFIED",
		5: "EXTERNAL_PRIVATE_CA",
	}
	SipTrunk_GoogleRootCertFile_value = map[string]int32{
		"CERT_FILE_UNSPECIFIED": 0,
		"EXTERNAL_PRIVATE_CA":   5,
	}
)

Enum value maps for SipTrunk_GoogleRootCertFile.

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 (
	SipHostname_ConnectionState_name = map[int32]string{
		0: "CONNECTION_STATE_UNSPECIFIED",
		1: "CONNECTED",
		2: "DISCONNECTED",
		3: "AUTHENTICATION_FAILED",
		4: "KEEPALIVE",
	}
	SipHostname_ConnectionState_value = map[string]int32{
		"CONNECTION_STATE_UNSPECIFIED": 0,
		"CONNECTED":                    1,
		"DISCONNECTED":                 2,
		"AUTHENTICATION_FAILED":        3,
		"KEEPALIVE":                    4,
	}
)

Enum value maps for SipHostname_ConnectionState.

View Source
var (
	SipHostname_HostnameCertificateState_name = map[int32]string{
		0: "HOSTNAME_CERTIFICATE_STATE_UNSPECIFIED",
		1: "VALID",
		2: "INVALID",
		3: "EXPIRED",
		4: "HOSTNAME_NOT_FOUND",
		5: "UNAUTHENTICATED",
		6: "TRUST_STORE_NOT_FOUND",
		7: "HOSTNAME_INVALID_FORMAT",
		8: "QUOTA_EXCEEDED",
	}
	SipHostname_HostnameCertificateState_value = map[string]int32{
		"HOSTNAME_CERTIFICATE_STATE_UNSPECIFIED": 0,
		"VALID":                                  1,
		"INVALID":                                2,
		"EXPIRED":                                3,
		"HOSTNAME_NOT_FOUND":                     4,
		"UNAUTHENTICATED":                        5,
		"TRUST_STORE_NOT_FOUND":                  6,
		"HOSTNAME_INVALID_FORMAT":                7,
		"QUOTA_EXCEEDED":                         8,
	}
)

Enum value maps for SipHostname_HostnameCertificateState.

View Source
var (
	ProbeDetails_ProbeStatus_name = map[int32]string{
		0: "PROBE_STATUS_UNSPECIFIED",
		1: "PROBE_STATUS_SUCCESS",
		2: "PROBE_STATUS_FAILED",
	}
	ProbeDetails_ProbeStatus_value = map[string]int32{
		"PROBE_STATUS_UNSPECIFIED": 0,
		"PROBE_STATUS_SUCCESS":     1,
		"PROBE_STATUS_FAILED":      2,
	}
)

Enum value maps for ProbeDetails_ProbeStatus.

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.v2.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/v2/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.v2.AnswerRecords",
	HandlerType: (*AnswerRecordsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListAnswerRecords",
			Handler:    _AnswerRecords_ListAnswerRecords_Handler,
		},
		{
			MethodName: "UpdateAnswerRecord",
			Handler:    _AnswerRecords_UpdateAnswerRecord_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2/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 CompanionAgents_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2.CompanionAgents",
	HandlerType: (*CompanionAgentsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateCompanionAgent",
			Handler:    _CompanionAgents_CreateCompanionAgent_Handler,
		},
		{
			MethodName: "GetCompanionAgent",
			Handler:    _CompanionAgents_GetCompanionAgent_Handler,
		},
		{
			MethodName: "UpdateCompanionAgent",
			Handler:    _CompanionAgents_UpdateCompanionAgent_Handler,
		},
		{
			MethodName: "DeleteCompanionAgent",
			Handler:    _CompanionAgents_DeleteCompanionAgent_Handler,
		},
		{
			MethodName: "ListCompanionAgents",
			Handler:    _CompanionAgents_ListCompanionAgents_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2/companion_agent.proto",
}

CompanionAgents_ServiceDesc is the grpc.ServiceDesc for CompanionAgents 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.v2.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/v2/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 ConversationDatasets_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2.ConversationDatasets",
	HandlerType: (*ConversationDatasetsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateConversationDataset",
			Handler:    _ConversationDatasets_CreateConversationDataset_Handler,
		},
		{
			MethodName: "GetConversationDataset",
			Handler:    _ConversationDatasets_GetConversationDataset_Handler,
		},
		{
			MethodName: "ListConversationDatasets",
			Handler:    _ConversationDatasets_ListConversationDatasets_Handler,
		},
		{
			MethodName: "DeleteConversationDataset",
			Handler:    _ConversationDatasets_DeleteConversationDataset_Handler,
		},
		{
			MethodName: "ImportConversationData",
			Handler:    _ConversationDatasets_ImportConversationData_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2/conversation_dataset.proto",
}

ConversationDatasets_ServiceDesc is the grpc.ServiceDesc for ConversationDatasets 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 ConversationModels_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2.ConversationModels",
	HandlerType: (*ConversationModelsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateConversationModel",
			Handler:    _ConversationModels_CreateConversationModel_Handler,
		},
		{
			MethodName: "GetConversationModel",
			Handler:    _ConversationModels_GetConversationModel_Handler,
		},
		{
			MethodName: "ListConversationModels",
			Handler:    _ConversationModels_ListConversationModels_Handler,
		},
		{
			MethodName: "DeleteConversationModel",
			Handler:    _ConversationModels_DeleteConversationModel_Handler,
		},
		{
			MethodName: "DeployConversationModel",
			Handler:    _ConversationModels_DeployConversationModel_Handler,
		},
		{
			MethodName: "UndeployConversationModel",
			Handler:    _ConversationModels_UndeployConversationModel_Handler,
		},
		{
			MethodName: "GetConversationModelEvaluation",
			Handler:    _ConversationModels_GetConversationModelEvaluation_Handler,
		},
		{
			MethodName: "ListConversationModelEvaluations",
			Handler:    _ConversationModels_ListConversationModelEvaluations_Handler,
		},
		{
			MethodName: "CreateConversationModelEvaluation",
			Handler:    _ConversationModels_CreateConversationModelEvaluation_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2/conversation_model.proto",
}

ConversationModels_ServiceDesc is the grpc.ServiceDesc for ConversationModels 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.v2.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/v2/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.v2.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: "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/v2/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.v2.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,
		},
		{
			MethodName: "ExportDocument",
			Handler:    _Documents_ExportDocument_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/dialogflow/v2/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.v2.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/v2/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.v2.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/v2/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.v2.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/v2/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_v2_agent_coaching_instruction_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_agent_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_answer_record_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_audio_config_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_ces_app_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_ces_tool_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_companion_agent_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_context_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_conversation_dataset_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_conversation_event_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_conversation_model_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_conversation_profile_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_conversation_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_document_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_encryption_spec_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_entity_type_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_environment_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_fulfillment_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_gcs_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_generator_evaluation_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_generator_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_grounding_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_human_agent_assistant_event_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_intent_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_knowledge_base_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_operations_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_participant_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_session_entity_type_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_session_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_sip_trunk_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_tool_call_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_tool_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_toolset_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_validation_result_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_version_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_dialogflow_v2_webhook_proto protoreflect.FileDescriptor
View Source
var Fulfillments_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2.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/v2/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.v2.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/v2/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.v2.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/v2/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.v2.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/v2/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.v2.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/v2/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.v2.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,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamingAnalyzeContent",
			Handler:       _Participants_StreamingAnalyzeContent_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "BidiStreamingAnalyzeContent",
			Handler:       _Participants_BidiStreamingAnalyzeContent_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "StreamingReactiveCompanionSuggestions",
			Handler:       _Participants_StreamingReactiveCompanionSuggestions_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "google/cloud/dialogflow/v2/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 SessionEntityTypes_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.dialogflow.v2.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/v2/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.v2.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/v2/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.v2.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/v2/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.v2.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/v2/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.v2.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/v2/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 RegisterCompanionAgentsServer

func RegisterCompanionAgentsServer(s grpc.ServiceRegistrar, srv CompanionAgentsServer)

func RegisterContextsServer

func RegisterContextsServer(s grpc.ServiceRegistrar, srv ContextsServer)

func RegisterConversationDatasetsServer

func RegisterConversationDatasetsServer(s grpc.ServiceRegistrar, srv ConversationDatasetsServer)

func RegisterConversationModelsServer

func RegisterConversationModelsServer(s grpc.ServiceRegistrar, srv ConversationModelsServer)

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.73.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 RegisterSessionEntityTypesServer

func RegisterSessionEntityTypesServer(s grpc.ServiceRegistrar, srv SessionEntityTypesServer)

func RegisterSessionsServer

func RegisterSessionsServer(s grpc.ServiceRegistrar, srv SessionsServer)

func RegisterSipTrunksServer added in v1.73.0

func RegisterSipTrunksServer(s grpc.ServiceRegistrar, srv SipTrunksServer)

func RegisterToolsServer added in v1.73.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>`.
	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/v2/agent.proto.
	MatchMode Agent_MatchMode `` /* 137-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 `` /* 142-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.v2.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/v2/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.v2.AgentAssistantFeedback.answer_relevance]: [AnswerRelevance.IRRELEVANT][google.cloud.dialogflow.v2.AgentAssistantFeedback.AnswerRelevance.IRRELEVANT]
	AnswerRelevance AgentAssistantFeedback_AnswerRelevance `` /* 178-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.v2.AgentAssistantFeedback.document_correctness]: [INCORRECT][google.cloud.dialogflow.v2.AgentAssistantFeedback.DocumentCorrectness.INCORRECT]
	DocumentCorrectness AgentAssistantFeedback_DocumentCorrectness `` /* 194-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.v2.AgentAssistantFeedback.document_efficiency]
	// is
	// [DocumentEfficiency.INEFFICIENT][google.cloud.dialogflow.v2.AgentAssistantFeedback.DocumentEfficiency.INEFFICIENT].
	DocumentEfficiency AgentAssistantFeedback_DocumentEfficiency `` /* 190-byte string literal not displayed */
	// Optional. 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 */
	// Optional. Feedback for companion agent.
	CompanionFeedback *AgentAssistantFeedback_CompanionFeedback `protobuf:"bytes,8,opt,name=companion_feedback,json=companionFeedback,proto3" json:"companion_feedback,omitempty"`
	// contains filtered or unexported fields
}

Detail feedback of Agent Assist result.

func (*AgentAssistantFeedback) Descriptor deprecated

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

Deprecated: Use AgentAssistantFeedback.ProtoReflect.Descriptor instead.

func (*AgentAssistantFeedback) GetAnswerRelevance

func (*AgentAssistantFeedback) GetCompanionFeedback

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

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_CompanionFeedback

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

Feedback for companion agent.

func (*AgentAssistantFeedback_CompanionFeedback) Descriptor deprecated

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

Deprecated: Use AgentAssistantFeedback_CompanionFeedback.ProtoReflect.Descriptor instead.

func (*AgentAssistantFeedback_CompanionFeedback) ProtoMessage

func (*AgentAssistantFeedback_CompanionFeedback) ProtoReflect

func (*AgentAssistantFeedback_CompanionFeedback) Reset

func (*AgentAssistantFeedback_CompanionFeedback) String

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.v2.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.v2.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.v2.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.v2.UpdateAnswerRecordRequest].
	// If the value is not empty,
	// [AnswerFeedback.clicked][google.cloud.dialogflow.v2.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 added in v1.26.0

type AgentAssistantFeedback_SummarizationFeedback struct {

	// Timestamp when composing of the summary starts.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Timestamp when the summary was submitted.
	SubmitTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=submit_time,json=submitTime,proto3" json:"submit_time,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 `` /* 171-byte string literal not displayed */
	// contains filtered or unexported fields
}

Feedback for conversation summarization.

func (*AgentAssistantFeedback_SummarizationFeedback) Descriptor deprecated added in v1.26.0

Deprecated: Use AgentAssistantFeedback_SummarizationFeedback.ProtoReflect.Descriptor instead.

func (*AgentAssistantFeedback_SummarizationFeedback) GetStartTime added in v1.26.0

func (*AgentAssistantFeedback_SummarizationFeedback) GetSubmitTime added in v1.26.0

func (*AgentAssistantFeedback_SummarizationFeedback) GetSummaryText added in v1.26.0

func (*AgentAssistantFeedback_SummarizationFeedback) GetTextSections added in v1.50.0

func (*AgentAssistantFeedback_SummarizationFeedback) ProtoMessage added in v1.26.0

func (*AgentAssistantFeedback_SummarizationFeedback) ProtoReflect added in v1.26.0

func (*AgentAssistantFeedback_SummarizationFeedback) Reset added in v1.26.0

func (*AgentAssistantFeedback_SummarizationFeedback) String added in v1.26.0

type AgentAssistantRecord

type AgentAssistantRecord struct {

	// Output only. The agent assist answer.
	//
	// Types that are valid to be assigned to Answer:
	//
	//	*AgentAssistantRecord_ArticleSuggestionAnswer
	//	*AgentAssistantRecord_FaqAnswer
	//	*AgentAssistantRecord_DialogflowAssistAnswer
	//	*AgentAssistantRecord_GeneratorSuggestion
	//	*AgentAssistantRecord_CompanionSuggestion
	//	*AgentAssistantRecord_ReactiveCompanionSuggestion
	Answer isAgentAssistantRecord_Answer `protobuf_oneof:"answer"`
	// contains filtered or unexported fields
}

Represents a record of a human agent assist answer.

func (*AgentAssistantRecord) Descriptor deprecated

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

Deprecated: Use AgentAssistantRecord.ProtoReflect.Descriptor instead.

func (*AgentAssistantRecord) GetAnswer

func (x *AgentAssistantRecord) GetAnswer() isAgentAssistantRecord_Answer

func (*AgentAssistantRecord) GetArticleSuggestionAnswer

func (x *AgentAssistantRecord) GetArticleSuggestionAnswer() *ArticleAnswer

func (*AgentAssistantRecord) GetCompanionSuggestion

func (x *AgentAssistantRecord) GetCompanionSuggestion() *CompanionSuggestion

func (*AgentAssistantRecord) GetDialogflowAssistAnswer added in v1.43.0

func (x *AgentAssistantRecord) GetDialogflowAssistAnswer() *DialogflowAssistAnswer

func (*AgentAssistantRecord) GetFaqAnswer

func (x *AgentAssistantRecord) GetFaqAnswer() *FaqAnswer

func (*AgentAssistantRecord) GetGeneratorSuggestion added in v1.73.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_CompanionSuggestion

type AgentAssistantRecord_CompanionSuggestion struct {
	// Output only. The companion suggestion.
	CompanionSuggestion *CompanionSuggestion `protobuf:"bytes,9,opt,name=companion_suggestion,json=companionSuggestion,proto3,oneof"`
}

type AgentAssistantRecord_DialogflowAssistAnswer added in v1.43.0

type AgentAssistantRecord_DialogflowAssistAnswer struct {
	// Output only. 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.73.0

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

type AgentAssistantRecord_ReactiveCompanionSuggestion

type AgentAssistantRecord_ReactiveCompanionSuggestion struct {
	// Output only. The reactive companion suggestion.
	ReactiveCompanionSuggestion *StreamingReactiveCompanionSuggestionsResponse_ReactiveModeResponse `protobuf:"bytes,10,opt,name=reactive_companion_suggestion,json=reactiveCompanionSuggestion,proto3,oneof"`
}

type AgentCoachingContext added in v1.73.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 ["1.2"].
	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.73.0

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

Deprecated: Use AgentCoachingContext.ProtoReflect.Descriptor instead.

func (*AgentCoachingContext) GetInstructions added in v1.73.0

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

func (*AgentCoachingContext) GetOutputLanguageCode added in v1.73.0

func (x *AgentCoachingContext) GetOutputLanguageCode() string

func (*AgentCoachingContext) GetOverarchingGuidance added in v1.73.0

func (x *AgentCoachingContext) GetOverarchingGuidance() string

func (*AgentCoachingContext) GetVersion added in v1.73.0

func (x *AgentCoachingContext) GetVersion() string

func (*AgentCoachingContext) ProtoMessage added in v1.73.0

func (*AgentCoachingContext) ProtoMessage()

func (*AgentCoachingContext) ProtoReflect added in v1.73.0

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

func (*AgentCoachingContext) Reset added in v1.73.0

func (x *AgentCoachingContext) Reset()

func (*AgentCoachingContext) String added in v1.73.0

func (x *AgentCoachingContext) String() string

type AgentCoachingInstruction added in v1.73.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 `` /* 178-byte string literal not displayed */
	// contains filtered or unexported fields
}

Agent Coaching instructions that customer can configure.

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

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

Deprecated: Use AgentCoachingInstruction.ProtoReflect.Descriptor instead.

func (*AgentCoachingInstruction) GetAgentAction added in v1.73.0

func (x *AgentCoachingInstruction) GetAgentAction() string

func (*AgentCoachingInstruction) GetCondition added in v1.73.0

func (x *AgentCoachingInstruction) GetCondition() string

func (*AgentCoachingInstruction) GetDisplayDetails added in v1.73.0

func (x *AgentCoachingInstruction) GetDisplayDetails() string

func (*AgentCoachingInstruction) GetDisplayName added in v1.73.0

func (x *AgentCoachingInstruction) GetDisplayName() string

func (*AgentCoachingInstruction) GetDuplicateCheckResult added in v1.73.0

func (*AgentCoachingInstruction) GetSystemAction added in v1.73.0

func (x *AgentCoachingInstruction) GetSystemAction() string

func (*AgentCoachingInstruction) GetTriggeringEvent added in v1.73.0

func (*AgentCoachingInstruction) ProtoMessage added in v1.73.0

func (*AgentCoachingInstruction) ProtoMessage()

func (*AgentCoachingInstruction) ProtoReflect added in v1.73.0

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

func (*AgentCoachingInstruction) Reset added in v1.73.0

func (x *AgentCoachingInstruction) Reset()

func (*AgentCoachingInstruction) String added in v1.73.0

func (x *AgentCoachingInstruction) String() string

type AgentCoachingInstruction_DuplicateCheckResult added in v1.73.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.73.0

Deprecated: Use AgentCoachingInstruction_DuplicateCheckResult.ProtoReflect.Descriptor instead.

func (*AgentCoachingInstruction_DuplicateCheckResult) GetDuplicateSuggestions added in v1.73.0

func (*AgentCoachingInstruction_DuplicateCheckResult) ProtoMessage added in v1.73.0

func (*AgentCoachingInstruction_DuplicateCheckResult) ProtoReflect added in v1.73.0

func (*AgentCoachingInstruction_DuplicateCheckResult) Reset added in v1.73.0

func (*AgentCoachingInstruction_DuplicateCheckResult) String added in v1.73.0

type AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion added in v1.73.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.73.0

Deprecated: Use AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion.ProtoReflect.Descriptor instead.

func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) GetAnswerRecord added in v1.73.0

func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) GetSimilarityScore added in v1.73.0

func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) GetSuggestionIndex added in v1.73.0

func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) ProtoMessage added in v1.73.0

func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) ProtoReflect added in v1.73.0

func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) Reset added in v1.73.0

func (*AgentCoachingInstruction_DuplicateCheckResult_DuplicateSuggestion) String added in v1.73.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.73.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.73.0

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

Deprecated: Use AgentCoachingSuggestion.ProtoReflect.Descriptor instead.

func (*AgentCoachingSuggestion) GetAgentActionSuggestions added in v1.73.0

func (*AgentCoachingSuggestion) GetApplicableInstructions added in v1.73.0

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

func (*AgentCoachingSuggestion) GetSampleResponses added in v1.73.0

func (*AgentCoachingSuggestion) ProtoMessage added in v1.73.0

func (*AgentCoachingSuggestion) ProtoMessage()

func (*AgentCoachingSuggestion) ProtoReflect added in v1.73.0

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

func (*AgentCoachingSuggestion) Reset added in v1.73.0

func (x *AgentCoachingSuggestion) Reset()

func (*AgentCoachingSuggestion) String added in v1.73.0

func (x *AgentCoachingSuggestion) String() string

type AgentCoachingSuggestion_AgentActionSuggestion added in v1.73.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.73.0

Deprecated: Use AgentCoachingSuggestion_AgentActionSuggestion.ProtoReflect.Descriptor instead.

func (*AgentCoachingSuggestion_AgentActionSuggestion) GetAgentAction added in v1.73.0

func (*AgentCoachingSuggestion_AgentActionSuggestion) GetDuplicateCheckResult added in v1.73.0

func (*AgentCoachingSuggestion_AgentActionSuggestion) GetSources added in v1.73.0

func (*AgentCoachingSuggestion_AgentActionSuggestion) ProtoMessage added in v1.73.0

func (*AgentCoachingSuggestion_AgentActionSuggestion) ProtoReflect added in v1.73.0

func (*AgentCoachingSuggestion_AgentActionSuggestion) Reset added in v1.73.0

func (*AgentCoachingSuggestion_AgentActionSuggestion) String added in v1.73.0

type AgentCoachingSuggestion_DuplicateCheckResult added in v1.73.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.73.0

Deprecated: Use AgentCoachingSuggestion_DuplicateCheckResult.ProtoReflect.Descriptor instead.

func (*AgentCoachingSuggestion_DuplicateCheckResult) GetDuplicateSuggestions added in v1.73.0

func (*AgentCoachingSuggestion_DuplicateCheckResult) ProtoMessage added in v1.73.0

func (*AgentCoachingSuggestion_DuplicateCheckResult) ProtoReflect added in v1.73.0

func (*AgentCoachingSuggestion_DuplicateCheckResult) Reset added in v1.73.0

func (*AgentCoachingSuggestion_DuplicateCheckResult) String added in v1.73.0

type AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion added in v1.73.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.73.0

Deprecated: Use AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion.ProtoReflect.Descriptor instead.

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) GetAnswerRecord added in v1.73.0

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) GetSimilarityScore added in v1.73.0

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) GetSources added in v1.73.0

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) GetSuggestionIndex added in v1.73.0

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) ProtoMessage added in v1.73.0

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) ProtoReflect added in v1.73.0

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) Reset added in v1.73.0

func (*AgentCoachingSuggestion_DuplicateCheckResult_DuplicateSuggestion) String added in v1.73.0

type AgentCoachingSuggestion_SampleResponse added in v1.73.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.73.0

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

Deprecated: Use AgentCoachingSuggestion_SampleResponse.ProtoReflect.Descriptor instead.

func (*AgentCoachingSuggestion_SampleResponse) GetDuplicateCheckResult added in v1.73.0

func (*AgentCoachingSuggestion_SampleResponse) GetResponseText added in v1.73.0

func (x *AgentCoachingSuggestion_SampleResponse) GetResponseText() string

func (*AgentCoachingSuggestion_SampleResponse) GetSources added in v1.73.0

func (*AgentCoachingSuggestion_SampleResponse) ProtoMessage added in v1.73.0

func (*AgentCoachingSuggestion_SampleResponse) ProtoReflect added in v1.73.0

func (*AgentCoachingSuggestion_SampleResponse) Reset added in v1.73.0

func (*AgentCoachingSuggestion_SampleResponse) String added in v1.73.0

type AgentCoachingSuggestion_Sources added in v1.73.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.73.0

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

Deprecated: Use AgentCoachingSuggestion_Sources.ProtoReflect.Descriptor instead.

func (*AgentCoachingSuggestion_Sources) GetInstructionIndexes added in v1.73.0

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

func (*AgentCoachingSuggestion_Sources) ProtoMessage added in v1.73.0

func (*AgentCoachingSuggestion_Sources) ProtoMessage()

func (*AgentCoachingSuggestion_Sources) ProtoReflect added in v1.73.0

func (*AgentCoachingSuggestion_Sources) Reset added in v1.73.0

func (*AgentCoachingSuggestion_Sources) String added in v1.73.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/v2/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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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.v2.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 valid to be assigned to Input:
	//
	//	*AnalyzeContentRequest_TextInput
	//	*AnalyzeContentRequest_AudioInput
	//	*AnalyzeContentRequest_EventInput
	//	*AnalyzeContentRequest_SuggestionInput
	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"`
	// 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.v2.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 added in v1.68.0

func (x *AnalyzeContentRequest) GetAudioInput() *AudioInput

func (*AnalyzeContentRequest) GetCxParameters

func (x *AnalyzeContentRequest) GetCxParameters() *structpb.Struct

func (*AnalyzeContentRequest) GetEventInput

func (x *AnalyzeContentRequest) GetEventInput() *EventInput

func (*AnalyzeContentRequest) GetInput

func (x *AnalyzeContentRequest) GetInput() isAnalyzeContentRequest_Input

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

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_SuggestionInput added in v1.43.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 {

	// 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"`
	// 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"`
	// Only set if a Dialogflow automated agent has responded.
	// Note that in [AutomatedAgentReply.DetectIntentResponse][],
	// [Sessions.DetectIntentResponse.output_audio][]
	// and [Sessions.DetectIntentResponse.output_audio_config][]
	// are always empty, use
	// [reply_audio][google.cloud.dialogflow.v2.AnalyzeContentResponse.reply_audio]
	// instead.
	AutomatedAgentReply *AutomatedAgentReply `protobuf:"bytes,3,opt,name=automated_agent_reply,json=automatedAgentReply,proto3" json:"automated_agent_reply,omitempty"`
	// 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.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
	// of
	// [HumanAgentAssistantConfig.human_agent_suggestion_config][google.cloud.dialogflow.v2.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.v2.HumanAgentAssistantConfig.SuggestionConfig.feature_configs]
	// of
	// [HumanAgentAssistantConfig.end_user_suggestion_config][google.cloud.dialogflow.v2.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.v2.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 {

	// A part of a message possibly annotated with an entity.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// 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"`
	// 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 `` /* 174-byte string literal not displayed */
	// Normally, detail feedback is provided when answer is not fully correct.
	//
	// Types that are valid to be assigned 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 and knowledge assist, 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 (x *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 {
	// Detail feedback of agent assist 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.
	// Format: `projects/<Project ID>/locations/<Location
	// ID>/answerRecords/<Answer Record ID>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The AnswerFeedback for this record. You can set this with
	// [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2.AnswerRecords.UpdateAnswerRecord]
	// in order to give us feedback about this answer.
	AnswerFeedback *AnswerFeedback `protobuf:"bytes,2,opt,name=answer_feedback,json=answerFeedback,proto3" json:"answer_feedback,omitempty"`
	// The record for this answer.
	//
	// Types that are valid to be assigned 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.v2.AnswerRecord.name] are returned to the customers.
  2. The customer uses the

[AnswerRecord.name][google.cloud.dialogflow.v2.AnswerRecord.name] to call the

[AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2.AnswerRecords.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 (x *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 {
	// 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 {
	// 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"`
	// Article snippets.
	Snippets []string `protobuf:"bytes,3,rep,name=snippets,proto3" json:"snippets,omitempty"`
	// Article match confidence.
	// The system's confidence score that this article is a good match for this
	// conversation, as a value from 0.0 (completely uncertain) to 1.0
	// (completely certain).
	Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// A map that contains metadata about the answer and the
	// document from which it originates.
	Metadata map[string]string `` /* 143-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) GetConfidence

func (x *ArticleAnswer) GetConfidence() float32

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 ArticleSuggestionModelMetadata

type ArticleSuggestionModelMetadata struct {

	// Optional. Type of the article suggestion model. If not provided, model_type
	// is used.
	TrainingModelType ConversationModel_ModelType `` /* 175-byte string literal not displayed */
	// contains filtered or unexported fields
}

Metadata for article suggestion models.

func (*ArticleSuggestionModelMetadata) Descriptor deprecated

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

Deprecated: Use ArticleSuggestionModelMetadata.ProtoReflect.Descriptor instead.

func (*ArticleSuggestionModelMetadata) GetTrainingModelType

func (*ArticleSuggestionModelMetadata) ProtoMessage

func (*ArticleSuggestionModelMetadata) ProtoMessage()

func (*ArticleSuggestionModelMetadata) ProtoReflect

func (*ArticleSuggestionModelMetadata) Reset

func (x *ArticleSuggestionModelMetadata) Reset()

func (*ArticleSuggestionModelMetadata) 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.v2.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 `` /* 209-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 added in v1.68.0

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

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

Deprecated: Use AudioInput.ProtoReflect.Descriptor instead.

func (*AudioInput) GetAudio added in v1.68.0

func (x *AudioInput) GetAudio() []byte

func (*AudioInput) GetConfig added in v1.68.0

func (x *AudioInput) GetConfig() *InputAudioConfig

func (*AudioInput) ProtoMessage added in v1.68.0

func (*AudioInput) ProtoMessage()

func (*AudioInput) ProtoReflect added in v1.68.0

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

func (*AudioInput) Reset added in v1.68.0

func (x *AudioInput) Reset()

func (*AudioInput) String added in v1.68.0

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.v2#google.cloud.dialogflow.v2.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 {

	// Response of the Dialogflow
	// [Sessions.DetectIntent][google.cloud.dialogflow.v2.Sessions.DetectIntent]
	// call.
	DetectIntentResponse *DetectIntentResponse `protobuf:"bytes,1,opt,name=detect_intent_response,json=detectIntentResponse,proto3" json:"detect_intent_response,omitempty"`
	// AutomatedAgentReply type.
	AutomatedAgentReplyType AutomatedAgentReply_AutomatedAgentReplyType `` /* 211-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"`
	// 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) GetCxCurrentPage added in v1.21.0

func (x *AutomatedAgentReply) GetCxCurrentPage() string

func (*AutomatedAgentReply) GetDetectIntentResponse

func (x *AutomatedAgentReply) GetDetectIntentResponse() *DetectIntentResponse

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 BatchCreateEntitiesRequest

type BatchCreateEntitiesRequest struct {

	// Required. The name of the entity type to create entities in. Format:
	// `projects/<Project 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.v2.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 BatchDeleteEntitiesRequest

type BatchDeleteEntitiesRequest struct {

	// Required. The name of the entity type to delete entries for. Format:
	// `projects/<Project 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.v2.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. Format:
	// `projects/<Project 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.v2.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. Format:
	// `projects/<Project 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.v2.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.
	// Format: `projects/<Project 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.v2.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.
	// Format: `projects/<Project 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 valid to be assigned 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.v2.EntityTypes.BatchUpdateEntityTypes].

func (*BatchUpdateEntityTypesRequest) Descriptor deprecated

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

Deprecated: Use BatchUpdateEntityTypesRequest.ProtoReflect.Descriptor instead.

func (*BatchUpdateEntityTypesRequest) GetEntityTypeBatch

func (x *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.v2.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.
	// Format: `projects/<Project ID>/agent`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The source of the intent batch.
	//
	// Types that are valid to be assigned 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 `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BatchUpdateIntentsRequest) Descriptor deprecated

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

Deprecated: Use BatchUpdateIntentsRequest.ProtoReflect.Descriptor instead.

func (*BatchUpdateIntentsRequest) GetIntentBatch

func (x *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.v2.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

type BidiStreamingAnalyzeContentRequest struct {

	// Required. Possible request types for BidiStreamingAnalyzeContent.
	//
	// Types that are valid to be assigned 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.v2.Participants.BidiStreamingAnalyzeContent].

func (*BidiStreamingAnalyzeContentRequest) Descriptor deprecated

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

Deprecated: Use BidiStreamingAnalyzeContentRequest.ProtoReflect.Descriptor instead.

func (*BidiStreamingAnalyzeContentRequest) GetConfig

func (*BidiStreamingAnalyzeContentRequest) GetInput

func (*BidiStreamingAnalyzeContentRequest) GetRequest

func (x *BidiStreamingAnalyzeContentRequest) GetRequest() isBidiStreamingAnalyzeContentRequest_Request

func (*BidiStreamingAnalyzeContentRequest) ProtoMessage

func (*BidiStreamingAnalyzeContentRequest) ProtoMessage()

func (*BidiStreamingAnalyzeContentRequest) ProtoReflect

func (*BidiStreamingAnalyzeContentRequest) Reset

func (*BidiStreamingAnalyzeContentRequest) String

type BidiStreamingAnalyzeContentRequest_Config

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 valid to be assigned to Config:
	//
	//	*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig_
	Config isBidiStreamingAnalyzeContentRequest_Config_Config `protobuf_oneof:"config"`
	// Optional. Parameters to be passed to the virtual agent at the beginning.
	InitialVirtualAgentParameters *structpb.Struct `` /* 152-byte string literal not displayed */
	// Optional. 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

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

Deprecated: Use BidiStreamingAnalyzeContentRequest_Config.ProtoReflect.Descriptor instead.

func (*BidiStreamingAnalyzeContentRequest_Config) GetConfig

func (x *BidiStreamingAnalyzeContentRequest_Config) GetConfig() isBidiStreamingAnalyzeContentRequest_Config_Config

func (*BidiStreamingAnalyzeContentRequest_Config) GetInitialVirtualAgentParameters

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

func (*BidiStreamingAnalyzeContentRequest_Config) GetInitialVirtualAgentQueryParams

func (x *BidiStreamingAnalyzeContentRequest_Config) GetInitialVirtualAgentQueryParams() *QueryParameters

func (*BidiStreamingAnalyzeContentRequest_Config) GetParticipant

func (*BidiStreamingAnalyzeContentRequest_Config) GetVoiceSessionConfig

func (*BidiStreamingAnalyzeContentRequest_Config) ProtoMessage

func (*BidiStreamingAnalyzeContentRequest_Config) ProtoReflect

func (*BidiStreamingAnalyzeContentRequest_Config) Reset

func (*BidiStreamingAnalyzeContentRequest_Config) String

type BidiStreamingAnalyzeContentRequest_Config_

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

type BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig struct {

	// Required. The encoding of input audio.
	InputAudioEncoding AudioEncoding `` /* 164-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 `` /* 173-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 */
	// Optional. Configuration for using Gemini ASR models served via Vertex
	// AI.
	// This field is only used when `use_gemini_asr` is true.
	GeminiAsrConfig *SpeechToTextConfig_GeminiAsrConfig `protobuf:"bytes,24,opt,name=gemini_asr_config,json=geminiAsrConfig,proto3" json:"gemini_asr_config,omitempty"`
	// Optional. If true, Gemini ASR will be used for transcription instead of
	// Cloud Speech-to-Text. If false, Cloud Speech-to-Text will be used.
	// If unset, this setting is inherited from the ConversationProfile.
	UseGeminiAsr *bool `protobuf:"varint,25,opt,name=use_gemini_asr,json=useGeminiAsr,proto3,oneof" json:"use_gemini_asr,omitempty"`
	// contains filtered or unexported fields
}

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

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) Descriptor deprecated

Deprecated: Use BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig.ProtoReflect.Descriptor instead.

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetEnableCxProactiveProcessing

func (x *BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetEnableCxProactiveProcessing() bool

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetEnableStreamingSynthesize

func (x *BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetEnableStreamingSynthesize() bool

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetGeminiAsrConfig

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetInputAudioEncoding

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetInputAudioSampleRateHertz

func (x *BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetInputAudioSampleRateHertz() int32

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetOutputAudioEncoding

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetOutputAudioSampleRateHertz

func (x *BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetOutputAudioSampleRateHertz() int32

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) GetUseGeminiAsr

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) ProtoMessage

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) ProtoReflect

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) Reset

func (*BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig) String

type BidiStreamingAnalyzeContentRequest_Config_VoiceSessionConfig_

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

type BidiStreamingAnalyzeContentRequest_Input struct {

	// Types that are valid to be assigned 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

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

Deprecated: Use BidiStreamingAnalyzeContentRequest_Input.ProtoReflect.Descriptor instead.

func (*BidiStreamingAnalyzeContentRequest_Input) GetAudio

func (*BidiStreamingAnalyzeContentRequest_Input) GetDtmf

func (*BidiStreamingAnalyzeContentRequest_Input) GetInput

func (x *BidiStreamingAnalyzeContentRequest_Input) GetInput() isBidiStreamingAnalyzeContentRequest_Input_Input

func (*BidiStreamingAnalyzeContentRequest_Input) GetTurn

func (*BidiStreamingAnalyzeContentRequest_Input) ProtoMessage

func (*BidiStreamingAnalyzeContentRequest_Input) ProtoReflect

func (*BidiStreamingAnalyzeContentRequest_Input) Reset

func (*BidiStreamingAnalyzeContentRequest_Input) String

type BidiStreamingAnalyzeContentRequest_Input_

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

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

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

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

type BidiStreamingAnalyzeContentRequest_TurnInput

type BidiStreamingAnalyzeContentRequest_TurnInput struct {

	// Content that indicates the end of the turn.
	//
	// Types that are valid to be assigned to MainContent:
	//
	//	*BidiStreamingAnalyzeContentRequest_TurnInput_Text
	//	*BidiStreamingAnalyzeContentRequest_TurnInput_Intent
	//	*BidiStreamingAnalyzeContentRequest_TurnInput_Event
	//	*BidiStreamingAnalyzeContentRequest_TurnInput_SuggestionInput
	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

Deprecated: Use BidiStreamingAnalyzeContentRequest_TurnInput.ProtoReflect.Descriptor instead.

func (*BidiStreamingAnalyzeContentRequest_TurnInput) GetEvent

func (*BidiStreamingAnalyzeContentRequest_TurnInput) GetIntent

func (*BidiStreamingAnalyzeContentRequest_TurnInput) GetMainContent

func (x *BidiStreamingAnalyzeContentRequest_TurnInput) GetMainContent() isBidiStreamingAnalyzeContentRequest_TurnInput_MainContent

func (*BidiStreamingAnalyzeContentRequest_TurnInput) GetSuggestionInput

func (*BidiStreamingAnalyzeContentRequest_TurnInput) GetText

func (*BidiStreamingAnalyzeContentRequest_TurnInput) GetVirtualAgentParameters

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

func (*BidiStreamingAnalyzeContentRequest_TurnInput) ProtoMessage

func (*BidiStreamingAnalyzeContentRequest_TurnInput) ProtoReflect

func (*BidiStreamingAnalyzeContentRequest_TurnInput) Reset

func (*BidiStreamingAnalyzeContentRequest_TurnInput) String

type BidiStreamingAnalyzeContentRequest_TurnInput_Event

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

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_SuggestionInput

type BidiStreamingAnalyzeContentRequest_TurnInput_SuggestionInput struct {
	// Optional. Input for confirming, revising, or canceling a suggestion.
	SuggestionInput *SuggestionInput `protobuf:"bytes,6,opt,name=suggestion_input,json=suggestionInput,proto3,oneof"`
}

type BidiStreamingAnalyzeContentRequest_TurnInput_Text

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

type BidiStreamingAnalyzeContentResponse struct {

	// The output response.
	//
	// Types that are valid to be assigned 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.v2.Participants.BidiStreamingAnalyzeContent].

func (*BidiStreamingAnalyzeContentResponse) Descriptor deprecated

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

Deprecated: Use BidiStreamingAnalyzeContentResponse.ProtoReflect.Descriptor instead.

func (*BidiStreamingAnalyzeContentResponse) GetAnalyzeContentResponse

func (x *BidiStreamingAnalyzeContentResponse) GetAnalyzeContentResponse() *AnalyzeContentResponse

func (*BidiStreamingAnalyzeContentResponse) GetBargeInSignal

func (*BidiStreamingAnalyzeContentResponse) GetRecognitionResult

func (*BidiStreamingAnalyzeContentResponse) GetResponse

func (x *BidiStreamingAnalyzeContentResponse) GetResponse() isBidiStreamingAnalyzeContentResponse_Response

func (*BidiStreamingAnalyzeContentResponse) GetTurnComplete

func (*BidiStreamingAnalyzeContentResponse) ProtoMessage

func (*BidiStreamingAnalyzeContentResponse) ProtoMessage()

func (*BidiStreamingAnalyzeContentResponse) ProtoReflect

func (*BidiStreamingAnalyzeContentResponse) Reset

func (*BidiStreamingAnalyzeContentResponse) String

type BidiStreamingAnalyzeContentResponse_AnalyzeContentResponse

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

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

Indicate the user barge-in has been detected.

func (*BidiStreamingAnalyzeContentResponse_BargeInSignal) Descriptor deprecated

Deprecated: Use BidiStreamingAnalyzeContentResponse_BargeInSignal.ProtoReflect.Descriptor instead.

func (*BidiStreamingAnalyzeContentResponse_BargeInSignal) ProtoMessage

func (*BidiStreamingAnalyzeContentResponse_BargeInSignal) ProtoReflect

func (*BidiStreamingAnalyzeContentResponse_BargeInSignal) Reset

func (*BidiStreamingAnalyzeContentResponse_BargeInSignal) String

type BidiStreamingAnalyzeContentResponse_BargeInSignal_

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

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

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

Indicate that the turn is complete.

func (*BidiStreamingAnalyzeContentResponse_TurnComplete) Descriptor deprecated

Deprecated: Use BidiStreamingAnalyzeContentResponse_TurnComplete.ProtoReflect.Descriptor instead.

func (*BidiStreamingAnalyzeContentResponse_TurnComplete) ProtoMessage

func (*BidiStreamingAnalyzeContentResponse_TurnComplete) ProtoReflect

func (*BidiStreamingAnalyzeContentResponse_TurnComplete) Reset

func (*BidiStreamingAnalyzeContentResponse_TurnComplete) String

type BidiStreamingAnalyzeContentResponse_TurnComplete_

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 CancelQuery

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

Message to signal cancellation of the current query turn. Cancels the currently active interactive query, not any query running in the background.

func (*CancelQuery) Descriptor deprecated

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

Deprecated: Use CancelQuery.ProtoReflect.Descriptor instead.

func (*CancelQuery) ProtoMessage

func (*CancelQuery) ProtoMessage()

func (*CancelQuery) ProtoReflect

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

func (*CancelQuery) Reset

func (x *CancelQuery) Reset()

func (*CancelQuery) String

func (x *CancelQuery) String() string

type CesAppSpec deprecated added in v1.77.0

type CesAppSpec struct {

	// Optional. Format: `projects/<Project ID>/locations/<Location ID>/apps/<app
	// ID>`.
	CesApp string `protobuf:"bytes,1,opt,name=ces_app,json=cesApp,proto3" json:"ces_app,omitempty"`
	// Optional. Indicates whether the app requires human confirmation.
	ConfirmationRequirement Tool_ConfirmationRequirement `` /* 192-byte string literal not displayed */
	// Optional. Only applicable for CompanionAgent.
	// Indicates whether the ces app is enabled in proactive mode.
	// At least one of `proactive_enabled` or `reactive_enabled` should be
	// true; otherwise, the ces app will be ignored.
	ProactiveEnabled *bool `protobuf:"varint,3,opt,name=proactive_enabled,json=proactiveEnabled,proto3,oneof" json:"proactive_enabled,omitempty"`
	// Optional. Only applicable for CompanionAgent.
	// Indicates whether the ces app is enabled in reactive mode.
	// At least one of `proactive_enabled` or `reactive_enabled` should be
	// true; otherwise, the ces app will be ignored.
	ReactiveEnabled *bool `protobuf:"varint,4,opt,name=reactive_enabled,json=reactiveEnabled,proto3,oneof" json:"reactive_enabled,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: Use `CesToolSpec` instead. Spec of CES app that the generator can choose from.

Deprecated: Marked as deprecated in google/cloud/dialogflow/v2/ces_app.proto.

func (*CesAppSpec) Descriptor deprecated added in v1.77.0

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

Deprecated: Use CesAppSpec.ProtoReflect.Descriptor instead.

func (*CesAppSpec) GetCesApp added in v1.77.0

func (x *CesAppSpec) GetCesApp() string

func (*CesAppSpec) GetConfirmationRequirement added in v1.77.0

func (x *CesAppSpec) GetConfirmationRequirement() Tool_ConfirmationRequirement

func (*CesAppSpec) GetProactiveEnabled added in v1.83.0

func (x *CesAppSpec) GetProactiveEnabled() bool

func (*CesAppSpec) GetReactiveEnabled added in v1.83.0

func (x *CesAppSpec) GetReactiveEnabled() bool

func (*CesAppSpec) ProtoMessage added in v1.77.0

func (*CesAppSpec) ProtoMessage()

func (*CesAppSpec) ProtoReflect added in v1.77.0

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

func (*CesAppSpec) Reset added in v1.77.0

func (x *CesAppSpec) Reset()

func (*CesAppSpec) String added in v1.77.0

func (x *CesAppSpec) String() string

type CesToolSpec added in v1.77.0

type CesToolSpec struct {

	// Optional. Format: `projects/<Project ID>/locations/<Location ID>/apps/<app
	// ID>/tools/<tool ID>`.
	CesTool string `protobuf:"bytes,1,opt,name=ces_tool,json=cesTool,proto3" json:"ces_tool,omitempty"`
	// Optional. Indicates whether the tool requires human confirmation.
	ConfirmationRequirement Tool_ConfirmationRequirement `` /* 192-byte string literal not displayed */
	// contains filtered or unexported fields
}

Spec of CES tool that the generator can choose from.

func (*CesToolSpec) Descriptor deprecated added in v1.77.0

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

Deprecated: Use CesToolSpec.ProtoReflect.Descriptor instead.

func (*CesToolSpec) GetCesTool added in v1.77.0

func (x *CesToolSpec) GetCesTool() string

func (*CesToolSpec) GetConfirmationRequirement added in v1.77.0

func (x *CesToolSpec) GetConfirmationRequirement() Tool_ConfirmationRequirement

func (*CesToolSpec) ProtoMessage added in v1.77.0

func (*CesToolSpec) ProtoMessage()

func (*CesToolSpec) ProtoReflect added in v1.77.0

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

func (*CesToolSpec) Reset added in v1.77.0

func (x *CesToolSpec) Reset()

func (*CesToolSpec) String added in v1.77.0

func (x *CesToolSpec) String() string

type ClearSuggestionFeatureConfigOperationMetadata

type ClearSuggestionFeatureConfigOperationMetadata struct {

	// The resource name of the conversation profile. Format:
	// `projects/<Project ID>/locations/<Location
	// ID>/conversationProfiles/<Conversation Profile ID>`
	ConversationProfile string `protobuf:"bytes,1,opt,name=conversation_profile,json=conversationProfile,proto3" json:"conversation_profile,omitempty"`
	// Required. The participant role to remove the suggestion feature
	// config. Only HUMAN_AGENT or END_USER can be used.
	ParticipantRole Participant_Role `` /* 156-byte string literal not displayed */
	// Required. The type of the suggestion feature to remove.
	SuggestionFeatureType SuggestionFeature_Type `` /* 182-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 [ConversationProfiles.ClearSuggestionFeatureConfig][google.cloud.dialogflow.v2.ConversationProfiles.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 `` /* 156-byte string literal not displayed */
	// Required. The type of the suggestion feature to remove.
	SuggestionFeatureType SuggestionFeature_Type `` /* 182-byte string literal not displayed */
	// contains filtered or unexported fields
}

The request message for [ConversationProfiles.ClearSuggestionFeatureConfig][google.cloud.dialogflow.v2.ConversationProfiles.ClearSuggestionFeatureConfig].

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 CompanionAgent

type CompanionAgent struct {

	// Identifier. The unique identifier of the companion agent.
	// Format:
	// `projects/{project}/locations/{location}/companionAgents/{companion_agent}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Creation time of this companion agent.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Update time of this companion agent.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. List of CES toolset specs that the companion agent can choose
	// from.
	ToolsetTools []*ToolsetTool `protobuf:"bytes,4,rep,name=toolset_tools,json=toolsetTools,proto3" json:"toolset_tools,omitempty"`
	// Optional. List of CES tool specs that the companion agent can choose from.
	CesToolSpecs []*CesToolSpec `protobuf:"bytes,5,rep,name=ces_tool_specs,json=cesToolSpecs,proto3" json:"ces_tool_specs,omitempty"`
	// Optional. Display name for the companion agent.
	// Character limit is 63.
	DisplayName string `protobuf:"bytes,8,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. Description for the companion agent.
	Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`
	// Optional. List of skill configs for the companion agent.
	// Allows at most one instance of each
	// [SkillConfig][google.cloud.dialogflow.v2.CompanionAgent.SkillConfig] type.
	SkillConfigs []*CompanionAgent_SkillConfig `protobuf:"bytes,7,rep,name=skill_configs,json=skillConfigs,proto3" json:"skill_configs,omitempty"`
	// contains filtered or unexported fields
}

Companion agent.

func (*CompanionAgent) Descriptor deprecated

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

Deprecated: Use CompanionAgent.ProtoReflect.Descriptor instead.

func (*CompanionAgent) GetCesToolSpecs

func (x *CompanionAgent) GetCesToolSpecs() []*CesToolSpec

func (*CompanionAgent) GetCreateTime

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

func (*CompanionAgent) GetDescription

func (x *CompanionAgent) GetDescription() string

func (*CompanionAgent) GetDisplayName

func (x *CompanionAgent) GetDisplayName() string

func (*CompanionAgent) GetName

func (x *CompanionAgent) GetName() string

func (*CompanionAgent) GetSkillConfigs

func (x *CompanionAgent) GetSkillConfigs() []*CompanionAgent_SkillConfig

func (*CompanionAgent) GetToolsetTools

func (x *CompanionAgent) GetToolsetTools() []*ToolsetTool

func (*CompanionAgent) GetUpdateTime

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

func (*CompanionAgent) ProtoMessage

func (*CompanionAgent) ProtoMessage()

func (*CompanionAgent) ProtoReflect

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

func (*CompanionAgent) Reset

func (x *CompanionAgent) Reset()

func (*CompanionAgent) String

func (x *CompanionAgent) String() string

type CompanionAgent_GuidanceSkillConfig

type CompanionAgent_GuidanceSkillConfig struct {

	// Optional. Customized instructions for guidance.
	GuidanceInstructions []*GuidanceInstruction `protobuf:"bytes,2,rep,name=guidance_instructions,json=guidanceInstructions,proto3" json:"guidance_instructions,omitempty"`
	// Optional. This is specific additional guidance that can configured by the
	// user.
	OverarchingGuidance string `protobuf:"bytes,3,opt,name=overarching_guidance,json=overarchingGuidance,proto3" json:"overarching_guidance,omitempty"`
	// Optional. Knowledge source configuration for guidance.
	KnowledgeSource *CompanionAgent_KnowledgeSource `protobuf:"bytes,5,opt,name=knowledge_source,json=knowledgeSource,proto3" json:"knowledge_source,omitempty"`
	// contains filtered or unexported fields
}

Guidance skill configuration.

func (*CompanionAgent_GuidanceSkillConfig) Descriptor deprecated

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

Deprecated: Use CompanionAgent_GuidanceSkillConfig.ProtoReflect.Descriptor instead.

func (*CompanionAgent_GuidanceSkillConfig) GetGuidanceInstructions

func (x *CompanionAgent_GuidanceSkillConfig) GetGuidanceInstructions() []*GuidanceInstruction

func (*CompanionAgent_GuidanceSkillConfig) GetKnowledgeSource

func (*CompanionAgent_GuidanceSkillConfig) GetOverarchingGuidance

func (x *CompanionAgent_GuidanceSkillConfig) GetOverarchingGuidance() string

func (*CompanionAgent_GuidanceSkillConfig) ProtoMessage

func (*CompanionAgent_GuidanceSkillConfig) ProtoMessage()

func (*CompanionAgent_GuidanceSkillConfig) ProtoReflect

func (*CompanionAgent_GuidanceSkillConfig) Reset

func (*CompanionAgent_GuidanceSkillConfig) String

type CompanionAgent_KnowledgeSource

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

Knowledge source configuration for knowledge retrieval.

func (*CompanionAgent_KnowledgeSource) Descriptor deprecated

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

Deprecated: Use CompanionAgent_KnowledgeSource.ProtoReflect.Descriptor instead.

func (*CompanionAgent_KnowledgeSource) ProtoMessage

func (*CompanionAgent_KnowledgeSource) ProtoMessage()

func (*CompanionAgent_KnowledgeSource) ProtoReflect

func (*CompanionAgent_KnowledgeSource) Reset

func (x *CompanionAgent_KnowledgeSource) Reset()

func (*CompanionAgent_KnowledgeSource) String

type CompanionAgent_SkillConfig

type CompanionAgent_SkillConfig struct {

	// Each SkillConfig will be one of the following specific skill configs.
	//
	// Types that are valid to be assigned to Config:
	//
	//	*CompanionAgent_SkillConfig_GuidanceSkillConfig
	//	*CompanionAgent_SkillConfig_TranslationSkillConfig
	Config isCompanionAgent_SkillConfig_Config `protobuf_oneof:"config"`
	// Optional. The event that should trigger the skill.
	SkillTriggeringEvent CompanionAgent_SkillConfig_SkillTriggerEvent `` /* 201-byte string literal not displayed */
	// contains filtered or unexported fields
}

Skill configuration for the companion agent.

func (*CompanionAgent_SkillConfig) Descriptor deprecated

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

Deprecated: Use CompanionAgent_SkillConfig.ProtoReflect.Descriptor instead.

func (*CompanionAgent_SkillConfig) GetConfig

func (x *CompanionAgent_SkillConfig) GetConfig() isCompanionAgent_SkillConfig_Config

func (*CompanionAgent_SkillConfig) GetGuidanceSkillConfig

func (*CompanionAgent_SkillConfig) GetSkillTriggeringEvent

func (*CompanionAgent_SkillConfig) GetTranslationSkillConfig

func (x *CompanionAgent_SkillConfig) GetTranslationSkillConfig() *CompanionAgent_TranslationSkillConfig

func (*CompanionAgent_SkillConfig) ProtoMessage

func (*CompanionAgent_SkillConfig) ProtoMessage()

func (*CompanionAgent_SkillConfig) ProtoReflect

func (*CompanionAgent_SkillConfig) Reset

func (x *CompanionAgent_SkillConfig) Reset()

func (*CompanionAgent_SkillConfig) String

func (x *CompanionAgent_SkillConfig) String() string

type CompanionAgent_SkillConfig_GuidanceSkillConfig

type CompanionAgent_SkillConfig_GuidanceSkillConfig struct {
	// Optional. Guidance skill configuration.
	GuidanceSkillConfig *CompanionAgent_GuidanceSkillConfig `protobuf:"bytes,2,opt,name=guidance_skill_config,json=guidanceSkillConfig,proto3,oneof"`
}

type CompanionAgent_SkillConfig_SkillTriggerEvent

type CompanionAgent_SkillConfig_SkillTriggerEvent int32

The event that should trigger the skill.

const (
	// Default value for SkillTriggerEvent.
	CompanionAgent_SkillConfig_SKILL_TRIGGER_EVENT_UNSPECIFIED CompanionAgent_SkillConfig_SkillTriggerEvent = 0
	// Triggers when each chat message or voice utterance ends.
	CompanionAgent_SkillConfig_END_OF_UTTERANCE CompanionAgent_SkillConfig_SkillTriggerEvent = 1
	// Triggers after each customer message.
	CompanionAgent_SkillConfig_CUSTOMER_MESSAGE CompanionAgent_SkillConfig_SkillTriggerEvent = 2
	// Triggers after each agent message.
	CompanionAgent_SkillConfig_AGENT_MESSAGE CompanionAgent_SkillConfig_SkillTriggerEvent = 3
)

func (CompanionAgent_SkillConfig_SkillTriggerEvent) Descriptor

func (CompanionAgent_SkillConfig_SkillTriggerEvent) Enum

func (CompanionAgent_SkillConfig_SkillTriggerEvent) EnumDescriptor deprecated

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

Deprecated: Use CompanionAgent_SkillConfig_SkillTriggerEvent.Descriptor instead.

func (CompanionAgent_SkillConfig_SkillTriggerEvent) Number

func (CompanionAgent_SkillConfig_SkillTriggerEvent) String

func (CompanionAgent_SkillConfig_SkillTriggerEvent) Type

type CompanionAgent_SkillConfig_TranslationSkillConfig

type CompanionAgent_SkillConfig_TranslationSkillConfig struct {
	// Optional. Translation skill configuration.
	TranslationSkillConfig *CompanionAgent_TranslationSkillConfig `protobuf:"bytes,3,opt,name=translation_skill_config,json=translationSkillConfig,proto3,oneof"`
}

type CompanionAgent_TranslationSkillConfig

type CompanionAgent_TranslationSkillConfig struct {

	// Optional. Target language code for the agent, in IETF BCP-47 format
	// (e.g., "en-US").
	AgentLanguageCode string `protobuf:"bytes,1,opt,name=agent_language_code,json=agentLanguageCode,proto3" json:"agent_language_code,omitempty"`
	// Optional. Target language code for the customer, in IETF BCP-47 format
	// (e.g., "es").
	CustomerLanguageCode string `protobuf:"bytes,2,opt,name=customer_language_code,json=customerLanguageCode,proto3" json:"customer_language_code,omitempty"`
	// contains filtered or unexported fields
}

Translation skill configuration for the companion agent.

func (*CompanionAgent_TranslationSkillConfig) Descriptor deprecated

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

Deprecated: Use CompanionAgent_TranslationSkillConfig.ProtoReflect.Descriptor instead.

func (*CompanionAgent_TranslationSkillConfig) GetAgentLanguageCode

func (x *CompanionAgent_TranslationSkillConfig) GetAgentLanguageCode() string

func (*CompanionAgent_TranslationSkillConfig) GetCustomerLanguageCode

func (x *CompanionAgent_TranslationSkillConfig) GetCustomerLanguageCode() string

func (*CompanionAgent_TranslationSkillConfig) ProtoMessage

func (*CompanionAgent_TranslationSkillConfig) ProtoMessage()

func (*CompanionAgent_TranslationSkillConfig) ProtoReflect

func (*CompanionAgent_TranslationSkillConfig) Reset

func (*CompanionAgent_TranslationSkillConfig) String

type CompanionAgent_TriggerEvent

type CompanionAgent_TriggerEvent int32

Event that triggers companion agent skills and guidance instructions.

const (
	// Default value for TriggerEvent.
	// For skill_triggering_event, UNSPECIFIED defaults to CUSTOMER_MESSAGE.
	// For instruction trigger_event, UNSPECIFIED defaults to the skill's
	// skill_triggering_event.
	CompanionAgent_TRIGGER_EVENT_UNSPECIFIED CompanionAgent_TriggerEvent = 0
	// Triggers when each chat message or voice utterance ends.
	CompanionAgent_END_OF_UTTERANCE CompanionAgent_TriggerEvent = 1
	// Triggers after each customer message.
	CompanionAgent_CUSTOMER_MESSAGE CompanionAgent_TriggerEvent = 2
	// Triggers after each agent message.
	CompanionAgent_AGENT_MESSAGE CompanionAgent_TriggerEvent = 3
)

func (CompanionAgent_TriggerEvent) Descriptor

func (CompanionAgent_TriggerEvent) Enum

func (CompanionAgent_TriggerEvent) EnumDescriptor deprecated

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

Deprecated: Use CompanionAgent_TriggerEvent.Descriptor instead.

func (CompanionAgent_TriggerEvent) Number

func (CompanionAgent_TriggerEvent) String

func (CompanionAgent_TriggerEvent) Type

type CompanionAgentsClient

type CompanionAgentsClient interface {
	// Creates a companion agent.
	CreateCompanionAgent(ctx context.Context, in *CreateCompanionAgentRequest, opts ...grpc.CallOption) (*CompanionAgent, error)
	// Gets a companion agent.
	GetCompanionAgent(ctx context.Context, in *GetCompanionAgentRequest, opts ...grpc.CallOption) (*CompanionAgent, error)
	// Updates a companion agent.
	UpdateCompanionAgent(ctx context.Context, in *UpdateCompanionAgentRequest, opts ...grpc.CallOption) (*CompanionAgent, error)
	// Deletes a companion agent.
	DeleteCompanionAgent(ctx context.Context, in *DeleteCompanionAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Lists companion agents.
	ListCompanionAgents(ctx context.Context, in *ListCompanionAgentsRequest, opts ...grpc.CallOption) (*ListCompanionAgentsResponse, error)
}

CompanionAgentsClient is the client API for CompanionAgents 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 CompanionAgentsServer

type CompanionAgentsServer interface {
	// Creates a companion agent.
	CreateCompanionAgent(context.Context, *CreateCompanionAgentRequest) (*CompanionAgent, error)
	// Gets a companion agent.
	GetCompanionAgent(context.Context, *GetCompanionAgentRequest) (*CompanionAgent, error)
	// Updates a companion agent.
	UpdateCompanionAgent(context.Context, *UpdateCompanionAgentRequest) (*CompanionAgent, error)
	// Deletes a companion agent.
	DeleteCompanionAgent(context.Context, *DeleteCompanionAgentRequest) (*emptypb.Empty, error)
	// Lists companion agents.
	ListCompanionAgents(context.Context, *ListCompanionAgentsRequest) (*ListCompanionAgentsResponse, error)
}

CompanionAgentsServer is the server API for CompanionAgents service. All implementations should embed UnimplementedCompanionAgentsServer for forward compatibility

type CompanionSuggestion

type CompanionSuggestion struct {

	// List of guidances generated by the Companion Agent.
	Guidances []*CompanionSuggestion_Guidance `protobuf:"bytes,1,rep,name=guidances,proto3" json:"guidances,omitempty"`
	// contains filtered or unexported fields
}

Represents a companion suggestion answer.

func (*CompanionSuggestion) Descriptor deprecated

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

Deprecated: Use CompanionSuggestion.ProtoReflect.Descriptor instead.

func (*CompanionSuggestion) GetGuidances

func (*CompanionSuggestion) ProtoMessage

func (*CompanionSuggestion) ProtoMessage()

func (*CompanionSuggestion) ProtoReflect

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

func (*CompanionSuggestion) Reset

func (x *CompanionSuggestion) Reset()

func (*CompanionSuggestion) String

func (x *CompanionSuggestion) String() string

type CompanionSuggestion_Guidance

type CompanionSuggestion_Guidance struct {

	// Suggested reply for the agent to respond to the customer.
	SuggestedReply string `protobuf:"bytes,1,opt,name=suggested_reply,json=suggestedReply,proto3" json:"suggested_reply,omitempty"`
	// Suggested action to human agent. For example, "Ask the customer for
	// their shipping address" or "Create a new case for the customer".
	SuggestedAction string `protobuf:"bytes,2,opt,name=suggested_action,json=suggestedAction,proto3" json:"suggested_action,omitempty"`
	// Guidance instruction source.
	InstructionSource *GuidanceInstruction `protobuf:"bytes,3,opt,name=instruction_source,json=instructionSource,proto3" json:"instruction_source,omitempty"`
	// Knowledge sources.
	KnowledgeSources []*CompanionSuggestion_Guidance_KnowledgeSource `protobuf:"bytes,4,rep,name=knowledge_sources,json=knowledgeSources,proto3" json:"knowledge_sources,omitempty"`
	// Optional. A brief explanation of why the action is suggested.
	Explanation string `protobuf:"bytes,12,opt,name=explanation,proto3" json:"explanation,omitempty"`
	// Optional. Grounding metadata for the generated guidance.
	GroundingMetadata *GroundingMetadata `protobuf:"bytes,6,opt,name=grounding_metadata,json=groundingMetadata,proto3,oneof" json:"grounding_metadata,omitempty"`
	// Optional. Rich structured tool calls and their associated citations
	// delivered directly as suggestions.
	ToolCalls []*ToolCallSuggestion `protobuf:"bytes,7,rep,name=tool_calls,json=toolCalls,proto3" json:"tool_calls,omitempty"`
	// Optional. The AnswerRecords of the tool calls that triggered this
	// guidance.
	// Format: `projects/<Project ID>/locations/<Location
	// ID>/answerRecords/<Answer Record ID>`.
	TriggeringToolCallAnswerRecords []string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents guidance for companion suggestion.

func (*CompanionSuggestion_Guidance) Descriptor deprecated

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

Deprecated: Use CompanionSuggestion_Guidance.ProtoReflect.Descriptor instead.

func (*CompanionSuggestion_Guidance) GetExplanation

func (x *CompanionSuggestion_Guidance) GetExplanation() string

func (*CompanionSuggestion_Guidance) GetGroundingMetadata

func (x *CompanionSuggestion_Guidance) GetGroundingMetadata() *GroundingMetadata

func (*CompanionSuggestion_Guidance) GetInstructionSource

func (x *CompanionSuggestion_Guidance) GetInstructionSource() *GuidanceInstruction

func (*CompanionSuggestion_Guidance) GetKnowledgeSources

func (*CompanionSuggestion_Guidance) GetSuggestedAction

func (x *CompanionSuggestion_Guidance) GetSuggestedAction() string

func (*CompanionSuggestion_Guidance) GetSuggestedReply

func (x *CompanionSuggestion_Guidance) GetSuggestedReply() string

func (*CompanionSuggestion_Guidance) GetToolCalls

func (x *CompanionSuggestion_Guidance) GetToolCalls() []*ToolCallSuggestion

func (*CompanionSuggestion_Guidance) GetTriggeringToolCallAnswerRecords

func (x *CompanionSuggestion_Guidance) GetTriggeringToolCallAnswerRecords() []string

func (*CompanionSuggestion_Guidance) ProtoMessage

func (*CompanionSuggestion_Guidance) ProtoMessage()

func (*CompanionSuggestion_Guidance) ProtoReflect

func (*CompanionSuggestion_Guidance) Reset

func (x *CompanionSuggestion_Guidance) Reset()

func (*CompanionSuggestion_Guidance) String

type CompanionSuggestion_Guidance_KnowledgeSource

type CompanionSuggestion_Guidance_KnowledgeSource struct {

	// URL of the knowledge article.
	KnowledgeArticleUrl string `protobuf:"bytes,1,opt,name=knowledge_article_url,json=knowledgeArticleUrl,proto3" json:"knowledge_article_url,omitempty"`
	// Knowledge article title.
	KnowledgeArticleTitle string `` /* 126-byte string literal not displayed */
	// Knowledge snippet.
	KnowledgeSnippet string `protobuf:"bytes,3,opt,name=knowledge_snippet,json=knowledgeSnippet,proto3" json:"knowledge_snippet,omitempty"`
	// contains filtered or unexported fields
}

Represents a knowledge source for the guidance.

func (*CompanionSuggestion_Guidance_KnowledgeSource) Descriptor deprecated

Deprecated: Use CompanionSuggestion_Guidance_KnowledgeSource.ProtoReflect.Descriptor instead.

func (*CompanionSuggestion_Guidance_KnowledgeSource) GetKnowledgeArticleTitle

func (x *CompanionSuggestion_Guidance_KnowledgeSource) GetKnowledgeArticleTitle() string

func (*CompanionSuggestion_Guidance_KnowledgeSource) GetKnowledgeArticleUrl

func (x *CompanionSuggestion_Guidance_KnowledgeSource) GetKnowledgeArticleUrl() string

func (*CompanionSuggestion_Guidance_KnowledgeSource) GetKnowledgeSnippet

func (x *CompanionSuggestion_Guidance_KnowledgeSource) GetKnowledgeSnippet() string

func (*CompanionSuggestion_Guidance_KnowledgeSource) ProtoMessage

func (*CompanionSuggestion_Guidance_KnowledgeSource) ProtoReflect

func (*CompanionSuggestion_Guidance_KnowledgeSource) Reset

func (*CompanionSuggestion_Guidance_KnowledgeSource) 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.v2.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.73.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.v2.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.73.0

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

Deprecated: Use Connection.ProtoReflect.Descriptor instead.

func (*Connection) GetConnectionId added in v1.73.0

func (x *Connection) GetConnectionId() string

func (*Connection) GetErrorDetails added in v1.73.0

func (x *Connection) GetErrorDetails() *Connection_ErrorDetails

func (*Connection) GetState added in v1.73.0

func (x *Connection) GetState() Connection_State

func (*Connection) GetUpdateTime added in v1.73.0

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

func (*Connection) ProtoMessage added in v1.73.0

func (*Connection) ProtoMessage()

func (*Connection) ProtoReflect added in v1.73.0

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

func (*Connection) Reset added in v1.73.0

func (x *Connection) Reset()

func (*Connection) String added in v1.73.0

func (x *Connection) String() string

type Connection_CertificateState added in v1.73.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.73.0

func (Connection_CertificateState) Enum added in v1.73.0

func (Connection_CertificateState) EnumDescriptor deprecated added in v1.73.0

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

Deprecated: Use Connection_CertificateState.Descriptor instead.

func (Connection_CertificateState) Number added in v1.73.0

func (Connection_CertificateState) String added in v1.73.0

func (Connection_CertificateState) Type added in v1.73.0

type Connection_ErrorDetails added in v1.73.0

type Connection_ErrorDetails struct {

	// Output only. The status of the certificate authentication.
	CertificateState *Connection_CertificateState `` /* 176-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.73.0

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

Deprecated: Use Connection_ErrorDetails.ProtoReflect.Descriptor instead.

func (*Connection_ErrorDetails) GetCertificateState added in v1.73.0

func (x *Connection_ErrorDetails) GetCertificateState() Connection_CertificateState

func (*Connection_ErrorDetails) GetErrorMessage added in v1.73.0

func (x *Connection_ErrorDetails) GetErrorMessage() string

func (*Connection_ErrorDetails) ProtoMessage added in v1.73.0

func (*Connection_ErrorDetails) ProtoMessage()

func (*Connection_ErrorDetails) ProtoReflect added in v1.73.0

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

func (*Connection_ErrorDetails) Reset added in v1.73.0

func (x *Connection_ErrorDetails) Reset()

func (*Connection_ErrorDetails) String added in v1.73.0

func (x *Connection_ErrorDetails) String() string

type Connection_State added in v1.73.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.73.0

func (Connection_State) Enum added in v1.73.0

func (Connection_State) EnumDescriptor deprecated added in v1.73.0

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

Deprecated: Use Connection_State.Descriptor instead.

func (Connection_State) Number added in v1.73.0

func (Connection_State) String added in v1.73.0

func (x Connection_State) String() string

func (Connection_State) Type added in v1.73.0

type Context

type Context struct {

	// Required. The unique identifier of the context. Format:
	// `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
	// or `projects/<Project 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 `` /* 164-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. It will not be empty 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"`
	// 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"`
	// 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.v2.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE];
	// Otherwise, defaults to
	// [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2.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.v2.Conversation.ConversationStage.HUMAN_ASSIST_STAGE],
	// it skips
	// [ConversationStage.VIRTUAL_AGENT_STAGE][google.cloud.dialogflow.v2.Conversation.ConversationStage.VIRTUAL_AGENT_STAGE]
	// stage and directly goes to
	// [ConversationStage.HUMAN_ASSIST_STAGE][google.cloud.dialogflow.v2.Conversation.ConversationStage.HUMAN_ASSIST_STAGE].
	ConversationStage Conversation_ConversationStage `` /* 176-byte string literal not displayed */
	// Output only. The telephony connection information.
	TelephonyConnectionInfo *Conversation_TelephonyConnectionInfo `` /* 133-byte string literal not displayed */
	// Optional. Output only. The initial conversation profile to be used to
	// configure this conversation, which is a copy of the conversation profile
	// config read at conversation creation time.
	InitialConversationProfile *ConversationProfile `` /* 142-byte string literal not displayed */
	// Output only. The context reference updates provided by external systems.
	IngestedContextReferences map[string]*Conversation_ContextReference `` /* 213-byte string literal not displayed */
	// Output only. A map with generator name as key and generator context as
	// value.
	InitialGeneratorContexts map[string]*Conversation_GeneratorContext `` /* 210-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) GetInitialConversationProfile added in v1.77.0

func (x *Conversation) GetInitialConversationProfile() *ConversationProfile

func (*Conversation) GetInitialGeneratorContexts added in v1.77.0

func (x *Conversation) GetInitialGeneratorContexts() map[string]*Conversation_GeneratorContext

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.68.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 ConversationDataset

type ConversationDataset struct {

	// Output only. ConversationDataset resource name. Format:
	// `projects/<Project ID>/locations/<Location
	// ID>/conversationDatasets/<Conversation Dataset ID>`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The display name of the dataset. Maximum of 64 bytes.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. The description of the dataset. Maximum of 10000 bytes.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Creation time of this dataset.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Input configurations set during conversation data import.
	InputConfig *InputConfig `protobuf:"bytes,5,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"`
	// Output only. Metadata set during conversation data import.
	ConversationInfo *ConversationInfo `protobuf:"bytes,6,opt,name=conversation_info,json=conversationInfo,proto3" json:"conversation_info,omitempty"`
	// Output only. The number of conversations this conversation dataset
	// contains.
	ConversationCount int64 `protobuf:"varint,7,opt,name=conversation_count,json=conversationCount,proto3" json:"conversation_count,omitempty"`
	// Output only. A read only boolean field reflecting Zone Isolation status of
	// the dataset.
	SatisfiesPzi *bool `protobuf:"varint,8,opt,name=satisfies_pzi,json=satisfiesPzi,proto3,oneof" json:"satisfies_pzi,omitempty"`
	// Output only. A read only boolean field reflecting Zone Separation status of
	// the dataset.
	SatisfiesPzs *bool `protobuf:"varint,9,opt,name=satisfies_pzs,json=satisfiesPzs,proto3,oneof" json:"satisfies_pzs,omitempty"`
	// contains filtered or unexported fields
}

Represents a conversation dataset that a user imports raw data into. The data inside ConversationDataset can not be changed after ImportConversationData finishes (and calling ImportConversationData on a dataset that already has data is not allowed).

func (*ConversationDataset) Descriptor deprecated

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

Deprecated: Use ConversationDataset.ProtoReflect.Descriptor instead.

func (*ConversationDataset) GetConversationCount

func (x *ConversationDataset) GetConversationCount() int64

func (*ConversationDataset) GetConversationInfo

func (x *ConversationDataset) GetConversationInfo() *ConversationInfo

func (*ConversationDataset) GetCreateTime

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

func (*ConversationDataset) GetDescription

func (x *ConversationDataset) GetDescription() string

func (*ConversationDataset) GetDisplayName

func (x *ConversationDataset) GetDisplayName() string

func (*ConversationDataset) GetInputConfig

func (x *ConversationDataset) GetInputConfig() *InputConfig

func (*ConversationDataset) GetName

func (x *ConversationDataset) GetName() string

func (*ConversationDataset) GetSatisfiesPzi added in v1.58.0

func (x *ConversationDataset) GetSatisfiesPzi() bool

func (*ConversationDataset) GetSatisfiesPzs added in v1.58.0

func (x *ConversationDataset) GetSatisfiesPzs() bool

func (*ConversationDataset) ProtoMessage

func (*ConversationDataset) ProtoMessage()

func (*ConversationDataset) ProtoReflect

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

func (*ConversationDataset) Reset

func (x *ConversationDataset) Reset()

func (*ConversationDataset) String

func (x *ConversationDataset) String() string

type ConversationDatasetsClient

type ConversationDatasetsClient interface {
	// Creates a new conversation dataset.
	//
	// 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`:
	// [CreateConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata]
	// - `response`:
	// [ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset]
	CreateConversationDataset(ctx context.Context, in *CreateConversationDatasetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Retrieves the specified conversation dataset.
	GetConversationDataset(ctx context.Context, in *GetConversationDatasetRequest, opts ...grpc.CallOption) (*ConversationDataset, error)
	// Returns the list of all conversation datasets in the specified
	// project and location.
	ListConversationDatasets(ctx context.Context, in *ListConversationDatasetsRequest, opts ...grpc.CallOption) (*ListConversationDatasetsResponse, error)
	// Deletes the specified conversation dataset.
	//
	// 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`:
	// [DeleteConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata]
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	DeleteConversationDataset(ctx context.Context, in *DeleteConversationDatasetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Import data into the specified conversation dataset. Note that it
	// is not allowed to import data to a conversation dataset that
	// already has data in it.
	//
	// 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`:
	// [ImportConversationDataOperationMetadata][google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata]
	// - `response`:
	// [ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse]
	ImportConversationData(ctx context.Context, in *ImportConversationDataRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

ConversationDatasetsClient is the client API for ConversationDatasets 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 ConversationDatasetsServer

type ConversationDatasetsServer interface {
	// Creates a new conversation dataset.
	//
	// 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`:
	// [CreateConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.CreateConversationDatasetOperationMetadata]
	// - `response`:
	// [ConversationDataset][google.cloud.dialogflow.v2.ConversationDataset]
	CreateConversationDataset(context.Context, *CreateConversationDatasetRequest) (*longrunningpb.Operation, error)
	// Retrieves the specified conversation dataset.
	GetConversationDataset(context.Context, *GetConversationDatasetRequest) (*ConversationDataset, error)
	// Returns the list of all conversation datasets in the specified
	// project and location.
	ListConversationDatasets(context.Context, *ListConversationDatasetsRequest) (*ListConversationDatasetsResponse, error)
	// Deletes the specified conversation dataset.
	//
	// 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`:
	// [DeleteConversationDatasetOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationDatasetOperationMetadata]
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	DeleteConversationDataset(context.Context, *DeleteConversationDatasetRequest) (*longrunningpb.Operation, error)
	// Import data into the specified conversation dataset. Note that it
	// is not allowed to import data to a conversation dataset that
	// already has data in it.
	//
	// 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`:
	// [ImportConversationDataOperationMetadata][google.cloud.dialogflow.v2.ImportConversationDataOperationMetadata]
	// - `response`:
	// [ImportConversationDataOperationResponse][google.cloud.dialogflow.v2.ImportConversationDataOperationResponse]
	ImportConversationData(context.Context, *ImportConversationDataRequest) (*longrunningpb.Operation, error)
}

ConversationDatasetsServer is the server API for ConversationDatasets service. All implementations should embed UnimplementedConversationDatasetsServer for forward compatibility

type ConversationEvent

type ConversationEvent struct {

	// 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"`
	// The type of the event that this notification refers to.
	Type ConversationEvent_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.dialogflow.v2.ConversationEvent_Type" json:"type,omitempty"`
	// 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 valid to be assigned 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 (x *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.v2.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 ConversationInfo

type ConversationInfo struct {

	// Optional. The language code of the conversation data within this dataset.
	// See https://cloud.google.com/apis/design/standard_fields for more
	// information. Supports all UTF-8 languages.
	LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// contains filtered or unexported fields
}

Represents metadata of a conversation.

func (*ConversationInfo) Descriptor deprecated

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

Deprecated: Use ConversationInfo.ProtoReflect.Descriptor instead.

func (*ConversationInfo) GetLanguageCode

func (x *ConversationInfo) GetLanguageCode() string

func (*ConversationInfo) ProtoMessage

func (*ConversationInfo) ProtoMessage()

func (*ConversationInfo) ProtoReflect

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

func (*ConversationInfo) Reset

func (x *ConversationInfo) Reset()

func (*ConversationInfo) String

func (x *ConversationInfo) String() string

type ConversationModel

type ConversationModel struct {

	// ConversationModel resource name. Format:
	// `projects/<Project ID>/conversationModels/<Conversation Model ID>`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The display name of the model. At most 64 bytes long.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Output only. Creation time of this model.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Required. Datasets used to create model.
	Datasets []*InputDataset `protobuf:"bytes,4,rep,name=datasets,proto3" json:"datasets,omitempty"`
	// Output only. State of the model. A model can only serve prediction requests
	// after it gets deployed.
	State ConversationModel_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.dialogflow.v2.ConversationModel_State" json:"state,omitempty"`
	// Language code for the conversation model. If not specified, the language
	// is en-US. Language at ConversationModel 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,19,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// Required.
	// The model metadata that is specific to the problem type.
	// Must match the metadata type of the dataset used to train the model.
	//
	// Types that are valid to be assigned to ModelMetadata:
	//
	//	*ConversationModel_ArticleSuggestionModelMetadata
	//	*ConversationModel_SmartReplyModelMetadata
	ModelMetadata isConversationModel_ModelMetadata `protobuf_oneof:"model_metadata"`
	// Output only. A read only boolean field reflecting Zone Separation
	// status of the model.
	SatisfiesPzs *bool `protobuf:"varint,25,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.
	SatisfiesPzi *bool `protobuf:"varint,26,opt,name=satisfies_pzi,json=satisfiesPzi,proto3,oneof" json:"satisfies_pzi,omitempty"`
	// contains filtered or unexported fields
}

Represents a conversation model.

func (*ConversationModel) Descriptor deprecated

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

Deprecated: Use ConversationModel.ProtoReflect.Descriptor instead.

func (*ConversationModel) GetArticleSuggestionModelMetadata

func (x *ConversationModel) GetArticleSuggestionModelMetadata() *ArticleSuggestionModelMetadata

func (*ConversationModel) GetCreateTime

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

func (*ConversationModel) GetDatasets

func (x *ConversationModel) GetDatasets() []*InputDataset

func (*ConversationModel) GetDisplayName

func (x *ConversationModel) GetDisplayName() string

func (*ConversationModel) GetLanguageCode

func (x *ConversationModel) GetLanguageCode() string

func (*ConversationModel) GetModelMetadata

func (x *ConversationModel) GetModelMetadata() isConversationModel_ModelMetadata

func (*ConversationModel) GetName

func (x *ConversationModel) GetName() string

func (*ConversationModel) GetSatisfiesPzi added in v1.58.0

func (x *ConversationModel) GetSatisfiesPzi() bool

func (*ConversationModel) GetSatisfiesPzs added in v1.58.0

func (x *ConversationModel) GetSatisfiesPzs() bool

func (*ConversationModel) GetSmartReplyModelMetadata

func (x *ConversationModel) GetSmartReplyModelMetadata() *SmartReplyModelMetadata

func (*ConversationModel) GetState

func (*ConversationModel) ProtoMessage

func (*ConversationModel) ProtoMessage()

func (*ConversationModel) ProtoReflect

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

func (*ConversationModel) Reset

func (x *ConversationModel) Reset()

func (*ConversationModel) String

func (x *ConversationModel) String() string

type ConversationModelEvaluation

type ConversationModelEvaluation struct {

	// The resource name of the evaluation. Format:
	// `projects/<Project ID>/conversationModels/<Conversation Model
	// ID>/evaluations/<Evaluation ID>`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The display name of the model evaluation. At most 64 bytes long.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional. The configuration of the evaluation task.
	EvaluationConfig *EvaluationConfig `protobuf:"bytes,6,opt,name=evaluation_config,json=evaluationConfig,proto3" json:"evaluation_config,omitempty"`
	// Output only. Creation time of this model.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Metrics details.
	//
	// Types that are valid to be assigned to Metrics:
	//
	//	*ConversationModelEvaluation_SmartReplyMetrics
	Metrics isConversationModelEvaluation_Metrics `protobuf_oneof:"metrics"`
	// Output only. Human eval template in csv format.
	// It takes real-world conversations provided through input dataset, generates
	// example suggestions for customer to verify quality of the model.
	// For Smart Reply, the generated csv file contains columns of
	// Context, (Suggestions,Q1,Q2)*3, Actual reply.
	// Context contains at most 10 latest messages in the conversation prior to
	// the current suggestion.
	// Q1: "Would you send it as the next message of agent?"
	// Evaluated based on whether the suggest is appropriate to be sent by
	// agent in current context.
	// Q2: "Does the suggestion move the conversation closer to resolution?"
	// Evaluated based on whether the suggestion provide solutions, or answers
	// customer's question or collect information from customer to resolve the
	// customer's issue.
	// Actual reply column contains the actual agent reply sent in the context.
	RawHumanEvalTemplateCsv string `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents evaluation result of a conversation model.

func (*ConversationModelEvaluation) Descriptor deprecated

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

Deprecated: Use ConversationModelEvaluation.ProtoReflect.Descriptor instead.

func (*ConversationModelEvaluation) GetCreateTime

func (*ConversationModelEvaluation) GetDisplayName

func (x *ConversationModelEvaluation) GetDisplayName() string

func (*ConversationModelEvaluation) GetEvaluationConfig

func (x *ConversationModelEvaluation) GetEvaluationConfig() *EvaluationConfig

func (*ConversationModelEvaluation) GetMetrics

func (x *ConversationModelEvaluation) GetMetrics() isConversationModelEvaluation_Metrics

func (*ConversationModelEvaluation) GetName

func (x *ConversationModelEvaluation) GetName() string

func (*ConversationModelEvaluation) GetRawHumanEvalTemplateCsv added in v1.26.0

func (x *ConversationModelEvaluation) GetRawHumanEvalTemplateCsv() string

func (*ConversationModelEvaluation) GetSmartReplyMetrics

func (x *ConversationModelEvaluation) GetSmartReplyMetrics() *SmartReplyMetrics

func (*ConversationModelEvaluation) ProtoMessage

func (*ConversationModelEvaluation) ProtoMessage()

func (*ConversationModelEvaluation) ProtoReflect

func (*ConversationModelEvaluation) Reset

func (x *ConversationModelEvaluation) Reset()

func (*ConversationModelEvaluation) String

func (x *ConversationModelEvaluation) String() string

type ConversationModelEvaluation_SmartReplyMetrics

type ConversationModelEvaluation_SmartReplyMetrics struct {
	// Output only. Only available when model is for smart reply.
	SmartReplyMetrics *SmartReplyMetrics `protobuf:"bytes,5,opt,name=smart_reply_metrics,json=smartReplyMetrics,proto3,oneof"`
}

type ConversationModel_ArticleSuggestionModelMetadata

type ConversationModel_ArticleSuggestionModelMetadata struct {
	// Metadata for article suggestion models.
	ArticleSuggestionModelMetadata *ArticleSuggestionModelMetadata `protobuf:"bytes,8,opt,name=article_suggestion_model_metadata,json=articleSuggestionModelMetadata,proto3,oneof"`
}

type ConversationModel_ModelType

type ConversationModel_ModelType int32

Model type.

const (
	// ModelType unspecified.
	ConversationModel_MODEL_TYPE_UNSPECIFIED ConversationModel_ModelType = 0
	// ModelType smart reply dual encoder model.
	ConversationModel_SMART_REPLY_DUAL_ENCODER_MODEL ConversationModel_ModelType = 2
	// ModelType smart reply bert model.
	ConversationModel_SMART_REPLY_BERT_MODEL ConversationModel_ModelType = 6
)

func (ConversationModel_ModelType) Descriptor

func (ConversationModel_ModelType) Enum

func (ConversationModel_ModelType) EnumDescriptor deprecated

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

Deprecated: Use ConversationModel_ModelType.Descriptor instead.

func (ConversationModel_ModelType) Number

func (ConversationModel_ModelType) String

func (ConversationModel_ModelType) Type

type ConversationModel_SmartReplyModelMetadata

type ConversationModel_SmartReplyModelMetadata struct {
	// Metadata for smart reply models.
	SmartReplyModelMetadata *SmartReplyModelMetadata `protobuf:"bytes,9,opt,name=smart_reply_model_metadata,json=smartReplyModelMetadata,proto3,oneof"`
}

type ConversationModel_State

type ConversationModel_State int32

State of the model.

const (
	// Should not be used, an un-set enum has this value by default.
	ConversationModel_STATE_UNSPECIFIED ConversationModel_State = 0
	// Model being created.
	ConversationModel_CREATING ConversationModel_State = 1
	// Model is not deployed but ready to deploy.
	ConversationModel_UNDEPLOYED ConversationModel_State = 2
	// Model is deploying.
	ConversationModel_DEPLOYING ConversationModel_State = 3
	// Model is deployed and ready to use.
	ConversationModel_DEPLOYED ConversationModel_State = 4
	// Model is undeploying.
	ConversationModel_UNDEPLOYING ConversationModel_State = 5
	// Model is deleting.
	ConversationModel_DELETING ConversationModel_State = 6
	// Model is in error state. Not ready to deploy and use.
	ConversationModel_FAILED ConversationModel_State = 7
	// Model is being created but the training has not started,
	// The model may remain in this state until there is enough capacity to
	// start training.
	ConversationModel_PENDING ConversationModel_State = 8
)

func (ConversationModel_State) Descriptor

func (ConversationModel_State) Enum

func (ConversationModel_State) EnumDescriptor deprecated

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

Deprecated: Use ConversationModel_State.Descriptor instead.

func (ConversationModel_State) Number

func (ConversationModel_State) String

func (x ConversationModel_State) String() string

func (ConversationModel_State) Type

type ConversationModelsClient

type ConversationModelsClient interface {
	// Creates a model.
	//
	// 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`:
	// [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata]
	// - `response`:
	// [ConversationModel][google.cloud.dialogflow.v2.ConversationModel]
	CreateConversationModel(ctx context.Context, in *CreateConversationModelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets conversation model.
	GetConversationModel(ctx context.Context, in *GetConversationModelRequest, opts ...grpc.CallOption) (*ConversationModel, error)
	// Lists conversation models.
	ListConversationModels(ctx context.Context, in *ListConversationModelsRequest, opts ...grpc.CallOption) (*ListConversationModelsResponse, error)
	// Deletes a model.
	//
	// 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`:
	// [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata]
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	DeleteConversationModel(ctx context.Context, in *DeleteConversationModelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deploys a model. If a model is already deployed, deploying it
	// has no effect. A model can only serve prediction requests after it gets
	// deployed. For article suggestion, custom model will not be used unless
	// it is deployed.
	//
	// 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`:
	// [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata]
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	DeployConversationModel(ctx context.Context, in *DeployConversationModelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Undeploys a model. If the model is not deployed this method has no effect.
	// If the model is currently being used:
	//   - For article suggestion, article suggestion will fallback to the default
	//     model if model is undeployed.
	//
	// 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`:
	// [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata]
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	UndeployConversationModel(ctx context.Context, in *UndeployConversationModelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets an evaluation of conversation model.
	GetConversationModelEvaluation(ctx context.Context, in *GetConversationModelEvaluationRequest, opts ...grpc.CallOption) (*ConversationModelEvaluation, error)
	// Lists evaluations of a conversation model.
	ListConversationModelEvaluations(ctx context.Context, in *ListConversationModelEvaluationsRequest, opts ...grpc.CallOption) (*ListConversationModelEvaluationsResponse, error)
	// Creates evaluation of a conversation model.
	CreateConversationModelEvaluation(ctx context.Context, in *CreateConversationModelEvaluationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

ConversationModelsClient is the client API for ConversationModels 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 ConversationModelsServer

type ConversationModelsServer interface {
	// Creates a model.
	//
	// 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`:
	// [CreateConversationModelOperationMetadata][google.cloud.dialogflow.v2.CreateConversationModelOperationMetadata]
	// - `response`:
	// [ConversationModel][google.cloud.dialogflow.v2.ConversationModel]
	CreateConversationModel(context.Context, *CreateConversationModelRequest) (*longrunningpb.Operation, error)
	// Gets conversation model.
	GetConversationModel(context.Context, *GetConversationModelRequest) (*ConversationModel, error)
	// Lists conversation models.
	ListConversationModels(context.Context, *ListConversationModelsRequest) (*ListConversationModelsResponse, error)
	// Deletes a model.
	//
	// 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`:
	// [DeleteConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeleteConversationModelOperationMetadata]
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	DeleteConversationModel(context.Context, *DeleteConversationModelRequest) (*longrunningpb.Operation, error)
	// Deploys a model. If a model is already deployed, deploying it
	// has no effect. A model can only serve prediction requests after it gets
	// deployed. For article suggestion, custom model will not be used unless
	// it is deployed.
	//
	// 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`:
	// [DeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.DeployConversationModelOperationMetadata]
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	DeployConversationModel(context.Context, *DeployConversationModelRequest) (*longrunningpb.Operation, error)
	// Undeploys a model. If the model is not deployed this method has no effect.
	// If the model is currently being used:
	//   - For article suggestion, article suggestion will fallback to the default
	//     model if model is undeployed.
	//
	// 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`:
	// [UndeployConversationModelOperationMetadata][google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata]
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	UndeployConversationModel(context.Context, *UndeployConversationModelRequest) (*longrunningpb.Operation, error)
	// Gets an evaluation of conversation model.
	GetConversationModelEvaluation(context.Context, *GetConversationModelEvaluationRequest) (*ConversationModelEvaluation, error)
	// Lists evaluations of a conversation model.
	ListConversationModelEvaluations(context.Context, *ListConversationModelEvaluationsRequest) (*ListConversationModelEvaluationsResponse, error)
	// Creates evaluation of a conversation model.
	CreateConversationModelEvaluation(context.Context, *CreateConversationModelEvaluationRequest) (*longrunningpb.Operation, error)
}

ConversationModelsServer is the server API for ConversationModels service. All implementations should embed UnimplementedConversationModelsServer for forward compatibility

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.68.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.v2.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.v2.ConversationEvent]. If
	// configured, the following information will be populated as
	// [ConversationEvent][google.cloud.dialogflow.v2.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"`
	// Optional. Configuration for SIP connections.
	SipConfig *SipConfig `protobuf:"bytes,16,opt,name=sip_config,json=sipConfig,proto3" json:"sip_config,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) GetSipConfig added in v1.83.0

func (x *ConversationProfile) GetSipConfig() *SipConfig

func (*ConversationProfile) GetSttConfig

func (x *ConversationProfile) GetSttConfig() *SpeechToTextConfig

func (*ConversationProfile) GetTimeZone

func (x *ConversationProfile) GetTimeZone() string

func (*ConversationProfile) GetTtsConfig added in v1.28.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.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time]
	// and
	// [ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time]
	// aren't populated in the response. You can retrieve them via
	// [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile]
	// API.
	CreateConversationProfile(ctx context.Context, in *CreateConversationProfileRequest, opts ...grpc.CallOption) (*ConversationProfile, error)
	// Updates the specified conversation profile.
	//
	// [ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time]
	// and
	// [ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time]
	// aren't populated in the response. You can retrieve them via
	// [GetConversationProfile][google.cloud.dialogflow.v2.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.v2.SetSuggestionFeatureConfigOperationMetadata]
	// - `response`:
	// [ConversationProfile][google.cloud.dialogflow.v2.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.v2.ClearSuggestionFeatureConfigOperationMetadata]
	// - `response`:
	// [ConversationProfile][google.cloud.dialogflow.v2.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.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time]
	// and
	// [ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time]
	// aren't populated in the response. You can retrieve them via
	// [GetConversationProfile][google.cloud.dialogflow.v2.ConversationProfiles.GetConversationProfile]
	// API.
	CreateConversationProfile(context.Context, *CreateConversationProfileRequest) (*ConversationProfile, error)
	// Updates the specified conversation profile.
	//
	// [ConversationProfile.create_time][google.cloud.dialogflow.v2.ConversationProfile.create_time]
	// and
	// [ConversationProfile.update_time][google.cloud.dialogflow.v2.ConversationProfile.update_time]
	// aren't populated in the response. You can retrieve them via
	// [GetConversationProfile][google.cloud.dialogflow.v2.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.v2.SetSuggestionFeatureConfigOperationMetadata]
	// - `response`:
	// [ConversationProfile][google.cloud.dialogflow.v2.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.v2.ClearSuggestionFeatureConfigOperationMetadata]
	// - `response`:
	// [ConversationProfile][google.cloud.dialogflow.v2.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 `` /* 165-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 section 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 `` /* 192-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"`
	// Optional. The answer record of the tool execution result.
	// 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.73.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_GeneratorContext added in v1.77.0

type Conversation_GeneratorContext struct {

	// Output only. The type of the generator.
	GeneratorType Conversation_GeneratorContext_GeneratorType `` /* 177-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents the context of a generator.

func (*Conversation_GeneratorContext) Descriptor deprecated added in v1.77.0

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

Deprecated: Use Conversation_GeneratorContext.ProtoReflect.Descriptor instead.

func (*Conversation_GeneratorContext) GetGeneratorType added in v1.77.0

func (*Conversation_GeneratorContext) ProtoMessage added in v1.77.0

func (*Conversation_GeneratorContext) ProtoMessage()

func (*Conversation_GeneratorContext) ProtoReflect added in v1.77.0

func (*Conversation_GeneratorContext) Reset added in v1.77.0

func (x *Conversation_GeneratorContext) Reset()

func (*Conversation_GeneratorContext) String added in v1.77.0

type Conversation_GeneratorContext_GeneratorType added in v1.77.0

type Conversation_GeneratorContext_GeneratorType int32

The available generator types.

const (
	// Unspecified generator type.
	Conversation_GeneratorContext_GENERATOR_TYPE_UNSPECIFIED Conversation_GeneratorContext_GeneratorType = 0
	// Free form generator type.
	Conversation_GeneratorContext_FREE_FORM Conversation_GeneratorContext_GeneratorType = 1
	// Agent coaching generator type.
	Conversation_GeneratorContext_AGENT_COACHING Conversation_GeneratorContext_GeneratorType = 2
	// Summarization generator type.
	Conversation_GeneratorContext_SUMMARIZATION Conversation_GeneratorContext_GeneratorType = 3
	// Translation generator type.
	Conversation_GeneratorContext_TRANSLATION Conversation_GeneratorContext_GeneratorType = 4
	// Agent feedback generator type.
	Conversation_GeneratorContext_AGENT_FEEDBACK Conversation_GeneratorContext_GeneratorType = 5
	// Customer message generation generator type.
	Conversation_GeneratorContext_CUSTOMER_MESSAGE_GENERATION Conversation_GeneratorContext_GeneratorType = 6
)

func (Conversation_GeneratorContext_GeneratorType) Descriptor added in v1.77.0

func (Conversation_GeneratorContext_GeneratorType) Enum added in v1.77.0

func (Conversation_GeneratorContext_GeneratorType) EnumDescriptor deprecated added in v1.77.0

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

Deprecated: Use Conversation_GeneratorContext_GeneratorType.Descriptor instead.

func (Conversation_GeneratorContext_GeneratorType) Number added in v1.77.0

func (Conversation_GeneratorContext_GeneratorType) String added in v1.77.0

func (Conversation_GeneratorContext_GeneratorType) Type added in v1.77.0

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.68.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.68.0

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

Deprecated: Use Conversation_TelephonyConnectionInfo.ProtoReflect.Descriptor instead.

func (*Conversation_TelephonyConnectionInfo) GetDialedNumber added in v1.68.0

func (x *Conversation_TelephonyConnectionInfo) GetDialedNumber() string

func (*Conversation_TelephonyConnectionInfo) GetExtraMimeContents added in v1.68.0

func (*Conversation_TelephonyConnectionInfo) GetSdp added in v1.68.0

func (*Conversation_TelephonyConnectionInfo) GetSipHeaders added in v1.68.0

func (*Conversation_TelephonyConnectionInfo) ProtoMessage added in v1.68.0

func (*Conversation_TelephonyConnectionInfo) ProtoMessage()

func (*Conversation_TelephonyConnectionInfo) ProtoReflect added in v1.68.0

func (*Conversation_TelephonyConnectionInfo) Reset added in v1.68.0

func (*Conversation_TelephonyConnectionInfo) String added in v1.68.0

type Conversation_TelephonyConnectionInfo_MimeContent added in v1.68.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.68.0

Deprecated: Use Conversation_TelephonyConnectionInfo_MimeContent.ProtoReflect.Descriptor instead.

func (*Conversation_TelephonyConnectionInfo_MimeContent) GetContent added in v1.68.0

func (*Conversation_TelephonyConnectionInfo_MimeContent) GetMimeType added in v1.68.0

func (*Conversation_TelephonyConnectionInfo_MimeContent) ProtoMessage added in v1.68.0

func (*Conversation_TelephonyConnectionInfo_MimeContent) ProtoReflect added in v1.68.0

func (*Conversation_TelephonyConnectionInfo_MimeContent) Reset added in v1.68.0

func (*Conversation_TelephonyConnectionInfo_MimeContent) String added in v1.68.0

type Conversation_TelephonyConnectionInfo_SipHeader added in v1.68.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.68.0

Deprecated: Use Conversation_TelephonyConnectionInfo_SipHeader.ProtoReflect.Descriptor instead.

func (*Conversation_TelephonyConnectionInfo_SipHeader) GetName added in v1.68.0

func (*Conversation_TelephonyConnectionInfo_SipHeader) GetValue added in v1.68.0

func (*Conversation_TelephonyConnectionInfo_SipHeader) ProtoMessage added in v1.68.0

func (*Conversation_TelephonyConnectionInfo_SipHeader) ProtoReflect added in v1.68.0

func (*Conversation_TelephonyConnectionInfo_SipHeader) Reset added in v1.68.0

func (*Conversation_TelephonyConnectionInfo_SipHeader) String added in v1.68.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.v2.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.v2.Intent] with
	// [Intent.live_agent_handoff][google.cloud.dialogflow.v2.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)
	// 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)
	// Suggests 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.v2.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.v2.Intent] with
	// [Intent.live_agent_handoff][google.cloud.dialogflow.v2.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)
	// 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)
	// Suggests 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 CreateCompanionAgentRequest

type CreateCompanionAgentRequest struct {

	// Required. Resource identifier of the project creating the companion agent.
	// Format: `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The companion agent to create.
	CompanionAgent *CompanionAgent `protobuf:"bytes,2,opt,name=companion_agent,json=companionAgent,proto3" json:"companion_agent,omitempty"`
	// Optional. The resource ID of the companion agent to create. If not
	// provided, the server will auto-generate a resource ID.
	CompanionAgentId string `protobuf:"bytes,3,opt,name=companion_agent_id,json=companionAgentId,proto3" json:"companion_agent_id,omitempty"`
	// contains filtered or unexported fields
}

Request of CreateCompanionAgent.

func (*CreateCompanionAgentRequest) Descriptor deprecated

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

Deprecated: Use CreateCompanionAgentRequest.ProtoReflect.Descriptor instead.

func (*CreateCompanionAgentRequest) GetCompanionAgent

func (x *CreateCompanionAgentRequest) GetCompanionAgent() *CompanionAgent

func (*CreateCompanionAgentRequest) GetCompanionAgentId

func (x *CreateCompanionAgentRequest) GetCompanionAgentId() string

func (*CreateCompanionAgentRequest) GetParent

func (x *CreateCompanionAgentRequest) GetParent() string

func (*CreateCompanionAgentRequest) ProtoMessage

func (*CreateCompanionAgentRequest) ProtoMessage()

func (*CreateCompanionAgentRequest) ProtoReflect

func (*CreateCompanionAgentRequest) Reset

func (x *CreateCompanionAgentRequest) Reset()

func (*CreateCompanionAgentRequest) String

func (x *CreateCompanionAgentRequest) String() string

type CreateContextRequest

type CreateContextRequest struct {

	// Required. The session to create a context for.
	// Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
	// `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
	// ID>/sessions/<Session ID>`.
	// 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.v2.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 CreateConversationDatasetOperationMetadata

type CreateConversationDatasetOperationMetadata struct {

	// The resource name of the conversation dataset that will be created. Format:
	// `projects/<Project ID>/locations/<Location
	// ID>/conversationDatasets/<Conversation Dataset Id>`
	ConversationDataset string `protobuf:"bytes,1,opt,name=conversation_dataset,json=conversationDataset,proto3" json:"conversation_dataset,omitempty"`
	// contains filtered or unexported fields
}

Metadata for [CreateConversationDataset][].

func (*CreateConversationDatasetOperationMetadata) Descriptor deprecated

Deprecated: Use CreateConversationDatasetOperationMetadata.ProtoReflect.Descriptor instead.

func (*CreateConversationDatasetOperationMetadata) GetConversationDataset

func (x *CreateConversationDatasetOperationMetadata) GetConversationDataset() string

func (*CreateConversationDatasetOperationMetadata) ProtoMessage

func (*CreateConversationDatasetOperationMetadata) ProtoReflect

func (*CreateConversationDatasetOperationMetadata) Reset

func (*CreateConversationDatasetOperationMetadata) String

type CreateConversationDatasetRequest

type CreateConversationDatasetRequest struct {

	// Required. The project to create conversation dataset for. Format:
	// `projects/<Project ID>/locations/<Location ID>`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The conversation dataset to create.
	ConversationDataset *ConversationDataset `protobuf:"bytes,2,opt,name=conversation_dataset,json=conversationDataset,proto3" json:"conversation_dataset,omitempty"`
	// contains filtered or unexported fields
}

The request message for [ConversationDatasets.CreateConversationDataset][google.cloud.dialogflow.v2.ConversationDatasets.CreateConversationDataset].

func (*CreateConversationDatasetRequest) Descriptor deprecated

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

Deprecated: Use CreateConversationDatasetRequest.ProtoReflect.Descriptor instead.

func (*CreateConversationDatasetRequest) GetConversationDataset

func (x *CreateConversationDatasetRequest) GetConversationDataset() *ConversationDataset

func (*CreateConversationDatasetRequest) GetParent

func (*CreateConversationDatasetRequest) ProtoMessage

func (*CreateConversationDatasetRequest) ProtoMessage()

func (*CreateConversationDatasetRequest) ProtoReflect

func (*CreateConversationDatasetRequest) Reset

func (*CreateConversationDatasetRequest) String

type CreateConversationModelEvaluationOperationMetadata

type CreateConversationModelEvaluationOperationMetadata struct {

	// The resource name of the conversation model. Format:
	// `projects/<Project ID>/locations/<Location
	// ID>/conversationModels/<Conversation Model Id>/evaluations/<Evaluation Id>`
	ConversationModelEvaluation string `` /* 144-byte string literal not displayed */
	// The resource name of the conversation model. Format:
	// `projects/<Project ID>/locations/<Location
	// ID>/conversationModels/<Conversation Model Id>`
	ConversationModel string `protobuf:"bytes,4,opt,name=conversation_model,json=conversationModel,proto3" json:"conversation_model,omitempty"`
	// State of CreateConversationModel operation.
	State CreateConversationModelEvaluationOperationMetadata_State `` /* 153-byte string literal not displayed */
	// Timestamp when the request to create conversation model was submitted. The
	// time is measured on server side.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// contains filtered or unexported fields
}

Metadata for a [ConversationModels.CreateConversationModelEvaluation][google.cloud.dialogflow.v2.ConversationModels.CreateConversationModelEvaluation] operation.

func (*CreateConversationModelEvaluationOperationMetadata) Descriptor deprecated

Deprecated: Use CreateConversationModelEvaluationOperationMetadata.ProtoReflect.Descriptor instead.

func (*CreateConversationModelEvaluationOperationMetadata) GetConversationModel

func (*CreateConversationModelEvaluationOperationMetadata) GetConversationModelEvaluation

func (x *CreateConversationModelEvaluationOperationMetadata) GetConversationModelEvaluation() string

func (*CreateConversationModelEvaluationOperationMetadata) GetCreateTime

func (*CreateConversationModelEvaluationOperationMetadata) GetState

func (*CreateConversationModelEvaluationOperationMetadata) ProtoMessage

func (*CreateConversationModelEvaluationOperationMetadata) ProtoReflect

func (*CreateConversationModelEvaluationOperationMetadata) Reset

func (*CreateConversationModelEvaluationOperationMetadata) String

type CreateConversationModelEvaluationOperationMetadata_State

type CreateConversationModelEvaluationOperationMetadata_State int32

State of CreateConversationModel operation.

const (
	// Operation status not specified.
	CreateConversationModelEvaluationOperationMetadata_STATE_UNSPECIFIED CreateConversationModelEvaluationOperationMetadata_State = 0
	// The operation is being prepared.
	CreateConversationModelEvaluationOperationMetadata_INITIALIZING CreateConversationModelEvaluationOperationMetadata_State = 1
	// The operation is running.
	CreateConversationModelEvaluationOperationMetadata_RUNNING CreateConversationModelEvaluationOperationMetadata_State = 2
	// The operation is cancelled.
	CreateConversationModelEvaluationOperationMetadata_CANCELLED CreateConversationModelEvaluationOperationMetadata_State = 3
	// The operation has succeeded.
	CreateConversationModelEvaluationOperationMetadata_SUCCEEDED CreateConversationModelEvaluationOperationMetadata_State = 4
	// The operation has failed.
	CreateConversationModelEvaluationOperationMetadata_FAILED CreateConversationModelEvaluationOperationMetadata_State = 5
)

func (CreateConversationModelEvaluationOperationMetadata_State) Descriptor

func (CreateConversationModelEvaluationOperationMetadata_State) Enum

func (CreateConversationModelEvaluationOperationMetadata_State) EnumDescriptor deprecated

Deprecated: Use CreateConversationModelEvaluationOperationMetadata_State.Descriptor instead.

func (CreateConversationModelEvaluationOperationMetadata_State) Number

func (CreateConversationModelEvaluationOperationMetadata_State) String

func (CreateConversationModelEvaluationOperationMetadata_State) Type

type CreateConversationModelEvaluationRequest

type CreateConversationModelEvaluationRequest struct {

	// Required. The conversation model resource name. Format:
	// `projects/<Project ID>/locations/<Location
	// ID>/conversationModels/<Conversation Model ID>`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The conversation model evaluation to be created.
	ConversationModelEvaluation *ConversationModelEvaluation `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

The request message for [ConversationModels.CreateConversationModelEvaluation][google.cloud.dialogflow.v2.ConversationModels.CreateConversationModelEvaluation]

func (*CreateConversationModelEvaluationRequest) Descriptor deprecated

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

Deprecated: Use CreateConversationModelEvaluationRequest.ProtoReflect.Descriptor instead.

func (*CreateConversationModelEvaluationRequest) GetConversationModelEvaluation

func (x *CreateConversationModelEvaluationRequest) GetConversationModelEvaluation() *ConversationModelEvaluation

func (*CreateConversationModelEvaluationRequest) GetParent

func (*CreateConversationModelEvaluationRequest) ProtoMessage

func (*CreateConversationModelEvaluationRequest) ProtoReflect

func (*CreateConversationModelEvaluationRequest) Reset

func (*CreateConversationModelEvaluationRequest) String

type CreateConversationModelOperationMetadata

type CreateConversationModelOperationMetadata struct {

	// The resource name of the conversation model. Format:
	// `projects/<Project ID>/conversationModels/<Conversation Model Id>`
	ConversationModel string `protobuf:"bytes,1,opt,name=conversation_model,json=conversationModel,proto3" json:"conversation_model,omitempty"`
	// State of CreateConversationModel operation.
	State CreateConversationModelOperationMetadata_State `` /* 143-byte string literal not displayed */
	// Timestamp when the request to create conversation model is submitted. The
	// time is measured on server side.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The time when the operation finished.
	DoneTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=done_time,json=doneTime,proto3" json:"done_time,omitempty"`
	// contains filtered or unexported fields
}

Metadata for a [ConversationModels.CreateConversationModel][google.cloud.dialogflow.v2.ConversationModels.CreateConversationModel] operation.

func (*CreateConversationModelOperationMetadata) Descriptor deprecated

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

Deprecated: Use CreateConversationModelOperationMetadata.ProtoReflect.Descriptor instead.

func (*CreateConversationModelOperationMetadata) GetConversationModel

func (x *CreateConversationModelOperationMetadata) GetConversationModel() string

func (*CreateConversationModelOperationMetadata) GetCreateTime

func (*CreateConversationModelOperationMetadata) GetDoneTime added in v1.73.0

func (*CreateConversationModelOperationMetadata) GetState

func (*CreateConversationModelOperationMetadata) ProtoMessage

func (*CreateConversationModelOperationMetadata) ProtoReflect

func (*CreateConversationModelOperationMetadata) Reset

func (*CreateConversationModelOperationMetadata) String

type CreateConversationModelOperationMetadata_State

type CreateConversationModelOperationMetadata_State int32

State of CreateConversationModel operation.

const (
	// Invalid.
	CreateConversationModelOperationMetadata_STATE_UNSPECIFIED CreateConversationModelOperationMetadata_State = 0
	// Request is submitted, but training has not started yet.
	// The model may remain in this state until there is enough capacity to
	// start training.
	CreateConversationModelOperationMetadata_PENDING CreateConversationModelOperationMetadata_State = 1
	// The training has succeeded.
	CreateConversationModelOperationMetadata_SUCCEEDED CreateConversationModelOperationMetadata_State = 2
	// The training has succeeded.
	CreateConversationModelOperationMetadata_FAILED CreateConversationModelOperationMetadata_State = 3
	// The training has been cancelled.
	CreateConversationModelOperationMetadata_CANCELLED CreateConversationModelOperationMetadata_State = 4
	// The training is in cancelling state.
	CreateConversationModelOperationMetadata_CANCELLING CreateConversationModelOperationMetadata_State = 5
	// Custom model is training.
	CreateConversationModelOperationMetadata_TRAINING CreateConversationModelOperationMetadata_State = 6
)

func (CreateConversationModelOperationMetadata_State) Descriptor

func (CreateConversationModelOperationMetadata_State) Enum

func (CreateConversationModelOperationMetadata_State) EnumDescriptor deprecated

Deprecated: Use CreateConversationModelOperationMetadata_State.Descriptor instead.

func (CreateConversationModelOperationMetadata_State) Number

func (CreateConversationModelOperationMetadata_State) String

func (CreateConversationModelOperationMetadata_State) Type

type CreateConversationModelRequest

type CreateConversationModelRequest struct {

	// The project to create conversation model for. Format:
	// `projects/<Project ID>`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The conversation model to create.
	ConversationModel *ConversationModel `protobuf:"bytes,2,opt,name=conversation_model,json=conversationModel,proto3" json:"conversation_model,omitempty"`
	// contains filtered or unexported fields
}

The request message for [ConversationModels.CreateConversationModel][google.cloud.dialogflow.v2.ConversationModels.CreateConversationModel]

func (*CreateConversationModelRequest) Descriptor deprecated

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

Deprecated: Use CreateConversationModelRequest.ProtoReflect.Descriptor instead.

func (*CreateConversationModelRequest) GetConversationModel

func (x *CreateConversationModelRequest) GetConversationModel() *ConversationModel

func (*CreateConversationModelRequest) GetParent

func (x *CreateConversationModelRequest) GetParent() string

func (*CreateConversationModelRequest) ProtoMessage

func (*CreateConversationModelRequest) ProtoMessage()

func (*CreateConversationModelRequest) ProtoReflect

func (*CreateConversationModelRequest) Reset

func (x *CreateConversationModelRequest) Reset()

func (*CreateConversationModelRequest) 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.v2.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.v2.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"`
	// contains filtered or unexported fields
}

Request message for [Documents.CreateDocument][google.cloud.dialogflow.v2.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) 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.
	// Format: `projects/<Project 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.v2.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.v2.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.73.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.73.0

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

Deprecated: Use CreateGeneratorEvaluationRequest.ProtoReflect.Descriptor instead.

func (*CreateGeneratorEvaluationRequest) GetGeneratorEvaluation added in v1.73.0

func (x *CreateGeneratorEvaluationRequest) GetGeneratorEvaluation() *GeneratorEvaluation

func (*CreateGeneratorEvaluationRequest) GetParent added in v1.73.0

func (*CreateGeneratorEvaluationRequest) ProtoMessage added in v1.73.0

func (*CreateGeneratorEvaluationRequest) ProtoMessage()

func (*CreateGeneratorEvaluationRequest) ProtoReflect added in v1.73.0

func (*CreateGeneratorEvaluationRequest) Reset added in v1.73.0

func (*CreateGeneratorEvaluationRequest) String added in v1.73.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.
	// Format: `projects/<Project 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 `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

The request message for [Intents.CreateIntent][google.cloud.dialogflow.v2.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.v2.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 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.v2.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.
	// Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
	// `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
	// sessions/<Session ID>`.
	// 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.v2.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.73.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.v2.SipTrunks.CreateSipTrunk].

func (*CreateSipTrunkRequest) Descriptor deprecated added in v1.73.0

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

Deprecated: Use CreateSipTrunkRequest.ProtoReflect.Descriptor instead.

func (*CreateSipTrunkRequest) GetParent added in v1.73.0

func (x *CreateSipTrunkRequest) GetParent() string

func (*CreateSipTrunkRequest) GetSipTrunk added in v1.73.0

func (x *CreateSipTrunkRequest) GetSipTrunk() *SipTrunk

func (*CreateSipTrunkRequest) ProtoMessage added in v1.73.0

func (*CreateSipTrunkRequest) ProtoMessage()

func (*CreateSipTrunkRequest) ProtoReflect added in v1.73.0

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

func (*CreateSipTrunkRequest) Reset added in v1.73.0

func (x *CreateSipTrunkRequest) Reset()

func (*CreateSipTrunkRequest) String added in v1.73.0

func (x *CreateSipTrunkRequest) String() string

type CreateToolRequest added in v1.73.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.73.0

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

Deprecated: Use CreateToolRequest.ProtoReflect.Descriptor instead.

func (*CreateToolRequest) GetParent added in v1.73.0

func (x *CreateToolRequest) GetParent() string

func (*CreateToolRequest) GetTool added in v1.73.0

func (x *CreateToolRequest) GetTool() *Tool

func (*CreateToolRequest) GetToolId added in v1.73.0

func (x *CreateToolRequest) GetToolId() string

func (*CreateToolRequest) ProtoMessage added in v1.73.0

func (*CreateToolRequest) ProtoMessage()

func (*CreateToolRequest) ProtoReflect added in v1.73.0

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

func (*CreateToolRequest) Reset added in v1.73.0

func (x *CreateToolRequest) Reset()

func (*CreateToolRequest) String added in v1.73.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.v2.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.73.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 `` /* 185-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.73.0

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

Deprecated: Use CustomPronunciationParams.ProtoReflect.Descriptor instead.

func (*CustomPronunciationParams) GetPhoneticEncoding added in v1.73.0

func (*CustomPronunciationParams) GetPhrase added in v1.73.0

func (x *CustomPronunciationParams) GetPhrase() string

func (*CustomPronunciationParams) GetPronunciation added in v1.73.0

func (x *CustomPronunciationParams) GetPronunciation() string

func (*CustomPronunciationParams) ProtoMessage added in v1.73.0

func (*CustomPronunciationParams) ProtoMessage()

func (*CustomPronunciationParams) ProtoReflect added in v1.73.0

func (*CustomPronunciationParams) Reset added in v1.73.0

func (x *CustomPronunciationParams) Reset()

func (*CustomPronunciationParams) String added in v1.73.0

func (x *CustomPronunciationParams) String() string

type CustomPronunciationParams_PhoneticEncoding added in v1.73.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.73.0

func (CustomPronunciationParams_PhoneticEncoding) Enum added in v1.73.0

func (CustomPronunciationParams_PhoneticEncoding) EnumDescriptor deprecated added in v1.73.0

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

Deprecated: Use CustomPronunciationParams_PhoneticEncoding.Descriptor instead.

func (CustomPronunciationParams_PhoneticEncoding) Number added in v1.73.0

func (CustomPronunciationParams_PhoneticEncoding) String added in v1.73.0

func (CustomPronunciationParams_PhoneticEncoding) Type added in v1.73.0

type DatastoreResponseReason added in v1.77.0

type DatastoreResponseReason int32

Response reason from datastore which indicates data serving status or answer quality degradation.

const (
	// Default value.
	DatastoreResponseReason_DATASTORE_RESPONSE_REASON_UNSPECIFIED DatastoreResponseReason = 0
	// No specific response reason from datastore.
	DatastoreResponseReason_NONE DatastoreResponseReason = 1
	// Search is blocked due to out of quota.
	DatastoreResponseReason_SEARCH_OUT_OF_QUOTA DatastoreResponseReason = 2
	// Search returns empty results.
	DatastoreResponseReason_SEARCH_EMPTY_RESULTS DatastoreResponseReason = 3
	// Generative AI is disabled.
	DatastoreResponseReason_ANSWER_GENERATION_GEN_AI_DISABLED DatastoreResponseReason = 4
	// Answer generation is blocked due to out of quota.
	DatastoreResponseReason_ANSWER_GENERATION_OUT_OF_QUOTA DatastoreResponseReason = 5
	// Answer generation encounters an error.
	DatastoreResponseReason_ANSWER_GENERATION_ERROR DatastoreResponseReason = 6
	// Answer generation does not have enough information to generate answer.
	DatastoreResponseReason_ANSWER_GENERATION_NOT_ENOUGH_INFO DatastoreResponseReason = 7
	// Answer generation is blocked by RAI (Responsible AI) failure.
	DatastoreResponseReason_ANSWER_GENERATION_RAI_FAILED DatastoreResponseReason = 8
	// Answer generation is not grounded on reliable sources.
	DatastoreResponseReason_ANSWER_GENERATION_NOT_GROUNDED DatastoreResponseReason = 9
)

func (DatastoreResponseReason) Descriptor added in v1.77.0

func (DatastoreResponseReason) Enum added in v1.77.0

func (DatastoreResponseReason) EnumDescriptor deprecated added in v1.77.0

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

Deprecated: Use DatastoreResponseReason.Descriptor instead.

func (DatastoreResponseReason) Number added in v1.77.0

func (DatastoreResponseReason) String added in v1.77.0

func (x DatastoreResponseReason) String() string

func (DatastoreResponseReason) Type added in v1.77.0

type DeleteAgentRequest

type DeleteAgentRequest struct {

	// Required. The project that the agent to delete is associated with.
	// Format: `projects/<Project 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.v2.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. Format:
	// `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
	// ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
	// ID>`.
	// 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.v2.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 DeleteCompanionAgentRequest

type DeleteCompanionAgentRequest struct {

	// Required. The unique resource identifier of the CompanionAgent to delete.
	// Format:
	// `projects/{project}/locations/{location}/companionAgents/{companion_agent}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteCompanionAgent.

func (*DeleteCompanionAgentRequest) Descriptor deprecated

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

Deprecated: Use DeleteCompanionAgentRequest.ProtoReflect.Descriptor instead.

func (*DeleteCompanionAgentRequest) GetName

func (x *DeleteCompanionAgentRequest) GetName() string

func (*DeleteCompanionAgentRequest) ProtoMessage

func (*DeleteCompanionAgentRequest) ProtoMessage()

func (*DeleteCompanionAgentRequest) ProtoReflect

func (*DeleteCompanionAgentRequest) Reset

func (x *DeleteCompanionAgentRequest) Reset()

func (*DeleteCompanionAgentRequest) String

func (x *DeleteCompanionAgentRequest) String() string

type DeleteContextRequest

type DeleteContextRequest struct {

	// Required. The name of the context to delete. Format:
	// `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
	// or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
	// ID>/sessions/<Session ID>/contexts/<Context ID>`.
	// 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.v2.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 DeleteConversationDatasetOperationMetadata

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

Metadata for [DeleteConversationDataset][].

func (*DeleteConversationDatasetOperationMetadata) Descriptor deprecated

Deprecated: Use DeleteConversationDatasetOperationMetadata.ProtoReflect.Descriptor instead.

func (*DeleteConversationDatasetOperationMetadata) ProtoMessage

func (*DeleteConversationDatasetOperationMetadata) ProtoReflect

func (*DeleteConversationDatasetOperationMetadata) Reset

func (*DeleteConversationDatasetOperationMetadata) String

type DeleteConversationDatasetRequest

type DeleteConversationDatasetRequest struct {

	// Required. The conversation dataset to delete. Format:
	// `projects/<Project ID>/locations/<Location
	// ID>/conversationDatasets/<Conversation Dataset ID>`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request message for [ConversationDatasets.DeleteConversationDataset][google.cloud.dialogflow.v2.ConversationDatasets.DeleteConversationDataset].

func (*DeleteConversationDatasetRequest) Descriptor deprecated

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

Deprecated: Use DeleteConversationDatasetRequest.ProtoReflect.Descriptor instead.

func (*DeleteConversationDatasetRequest) GetName

func (*DeleteConversationDatasetRequest) ProtoMessage

func (*DeleteConversationDatasetRequest) ProtoMessage()

func (*DeleteConversationDatasetRequest) ProtoReflect

func (*DeleteConversationDatasetRequest) Reset

func (*DeleteConversationDatasetRequest) String

type DeleteConversationModelOperationMetadata

type DeleteConversationModelOperationMetadata struct {

	// The resource name of the conversation model. Format:
	// `projects/<Project ID>/conversationModels/<Conversation Model Id>`
	ConversationModel string `protobuf:"bytes,1,opt,name=conversation_model,json=conversationModel,proto3" json:"conversation_model,omitempty"`
	// Timestamp when delete conversation model request was created. The time is
	// measured on server side.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The time when the operation finished.
	DoneTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=done_time,json=doneTime,proto3" json:"done_time,omitempty"`
	// contains filtered or unexported fields
}

Metadata for a [ConversationModels.DeleteConversationModel][google.cloud.dialogflow.v2.ConversationModels.DeleteConversationModel] operation.

func (*DeleteConversationModelOperationMetadata) Descriptor deprecated

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

Deprecated: Use DeleteConversationModelOperationMetadata.ProtoReflect.Descriptor instead.

func (*DeleteConversationModelOperationMetadata) GetConversationModel

func (x *DeleteConversationModelOperationMetadata) GetConversationModel() string

func (*DeleteConversationModelOperationMetadata) GetCreateTime

func (*DeleteConversationModelOperationMetadata) GetDoneTime added in v1.73.0

func (*DeleteConversationModelOperationMetadata) ProtoMessage

func (*DeleteConversationModelOperationMetadata) ProtoReflect

func (*DeleteConversationModelOperationMetadata) Reset

func (*DeleteConversationModelOperationMetadata) String

type DeleteConversationModelRequest

type DeleteConversationModelRequest struct {

	// Required. The conversation model to delete. Format:
	// `projects/<Project ID>/conversationModels/<Conversation Model ID>`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request message for [ConversationModels.DeleteConversationModel][google.cloud.dialogflow.v2.ConversationModels.DeleteConversationModel]

func (*DeleteConversationModelRequest) Descriptor deprecated

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

Deprecated: Use DeleteConversationModelRequest.ProtoReflect.Descriptor instead.

func (*DeleteConversationModelRequest) GetName

func (*DeleteConversationModelRequest) ProtoMessage

func (*DeleteConversationModelRequest) ProtoMessage()

func (*DeleteConversationModelRequest) ProtoReflect

func (*DeleteConversationModelRequest) Reset

func (x *DeleteConversationModelRequest) Reset()

func (*DeleteConversationModelRequest) 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.v2.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.v2.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.
	// Format: `projects/<Project ID>/agent/entityTypes/<EntityType 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.v2.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>`
	//
	// The environment ID for the default environment is `-`.
	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.v2.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.73.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.73.0

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

Deprecated: Use DeleteGeneratorEvaluationRequest.ProtoReflect.Descriptor instead.

func (*DeleteGeneratorEvaluationRequest) GetName added in v1.73.0

func (*DeleteGeneratorEvaluationRequest) ProtoMessage added in v1.73.0

func (*DeleteGeneratorEvaluationRequest) ProtoMessage()

func (*DeleteGeneratorEvaluationRequest) ProtoReflect added in v1.73.0

func (*DeleteGeneratorEvaluationRequest) Reset added in v1.73.0

func (*DeleteGeneratorEvaluationRequest) String added in v1.73.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.
	// Format: `projects/<Project 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.v2.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.v2.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 DeleteSessionEntityTypeRequest

type DeleteSessionEntityTypeRequest struct {

	// Required. The name of the entity type to delete. Format:
	// `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
	// Display Name>` or `projects/<Project ID>/agent/environments/<Environment
	// ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
	// Name>`.
	// 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.v2.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.73.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.v2.SipTrunks.DeleteSipTrunk].

func (*DeleteSipTrunkRequest) Descriptor deprecated added in v1.73.0

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

Deprecated: Use DeleteSipTrunkRequest.ProtoReflect.Descriptor instead.

func (*DeleteSipTrunkRequest) GetName added in v1.73.0

func (x *DeleteSipTrunkRequest) GetName() string

func (*DeleteSipTrunkRequest) ProtoMessage added in v1.73.0

func (*DeleteSipTrunkRequest) ProtoMessage()

func (*DeleteSipTrunkRequest) ProtoReflect added in v1.73.0

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

func (*DeleteSipTrunkRequest) Reset added in v1.73.0

func (x *DeleteSipTrunkRequest) Reset()

func (*DeleteSipTrunkRequest) String added in v1.73.0

func (x *DeleteSipTrunkRequest) String() string

type DeleteToolRequest added in v1.73.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.73.0

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

Deprecated: Use DeleteToolRequest.ProtoReflect.Descriptor instead.

func (*DeleteToolRequest) GetName added in v1.73.0

func (x *DeleteToolRequest) GetName() string

func (*DeleteToolRequest) ProtoMessage added in v1.73.0

func (*DeleteToolRequest) ProtoMessage()

func (*DeleteToolRequest) ProtoReflect added in v1.73.0

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

func (*DeleteToolRequest) Reset added in v1.73.0

func (x *DeleteToolRequest) Reset()

func (*DeleteToolRequest) String added in v1.73.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.v2.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 DeployConversationModelOperationMetadata

type DeployConversationModelOperationMetadata struct {

	// The resource name of the conversation model. Format:
	// `projects/<Project ID>/conversationModels/<Conversation Model Id>`
	ConversationModel string `protobuf:"bytes,1,opt,name=conversation_model,json=conversationModel,proto3" json:"conversation_model,omitempty"`
	// Timestamp when request to deploy conversation model was submitted. The time
	// is measured on server side.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The time when the operation finished.
	DoneTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=done_time,json=doneTime,proto3" json:"done_time,omitempty"`
	// contains filtered or unexported fields
}

Metadata for a [ConversationModels.DeployConversationModel][google.cloud.dialogflow.v2.ConversationModels.DeployConversationModel] operation.

func (*DeployConversationModelOperationMetadata) Descriptor deprecated

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

Deprecated: Use DeployConversationModelOperationMetadata.ProtoReflect.Descriptor instead.

func (*DeployConversationModelOperationMetadata) GetConversationModel

func (x *DeployConversationModelOperationMetadata) GetConversationModel() string

func (*DeployConversationModelOperationMetadata) GetCreateTime

func (*DeployConversationModelOperationMetadata) GetDoneTime added in v1.73.0

func (*DeployConversationModelOperationMetadata) ProtoMessage

func (*DeployConversationModelOperationMetadata) ProtoReflect

func (*DeployConversationModelOperationMetadata) Reset

func (*DeployConversationModelOperationMetadata) String

type DeployConversationModelRequest

type DeployConversationModelRequest struct {

	// Required. The conversation model to deploy. Format:
	// `projects/<Project ID>/conversationModels/<Conversation Model ID>`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request message for [ConversationModels.DeployConversationModel][google.cloud.dialogflow.v2.ConversationModels.DeployConversationModel]

func (*DeployConversationModelRequest) Descriptor deprecated

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

Deprecated: Use DeployConversationModelRequest.ProtoReflect.Descriptor instead.

func (*DeployConversationModelRequest) GetName

func (*DeployConversationModelRequest) ProtoMessage

func (*DeployConversationModelRequest) ProtoMessage()

func (*DeployConversationModelRequest) ProtoReflect

func (*DeployConversationModelRequest) Reset

func (x *DeployConversationModelRequest) Reset()

func (*DeployConversationModelRequest) String

type DetectIntentRequest

type DetectIntentRequest struct {

	// Required. The name of the session this query is sent to. Format:
	// `projects/<Project ID>/agent/sessions/<Session ID>`, or
	// `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
	// ID>/sessions/<Session ID>`. 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.v2.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.v2.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"`
	// 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) 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.43.0

type DialogflowAssistAnswer struct {

	// Result from DetectIntent for one matched intent.
	//
	// Types that are valid to be assigned 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.43.0

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

Deprecated: Use DialogflowAssistAnswer.ProtoReflect.Descriptor instead.

func (*DialogflowAssistAnswer) GetAnswerRecord added in v1.43.0

func (x *DialogflowAssistAnswer) GetAnswerRecord() string

func (*DialogflowAssistAnswer) GetIntentSuggestion added in v1.43.0

func (x *DialogflowAssistAnswer) GetIntentSuggestion() *IntentSuggestion

func (*DialogflowAssistAnswer) GetQueryResult added in v1.43.0

func (x *DialogflowAssistAnswer) GetQueryResult() *QueryResult

func (*DialogflowAssistAnswer) GetResult added in v1.43.0

func (x *DialogflowAssistAnswer) GetResult() isDialogflowAssistAnswer_Result

func (*DialogflowAssistAnswer) ProtoMessage added in v1.43.0

func (*DialogflowAssistAnswer) ProtoMessage()

func (*DialogflowAssistAnswer) ProtoReflect added in v1.43.0

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

func (*DialogflowAssistAnswer) Reset added in v1.43.0

func (x *DialogflowAssistAnswer) Reset()

func (*DialogflowAssistAnswer) String added in v1.43.0

func (x *DialogflowAssistAnswer) String() string

type DialogflowAssistAnswer_IntentSuggestion added in v1.43.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.43.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 `` /* 166-byte string literal not displayed */
	// Required. The source of this document.
	//
	// Types that are valid to be assigned to Source:
	//
	//	*Document_ContentUri
	//	*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 `` /* 143-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.v2.Document_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

A knowledge document to be used by a KnowledgeBase[google.cloud.dialogflow.v2.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) 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 (x *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_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
)

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 {

	// 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"`
	// 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.
	ListDocuments(ctx context.Context, in *ListDocumentsRequest, opts ...grpc.CallOption) (*ListDocumentsResponse, error)
	// Retrieves the specified document.
	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.v2.KnowledgeOperationMetadata]
	// - `response`: [Document][google.cloud.dialogflow.v2.Document]
	CreateDocument(ctx context.Context, in *CreateDocumentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Creates 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.v2.KnowledgeOperationMetadata]
	// - `response`:
	// [ImportDocumentsResponse][google.cloud.dialogflow.v2.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.v2.KnowledgeOperationMetadata]
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	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.v2.KnowledgeOperationMetadata]
	// - `response`: [Document][google.cloud.dialogflow.v2.Document]
	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.
	//
	// 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.v2.KnowledgeOperationMetadata]
	// - `response`: [Document][google.cloud.dialogflow.v2.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)
	// Exports a smart messaging candidate document into the specified
	// destination.
	//
	// 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.v2.KnowledgeOperationMetadata]
	// - `response`: [Document][google.cloud.dialogflow.v2.Document]
	ExportDocument(ctx context.Context, in *ExportDocumentRequest, 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.
	ListDocuments(context.Context, *ListDocumentsRequest) (*ListDocumentsResponse, error)
	// Retrieves the specified document.
	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.v2.KnowledgeOperationMetadata]
	// - `response`: [Document][google.cloud.dialogflow.v2.Document]
	CreateDocument(context.Context, *CreateDocumentRequest) (*longrunningpb.Operation, error)
	// Creates 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.v2.KnowledgeOperationMetadata]
	// - `response`:
	// [ImportDocumentsResponse][google.cloud.dialogflow.v2.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.v2.KnowledgeOperationMetadata]
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	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.v2.KnowledgeOperationMetadata]
	// - `response`: [Document][google.cloud.dialogflow.v2.Document]
	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.
	//
	// 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.v2.KnowledgeOperationMetadata]
	// - `response`: [Document][google.cloud.dialogflow.v2.Document]
	//
	// Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
	// only use `projects.knowledgeBases.documents`.
	ReloadDocument(context.Context, *ReloadDocumentRequest) (*longrunningpb.Operation, error)
	// Exports a smart messaging candidate document into the specified
	// destination.
	//
	// 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.v2.KnowledgeOperationMetadata]
	// - `response`: [Document][google.cloud.dialogflow.v2.Document]
	ExportDocument(context.Context, *ExportDocumentRequest) (*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.v2.EntityTypes.UpdateEntityType]
	// and
	// [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypes]
	// methods. Format: `projects/<Project 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.v2.EntityType_Kind" json:"kind,omitempty"`
	// Optional. Indicates whether the entity type can be automatically
	// expanded.
	AutoExpansionMode EntityType_AutoExpansionMode `` /* 176-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.v2.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.
	//
	// 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).
	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.v2.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.
	//
	// 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).
	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>`
	//
	// The environment ID for the default environment is `-`.
	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.v2.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>`
	//
	// The environment ID for the default environment is `-`.
	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.v2.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-default 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 continues 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 an agent
	// version in the default environment. WARNING: this will negate all recent
	// changes to the draft agent and can't be undone. You may want to save the
	// draft agent to a version before calling this method.
	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-default 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 continues 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 an agent
	// version in the default environment. WARNING: this will negate all recent
	// changes to the draft agent and can't be undone. You may want to save the
	// draft agent to a version before calling this method.
	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 EvaluationConfig

type EvaluationConfig struct {

	// Required. Datasets used for evaluation.
	Datasets []*InputDataset `protobuf:"bytes,3,rep,name=datasets,proto3" json:"datasets,omitempty"`
	// Specific configurations for different models in order to do evaluation.
	//
	// Types that are valid to be assigned to ModelSpecificConfig:
	//
	//	*EvaluationConfig_SmartReplyConfig_
	//	*EvaluationConfig_SmartComposeConfig_
	ModelSpecificConfig isEvaluationConfig_ModelSpecificConfig `protobuf_oneof:"model_specific_config"`
	// contains filtered or unexported fields
}

The configuration for model evaluation.

func (*EvaluationConfig) Descriptor deprecated

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

Deprecated: Use EvaluationConfig.ProtoReflect.Descriptor instead.

func (*EvaluationConfig) GetDatasets

func (x *EvaluationConfig) GetDatasets() []*InputDataset

func (*EvaluationConfig) GetModelSpecificConfig

func (x *EvaluationConfig) GetModelSpecificConfig() isEvaluationConfig_ModelSpecificConfig

func (*EvaluationConfig) GetSmartComposeConfig

func (x *EvaluationConfig) GetSmartComposeConfig() *EvaluationConfig_SmartComposeConfig

func (*EvaluationConfig) GetSmartReplyConfig

func (x *EvaluationConfig) GetSmartReplyConfig() *EvaluationConfig_SmartReplyConfig

func (*EvaluationConfig) ProtoMessage

func (*EvaluationConfig) ProtoMessage()

func (*EvaluationConfig) ProtoReflect

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

func (*EvaluationConfig) Reset

func (x *EvaluationConfig) Reset()

func (*EvaluationConfig) String

func (x *EvaluationConfig) String() string

type EvaluationConfig_SmartComposeConfig

type EvaluationConfig_SmartComposeConfig struct {

	// The allowlist document resource name.
	// Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
	// ID>/documents/<Document ID>`. Only used for smart compose model.
	AllowlistDocument string `protobuf:"bytes,1,opt,name=allowlist_document,json=allowlistDocument,proto3" json:"allowlist_document,omitempty"`
	// Required. The model to be evaluated can return multiple results with
	// confidence score on each query. These results will be sorted by the
	// descending order of the scores and we only keep the first
	// max_result_count results as the final results to evaluate.
	MaxResultCount int32 `protobuf:"varint,2,opt,name=max_result_count,json=maxResultCount,proto3" json:"max_result_count,omitempty"`
	// contains filtered or unexported fields
}

Smart compose specific configuration for evaluation job.

func (*EvaluationConfig_SmartComposeConfig) Descriptor deprecated

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

Deprecated: Use EvaluationConfig_SmartComposeConfig.ProtoReflect.Descriptor instead.

func (*EvaluationConfig_SmartComposeConfig) GetAllowlistDocument

func (x *EvaluationConfig_SmartComposeConfig) GetAllowlistDocument() string

func (*EvaluationConfig_SmartComposeConfig) GetMaxResultCount

func (x *EvaluationConfig_SmartComposeConfig) GetMaxResultCount() int32

func (*EvaluationConfig_SmartComposeConfig) ProtoMessage

func (*EvaluationConfig_SmartComposeConfig) ProtoMessage()

func (*EvaluationConfig_SmartComposeConfig) ProtoReflect

func (*EvaluationConfig_SmartComposeConfig) Reset

func (*EvaluationConfig_SmartComposeConfig) String

type EvaluationConfig_SmartComposeConfig_

type EvaluationConfig_SmartComposeConfig_ struct {
	// Configuration for smart compose model evaluation.
	SmartComposeConfig *EvaluationConfig_SmartComposeConfig `protobuf:"bytes,4,opt,name=smart_compose_config,json=smartComposeConfig,proto3,oneof"`
}

type EvaluationConfig_SmartReplyConfig

type EvaluationConfig_SmartReplyConfig struct {

	// The allowlist document resource name.
	// Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
	// ID>/documents/<Document ID>`. Only used for smart reply model.
	AllowlistDocument string `protobuf:"bytes,1,opt,name=allowlist_document,json=allowlistDocument,proto3" json:"allowlist_document,omitempty"`
	// Required. The model to be evaluated can return multiple results with
	// confidence score on each query. These results will be sorted by the
	// descending order of the scores and we only keep the first
	// max_result_count results as the final results to evaluate.
	MaxResultCount int32 `protobuf:"varint,2,opt,name=max_result_count,json=maxResultCount,proto3" json:"max_result_count,omitempty"`
	// contains filtered or unexported fields
}

Smart reply specific configuration for evaluation job.

func (*EvaluationConfig_SmartReplyConfig) Descriptor deprecated

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

Deprecated: Use EvaluationConfig_SmartReplyConfig.ProtoReflect.Descriptor instead.

func (*EvaluationConfig_SmartReplyConfig) GetAllowlistDocument

func (x *EvaluationConfig_SmartReplyConfig) GetAllowlistDocument() string

func (*EvaluationConfig_SmartReplyConfig) GetMaxResultCount

func (x *EvaluationConfig_SmartReplyConfig) GetMaxResultCount() int32

func (*EvaluationConfig_SmartReplyConfig) ProtoMessage

func (*EvaluationConfig_SmartReplyConfig) ProtoMessage()

func (*EvaluationConfig_SmartReplyConfig) ProtoReflect

func (*EvaluationConfig_SmartReplyConfig) Reset

func (*EvaluationConfig_SmartReplyConfig) String

type EvaluationConfig_SmartReplyConfig_

type EvaluationConfig_SmartReplyConfig_ struct {
	// Configuration for smart reply model evaluation.
	SmartReplyConfig *EvaluationConfig_SmartReplyConfig `protobuf:"bytes,2,opt,name=smart_reply_config,json=smartReplyConfig,proto3,oneof"`
}

type EvaluationStatus added in v1.73.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.73.0

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

Deprecated: Use EvaluationStatus.ProtoReflect.Descriptor instead.

func (*EvaluationStatus) GetDone added in v1.73.0

func (x *EvaluationStatus) GetDone() bool

func (*EvaluationStatus) GetPipelineStatus added in v1.73.0

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

func (*EvaluationStatus) ProtoMessage added in v1.73.0

func (*EvaluationStatus) ProtoMessage()

func (*EvaluationStatus) ProtoReflect added in v1.73.0

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

func (*EvaluationStatus) Reset added in v1.73.0

func (x *EvaluationStatus) Reset()

func (*EvaluationStatus) String added in v1.73.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.v2.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>`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. 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.v2.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 valid to be assigned 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.v2.Agents.ExportAgent].

func (*ExportAgentResponse) Descriptor deprecated

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

Deprecated: Use ExportAgentResponse.ProtoReflect.Descriptor instead.

func (*ExportAgentResponse) GetAgent

func (x *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 ExportDocumentRequest

type ExportDocumentRequest struct {

	// Required. The name of the document to export.
	// 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 destination for the export.
	//
	// Types that are valid to be assigned to Destination:
	//
	//	*ExportDocumentRequest_GcsDestination
	Destination isExportDocumentRequest_Destination `protobuf_oneof:"destination"`
	// When enabled, export the full content of the document including empirical
	// probability.
	ExportFullContent bool `protobuf:"varint,3,opt,name=export_full_content,json=exportFullContent,proto3" json:"export_full_content,omitempty"`
	// When enabled, export the smart messaging allowlist document for partial
	// update.
	SmartMessagingPartialUpdate bool `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request message for [Documents.ExportDocument][google.cloud.dialogflow.v2.Documents.ExportDocument].

func (*ExportDocumentRequest) Descriptor deprecated

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

Deprecated: Use ExportDocumentRequest.ProtoReflect.Descriptor instead.

func (*ExportDocumentRequest) GetDestination

func (x *ExportDocumentRequest) GetDestination() isExportDocumentRequest_Destination

func (*ExportDocumentRequest) GetExportFullContent

func (x *ExportDocumentRequest) GetExportFullContent() bool

func (*ExportDocumentRequest) GetGcsDestination

func (x *ExportDocumentRequest) GetGcsDestination() *GcsDestination

func (*ExportDocumentRequest) GetName

func (x *ExportDocumentRequest) GetName() string

func (*ExportDocumentRequest) GetSmartMessagingPartialUpdate

func (x *ExportDocumentRequest) GetSmartMessagingPartialUpdate() bool

func (*ExportDocumentRequest) ProtoMessage

func (*ExportDocumentRequest) ProtoMessage()

func (*ExportDocumentRequest) ProtoReflect

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

func (*ExportDocumentRequest) Reset

func (x *ExportDocumentRequest) Reset()

func (*ExportDocumentRequest) String

func (x *ExportDocumentRequest) String() string

type ExportDocumentRequest_GcsDestination

type ExportDocumentRequest_GcsDestination struct {
	// Cloud Storage file path to export the document.
	GcsDestination *GcsDestination `protobuf:"bytes,2,opt,name=gcs_destination,json=gcsDestination,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 `` /* 143-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 `` /* 162-byte string literal not displayed */
	// Instruction list of this few_shot example.
	//
	// Types that are valid to be assigned 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 (x *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"`
	// Optional. 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 valid to be assigned to Fulfillment:
	//
	//	*Fulfillment_GenericWebService_
	Fulfillment isFulfillment_Fulfillment `protobuf_oneof:"fulfillment"`
	// Optional. Whether fulfillment is enabled.
	Enabled bool `protobuf:"varint,4,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Optional. 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 (x *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.v2.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"`
	// Optional. The user name for HTTP Basic authentication.
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// Optional. The password for HTTP Basic authentication.
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// Optional. The HTTP request headers to send together with fulfillment
	// requests.
	RequestHeaders map[string]string `` /* 177-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/v2/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/v2/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 {

	// 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 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 location 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 GenerateCompanionSuggestionsResponse

type GenerateCompanionSuggestionsResponse struct {

	// Contains the core suggestion generated by the Companion Agent.
	CompanionSuggestion *CompanionSuggestion `protobuf:"bytes,1,opt,name=companion_suggestion,json=companionSuggestion,proto3" json:"companion_suggestion,omitempty"`
	// Answer record that uniquely identifies the suggestion.
	// Format: `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"`
	// 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,3,opt,name=latest_message,json=latestMessage,proto3" json:"latest_message,omitempty"`
	// Output only. The 1-based sequential index of the suggestion generated in
	// this session.
	SuggestionIndex int32 `protobuf:"varint,4,opt,name=suggestion_index,json=suggestionIndex,proto3" json:"suggestion_index,omitempty"`
	// contains filtered or unexported fields
}

Represents the response message for GenerateCompanionSuggestions.

func (*GenerateCompanionSuggestionsResponse) Descriptor deprecated

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

Deprecated: Use GenerateCompanionSuggestionsResponse.ProtoReflect.Descriptor instead.

func (*GenerateCompanionSuggestionsResponse) GetAnswerRecord

func (x *GenerateCompanionSuggestionsResponse) GetAnswerRecord() string

func (*GenerateCompanionSuggestionsResponse) GetCompanionSuggestion

func (x *GenerateCompanionSuggestionsResponse) GetCompanionSuggestion() *CompanionSuggestion

func (*GenerateCompanionSuggestionsResponse) GetLatestMessage

func (x *GenerateCompanionSuggestionsResponse) GetLatestMessage() string

func (*GenerateCompanionSuggestionsResponse) GetSuggestionIndex

func (x *GenerateCompanionSuggestionsResponse) GetSuggestionIndex() int32

func (*GenerateCompanionSuggestionsResponse) ProtoMessage

func (*GenerateCompanionSuggestionsResponse) ProtoMessage()

func (*GenerateCompanionSuggestionsResponse) ProtoReflect

func (*GenerateCompanionSuggestionsResponse) Reset

func (*GenerateCompanionSuggestionsResponse) 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 valid to be assigned 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 `` /* 186-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 `` /* 153-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.v2.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 (x *GenerateStatelessSuggestionRequest) GetGeneratorResource() isGenerateStatelessSuggestionRequest_GeneratorResource

func (*GenerateStatelessSuggestionRequest) GetParent added in v1.56.0

func (*GenerateStatelessSuggestionRequest) GetSecuritySettings added in v1.73.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.v2.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.v2.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
	// [latest_message][google.cloud.dialogflow.v2.GenerateStatelessSummaryResponse.latest_message]
	// used to compile the suggestion. It may be smaller than the
	// [GenerateStatelessSummaryRequest.max_context_size][google.cloud.dialogflow.v2.GenerateStatelessSummaryRequest.max_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.v2.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 `` /* 171-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.41.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 `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

The request message for [Conversations.GenerateSuggestions][google.cloud.dialogflow.v2.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.v2.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 valid to be assigned 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 `` /* 143-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 valid to be assigned 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 */
	// Optional. List of CES toolset specs that the generator can choose from.
	ToolsetTools []*ToolsetTool `protobuf:"bytes,27,rep,name=toolset_tools,json=toolsetTools,proto3" json:"toolset_tools,omitempty"`
	// Optional. List of CES tool specs that the generator can choose from.
	CesToolSpecs []*CesToolSpec `protobuf:"bytes,28,rep,name=ces_tool_specs,json=cesToolSpecs,proto3" json:"ces_tool_specs,omitempty"`
	// Optional. Deprecated: Use `ces_tool_specs` instead.
	// List of CES app specs that the generator can choose from.
	//
	// Deprecated: Marked as deprecated in google/cloud/dialogflow/v2/generator.proto.
	CesAppSpecs []*CesAppSpec `protobuf:"bytes,29,rep,name=ces_app_specs,json=cesAppSpecs,proto3" json:"ces_app_specs,omitempty"`
	// 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.73.0

func (x *Generator) GetAgentCoachingContext() *AgentCoachingContext

func (*Generator) GetCesAppSpecs deprecated added in v1.77.0

func (x *Generator) GetCesAppSpecs() []*CesAppSpec

Deprecated: Marked as deprecated in google/cloud/dialogflow/v2/generator.proto.

func (*Generator) GetCesToolSpecs added in v1.77.0

func (x *Generator) GetCesToolSpecs() []*CesToolSpec

func (*Generator) GetContext added in v1.56.0

func (x *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 (x *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.73.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.73.0

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

func (*Generator) GetToolsetTools added in v1.77.0

func (x *Generator) GetToolsetTools() []*ToolsetTool

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.73.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 valid to be assigned 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.73.0

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

Deprecated: Use GeneratorEvaluation.ProtoReflect.Descriptor instead.

func (*GeneratorEvaluation) GetCompleteTime added in v1.73.0

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

func (*GeneratorEvaluation) GetCreateTime added in v1.73.0

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

func (*GeneratorEvaluation) GetDisplayName added in v1.73.0

func (x *GeneratorEvaluation) GetDisplayName() string

func (*GeneratorEvaluation) GetEvaluationStatus added in v1.73.0

func (x *GeneratorEvaluation) GetEvaluationStatus() *EvaluationStatus

func (*GeneratorEvaluation) GetGeneratorEvaluationConfig added in v1.73.0

func (x *GeneratorEvaluation) GetGeneratorEvaluationConfig() *GeneratorEvaluationConfig

func (*GeneratorEvaluation) GetInitialGenerator added in v1.73.0

func (x *GeneratorEvaluation) GetInitialGenerator() *Generator

func (*GeneratorEvaluation) GetMetrics added in v1.73.0

func (x *GeneratorEvaluation) GetMetrics() isGeneratorEvaluation_Metrics

func (*GeneratorEvaluation) GetName added in v1.73.0

func (x *GeneratorEvaluation) GetName() string

func (*GeneratorEvaluation) GetSatisfiesPzi added in v1.73.0

func (x *GeneratorEvaluation) GetSatisfiesPzi() bool

func (*GeneratorEvaluation) GetSatisfiesPzs added in v1.73.0

func (x *GeneratorEvaluation) GetSatisfiesPzs() bool

func (*GeneratorEvaluation) GetSummarizationMetrics added in v1.73.0

func (x *GeneratorEvaluation) GetSummarizationMetrics() *SummarizationEvaluationMetrics

func (*GeneratorEvaluation) ProtoMessage added in v1.73.0

func (*GeneratorEvaluation) ProtoMessage()

func (*GeneratorEvaluation) ProtoReflect added in v1.73.0

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

func (*GeneratorEvaluation) Reset added in v1.73.0

func (x *GeneratorEvaluation) Reset()

func (*GeneratorEvaluation) String added in v1.73.0

func (x *GeneratorEvaluation) String() string

type GeneratorEvaluationConfig added in v1.73.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 valid to be assigned 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.73.0

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

Deprecated: Use GeneratorEvaluationConfig.ProtoReflect.Descriptor instead.

func (*GeneratorEvaluationConfig) GetEvaluationFeatureConfig added in v1.73.0

func (x *GeneratorEvaluationConfig) GetEvaluationFeatureConfig() isGeneratorEvaluationConfig_EvaluationFeatureConfig

func (*GeneratorEvaluationConfig) GetInputDataConfig added in v1.73.0

func (*GeneratorEvaluationConfig) GetOutputGcsBucketPath added in v1.73.0

func (x *GeneratorEvaluationConfig) GetOutputGcsBucketPath() string

func (*GeneratorEvaluationConfig) GetSummarizationConfig added in v1.73.0

func (*GeneratorEvaluationConfig) ProtoMessage added in v1.73.0

func (*GeneratorEvaluationConfig) ProtoMessage()

func (*GeneratorEvaluationConfig) ProtoReflect added in v1.73.0

func (*GeneratorEvaluationConfig) Reset added in v1.73.0

func (x *GeneratorEvaluationConfig) Reset()

func (*GeneratorEvaluationConfig) String added in v1.73.0

func (x *GeneratorEvaluationConfig) String() string

type GeneratorEvaluationConfig_AgentAssistInputDataConfig added in v1.73.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.73.0

Deprecated: Use GeneratorEvaluationConfig_AgentAssistInputDataConfig.ProtoReflect.Descriptor instead.

func (*GeneratorEvaluationConfig_AgentAssistInputDataConfig) GetEndTime added in v1.73.0

func (*GeneratorEvaluationConfig_AgentAssistInputDataConfig) GetStartTime added in v1.73.0

func (*GeneratorEvaluationConfig_AgentAssistInputDataConfig) ProtoMessage added in v1.73.0

func (*GeneratorEvaluationConfig_AgentAssistInputDataConfig) ProtoReflect added in v1.73.0

func (*GeneratorEvaluationConfig_AgentAssistInputDataConfig) Reset added in v1.73.0

func (*GeneratorEvaluationConfig_AgentAssistInputDataConfig) String added in v1.73.0

type GeneratorEvaluationConfig_DatasetInputDataConfig added in v1.73.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.73.0

Deprecated: Use GeneratorEvaluationConfig_DatasetInputDataConfig.ProtoReflect.Descriptor instead.

func (*GeneratorEvaluationConfig_DatasetInputDataConfig) GetDataset added in v1.73.0

func (*GeneratorEvaluationConfig_DatasetInputDataConfig) ProtoMessage added in v1.73.0

func (*GeneratorEvaluationConfig_DatasetInputDataConfig) ProtoReflect added in v1.73.0

func (*GeneratorEvaluationConfig_DatasetInputDataConfig) Reset added in v1.73.0

func (*GeneratorEvaluationConfig_DatasetInputDataConfig) String added in v1.73.0

type GeneratorEvaluationConfig_InputDataConfig added in v1.73.0

type GeneratorEvaluationConfig_InputDataConfig struct {

	// Required. The source type of input data.
	//
	// Deprecated: Marked as deprecated in google/cloud/dialogflow/v2/generator_evaluation.proto.
	InputDataSourceType GeneratorEvaluationConfig_InputDataSourceType `` /* 201-byte string literal not displayed */
	// Optional. The start timestamp to fetch conversation data.
	//
	// Deprecated: Marked as deprecated in google/cloud/dialogflow/v2/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/v2/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/v2/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 `` /* 231-byte string literal not displayed */
	// The source specific config for the input data.
	//
	// Types that are valid to be assigned 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.73.0

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

Deprecated: Use GeneratorEvaluationConfig_InputDataConfig.ProtoReflect.Descriptor instead.

func (*GeneratorEvaluationConfig_InputDataConfig) GetAgentAssistInputDataConfig added in v1.73.0

func (*GeneratorEvaluationConfig_InputDataConfig) GetDatasetInputDataConfig added in v1.73.0

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

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

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

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

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

func (x *GeneratorEvaluationConfig_InputDataConfig) GetIsSummaryGenerationAllowed() bool

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

func (*GeneratorEvaluationConfig_InputDataConfig) GetSampleSize added in v1.73.0

func (*GeneratorEvaluationConfig_InputDataConfig) GetSourceSpecificConfig added in v1.73.0

func (x *GeneratorEvaluationConfig_InputDataConfig) GetSourceSpecificConfig() isGeneratorEvaluationConfig_InputDataConfig_SourceSpecificConfig

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

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

func (*GeneratorEvaluationConfig_InputDataConfig) GetSummaryGenerationOption added in v1.73.0

func (*GeneratorEvaluationConfig_InputDataConfig) ProtoMessage added in v1.73.0

func (*GeneratorEvaluationConfig_InputDataConfig) ProtoReflect added in v1.73.0

func (*GeneratorEvaluationConfig_InputDataConfig) Reset added in v1.73.0

func (*GeneratorEvaluationConfig_InputDataConfig) String added in v1.73.0

type GeneratorEvaluationConfig_InputDataConfig_AgentAssistInputDataConfig added in v1.73.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.73.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.73.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.73.0

func (GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption) Enum added in v1.73.0

func (GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption) EnumDescriptor deprecated added in v1.73.0

Deprecated: Use GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption.Descriptor instead.

func (GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption) Number added in v1.73.0

func (GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption) String added in v1.73.0

func (GeneratorEvaluationConfig_InputDataConfig_SummaryGenerationOption) Type added in v1.73.0

type GeneratorEvaluationConfig_InputDataSourceType added in v1.73.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.73.0

func (GeneratorEvaluationConfig_InputDataSourceType) Enum added in v1.73.0

func (GeneratorEvaluationConfig_InputDataSourceType) EnumDescriptor deprecated added in v1.73.0

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

Deprecated: Use GeneratorEvaluationConfig_InputDataSourceType.Descriptor instead.

func (GeneratorEvaluationConfig_InputDataSourceType) Number added in v1.73.0

func (GeneratorEvaluationConfig_InputDataSourceType) String added in v1.73.0

func (GeneratorEvaluationConfig_InputDataSourceType) Type added in v1.73.0

type GeneratorEvaluationConfig_SummarizationConfig added in v1.73.0

type GeneratorEvaluationConfig_SummarizationConfig struct {

	// Optional. Enable accuracy evaluation.
	//
	// Deprecated: Marked as deprecated in google/cloud/dialogflow/v2/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/v2/generator_evaluation.proto.
	AccuracyEvaluationVersion string `` /* 138-byte string literal not displayed */
	// Optional. Enable completeness evaluation.
	//
	// Deprecated: Marked as deprecated in google/cloud/dialogflow/v2/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/v2/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.73.0

Deprecated: Use GeneratorEvaluationConfig_SummarizationConfig.ProtoReflect.Descriptor instead.

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

func (x *GeneratorEvaluationConfig_SummarizationConfig) GetAccuracyEvaluationVersion() string

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

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

func (x *GeneratorEvaluationConfig_SummarizationConfig) GetCompletenessEvaluationVersion() string

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

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

func (x *GeneratorEvaluationConfig_SummarizationConfig) GetEnableAccuracyEvaluation() bool

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

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

func (x *GeneratorEvaluationConfig_SummarizationConfig) GetEnableCompletenessEvaluation() bool

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

func (*GeneratorEvaluationConfig_SummarizationConfig) GetEvaluatorVersion added in v1.73.0

func (x *GeneratorEvaluationConfig_SummarizationConfig) GetEvaluatorVersion() string

func (*GeneratorEvaluationConfig_SummarizationConfig) ProtoMessage added in v1.73.0

func (*GeneratorEvaluationConfig_SummarizationConfig) ProtoReflect added in v1.73.0

func (*GeneratorEvaluationConfig_SummarizationConfig) Reset added in v1.73.0

func (*GeneratorEvaluationConfig_SummarizationConfig) String added in v1.73.0

type GeneratorEvaluationConfig_SummarizationConfig_ added in v1.73.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.73.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.v2.GeneratorEvaluations.CreateGeneratorEvaluation] operation.

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

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

Deprecated: Use GeneratorEvaluationOperationMetadata.ProtoReflect.Descriptor instead.

func (*GeneratorEvaluationOperationMetadata) GetGeneratorEvaluation added in v1.73.0

func (x *GeneratorEvaluationOperationMetadata) GetGeneratorEvaluation() string

func (*GeneratorEvaluationOperationMetadata) ProtoMessage added in v1.73.0

func (*GeneratorEvaluationOperationMetadata) ProtoMessage()

func (*GeneratorEvaluationOperationMetadata) ProtoReflect added in v1.73.0

func (*GeneratorEvaluationOperationMetadata) Reset added in v1.73.0

func (*GeneratorEvaluationOperationMetadata) String added in v1.73.0

type GeneratorEvaluation_SummarizationMetrics added in v1.73.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.73.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.73.0

func NewGeneratorEvaluationsClient(cc grpc.ClientConnInterface) GeneratorEvaluationsClient

type GeneratorEvaluationsServer added in v1.73.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 valid to be assigned 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.73.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 (x *GeneratorSuggestion) GetSuggestion() isGeneratorSuggestion_Suggestion

func (*GeneratorSuggestion) GetSummarySuggestion added in v1.56.0

func (x *GeneratorSuggestion) GetSummarySuggestion() *SummarySuggestion

func (*GeneratorSuggestion) GetToolCallInfo added in v1.73.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.73.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.73.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.73.0

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

Deprecated: Use GeneratorSuggestion_ToolCallInfo.ProtoReflect.Descriptor instead.

func (*GeneratorSuggestion_ToolCallInfo) GetToolCall added in v1.73.0

func (x *GeneratorSuggestion_ToolCallInfo) GetToolCall() *ToolCall

func (*GeneratorSuggestion_ToolCallInfo) GetToolCallResult added in v1.73.0

func (x *GeneratorSuggestion_ToolCallInfo) GetToolCallResult() *ToolCallResult

func (*GeneratorSuggestion_ToolCallInfo) ProtoMessage added in v1.73.0

func (*GeneratorSuggestion_ToolCallInfo) ProtoMessage()

func (*GeneratorSuggestion_ToolCallInfo) ProtoReflect added in v1.73.0

func (*GeneratorSuggestion_ToolCallInfo) Reset added in v1.73.0

func (*GeneratorSuggestion_ToolCallInfo) String added in v1.73.0

type Generator_AgentCoachingContext added in v1.73.0

type Generator_AgentCoachingContext struct {
	// Input of prebuilt 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 prebuilt 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