Constants
Agents_ListAgents_FullMethodName, Agents_GetAgent_FullMethodName, Agents_CreateAgent_FullMethodName, Agents_UpdateAgent_FullMethodName, Agents_DeleteAgent_FullMethodName, Agents_ExportAgent_FullMethodName, Agents_RestoreAgent_FullMethodName, Agents_ValidateAgent_FullMethodName, Agents_GetAgentValidationResult_FullMethodName, Agents_GetGenerativeSettings_FullMethodName, Agents_UpdateGenerativeSettings_FullMethodName
const (
Agents_ListAgents_FullMethodName = "/google.cloud.dialogflow.cx.v3.Agents/ListAgents"
Agents_GetAgent_FullMethodName = "/google.cloud.dialogflow.cx.v3.Agents/GetAgent"
Agents_CreateAgent_FullMethodName = "/google.cloud.dialogflow.cx.v3.Agents/CreateAgent"
Agents_UpdateAgent_FullMethodName = "/google.cloud.dialogflow.cx.v3.Agents/UpdateAgent"
Agents_DeleteAgent_FullMethodName = "/google.cloud.dialogflow.cx.v3.Agents/DeleteAgent"
Agents_ExportAgent_FullMethodName = "/google.cloud.dialogflow.cx.v3.Agents/ExportAgent"
Agents_RestoreAgent_FullMethodName = "/google.cloud.dialogflow.cx.v3.Agents/RestoreAgent"
Agents_ValidateAgent_FullMethodName = "/google.cloud.dialogflow.cx.v3.Agents/ValidateAgent"
Agents_GetAgentValidationResult_FullMethodName = "/google.cloud.dialogflow.cx.v3.Agents/GetAgentValidationResult"
Agents_GetGenerativeSettings_FullMethodName = "/google.cloud.dialogflow.cx.v3.Agents/GetGenerativeSettings"
Agents_UpdateGenerativeSettings_FullMethodName = "/google.cloud.dialogflow.cx.v3.Agents/UpdateGenerativeSettings"
)Changelogs_ListChangelogs_FullMethodName, Changelogs_GetChangelog_FullMethodName
const (
Changelogs_ListChangelogs_FullMethodName = "/google.cloud.dialogflow.cx.v3.Changelogs/ListChangelogs"
Changelogs_GetChangelog_FullMethodName = "/google.cloud.dialogflow.cx.v3.Changelogs/GetChangelog"
)Deployments_ListDeployments_FullMethodName, Deployments_GetDeployment_FullMethodName
const (
Deployments_ListDeployments_FullMethodName = "/google.cloud.dialogflow.cx.v3.Deployments/ListDeployments"
Deployments_GetDeployment_FullMethodName = "/google.cloud.dialogflow.cx.v3.Deployments/GetDeployment"
)EntityTypes_GetEntityType_FullMethodName, EntityTypes_CreateEntityType_FullMethodName, EntityTypes_UpdateEntityType_FullMethodName, EntityTypes_DeleteEntityType_FullMethodName, EntityTypes_ListEntityTypes_FullMethodName, EntityTypes_ExportEntityTypes_FullMethodName, EntityTypes_ImportEntityTypes_FullMethodName
const (
EntityTypes_GetEntityType_FullMethodName = "/google.cloud.dialogflow.cx.v3.EntityTypes/GetEntityType"
EntityTypes_CreateEntityType_FullMethodName = "/google.cloud.dialogflow.cx.v3.EntityTypes/CreateEntityType"
EntityTypes_UpdateEntityType_FullMethodName = "/google.cloud.dialogflow.cx.v3.EntityTypes/UpdateEntityType"
EntityTypes_DeleteEntityType_FullMethodName = "/google.cloud.dialogflow.cx.v3.EntityTypes/DeleteEntityType"
EntityTypes_ListEntityTypes_FullMethodName = "/google.cloud.dialogflow.cx.v3.EntityTypes/ListEntityTypes"
EntityTypes_ExportEntityTypes_FullMethodName = "/google.cloud.dialogflow.cx.v3.EntityTypes/ExportEntityTypes"
EntityTypes_ImportEntityTypes_FullMethodName = "/google.cloud.dialogflow.cx.v3.EntityTypes/ImportEntityTypes"
)Environments_ListEnvironments_FullMethodName, Environments_GetEnvironment_FullMethodName, Environments_CreateEnvironment_FullMethodName, Environments_UpdateEnvironment_FullMethodName, Environments_DeleteEnvironment_FullMethodName, Environments_LookupEnvironmentHistory_FullMethodName, Environments_RunContinuousTest_FullMethodName, Environments_ListContinuousTestResults_FullMethodName, Environments_DeployFlow_FullMethodName
const (
Environments_ListEnvironments_FullMethodName = "/google.cloud.dialogflow.cx.v3.Environments/ListEnvironments"
Environments_GetEnvironment_FullMethodName = "/google.cloud.dialogflow.cx.v3.Environments/GetEnvironment"
Environments_CreateEnvironment_FullMethodName = "/google.cloud.dialogflow.cx.v3.Environments/CreateEnvironment"
Environments_UpdateEnvironment_FullMethodName = "/google.cloud.dialogflow.cx.v3.Environments/UpdateEnvironment"
Environments_DeleteEnvironment_FullMethodName = "/google.cloud.dialogflow.cx.v3.Environments/DeleteEnvironment"
Environments_LookupEnvironmentHistory_FullMethodName = "/google.cloud.dialogflow.cx.v3.Environments/LookupEnvironmentHistory"
Environments_RunContinuousTest_FullMethodName = "/google.cloud.dialogflow.cx.v3.Environments/RunContinuousTest"
Environments_ListContinuousTestResults_FullMethodName = "/google.cloud.dialogflow.cx.v3.Environments/ListContinuousTestResults"
Environments_DeployFlow_FullMethodName = "/google.cloud.dialogflow.cx.v3.Environments/DeployFlow"
)Examples_CreateExample_FullMethodName, Examples_DeleteExample_FullMethodName, Examples_ListExamples_FullMethodName, Examples_GetExample_FullMethodName, Examples_UpdateExample_FullMethodName
const (
Examples_CreateExample_FullMethodName = "/google.cloud.dialogflow.cx.v3.Examples/CreateExample"
Examples_DeleteExample_FullMethodName = "/google.cloud.dialogflow.cx.v3.Examples/DeleteExample"
Examples_ListExamples_FullMethodName = "/google.cloud.dialogflow.cx.v3.Examples/ListExamples"
Examples_GetExample_FullMethodName = "/google.cloud.dialogflow.cx.v3.Examples/GetExample"
Examples_UpdateExample_FullMethodName = "/google.cloud.dialogflow.cx.v3.Examples/UpdateExample"
)Experiments_ListExperiments_FullMethodName, Experiments_GetExperiment_FullMethodName, Experiments_CreateExperiment_FullMethodName, Experiments_UpdateExperiment_FullMethodName, Experiments_DeleteExperiment_FullMethodName, Experiments_StartExperiment_FullMethodName, Experiments_StopExperiment_FullMethodName
const (
Experiments_ListExperiments_FullMethodName = "/google.cloud.dialogflow.cx.v3.Experiments/ListExperiments"
Experiments_GetExperiment_FullMethodName = "/google.cloud.dialogflow.cx.v3.Experiments/GetExperiment"
Experiments_CreateExperiment_FullMethodName = "/google.cloud.dialogflow.cx.v3.Experiments/CreateExperiment"
Experiments_UpdateExperiment_FullMethodName = "/google.cloud.dialogflow.cx.v3.Experiments/UpdateExperiment"
Experiments_DeleteExperiment_FullMethodName = "/google.cloud.dialogflow.cx.v3.Experiments/DeleteExperiment"
Experiments_StartExperiment_FullMethodName = "/google.cloud.dialogflow.cx.v3.Experiments/StartExperiment"
Experiments_StopExperiment_FullMethodName = "/google.cloud.dialogflow.cx.v3.Experiments/StopExperiment"
)Flows_CreateFlow_FullMethodName, Flows_DeleteFlow_FullMethodName, Flows_ListFlows_FullMethodName, Flows_GetFlow_FullMethodName, Flows_UpdateFlow_FullMethodName, Flows_TrainFlow_FullMethodName, Flows_ValidateFlow_FullMethodName, Flows_GetFlowValidationResult_FullMethodName, Flows_ImportFlow_FullMethodName, Flows_ExportFlow_FullMethodName
const (
Flows_CreateFlow_FullMethodName = "/google.cloud.dialogflow.cx.v3.Flows/CreateFlow"
Flows_DeleteFlow_FullMethodName = "/google.cloud.dialogflow.cx.v3.Flows/DeleteFlow"
Flows_ListFlows_FullMethodName = "/google.cloud.dialogflow.cx.v3.Flows/ListFlows"
Flows_GetFlow_FullMethodName = "/google.cloud.dialogflow.cx.v3.Flows/GetFlow"
Flows_UpdateFlow_FullMethodName = "/google.cloud.dialogflow.cx.v3.Flows/UpdateFlow"
Flows_TrainFlow_FullMethodName = "/google.cloud.dialogflow.cx.v3.Flows/TrainFlow"
Flows_ValidateFlow_FullMethodName = "/google.cloud.dialogflow.cx.v3.Flows/ValidateFlow"
Flows_GetFlowValidationResult_FullMethodName = "/google.cloud.dialogflow.cx.v3.Flows/GetFlowValidationResult"
Flows_ImportFlow_FullMethodName = "/google.cloud.dialogflow.cx.v3.Flows/ImportFlow"
Flows_ExportFlow_FullMethodName = "/google.cloud.dialogflow.cx.v3.Flows/ExportFlow"
)Generators_ListGenerators_FullMethodName, Generators_GetGenerator_FullMethodName, Generators_CreateGenerator_FullMethodName, Generators_UpdateGenerator_FullMethodName, Generators_DeleteGenerator_FullMethodName
const (
Generators_ListGenerators_FullMethodName = "/google.cloud.dialogflow.cx.v3.Generators/ListGenerators"
Generators_GetGenerator_FullMethodName = "/google.cloud.dialogflow.cx.v3.Generators/GetGenerator"
Generators_CreateGenerator_FullMethodName = "/google.cloud.dialogflow.cx.v3.Generators/CreateGenerator"
Generators_UpdateGenerator_FullMethodName = "/google.cloud.dialogflow.cx.v3.Generators/UpdateGenerator"
Generators_DeleteGenerator_FullMethodName = "/google.cloud.dialogflow.cx.v3.Generators/DeleteGenerator"
)Intents_ListIntents_FullMethodName, Intents_GetIntent_FullMethodName, Intents_CreateIntent_FullMethodName, Intents_UpdateIntent_FullMethodName, Intents_DeleteIntent_FullMethodName, Intents_ImportIntents_FullMethodName, Intents_ExportIntents_FullMethodName
const (
Intents_ListIntents_FullMethodName = "/google.cloud.dialogflow.cx.v3.Intents/ListIntents"
Intents_GetIntent_FullMethodName = "/google.cloud.dialogflow.cx.v3.Intents/GetIntent"
Intents_CreateIntent_FullMethodName = "/google.cloud.dialogflow.cx.v3.Intents/CreateIntent"
Intents_UpdateIntent_FullMethodName = "/google.cloud.dialogflow.cx.v3.Intents/UpdateIntent"
Intents_DeleteIntent_FullMethodName = "/google.cloud.dialogflow.cx.v3.Intents/DeleteIntent"
Intents_ImportIntents_FullMethodName = "/google.cloud.dialogflow.cx.v3.Intents/ImportIntents"
Intents_ExportIntents_FullMethodName = "/google.cloud.dialogflow.cx.v3.Intents/ExportIntents"
)Pages_ListPages_FullMethodName, Pages_GetPage_FullMethodName, Pages_CreatePage_FullMethodName, Pages_UpdatePage_FullMethodName, Pages_DeletePage_FullMethodName
const (
Pages_ListPages_FullMethodName = "/google.cloud.dialogflow.cx.v3.Pages/ListPages"
Pages_GetPage_FullMethodName = "/google.cloud.dialogflow.cx.v3.Pages/GetPage"
Pages_CreatePage_FullMethodName = "/google.cloud.dialogflow.cx.v3.Pages/CreatePage"
Pages_UpdatePage_FullMethodName = "/google.cloud.dialogflow.cx.v3.Pages/UpdatePage"
Pages_DeletePage_FullMethodName = "/google.cloud.dialogflow.cx.v3.Pages/DeletePage"
)Playbooks_CreatePlaybook_FullMethodName, Playbooks_DeletePlaybook_FullMethodName, Playbooks_ListPlaybooks_FullMethodName, Playbooks_GetPlaybook_FullMethodName, Playbooks_ExportPlaybook_FullMethodName, Playbooks_ImportPlaybook_FullMethodName, Playbooks_UpdatePlaybook_FullMethodName, Playbooks_CreatePlaybookVersion_FullMethodName, Playbooks_GetPlaybookVersion_FullMethodName, Playbooks_RestorePlaybookVersion_FullMethodName, Playbooks_ListPlaybookVersions_FullMethodName, Playbooks_DeletePlaybookVersion_FullMethodName
const (
Playbooks_CreatePlaybook_FullMethodName = "/google.cloud.dialogflow.cx.v3.Playbooks/CreatePlaybook"
Playbooks_DeletePlaybook_FullMethodName = "/google.cloud.dialogflow.cx.v3.Playbooks/DeletePlaybook"
Playbooks_ListPlaybooks_FullMethodName = "/google.cloud.dialogflow.cx.v3.Playbooks/ListPlaybooks"
Playbooks_GetPlaybook_FullMethodName = "/google.cloud.dialogflow.cx.v3.Playbooks/GetPlaybook"
Playbooks_ExportPlaybook_FullMethodName = "/google.cloud.dialogflow.cx.v3.Playbooks/ExportPlaybook"
Playbooks_ImportPlaybook_FullMethodName = "/google.cloud.dialogflow.cx.v3.Playbooks/ImportPlaybook"
Playbooks_UpdatePlaybook_FullMethodName = "/google.cloud.dialogflow.cx.v3.Playbooks/UpdatePlaybook"
Playbooks_CreatePlaybookVersion_FullMethodName = "/google.cloud.dialogflow.cx.v3.Playbooks/CreatePlaybookVersion"
Playbooks_GetPlaybookVersion_FullMethodName = "/google.cloud.dialogflow.cx.v3.Playbooks/GetPlaybookVersion"
Playbooks_RestorePlaybookVersion_FullMethodName = "/google.cloud.dialogflow.cx.v3.Playbooks/RestorePlaybookVersion"
Playbooks_ListPlaybookVersions_FullMethodName = "/google.cloud.dialogflow.cx.v3.Playbooks/ListPlaybookVersions"
Playbooks_DeletePlaybookVersion_FullMethodName = "/google.cloud.dialogflow.cx.v3.Playbooks/DeletePlaybookVersion"
)SecuritySettingsService_CreateSecuritySettings_FullMethodName, SecuritySettingsService_GetSecuritySettings_FullMethodName, SecuritySettingsService_UpdateSecuritySettings_FullMethodName, SecuritySettingsService_ListSecuritySettings_FullMethodName, SecuritySettingsService_DeleteSecuritySettings_FullMethodName
const (
SecuritySettingsService_CreateSecuritySettings_FullMethodName = "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/CreateSecuritySettings"
SecuritySettingsService_GetSecuritySettings_FullMethodName = "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/GetSecuritySettings"
SecuritySettingsService_UpdateSecuritySettings_FullMethodName = "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/UpdateSecuritySettings"
SecuritySettingsService_ListSecuritySettings_FullMethodName = "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/ListSecuritySettings"
SecuritySettingsService_DeleteSecuritySettings_FullMethodName = "/google.cloud.dialogflow.cx.v3.SecuritySettingsService/DeleteSecuritySettings"
)SessionEntityTypes_ListSessionEntityTypes_FullMethodName, SessionEntityTypes_GetSessionEntityType_FullMethodName, SessionEntityTypes_CreateSessionEntityType_FullMethodName, SessionEntityTypes_UpdateSessionEntityType_FullMethodName, SessionEntityTypes_DeleteSessionEntityType_FullMethodName
const (
SessionEntityTypes_ListSessionEntityTypes_FullMethodName = "/google.cloud.dialogflow.cx.v3.SessionEntityTypes/ListSessionEntityTypes"
SessionEntityTypes_GetSessionEntityType_FullMethodName = "/google.cloud.dialogflow.cx.v3.SessionEntityTypes/GetSessionEntityType"
SessionEntityTypes_CreateSessionEntityType_FullMethodName = "/google.cloud.dialogflow.cx.v3.SessionEntityTypes/CreateSessionEntityType"
SessionEntityTypes_UpdateSessionEntityType_FullMethodName = "/google.cloud.dialogflow.cx.v3.SessionEntityTypes/UpdateSessionEntityType"
SessionEntityTypes_DeleteSessionEntityType_FullMethodName = "/google.cloud.dialogflow.cx.v3.SessionEntityTypes/DeleteSessionEntityType"
)Sessions_DetectIntent_FullMethodName, Sessions_ServerStreamingDetectIntent_FullMethodName, Sessions_StreamingDetectIntent_FullMethodName, Sessions_MatchIntent_FullMethodName, Sessions_FulfillIntent_FullMethodName, Sessions_SubmitAnswerFeedback_FullMethodName
const (
Sessions_DetectIntent_FullMethodName = "/google.cloud.dialogflow.cx.v3.Sessions/DetectIntent"
Sessions_ServerStreamingDetectIntent_FullMethodName = "/google.cloud.dialogflow.cx.v3.Sessions/ServerStreamingDetectIntent"
Sessions_StreamingDetectIntent_FullMethodName = "/google.cloud.dialogflow.cx.v3.Sessions/StreamingDetectIntent"
Sessions_MatchIntent_FullMethodName = "/google.cloud.dialogflow.cx.v3.Sessions/MatchIntent"
Sessions_FulfillIntent_FullMethodName = "/google.cloud.dialogflow.cx.v3.Sessions/FulfillIntent"
Sessions_SubmitAnswerFeedback_FullMethodName = "/google.cloud.dialogflow.cx.v3.Sessions/SubmitAnswerFeedback"
)TestCases_ListTestCases_FullMethodName, TestCases_BatchDeleteTestCases_FullMethodName, TestCases_GetTestCase_FullMethodName, TestCases_CreateTestCase_FullMethodName, TestCases_UpdateTestCase_FullMethodName, TestCases_RunTestCase_FullMethodName, TestCases_BatchRunTestCases_FullMethodName, TestCases_CalculateCoverage_FullMethodName, TestCases_ImportTestCases_FullMethodName, TestCases_ExportTestCases_FullMethodName, TestCases_ListTestCaseResults_FullMethodName, TestCases_GetTestCaseResult_FullMethodName
const (
TestCases_ListTestCases_FullMethodName = "/google.cloud.dialogflow.cx.v3.TestCases/ListTestCases"
TestCases_BatchDeleteTestCases_FullMethodName = "/google.cloud.dialogflow.cx.v3.TestCases/BatchDeleteTestCases"
TestCases_GetTestCase_FullMethodName = "/google.cloud.dialogflow.cx.v3.TestCases/GetTestCase"
TestCases_CreateTestCase_FullMethodName = "/google.cloud.dialogflow.cx.v3.TestCases/CreateTestCase"
TestCases_UpdateTestCase_FullMethodName = "/google.cloud.dialogflow.cx.v3.TestCases/UpdateTestCase"
TestCases_RunTestCase_FullMethodName = "/google.cloud.dialogflow.cx.v3.TestCases/RunTestCase"
TestCases_BatchRunTestCases_FullMethodName = "/google.cloud.dialogflow.cx.v3.TestCases/BatchRunTestCases"
TestCases_CalculateCoverage_FullMethodName = "/google.cloud.dialogflow.cx.v3.TestCases/CalculateCoverage"
TestCases_ImportTestCases_FullMethodName = "/google.cloud.dialogflow.cx.v3.TestCases/ImportTestCases"
TestCases_ExportTestCases_FullMethodName = "/google.cloud.dialogflow.cx.v3.TestCases/ExportTestCases"
TestCases_ListTestCaseResults_FullMethodName = "/google.cloud.dialogflow.cx.v3.TestCases/ListTestCaseResults"
TestCases_GetTestCaseResult_FullMethodName = "/google.cloud.dialogflow.cx.v3.TestCases/GetTestCaseResult"
)Tools_CreateTool_FullMethodName, Tools_ListTools_FullMethodName, Tools_GetTool_FullMethodName, Tools_UpdateTool_FullMethodName, Tools_DeleteTool_FullMethodName, Tools_ListToolVersions_FullMethodName, Tools_CreateToolVersion_FullMethodName, Tools_GetToolVersion_FullMethodName, Tools_DeleteToolVersion_FullMethodName, Tools_RestoreToolVersion_FullMethodName
const (
Tools_CreateTool_FullMethodName = "/google.cloud.dialogflow.cx.v3.Tools/CreateTool"
Tools_ListTools_FullMethodName = "/google.cloud.dialogflow.cx.v3.Tools/ListTools"
Tools_GetTool_FullMethodName = "/google.cloud.dialogflow.cx.v3.Tools/GetTool"
Tools_UpdateTool_FullMethodName = "/google.cloud.dialogflow.cx.v3.Tools/UpdateTool"
Tools_DeleteTool_FullMethodName = "/google.cloud.dialogflow.cx.v3.Tools/DeleteTool"
Tools_ListToolVersions_FullMethodName = "/google.cloud.dialogflow.cx.v3.Tools/ListToolVersions"
Tools_CreateToolVersion_FullMethodName = "/google.cloud.dialogflow.cx.v3.Tools/CreateToolVersion"
Tools_GetToolVersion_FullMethodName = "/google.cloud.dialogflow.cx.v3.Tools/GetToolVersion"
Tools_DeleteToolVersion_FullMethodName = "/google.cloud.dialogflow.cx.v3.Tools/DeleteToolVersion"
Tools_RestoreToolVersion_FullMethodName = "/google.cloud.dialogflow.cx.v3.Tools/RestoreToolVersion"
)TransitionRouteGroups_ListTransitionRouteGroups_FullMethodName, TransitionRouteGroups_GetTransitionRouteGroup_FullMethodName, TransitionRouteGroups_CreateTransitionRouteGroup_FullMethodName, TransitionRouteGroups_UpdateTransitionRouteGroup_FullMethodName, TransitionRouteGroups_DeleteTransitionRouteGroup_FullMethodName
const (
TransitionRouteGroups_ListTransitionRouteGroups_FullMethodName = "/google.cloud.dialogflow.cx.v3.TransitionRouteGroups/ListTransitionRouteGroups"
TransitionRouteGroups_GetTransitionRouteGroup_FullMethodName = "/google.cloud.dialogflow.cx.v3.TransitionRouteGroups/GetTransitionRouteGroup"
TransitionRouteGroups_CreateTransitionRouteGroup_FullMethodName = "/google.cloud.dialogflow.cx.v3.TransitionRouteGroups/CreateTransitionRouteGroup"
TransitionRouteGroups_UpdateTransitionRouteGroup_FullMethodName = "/google.cloud.dialogflow.cx.v3.TransitionRouteGroups/UpdateTransitionRouteGroup"
TransitionRouteGroups_DeleteTransitionRouteGroup_FullMethodName = "/google.cloud.dialogflow.cx.v3.TransitionRouteGroups/DeleteTransitionRouteGroup"
)Versions_ListVersions_FullMethodName, Versions_GetVersion_FullMethodName, Versions_CreateVersion_FullMethodName, Versions_UpdateVersion_FullMethodName, Versions_DeleteVersion_FullMethodName, Versions_LoadVersion_FullMethodName, Versions_CompareVersions_FullMethodName
const (
Versions_ListVersions_FullMethodName = "/google.cloud.dialogflow.cx.v3.Versions/ListVersions"
Versions_GetVersion_FullMethodName = "/google.cloud.dialogflow.cx.v3.Versions/GetVersion"
Versions_CreateVersion_FullMethodName = "/google.cloud.dialogflow.cx.v3.Versions/CreateVersion"
Versions_UpdateVersion_FullMethodName = "/google.cloud.dialogflow.cx.v3.Versions/UpdateVersion"
Versions_DeleteVersion_FullMethodName = "/google.cloud.dialogflow.cx.v3.Versions/DeleteVersion"
Versions_LoadVersion_FullMethodName = "/google.cloud.dialogflow.cx.v3.Versions/LoadVersion"
Versions_CompareVersions_FullMethodName = "/google.cloud.dialogflow.cx.v3.Versions/CompareVersions"
)Webhooks_ListWebhooks_FullMethodName, Webhooks_GetWebhook_FullMethodName, Webhooks_CreateWebhook_FullMethodName, Webhooks_UpdateWebhook_FullMethodName, Webhooks_DeleteWebhook_FullMethodName
const (
Webhooks_ListWebhooks_FullMethodName = "/google.cloud.dialogflow.cx.v3.Webhooks/ListWebhooks"
Webhooks_GetWebhook_FullMethodName = "/google.cloud.dialogflow.cx.v3.Webhooks/GetWebhook"
Webhooks_CreateWebhook_FullMethodName = "/google.cloud.dialogflow.cx.v3.Webhooks/CreateWebhook"
Webhooks_UpdateWebhook_FullMethodName = "/google.cloud.dialogflow.cx.v3.Webhooks/UpdateWebhook"
Webhooks_DeleteWebhook_FullMethodName = "/google.cloud.dialogflow.cx.v3.Webhooks/DeleteWebhook"
)Variables
ExportAgentRequest_DataFormat_name, ExportAgentRequest_DataFormat_value
var (
ExportAgentRequest_DataFormat_name = map[int32]string{
0: "DATA_FORMAT_UNSPECIFIED",
1: "BLOB",
4: "JSON_PACKAGE",
}
ExportAgentRequest_DataFormat_value = map[string]int32{
"DATA_FORMAT_UNSPECIFIED": 0,
"BLOB": 1,
"JSON_PACKAGE": 4,
}
)Enum value maps for ExportAgentRequest_DataFormat.
RestoreAgentRequest_RestoreOption_name, RestoreAgentRequest_RestoreOption_value
var (
RestoreAgentRequest_RestoreOption_name = map[int32]string{
0: "RESTORE_OPTION_UNSPECIFIED",
1: "KEEP",
2: "FALLBACK",
}
RestoreAgentRequest_RestoreOption_value = map[string]int32{
"RESTORE_OPTION_UNSPECIFIED": 0,
"KEEP": 1,
"FALLBACK": 2,
}
)Enum value maps for RestoreAgentRequest_RestoreOption.
AudioEncoding_name, AudioEncoding_value
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.
SpeechModelVariant_name, SpeechModelVariant_value
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.
SsmlVoiceGender_name, SsmlVoiceGender_value
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.
OutputAudioEncoding_name, OutputAudioEncoding_value
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.
DataStoreType_name, DataStoreType_value
var (
DataStoreType_name = map[int32]string{
0: "DATA_STORE_TYPE_UNSPECIFIED",
1: "PUBLIC_WEB",
2: "UNSTRUCTURED",
3: "STRUCTURED",
}
DataStoreType_value = map[string]int32{
"DATA_STORE_TYPE_UNSPECIFIED": 0,
"PUBLIC_WEB": 1,
"UNSTRUCTURED": 2,
"STRUCTURED": 3,
}
)Enum value maps for DataStoreType.
DocumentProcessingMode_name, DocumentProcessingMode_value
var (
DocumentProcessingMode_name = map[int32]string{
0: "DOCUMENT_PROCESSING_MODE_UNSPECIFIED",
1: "DOCUMENTS",
2: "CHUNKS",
}
DocumentProcessingMode_value = map[string]int32{
"DOCUMENT_PROCESSING_MODE_UNSPECIFIED": 0,
"DOCUMENTS": 1,
"CHUNKS": 2,
}
)Enum value maps for DocumentProcessingMode.
DataStoreConnectionSignals_GroundingSignals_GroundingDecision_name, DataStoreConnectionSignals_GroundingSignals_GroundingDecision_value
var (
DataStoreConnectionSignals_GroundingSignals_GroundingDecision_name = map[int32]string{
0: "GROUNDING_DECISION_UNSPECIFIED",
1: "ACCEPTED_BY_GROUNDING",
2: "REJECTED_BY_GROUNDING",
}
DataStoreConnectionSignals_GroundingSignals_GroundingDecision_value = map[string]int32{
"GROUNDING_DECISION_UNSPECIFIED": 0,
"ACCEPTED_BY_GROUNDING": 1,
"REJECTED_BY_GROUNDING": 2,
}
)Enum value maps for DataStoreConnectionSignals_GroundingSignals_GroundingDecision.
DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket_name, DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket_value
var (
DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket_name = map[int32]string{
0: "GROUNDING_SCORE_BUCKET_UNSPECIFIED",
1: "VERY_LOW",
3: "LOW",
4: "MEDIUM",
5: "HIGH",
6: "VERY_HIGH",
}
DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket_value = map[string]int32{
"GROUNDING_SCORE_BUCKET_UNSPECIFIED": 0,
"VERY_LOW": 1,
"LOW": 3,
"MEDIUM": 4,
"HIGH": 5,
"VERY_HIGH": 6,
}
)Enum value maps for DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket.
DataStoreConnectionSignals_SafetySignals_SafetyDecision_name, DataStoreConnectionSignals_SafetySignals_SafetyDecision_value
var (
DataStoreConnectionSignals_SafetySignals_SafetyDecision_name = map[int32]string{
0: "SAFETY_DECISION_UNSPECIFIED",
1: "ACCEPTED_BY_SAFETY_CHECK",
2: "REJECTED_BY_SAFETY_CHECK",
}
DataStoreConnectionSignals_SafetySignals_SafetyDecision_value = map[string]int32{
"SAFETY_DECISION_UNSPECIFIED": 0,
"ACCEPTED_BY_SAFETY_CHECK": 1,
"REJECTED_BY_SAFETY_CHECK": 2,
}
)Enum value maps for DataStoreConnectionSignals_SafetySignals_SafetyDecision.
DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch_name, DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch_value
var (
DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch_name = map[int32]string{
0: "BANNED_PHRASE_MATCH_UNSPECIFIED",
1: "BANNED_PHRASE_MATCH_NONE",
2: "BANNED_PHRASE_MATCH_QUERY",
3: "BANNED_PHRASE_MATCH_RESPONSE",
}
DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch_value = map[string]int32{
"BANNED_PHRASE_MATCH_UNSPECIFIED": 0,
"BANNED_PHRASE_MATCH_NONE": 1,
"BANNED_PHRASE_MATCH_QUERY": 2,
"BANNED_PHRASE_MATCH_RESPONSE": 3,
}
)Enum value maps for DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch.
Deployment_State_name, Deployment_State_value
var (
Deployment_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "RUNNING",
2: "SUCCEEDED",
3: "FAILED",
}
Deployment_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"RUNNING": 1,
"SUCCEEDED": 2,
"FAILED": 3,
}
)Enum value maps for Deployment_State.
EntityType_Kind_name, EntityType_Kind_value
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.
EntityType_AutoExpansionMode_name, EntityType_AutoExpansionMode_value
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.
ExportEntityTypesRequest_DataFormat_name, ExportEntityTypesRequest_DataFormat_value
var (
ExportEntityTypesRequest_DataFormat_name = map[int32]string{
0: "DATA_FORMAT_UNSPECIFIED",
1: "BLOB",
5: "JSON_PACKAGE",
}
ExportEntityTypesRequest_DataFormat_value = map[string]int32{
"DATA_FORMAT_UNSPECIFIED": 0,
"BLOB": 1,
"JSON_PACKAGE": 5,
}
)Enum value maps for ExportEntityTypesRequest_DataFormat.
ImportEntityTypesRequest_MergeOption_name, ImportEntityTypesRequest_MergeOption_value
var (
ImportEntityTypesRequest_MergeOption_name = map[int32]string{
0: "MERGE_OPTION_UNSPECIFIED",
1: "REPLACE",
2: "MERGE",
3: "RENAME",
4: "REPORT_CONFLICT",
5: "KEEP",
}
ImportEntityTypesRequest_MergeOption_value = map[string]int32{
"MERGE_OPTION_UNSPECIFIED": 0,
"REPLACE": 1,
"MERGE": 2,
"RENAME": 3,
"REPORT_CONFLICT": 4,
"KEEP": 5,
}
)Enum value maps for ImportEntityTypesRequest_MergeOption.
ContinuousTestResult_AggregatedTestResult_name, ContinuousTestResult_AggregatedTestResult_value
var (
ContinuousTestResult_AggregatedTestResult_name = map[int32]string{
0: "AGGREGATED_TEST_RESULT_UNSPECIFIED",
1: "PASSED",
2: "FAILED",
}
ContinuousTestResult_AggregatedTestResult_value = map[string]int32{
"AGGREGATED_TEST_RESULT_UNSPECIFIED": 0,
"PASSED": 1,
"FAILED": 2,
}
)Enum value maps for ContinuousTestResult_AggregatedTestResult.
Experiment_State_name, Experiment_State_value
var (
Experiment_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "DRAFT",
2: "RUNNING",
3: "DONE",
4: "ROLLOUT_FAILED",
}
Experiment_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"DRAFT": 1,
"RUNNING": 2,
"DONE": 3,
"ROLLOUT_FAILED": 4,
}
)Enum value maps for Experiment_State.
Experiment_Result_MetricType_name, Experiment_Result_MetricType_value
var (
Experiment_Result_MetricType_name = map[int32]string{
0: "METRIC_UNSPECIFIED",
1: "CONTAINED_SESSION_NO_CALLBACK_RATE",
2: "LIVE_AGENT_HANDOFF_RATE",
3: "CALLBACK_SESSION_RATE",
4: "ABANDONED_SESSION_RATE",
5: "SESSION_END_RATE",
}
Experiment_Result_MetricType_value = map[string]int32{
"METRIC_UNSPECIFIED": 0,
"CONTAINED_SESSION_NO_CALLBACK_RATE": 1,
"LIVE_AGENT_HANDOFF_RATE": 2,
"CALLBACK_SESSION_RATE": 3,
"ABANDONED_SESSION_RATE": 4,
"SESSION_END_RATE": 5,
}
)Enum value maps for Experiment_Result_MetricType.
Experiment_Result_CountType_name, Experiment_Result_CountType_value
var (
Experiment_Result_CountType_name = map[int32]string{
0: "COUNT_TYPE_UNSPECIFIED",
1: "TOTAL_NO_MATCH_COUNT",
2: "TOTAL_TURN_COUNT",
3: "AVERAGE_TURN_COUNT",
}
Experiment_Result_CountType_value = map[string]int32{
"COUNT_TYPE_UNSPECIFIED": 0,
"TOTAL_NO_MATCH_COUNT": 1,
"TOTAL_TURN_COUNT": 2,
"AVERAGE_TURN_COUNT": 3,
}
)Enum value maps for Experiment_Result_CountType.
NluSettings_ModelType_name, NluSettings_ModelType_value
var (
NluSettings_ModelType_name = map[int32]string{
0: "MODEL_TYPE_UNSPECIFIED",
1: "MODEL_TYPE_STANDARD",
3: "MODEL_TYPE_ADVANCED",
}
NluSettings_ModelType_value = map[string]int32{
"MODEL_TYPE_UNSPECIFIED": 0,
"MODEL_TYPE_STANDARD": 1,
"MODEL_TYPE_ADVANCED": 3,
}
)Enum value maps for NluSettings_ModelType.
NluSettings_ModelTrainingMode_name, NluSettings_ModelTrainingMode_value
var (
NluSettings_ModelTrainingMode_name = map[int32]string{
0: "MODEL_TRAINING_MODE_UNSPECIFIED",
1: "MODEL_TRAINING_MODE_AUTOMATIC",
2: "MODEL_TRAINING_MODE_MANUAL",
}
NluSettings_ModelTrainingMode_value = map[string]int32{
"MODEL_TRAINING_MODE_UNSPECIFIED": 0,
"MODEL_TRAINING_MODE_AUTOMATIC": 1,
"MODEL_TRAINING_MODE_MANUAL": 2,
}
)Enum value maps for NluSettings_ModelTrainingMode.
ImportFlowRequest_ImportOption_name, ImportFlowRequest_ImportOption_value
var (
ImportFlowRequest_ImportOption_name = map[int32]string{
0: "IMPORT_OPTION_UNSPECIFIED",
1: "KEEP",
2: "FALLBACK",
}
ImportFlowRequest_ImportOption_value = map[string]int32{
"IMPORT_OPTION_UNSPECIFIED": 0,
"KEEP": 1,
"FALLBACK": 2,
}
)Enum value maps for ImportFlowRequest_ImportOption.
ImportStrategy_name, ImportStrategy_value
var (
ImportStrategy_name = map[int32]string{
0: "IMPORT_STRATEGY_UNSPECIFIED",
1: "IMPORT_STRATEGY_CREATE_NEW",
2: "IMPORT_STRATEGY_REPLACE",
3: "IMPORT_STRATEGY_KEEP",
4: "IMPORT_STRATEGY_MERGE",
5: "IMPORT_STRATEGY_THROW_ERROR",
}
ImportStrategy_value = map[string]int32{
"IMPORT_STRATEGY_UNSPECIFIED": 0,
"IMPORT_STRATEGY_CREATE_NEW": 1,
"IMPORT_STRATEGY_REPLACE": 2,
"IMPORT_STRATEGY_KEEP": 3,
"IMPORT_STRATEGY_MERGE": 4,
"IMPORT_STRATEGY_THROW_ERROR": 5,
}
)Enum value maps for ImportStrategy.
IntentView_name, IntentView_value
var (
IntentView_name = map[int32]string{
0: "INTENT_VIEW_UNSPECIFIED",
1: "INTENT_VIEW_PARTIAL",
2: "INTENT_VIEW_FULL",
}
IntentView_value = map[string]int32{
"INTENT_VIEW_UNSPECIFIED": 0,
"INTENT_VIEW_PARTIAL": 1,
"INTENT_VIEW_FULL": 2,
}
)Enum value maps for IntentView.
ImportIntentsRequest_MergeOption_name, ImportIntentsRequest_MergeOption_value
var (
ImportIntentsRequest_MergeOption_name = map[int32]string{
0: "MERGE_OPTION_UNSPECIFIED",
1: "REJECT",
2: "REPLACE",
3: "MERGE",
4: "RENAME",
5: "REPORT_CONFLICT",
6: "KEEP",
}
ImportIntentsRequest_MergeOption_value = map[string]int32{
"MERGE_OPTION_UNSPECIFIED": 0,
"REJECT": 1,
"REPLACE": 2,
"MERGE": 3,
"RENAME": 4,
"REPORT_CONFLICT": 5,
"KEEP": 6,
}
)Enum value maps for ImportIntentsRequest_MergeOption.
ExportIntentsRequest_DataFormat_name, ExportIntentsRequest_DataFormat_value
var (
ExportIntentsRequest_DataFormat_name = map[int32]string{
0: "DATA_FORMAT_UNSPECIFIED",
1: "BLOB",
2: "JSON",
3: "CSV",
}
ExportIntentsRequest_DataFormat_value = map[string]int32{
"DATA_FORMAT_UNSPECIFIED": 0,
"BLOB": 1,
"JSON": 2,
"CSV": 3,
}
)Enum value maps for ExportIntentsRequest_DataFormat.
DataType_name, DataType_value
var (
DataType_name = map[int32]string{
0: "DATA_TYPE_UNSPECIFIED",
1: "STRING",
2: "NUMBER",
3: "BOOLEAN",
6: "ARRAY",
}
DataType_value = map[string]int32{
"DATA_TYPE_UNSPECIFIED": 0,
"STRING": 1,
"NUMBER": 2,
"BOOLEAN": 3,
"ARRAY": 6,
}
)Enum value maps for DataType.
ParameterDefinition_ParameterType_name, ParameterDefinition_ParameterType_value
var (
ParameterDefinition_ParameterType_name = map[int32]string{
0: "PARAMETER_TYPE_UNSPECIFIED",
1: "STRING",
2: "NUMBER",
3: "BOOLEAN",
4: "NULL",
5: "OBJECT",
6: "LIST",
}
ParameterDefinition_ParameterType_value = map[string]int32{
"PARAMETER_TYPE_UNSPECIFIED": 0,
"STRING": 1,
"NUMBER": 2,
"BOOLEAN": 3,
"NULL": 4,
"OBJECT": 5,
"LIST": 6,
}
)Enum value maps for ParameterDefinition_ParameterType.
Playbook_PlaybookType_name, Playbook_PlaybookType_value
var (
Playbook_PlaybookType_name = map[int32]string{
0: "PLAYBOOK_TYPE_UNSPECIFIED",
1: "TASK",
3: "ROUTINE",
}
Playbook_PlaybookType_value = map[string]int32{
"PLAYBOOK_TYPE_UNSPECIFIED": 0,
"TASK": 1,
"ROUTINE": 3,
}
)Enum value maps for Playbook_PlaybookType.
ExportPlaybookRequest_DataFormat_name, ExportPlaybookRequest_DataFormat_value
var (
ExportPlaybookRequest_DataFormat_name = map[int32]string{
0: "DATA_FORMAT_UNSPECIFIED",
1: "BLOB",
2: "JSON",
}
ExportPlaybookRequest_DataFormat_value = map[string]int32{
"DATA_FORMAT_UNSPECIFIED": 0,
"BLOB": 1,
"JSON": 2,
}
)Enum value maps for ExportPlaybookRequest_DataFormat.
ResponseMessage_ResponseType_name, ResponseMessage_ResponseType_value
var (
ResponseMessage_ResponseType_name = map[int32]string{
0: "RESPONSE_TYPE_UNSPECIFIED",
1: "ENTRY_PROMPT",
2: "PARAMETER_PROMPT",
3: "HANDLER_PROMPT",
}
ResponseMessage_ResponseType_value = map[string]int32{
"RESPONSE_TYPE_UNSPECIFIED": 0,
"ENTRY_PROMPT": 1,
"PARAMETER_PROMPT": 2,
"HANDLER_PROMPT": 3,
}
)Enum value maps for ResponseMessage_ResponseType.
SafetySettings_PhraseMatchStrategy_name, SafetySettings_PhraseMatchStrategy_value
var (
SafetySettings_PhraseMatchStrategy_name = map[int32]string{
0: "PHRASE_MATCH_STRATEGY_UNSPECIFIED",
1: "PARTIAL_MATCH",
2: "WORD_MATCH",
}
SafetySettings_PhraseMatchStrategy_value = map[string]int32{
"PHRASE_MATCH_STRATEGY_UNSPECIFIED": 0,
"PARTIAL_MATCH": 1,
"WORD_MATCH": 2,
}
)Enum value maps for SafetySettings_PhraseMatchStrategy.
SafetySettings_RaiSettings_SafetyFilterLevel_name, SafetySettings_RaiSettings_SafetyFilterLevel_value
var (
SafetySettings_RaiSettings_SafetyFilterLevel_name = map[int32]string{
0: "SAFETY_FILTER_LEVEL_UNSPECIFIED",
1: "BLOCK_NONE",
2: "BLOCK_FEW",
3: "BLOCK_SOME",
4: "BLOCK_MOST",
}
SafetySettings_RaiSettings_SafetyFilterLevel_value = map[string]int32{
"SAFETY_FILTER_LEVEL_UNSPECIFIED": 0,
"BLOCK_NONE": 1,
"BLOCK_FEW": 2,
"BLOCK_SOME": 3,
"BLOCK_MOST": 4,
}
)Enum value maps for SafetySettings_RaiSettings_SafetyFilterLevel.
SafetySettings_RaiSettings_SafetyCategory_name, SafetySettings_RaiSettings_SafetyCategory_value
var (
SafetySettings_RaiSettings_SafetyCategory_name = map[int32]string{
0: "SAFETY_CATEGORY_UNSPECIFIED",
1: "DANGEROUS_CONTENT",
2: "HATE_SPEECH",
3: "HARASSMENT",
4: "SEXUALLY_EXPLICIT_CONTENT",
}
SafetySettings_RaiSettings_SafetyCategory_value = map[string]int32{
"SAFETY_CATEGORY_UNSPECIFIED": 0,
"DANGEROUS_CONTENT": 1,
"HATE_SPEECH": 2,
"HARASSMENT": 3,
"SEXUALLY_EXPLICIT_CONTENT": 4,
}
)Enum value maps for SafetySettings_RaiSettings_SafetyCategory.
SecuritySettings_RedactionStrategy_name, SecuritySettings_RedactionStrategy_value
var (
SecuritySettings_RedactionStrategy_name = map[int32]string{
0: "REDACTION_STRATEGY_UNSPECIFIED",
1: "REDACT_WITH_SERVICE",
}
SecuritySettings_RedactionStrategy_value = map[string]int32{
"REDACTION_STRATEGY_UNSPECIFIED": 0,
"REDACT_WITH_SERVICE": 1,
}
)Enum value maps for SecuritySettings_RedactionStrategy.
SecuritySettings_RedactionScope_name, SecuritySettings_RedactionScope_value
var (
SecuritySettings_RedactionScope_name = map[int32]string{
0: "REDACTION_SCOPE_UNSPECIFIED",
2: "REDACT_DISK_STORAGE",
}
SecuritySettings_RedactionScope_value = map[string]int32{
"REDACTION_SCOPE_UNSPECIFIED": 0,
"REDACT_DISK_STORAGE": 2,
}
)Enum value maps for SecuritySettings_RedactionScope.
SecuritySettings_RetentionStrategy_name, SecuritySettings_RetentionStrategy_value
var (
SecuritySettings_RetentionStrategy_name = map[int32]string{
0: "RETENTION_STRATEGY_UNSPECIFIED",
1: "REMOVE_AFTER_CONVERSATION",
}
SecuritySettings_RetentionStrategy_value = map[string]int32{
"RETENTION_STRATEGY_UNSPECIFIED": 0,
"REMOVE_AFTER_CONVERSATION": 1,
}
)Enum value maps for SecuritySettings_RetentionStrategy.
SecuritySettings_PurgeDataType_name, SecuritySettings_PurgeDataType_value
var (
SecuritySettings_PurgeDataType_name = map[int32]string{
0: "PURGE_DATA_TYPE_UNSPECIFIED",
1: "DIALOGFLOW_HISTORY",
}
SecuritySettings_PurgeDataType_value = map[string]int32{
"PURGE_DATA_TYPE_UNSPECIFIED": 0,
"DIALOGFLOW_HISTORY": 1,
}
)Enum value maps for SecuritySettings_PurgeDataType.
SecuritySettings_AudioExportSettings_AudioFormat_name, SecuritySettings_AudioExportSettings_AudioFormat_value
var (
SecuritySettings_AudioExportSettings_AudioFormat_name = map[int32]string{
0: "AUDIO_FORMAT_UNSPECIFIED",
1: "MULAW",
2: "MP3",
3: "OGG",
}
SecuritySettings_AudioExportSettings_AudioFormat_value = map[string]int32{
"AUDIO_FORMAT_UNSPECIFIED": 0,
"MULAW": 1,
"MP3": 2,
"OGG": 3,
}
)Enum value maps for SecuritySettings_AudioExportSettings_AudioFormat.
DetectIntentResponseView_name, DetectIntentResponseView_value
var (
DetectIntentResponseView_name = map[int32]string{
0: "DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED",
1: "DETECT_INTENT_RESPONSE_VIEW_FULL",
2: "DETECT_INTENT_RESPONSE_VIEW_BASIC",
3: "DETECT_INTENT_RESPONSE_VIEW_DEFAULT",
}
DetectIntentResponseView_value = map[string]int32{
"DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED": 0,
"DETECT_INTENT_RESPONSE_VIEW_FULL": 1,
"DETECT_INTENT_RESPONSE_VIEW_BASIC": 2,
"DETECT_INTENT_RESPONSE_VIEW_DEFAULT": 3,
}
)Enum value maps for DetectIntentResponseView.
AnswerFeedback_Rating_name, AnswerFeedback_Rating_value
var (
AnswerFeedback_Rating_name = map[int32]string{
0: "RATING_UNSPECIFIED",
1: "THUMBS_UP",
2: "THUMBS_DOWN",
}
AnswerFeedback_Rating_value = map[string]int32{
"RATING_UNSPECIFIED": 0,
"THUMBS_UP": 1,
"THUMBS_DOWN": 2,
}
)Enum value maps for AnswerFeedback_Rating.
DetectIntentResponse_ResponseType_name, DetectIntentResponse_ResponseType_value
var (
DetectIntentResponse_ResponseType_name = map[int32]string{
0: "RESPONSE_TYPE_UNSPECIFIED",
1: "PARTIAL",
2: "FINAL",
}
DetectIntentResponse_ResponseType_value = map[string]int32{
"RESPONSE_TYPE_UNSPECIFIED": 0,
"PARTIAL": 1,
"FINAL": 2,
}
)Enum value maps for DetectIntentResponse_ResponseType.
StreamingRecognitionResult_MessageType_name, StreamingRecognitionResult_MessageType_value
var (
StreamingRecognitionResult_MessageType_name = map[int32]string{
0: "MESSAGE_TYPE_UNSPECIFIED",
1: "TRANSCRIPT",
2: "END_OF_SINGLE_UTTERANCE",
}
StreamingRecognitionResult_MessageType_value = map[string]int32{
"MESSAGE_TYPE_UNSPECIFIED": 0,
"TRANSCRIPT": 1,
"END_OF_SINGLE_UTTERANCE": 2,
}
)Enum value maps for StreamingRecognitionResult_MessageType.
BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType_name, BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType_value
var (
BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType_name = map[int32]string{
0: "ATTRIBUTE_TYPE_UNSPECIFIED",
1: "NUMERICAL",
2: "FRESHNESS",
}
BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType_value = map[string]int32{
"ATTRIBUTE_TYPE_UNSPECIFIED": 0,
"NUMERICAL": 1,
"FRESHNESS": 2,
}
)Enum value maps for BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType.
BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType_name, BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType_value
var (
BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType_name = map[int32]string{
0: "INTERPOLATION_TYPE_UNSPECIFIED",
1: "LINEAR",
}
BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType_value = map[string]int32{
"INTERPOLATION_TYPE_UNSPECIFIED": 0,
"LINEAR": 1,
}
)Enum value maps for BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType.
Match_MatchType_name, Match_MatchType_value
var (
Match_MatchType_name = map[int32]string{
0: "MATCH_TYPE_UNSPECIFIED",
1: "INTENT",
2: "DIRECT_INTENT",
3: "PARAMETER_FILLING",
4: "NO_MATCH",
5: "NO_INPUT",
6: "EVENT",
8: "KNOWLEDGE_CONNECTOR",
9: "PLAYBOOK",
}
Match_MatchType_value = map[string]int32{
"MATCH_TYPE_UNSPECIFIED": 0,
"INTENT": 1,
"DIRECT_INTENT": 2,
"PARAMETER_FILLING": 3,
"NO_MATCH": 4,
"NO_INPUT": 5,
"EVENT": 6,
"KNOWLEDGE_CONNECTOR": 8,
"PLAYBOOK": 9,
}
)Enum value maps for Match_MatchType.
SessionEntityType_EntityOverrideMode_name, SessionEntityType_EntityOverrideMode_value
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.
TestResult_name, TestResult_value
var (
TestResult_name = map[int32]string{
0: "TEST_RESULT_UNSPECIFIED",
1: "PASSED",
2: "FAILED",
}
TestResult_value = map[string]int32{
"TEST_RESULT_UNSPECIFIED": 0,
"PASSED": 1,
"FAILED": 2,
}
)Enum value maps for TestResult.
TestRunDifference_DiffType_name, TestRunDifference_DiffType_value
var (
TestRunDifference_DiffType_name = map[int32]string{
0: "DIFF_TYPE_UNSPECIFIED",
1: "INTENT",
2: "PAGE",
3: "PARAMETERS",
4: "UTTERANCE",
5: "FLOW",
}
TestRunDifference_DiffType_value = map[string]int32{
"DIFF_TYPE_UNSPECIFIED": 0,
"INTENT": 1,
"PAGE": 2,
"PARAMETERS": 3,
"UTTERANCE": 4,
"FLOW": 5,
}
)Enum value maps for TestRunDifference_DiffType.
CalculateCoverageRequest_CoverageType_name, CalculateCoverageRequest_CoverageType_value
var (
CalculateCoverageRequest_CoverageType_name = map[int32]string{
0: "COVERAGE_TYPE_UNSPECIFIED",
1: "INTENT",
2: "PAGE_TRANSITION",
3: "TRANSITION_ROUTE_GROUP",
}
CalculateCoverageRequest_CoverageType_value = map[string]int32{
"COVERAGE_TYPE_UNSPECIFIED": 0,
"INTENT": 1,
"PAGE_TRANSITION": 2,
"TRANSITION_ROUTE_GROUP": 3,
}
)Enum value maps for CalculateCoverageRequest_CoverageType.
ListTestCasesRequest_TestCaseView_name, ListTestCasesRequest_TestCaseView_value
var (
ListTestCasesRequest_TestCaseView_name = map[int32]string{
0: "TEST_CASE_VIEW_UNSPECIFIED",
1: "BASIC",
2: "FULL",
}
ListTestCasesRequest_TestCaseView_value = map[string]int32{
"TEST_CASE_VIEW_UNSPECIFIED": 0,
"BASIC": 1,
"FULL": 2,
}
)Enum value maps for ListTestCasesRequest_TestCaseView.
ExportTestCasesRequest_DataFormat_name, ExportTestCasesRequest_DataFormat_value
var (
ExportTestCasesRequest_DataFormat_name = map[int32]string{
0: "DATA_FORMAT_UNSPECIFIED",
1: "BLOB",
2: "JSON",
}
ExportTestCasesRequest_DataFormat_value = map[string]int32{
"DATA_FORMAT_UNSPECIFIED": 0,
"BLOB": 1,
"JSON": 2,
}
)Enum value maps for ExportTestCasesRequest_DataFormat.
Tool_ToolType_name, Tool_ToolType_value
var (
Tool_ToolType_name = map[int32]string{
0: "TOOL_TYPE_UNSPECIFIED",
1: "CUSTOMIZED_TOOL",
2: "BUILTIN_TOOL",
}
Tool_ToolType_value = map[string]int32{
"TOOL_TYPE_UNSPECIFIED": 0,
"CUSTOMIZED_TOOL": 1,
"BUILTIN_TOOL": 2,
}
)Enum value maps for Tool_ToolType.
Tool_Authentication_RequestLocation_name, Tool_Authentication_RequestLocation_value
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.
Tool_Authentication_OAuthConfig_OauthGrantType_name, Tool_Authentication_OAuthConfig_OauthGrantType_value
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.
Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth_name, Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth_value
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.
OutputState_name, OutputState_value
var (
OutputState_name = map[int32]string{
0: "OUTPUT_STATE_UNSPECIFIED",
1: "OUTPUT_STATE_OK",
2: "OUTPUT_STATE_CANCELLED",
3: "OUTPUT_STATE_FAILED",
4: "OUTPUT_STATE_ESCALATED",
5: "OUTPUT_STATE_PENDING",
}
OutputState_value = map[string]int32{
"OUTPUT_STATE_UNSPECIFIED": 0,
"OUTPUT_STATE_OK": 1,
"OUTPUT_STATE_CANCELLED": 2,
"OUTPUT_STATE_FAILED": 3,
"OUTPUT_STATE_ESCALATED": 4,
"OUTPUT_STATE_PENDING": 5,
}
)Enum value maps for OutputState.
ValidationMessage_ResourceType_name, ValidationMessage_ResourceType_value
var (
ValidationMessage_ResourceType_name = map[int32]string{
0: "RESOURCE_TYPE_UNSPECIFIED",
1: "AGENT",
2: "INTENT",
8: "INTENT_TRAINING_PHRASE",
9: "INTENT_PARAMETER",
10: "INTENTS",
11: "INTENT_TRAINING_PHRASES",
3: "ENTITY_TYPE",
12: "ENTITY_TYPES",
4: "WEBHOOK",
5: "FLOW",
6: "PAGE",
13: "PAGES",
7: "TRANSITION_ROUTE_GROUP",
14: "AGENT_TRANSITION_ROUTE_GROUP",
}
ValidationMessage_ResourceType_value = map[string]int32{
"RESOURCE_TYPE_UNSPECIFIED": 0,
"AGENT": 1,
"INTENT": 2,
"INTENT_TRAINING_PHRASE": 8,
"INTENT_PARAMETER": 9,
"INTENTS": 10,
"INTENT_TRAINING_PHRASES": 11,
"ENTITY_TYPE": 3,
"ENTITY_TYPES": 12,
"WEBHOOK": 4,
"FLOW": 5,
"PAGE": 6,
"PAGES": 13,
"TRANSITION_ROUTE_GROUP": 7,
"AGENT_TRANSITION_ROUTE_GROUP": 14,
}
)Enum value maps for ValidationMessage_ResourceType.
ValidationMessage_Severity_name, ValidationMessage_Severity_value
var (
ValidationMessage_Severity_name = map[int32]string{
0: "SEVERITY_UNSPECIFIED",
1: "INFO",
2: "WARNING",
3: "ERROR",
}
ValidationMessage_Severity_value = map[string]int32{
"SEVERITY_UNSPECIFIED": 0,
"INFO": 1,
"WARNING": 2,
"ERROR": 3,
}
)Enum value maps for ValidationMessage_Severity.
Version_State_name, Version_State_value
var (
Version_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "RUNNING",
2: "SUCCEEDED",
3: "FAILED",
}
Version_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"RUNNING": 1,
"SUCCEEDED": 2,
"FAILED": 3,
}
)Enum value maps for Version_State.
Webhook_GenericWebService_ServiceAgentAuth_name, Webhook_GenericWebService_ServiceAgentAuth_value
var (
Webhook_GenericWebService_ServiceAgentAuth_name = map[int32]string{
0: "SERVICE_AGENT_AUTH_UNSPECIFIED",
1: "NONE",
2: "ID_TOKEN",
3: "ACCESS_TOKEN",
}
Webhook_GenericWebService_ServiceAgentAuth_value = map[string]int32{
"SERVICE_AGENT_AUTH_UNSPECIFIED": 0,
"NONE": 1,
"ID_TOKEN": 2,
"ACCESS_TOKEN": 3,
}
)Enum value maps for Webhook_GenericWebService_ServiceAgentAuth.
Webhook_GenericWebService_WebhookType_name, Webhook_GenericWebService_WebhookType_value
var (
Webhook_GenericWebService_WebhookType_name = map[int32]string{
0: "WEBHOOK_TYPE_UNSPECIFIED",
1: "STANDARD",
2: "FLEXIBLE",
}
Webhook_GenericWebService_WebhookType_value = map[string]int32{
"WEBHOOK_TYPE_UNSPECIFIED": 0,
"STANDARD": 1,
"FLEXIBLE": 2,
}
)Enum value maps for Webhook_GenericWebService_WebhookType.
Webhook_GenericWebService_HttpMethod_name, Webhook_GenericWebService_HttpMethod_value
var (
Webhook_GenericWebService_HttpMethod_name = map[int32]string{
0: "HTTP_METHOD_UNSPECIFIED",
1: "POST",
2: "GET",
3: "HEAD",
4: "PUT",
5: "DELETE",
6: "PATCH",
7: "OPTIONS",
}
Webhook_GenericWebService_HttpMethod_value = map[string]int32{
"HTTP_METHOD_UNSPECIFIED": 0,
"POST": 1,
"GET": 2,
"HEAD": 3,
"PUT": 4,
"DELETE": 5,
"PATCH": 6,
"OPTIONS": 7,
}
)Enum value maps for Webhook_GenericWebService_HttpMethod.
WebhookResponse_FulfillmentResponse_MergeBehavior_name, WebhookResponse_FulfillmentResponse_MergeBehavior_value
var (
WebhookResponse_FulfillmentResponse_MergeBehavior_name = map[int32]string{
0: "MERGE_BEHAVIOR_UNSPECIFIED",
1: "APPEND",
2: "REPLACE",
}
WebhookResponse_FulfillmentResponse_MergeBehavior_value = map[string]int32{
"MERGE_BEHAVIOR_UNSPECIFIED": 0,
"APPEND": 1,
"REPLACE": 2,
}
)Enum value maps for WebhookResponse_FulfillmentResponse_MergeBehavior.
PageInfo_FormInfo_ParameterInfo_ParameterState_name, PageInfo_FormInfo_ParameterInfo_ParameterState_value
var (
PageInfo_FormInfo_ParameterInfo_ParameterState_name = map[int32]string{
0: "PARAMETER_STATE_UNSPECIFIED",
1: "EMPTY",
2: "INVALID",
3: "FILLED",
}
PageInfo_FormInfo_ParameterInfo_ParameterState_value = map[string]int32{
"PARAMETER_STATE_UNSPECIFIED": 0,
"EMPTY": 1,
"INVALID": 2,
"FILLED": 3,
}
)Enum value maps for PageInfo_FormInfo_ParameterInfo_ParameterState.
Agents_ServiceDesc
var Agents_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.Agents",
HandlerType: (*AgentsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListAgents",
Handler: _Agents_ListAgents_Handler,
},
{
MethodName: "GetAgent",
Handler: _Agents_GetAgent_Handler,
},
{
MethodName: "CreateAgent",
Handler: _Agents_CreateAgent_Handler,
},
{
MethodName: "UpdateAgent",
Handler: _Agents_UpdateAgent_Handler,
},
{
MethodName: "DeleteAgent",
Handler: _Agents_DeleteAgent_Handler,
},
{
MethodName: "ExportAgent",
Handler: _Agents_ExportAgent_Handler,
},
{
MethodName: "RestoreAgent",
Handler: _Agents_RestoreAgent_Handler,
},
{
MethodName: "ValidateAgent",
Handler: _Agents_ValidateAgent_Handler,
},
{
MethodName: "GetAgentValidationResult",
Handler: _Agents_GetAgentValidationResult_Handler,
},
{
MethodName: "GetGenerativeSettings",
Handler: _Agents_GetGenerativeSettings_Handler,
},
{
MethodName: "UpdateGenerativeSettings",
Handler: _Agents_UpdateGenerativeSettings_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/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)
Changelogs_ServiceDesc
var Changelogs_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.Changelogs",
HandlerType: (*ChangelogsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListChangelogs",
Handler: _Changelogs_ListChangelogs_Handler,
},
{
MethodName: "GetChangelog",
Handler: _Changelogs_GetChangelog_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/changelog.proto",
}Changelogs_ServiceDesc is the grpc.ServiceDesc for Changelogs service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Deployments_ServiceDesc
var Deployments_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.Deployments",
HandlerType: (*DeploymentsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListDeployments",
Handler: _Deployments_ListDeployments_Handler,
},
{
MethodName: "GetDeployment",
Handler: _Deployments_GetDeployment_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/deployment.proto",
}Deployments_ServiceDesc is the grpc.ServiceDesc for Deployments service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
EntityTypes_ServiceDesc
var EntityTypes_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.EntityTypes",
HandlerType: (*EntityTypesServer)(nil),
Methods: []grpc.MethodDesc{
{
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: "ListEntityTypes",
Handler: _EntityTypes_ListEntityTypes_Handler,
},
{
MethodName: "ExportEntityTypes",
Handler: _EntityTypes_ExportEntityTypes_Handler,
},
{
MethodName: "ImportEntityTypes",
Handler: _EntityTypes_ImportEntityTypes_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/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)
Environments_ServiceDesc
var Environments_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.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: "LookupEnvironmentHistory",
Handler: _Environments_LookupEnvironmentHistory_Handler,
},
{
MethodName: "RunContinuousTest",
Handler: _Environments_RunContinuousTest_Handler,
},
{
MethodName: "ListContinuousTestResults",
Handler: _Environments_ListContinuousTestResults_Handler,
},
{
MethodName: "DeployFlow",
Handler: _Environments_DeployFlow_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/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)
Examples_ServiceDesc
var Examples_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.Examples",
HandlerType: (*ExamplesServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateExample",
Handler: _Examples_CreateExample_Handler,
},
{
MethodName: "DeleteExample",
Handler: _Examples_DeleteExample_Handler,
},
{
MethodName: "ListExamples",
Handler: _Examples_ListExamples_Handler,
},
{
MethodName: "GetExample",
Handler: _Examples_GetExample_Handler,
},
{
MethodName: "UpdateExample",
Handler: _Examples_UpdateExample_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/example.proto",
}Examples_ServiceDesc is the grpc.ServiceDesc for Examples service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Experiments_ServiceDesc
var Experiments_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.Experiments",
HandlerType: (*ExperimentsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListExperiments",
Handler: _Experiments_ListExperiments_Handler,
},
{
MethodName: "GetExperiment",
Handler: _Experiments_GetExperiment_Handler,
},
{
MethodName: "CreateExperiment",
Handler: _Experiments_CreateExperiment_Handler,
},
{
MethodName: "UpdateExperiment",
Handler: _Experiments_UpdateExperiment_Handler,
},
{
MethodName: "DeleteExperiment",
Handler: _Experiments_DeleteExperiment_Handler,
},
{
MethodName: "StartExperiment",
Handler: _Experiments_StartExperiment_Handler,
},
{
MethodName: "StopExperiment",
Handler: _Experiments_StopExperiment_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/experiment.proto",
}Experiments_ServiceDesc is the grpc.ServiceDesc for Experiments service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_dialogflow_cx_v3_advanced_settings_proto
var File_google_cloud_dialogflow_cx_v3_advanced_settings_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_agent_proto
var File_google_cloud_dialogflow_cx_v3_agent_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_audio_config_proto
var File_google_cloud_dialogflow_cx_v3_audio_config_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_changelog_proto
var File_google_cloud_dialogflow_cx_v3_changelog_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_code_block_proto
var File_google_cloud_dialogflow_cx_v3_code_block_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_data_store_connection_proto
var File_google_cloud_dialogflow_cx_v3_data_store_connection_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_deployment_proto
var File_google_cloud_dialogflow_cx_v3_deployment_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_entity_type_proto
var File_google_cloud_dialogflow_cx_v3_entity_type_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_environment_proto
var File_google_cloud_dialogflow_cx_v3_environment_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_example_proto
var File_google_cloud_dialogflow_cx_v3_example_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_experiment_proto
var File_google_cloud_dialogflow_cx_v3_experiment_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_flow_proto
var File_google_cloud_dialogflow_cx_v3_flow_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_fulfillment_proto
var File_google_cloud_dialogflow_cx_v3_fulfillment_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_gcs_proto
var File_google_cloud_dialogflow_cx_v3_gcs_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_generative_settings_proto
var File_google_cloud_dialogflow_cx_v3_generative_settings_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_generator_proto
var File_google_cloud_dialogflow_cx_v3_generator_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_import_strategy_proto
var File_google_cloud_dialogflow_cx_v3_import_strategy_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_inline_proto
var File_google_cloud_dialogflow_cx_v3_inline_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_intent_proto
var File_google_cloud_dialogflow_cx_v3_intent_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_page_proto
var File_google_cloud_dialogflow_cx_v3_page_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_parameter_definition_proto
var File_google_cloud_dialogflow_cx_v3_parameter_definition_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_playbook_proto
var File_google_cloud_dialogflow_cx_v3_playbook_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_response_message_proto
var File_google_cloud_dialogflow_cx_v3_response_message_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_safety_settings_proto
var File_google_cloud_dialogflow_cx_v3_safety_settings_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_security_settings_proto
var File_google_cloud_dialogflow_cx_v3_security_settings_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_session_entity_type_proto
var File_google_cloud_dialogflow_cx_v3_session_entity_type_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_session_proto
var File_google_cloud_dialogflow_cx_v3_session_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_test_case_proto
var File_google_cloud_dialogflow_cx_v3_test_case_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_tool_call_proto
var File_google_cloud_dialogflow_cx_v3_tool_call_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_tool_proto
var File_google_cloud_dialogflow_cx_v3_tool_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_trace_proto
var File_google_cloud_dialogflow_cx_v3_trace_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_transition_route_group_proto
var File_google_cloud_dialogflow_cx_v3_transition_route_group_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_validation_message_proto
var File_google_cloud_dialogflow_cx_v3_validation_message_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_version_proto
var File_google_cloud_dialogflow_cx_v3_version_proto protoreflect.FileDescriptorFile_google_cloud_dialogflow_cx_v3_webhook_proto
var File_google_cloud_dialogflow_cx_v3_webhook_proto protoreflect.FileDescriptorFlows_ServiceDesc
var Flows_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.Flows",
HandlerType: (*FlowsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateFlow",
Handler: _Flows_CreateFlow_Handler,
},
{
MethodName: "DeleteFlow",
Handler: _Flows_DeleteFlow_Handler,
},
{
MethodName: "ListFlows",
Handler: _Flows_ListFlows_Handler,
},
{
MethodName: "GetFlow",
Handler: _Flows_GetFlow_Handler,
},
{
MethodName: "UpdateFlow",
Handler: _Flows_UpdateFlow_Handler,
},
{
MethodName: "TrainFlow",
Handler: _Flows_TrainFlow_Handler,
},
{
MethodName: "ValidateFlow",
Handler: _Flows_ValidateFlow_Handler,
},
{
MethodName: "GetFlowValidationResult",
Handler: _Flows_GetFlowValidationResult_Handler,
},
{
MethodName: "ImportFlow",
Handler: _Flows_ImportFlow_Handler,
},
{
MethodName: "ExportFlow",
Handler: _Flows_ExportFlow_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/flow.proto",
}Flows_ServiceDesc is the grpc.ServiceDesc for Flows service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Generators_ServiceDesc
var Generators_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.Generators",
HandlerType: (*GeneratorsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListGenerators",
Handler: _Generators_ListGenerators_Handler,
},
{
MethodName: "GetGenerator",
Handler: _Generators_GetGenerator_Handler,
},
{
MethodName: "CreateGenerator",
Handler: _Generators_CreateGenerator_Handler,
},
{
MethodName: "UpdateGenerator",
Handler: _Generators_UpdateGenerator_Handler,
},
{
MethodName: "DeleteGenerator",
Handler: _Generators_DeleteGenerator_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/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)
Intents_ServiceDesc
var Intents_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.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: "ImportIntents",
Handler: _Intents_ImportIntents_Handler,
},
{
MethodName: "ExportIntents",
Handler: _Intents_ExportIntents_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/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)
Pages_ServiceDesc
var Pages_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.Pages",
HandlerType: (*PagesServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListPages",
Handler: _Pages_ListPages_Handler,
},
{
MethodName: "GetPage",
Handler: _Pages_GetPage_Handler,
},
{
MethodName: "CreatePage",
Handler: _Pages_CreatePage_Handler,
},
{
MethodName: "UpdatePage",
Handler: _Pages_UpdatePage_Handler,
},
{
MethodName: "DeletePage",
Handler: _Pages_DeletePage_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/page.proto",
}Pages_ServiceDesc is the grpc.ServiceDesc for Pages service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Playbooks_ServiceDesc
var Playbooks_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.Playbooks",
HandlerType: (*PlaybooksServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreatePlaybook",
Handler: _Playbooks_CreatePlaybook_Handler,
},
{
MethodName: "DeletePlaybook",
Handler: _Playbooks_DeletePlaybook_Handler,
},
{
MethodName: "ListPlaybooks",
Handler: _Playbooks_ListPlaybooks_Handler,
},
{
MethodName: "GetPlaybook",
Handler: _Playbooks_GetPlaybook_Handler,
},
{
MethodName: "ExportPlaybook",
Handler: _Playbooks_ExportPlaybook_Handler,
},
{
MethodName: "ImportPlaybook",
Handler: _Playbooks_ImportPlaybook_Handler,
},
{
MethodName: "UpdatePlaybook",
Handler: _Playbooks_UpdatePlaybook_Handler,
},
{
MethodName: "CreatePlaybookVersion",
Handler: _Playbooks_CreatePlaybookVersion_Handler,
},
{
MethodName: "GetPlaybookVersion",
Handler: _Playbooks_GetPlaybookVersion_Handler,
},
{
MethodName: "RestorePlaybookVersion",
Handler: _Playbooks_RestorePlaybookVersion_Handler,
},
{
MethodName: "ListPlaybookVersions",
Handler: _Playbooks_ListPlaybookVersions_Handler,
},
{
MethodName: "DeletePlaybookVersion",
Handler: _Playbooks_DeletePlaybookVersion_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/playbook.proto",
}Playbooks_ServiceDesc is the grpc.ServiceDesc for Playbooks service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
SecuritySettingsService_ServiceDesc
var SecuritySettingsService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.SecuritySettingsService",
HandlerType: (*SecuritySettingsServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateSecuritySettings",
Handler: _SecuritySettingsService_CreateSecuritySettings_Handler,
},
{
MethodName: "GetSecuritySettings",
Handler: _SecuritySettingsService_GetSecuritySettings_Handler,
},
{
MethodName: "UpdateSecuritySettings",
Handler: _SecuritySettingsService_UpdateSecuritySettings_Handler,
},
{
MethodName: "ListSecuritySettings",
Handler: _SecuritySettingsService_ListSecuritySettings_Handler,
},
{
MethodName: "DeleteSecuritySettings",
Handler: _SecuritySettingsService_DeleteSecuritySettings_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/security_settings.proto",
}SecuritySettingsService_ServiceDesc is the grpc.ServiceDesc for SecuritySettingsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
SessionEntityTypes_ServiceDesc
var SessionEntityTypes_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.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/cx/v3/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)
Sessions_ServiceDesc
var Sessions_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.Sessions",
HandlerType: (*SessionsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "DetectIntent",
Handler: _Sessions_DetectIntent_Handler,
},
{
MethodName: "MatchIntent",
Handler: _Sessions_MatchIntent_Handler,
},
{
MethodName: "FulfillIntent",
Handler: _Sessions_FulfillIntent_Handler,
},
{
MethodName: "SubmitAnswerFeedback",
Handler: _Sessions_SubmitAnswerFeedback_Handler,
},
},
Streams: []grpc.StreamDesc{
{
StreamName: "ServerStreamingDetectIntent",
Handler: _Sessions_ServerStreamingDetectIntent_Handler,
ServerStreams: true,
},
{
StreamName: "StreamingDetectIntent",
Handler: _Sessions_StreamingDetectIntent_Handler,
ServerStreams: true,
ClientStreams: true,
},
},
Metadata: "google/cloud/dialogflow/cx/v3/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)
TestCases_ServiceDesc
var TestCases_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.TestCases",
HandlerType: (*TestCasesServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListTestCases",
Handler: _TestCases_ListTestCases_Handler,
},
{
MethodName: "BatchDeleteTestCases",
Handler: _TestCases_BatchDeleteTestCases_Handler,
},
{
MethodName: "GetTestCase",
Handler: _TestCases_GetTestCase_Handler,
},
{
MethodName: "CreateTestCase",
Handler: _TestCases_CreateTestCase_Handler,
},
{
MethodName: "UpdateTestCase",
Handler: _TestCases_UpdateTestCase_Handler,
},
{
MethodName: "RunTestCase",
Handler: _TestCases_RunTestCase_Handler,
},
{
MethodName: "BatchRunTestCases",
Handler: _TestCases_BatchRunTestCases_Handler,
},
{
MethodName: "CalculateCoverage",
Handler: _TestCases_CalculateCoverage_Handler,
},
{
MethodName: "ImportTestCases",
Handler: _TestCases_ImportTestCases_Handler,
},
{
MethodName: "ExportTestCases",
Handler: _TestCases_ExportTestCases_Handler,
},
{
MethodName: "ListTestCaseResults",
Handler: _TestCases_ListTestCaseResults_Handler,
},
{
MethodName: "GetTestCaseResult",
Handler: _TestCases_GetTestCaseResult_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/test_case.proto",
}TestCases_ServiceDesc is the grpc.ServiceDesc for TestCases service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Tools_ServiceDesc
var Tools_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.Tools",
HandlerType: (*ToolsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateTool",
Handler: _Tools_CreateTool_Handler,
},
{
MethodName: "ListTools",
Handler: _Tools_ListTools_Handler,
},
{
MethodName: "GetTool",
Handler: _Tools_GetTool_Handler,
},
{
MethodName: "UpdateTool",
Handler: _Tools_UpdateTool_Handler,
},
{
MethodName: "DeleteTool",
Handler: _Tools_DeleteTool_Handler,
},
{
MethodName: "ListToolVersions",
Handler: _Tools_ListToolVersions_Handler,
},
{
MethodName: "CreateToolVersion",
Handler: _Tools_CreateToolVersion_Handler,
},
{
MethodName: "GetToolVersion",
Handler: _Tools_GetToolVersion_Handler,
},
{
MethodName: "DeleteToolVersion",
Handler: _Tools_DeleteToolVersion_Handler,
},
{
MethodName: "RestoreToolVersion",
Handler: _Tools_RestoreToolVersion_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/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)
TransitionRouteGroups_ServiceDesc
var TransitionRouteGroups_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.TransitionRouteGroups",
HandlerType: (*TransitionRouteGroupsServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListTransitionRouteGroups",
Handler: _TransitionRouteGroups_ListTransitionRouteGroups_Handler,
},
{
MethodName: "GetTransitionRouteGroup",
Handler: _TransitionRouteGroups_GetTransitionRouteGroup_Handler,
},
{
MethodName: "CreateTransitionRouteGroup",
Handler: _TransitionRouteGroups_CreateTransitionRouteGroup_Handler,
},
{
MethodName: "UpdateTransitionRouteGroup",
Handler: _TransitionRouteGroups_UpdateTransitionRouteGroup_Handler,
},
{
MethodName: "DeleteTransitionRouteGroup",
Handler: _TransitionRouteGroups_DeleteTransitionRouteGroup_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/transition_route_group.proto",
}TransitionRouteGroups_ServiceDesc is the grpc.ServiceDesc for TransitionRouteGroups service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Versions_ServiceDesc
var Versions_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.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,
},
{
MethodName: "LoadVersion",
Handler: _Versions_LoadVersion_Handler,
},
{
MethodName: "CompareVersions",
Handler: _Versions_CompareVersions_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/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)
Webhooks_ServiceDesc
var Webhooks_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.dialogflow.cx.v3.Webhooks",
HandlerType: (*WebhooksServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListWebhooks",
Handler: _Webhooks_ListWebhooks_Handler,
},
{
MethodName: "GetWebhook",
Handler: _Webhooks_GetWebhook_Handler,
},
{
MethodName: "CreateWebhook",
Handler: _Webhooks_CreateWebhook_Handler,
},
{
MethodName: "UpdateWebhook",
Handler: _Webhooks_UpdateWebhook_Handler,
},
{
MethodName: "DeleteWebhook",
Handler: _Webhooks_DeleteWebhook_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/dialogflow/cx/v3/webhook.proto",
}Webhooks_ServiceDesc is the grpc.ServiceDesc for Webhooks 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 RegisterChangelogsServer
func RegisterChangelogsServer(s grpc.ServiceRegistrar, srv ChangelogsServer)func RegisterDeploymentsServer
func RegisterDeploymentsServer(s grpc.ServiceRegistrar, srv DeploymentsServer)func RegisterEntityTypesServer
func RegisterEntityTypesServer(s grpc.ServiceRegistrar, srv EntityTypesServer)func RegisterEnvironmentsServer
func RegisterEnvironmentsServer(s grpc.ServiceRegistrar, srv EnvironmentsServer)func RegisterExamplesServer
func RegisterExamplesServer(s grpc.ServiceRegistrar, srv ExamplesServer)func RegisterExperimentsServer
func RegisterExperimentsServer(s grpc.ServiceRegistrar, srv ExperimentsServer)func RegisterFlowsServer
func RegisterFlowsServer(s grpc.ServiceRegistrar, srv FlowsServer)func RegisterGeneratorsServer
func RegisterGeneratorsServer(s grpc.ServiceRegistrar, srv GeneratorsServer)func RegisterIntentsServer
func RegisterIntentsServer(s grpc.ServiceRegistrar, srv IntentsServer)func RegisterPagesServer
func RegisterPagesServer(s grpc.ServiceRegistrar, srv PagesServer)func RegisterPlaybooksServer
func RegisterPlaybooksServer(s grpc.ServiceRegistrar, srv PlaybooksServer)func RegisterSecuritySettingsServiceServer
func RegisterSecuritySettingsServiceServer(s grpc.ServiceRegistrar, srv SecuritySettingsServiceServer)func RegisterSessionEntityTypesServer
func RegisterSessionEntityTypesServer(s grpc.ServiceRegistrar, srv SessionEntityTypesServer)func RegisterSessionsServer
func RegisterSessionsServer(s grpc.ServiceRegistrar, srv SessionsServer)func RegisterTestCasesServer
func RegisterTestCasesServer(s grpc.ServiceRegistrar, srv TestCasesServer)func RegisterToolsServer
func RegisterToolsServer(s grpc.ServiceRegistrar, srv ToolsServer)func RegisterTransitionRouteGroupsServer
func RegisterTransitionRouteGroupsServer(s grpc.ServiceRegistrar, srv TransitionRouteGroupsServer)func RegisterVersionsServer
func RegisterVersionsServer(s grpc.ServiceRegistrar, srv VersionsServer)func RegisterWebhooksServer
func RegisterWebhooksServer(s grpc.ServiceRegistrar, srv WebhooksServer)Action
type Action struct {
// Action details.
//
// Types that are valid to be assigned to Action:
//
// *Action_UserUtterance
// *Action_AgentUtterance
// *Action_ToolUse
// *Action_PlaybookInvocation
// *Action_FlowInvocation
// *Action_PlaybookTransition
// *Action_FlowTransition
Action isAction_Action `protobuf_oneof:"action"`
// contains filtered or unexported fields
}Action performed by end user or Dialogflow agent in the conversation.
func (*Action) Descriptor
Deprecated: Use Action.ProtoReflect.Descriptor instead.
func (*Action) GetAction
func (x *Action) GetAction() isAction_Actionfunc (*Action) GetAgentUtterance
func (x *Action) GetAgentUtterance() *AgentUtterancefunc (*Action) GetFlowInvocation
func (x *Action) GetFlowInvocation() *FlowInvocationfunc (*Action) GetFlowTransition
func (x *Action) GetFlowTransition() *FlowTransitionfunc (*Action) GetPlaybookInvocation
func (x *Action) GetPlaybookInvocation() *PlaybookInvocationfunc (*Action) GetPlaybookTransition
func (x *Action) GetPlaybookTransition() *PlaybookTransitionfunc (*Action) GetToolUse
func (*Action) GetUserUtterance
func (x *Action) GetUserUtterance() *UserUtterancefunc (*Action) ProtoMessage
func (*Action) ProtoMessage()func (*Action) ProtoReflect
func (x *Action) ProtoReflect() protoreflect.Messagefunc (*Action) Reset
func (x *Action) Reset()func (*Action) String
Action_AgentUtterance
type Action_AgentUtterance struct {
// Optional. Action performed by the agent as a message.
AgentUtterance *AgentUtterance `protobuf:"bytes,2,opt,name=agent_utterance,json=agentUtterance,proto3,oneof"`
}Action_FlowInvocation
type Action_FlowInvocation struct {
// Optional. Action performed on behalf of the agent by invoking a CX flow.
FlowInvocation *FlowInvocation `protobuf:"bytes,5,opt,name=flow_invocation,json=flowInvocation,proto3,oneof"`
}Action_FlowTransition
type Action_FlowTransition struct {
// Optional. Action performed on behalf of the agent by transitioning to a
// target CX flow.
FlowTransition *FlowTransition `protobuf:"bytes,13,opt,name=flow_transition,json=flowTransition,proto3,oneof"`
}Action_PlaybookInvocation
type Action_PlaybookInvocation struct {
// Optional. Action performed on behalf of the agent by invoking a child
// playbook.
PlaybookInvocation *PlaybookInvocation `protobuf:"bytes,4,opt,name=playbook_invocation,json=playbookInvocation,proto3,oneof"`
}Action_PlaybookTransition
type Action_PlaybookTransition struct {
// Optional. Action performed on behalf of the agent by transitioning to a
// target playbook.
PlaybookTransition *PlaybookTransition `protobuf:"bytes,12,opt,name=playbook_transition,json=playbookTransition,proto3,oneof"`
}Action_ToolUse
type Action_ToolUse struct {
// Optional. Action performed on behalf of the agent by calling a plugin
// tool.
ToolUse *ToolUse `protobuf:"bytes,3,opt,name=tool_use,json=toolUse,proto3,oneof"`
}Action_UserUtterance
type Action_UserUtterance struct {
// Optional. Agent obtained a message from the customer.
UserUtterance *UserUtterance `protobuf:"bytes,1,opt,name=user_utterance,json=userUtterance,proto3,oneof"`
}AdvancedSettings
type AdvancedSettings struct {
// If present, incoming audio is exported by Dialogflow to the configured
// Google Cloud Storage destination.
// Exposed at the following levels:
// - Agent level
// - Flow level
AudioExportGcsDestination *GcsDestination `protobuf:"bytes,2,opt,name=audio_export_gcs_destination,json=audioExportGcsDestination,proto3" json:"audio_export_gcs_destination,omitempty"`
// Settings for speech to text detection.
// Exposed at the following levels:
// - Agent level
// - Flow level
// - Page level
// - Parameter level
SpeechSettings *AdvancedSettings_SpeechSettings `protobuf:"bytes,3,opt,name=speech_settings,json=speechSettings,proto3" json:"speech_settings,omitempty"`
// Settings for DTMF.
// Exposed at the following levels:
// - Agent level
// - Flow level
// - Page level
// - Parameter level.
DtmfSettings *AdvancedSettings_DtmfSettings `protobuf:"bytes,5,opt,name=dtmf_settings,json=dtmfSettings,proto3" json:"dtmf_settings,omitempty"`
// Settings for logging.
// Settings for Dialogflow History, Contact Center messages, StackDriver logs,
// and speech logging.
// Exposed at the following levels:
// - Agent level.
LoggingSettings *AdvancedSettings_LoggingSettings `protobuf:"bytes,6,opt,name=logging_settings,json=loggingSettings,proto3" json:"logging_settings,omitempty"`
// contains filtered or unexported fields
}Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the agent level, leaving other settings at the agent level unchanged.
DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel.
Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
func (*AdvancedSettings) Descriptor
func (*AdvancedSettings) Descriptor() ([]byte, []int)Deprecated: Use AdvancedSettings.ProtoReflect.Descriptor instead.
func (*AdvancedSettings) GetAudioExportGcsDestination
func (x *AdvancedSettings) GetAudioExportGcsDestination() *GcsDestinationfunc (*AdvancedSettings) GetDtmfSettings
func (x *AdvancedSettings) GetDtmfSettings() *AdvancedSettings_DtmfSettingsfunc (*AdvancedSettings) GetLoggingSettings
func (x *AdvancedSettings) GetLoggingSettings() *AdvancedSettings_LoggingSettingsfunc (*AdvancedSettings) GetSpeechSettings
func (x *AdvancedSettings) GetSpeechSettings() *AdvancedSettings_SpeechSettingsfunc (*AdvancedSettings) ProtoMessage
func (*AdvancedSettings) ProtoMessage()func (*AdvancedSettings) ProtoReflect
func (x *AdvancedSettings) ProtoReflect() protoreflect.Messagefunc (*AdvancedSettings) Reset
func (x *AdvancedSettings) Reset()func (*AdvancedSettings) String
func (x *AdvancedSettings) String() stringAdvancedSettings_DtmfSettings
type AdvancedSettings_DtmfSettings struct {
// If true, incoming audio is processed for DTMF (dual tone multi frequency)
// events. For example, if the caller presses a button on their telephone
// keypad and DTMF processing is enabled, Dialogflow will detect the
// event (e.g. a "3" was pressed) in the incoming audio and pass the event
// to the bot to drive business logic (e.g. when 3 is pressed, return the
// account balance).
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// Max length of DTMF digits.
MaxDigits int32 `protobuf:"varint,2,opt,name=max_digits,json=maxDigits,proto3" json:"max_digits,omitempty"`
// The digit that terminates a DTMF digit sequence.
FinishDigit string `protobuf:"bytes,3,opt,name=finish_digit,json=finishDigit,proto3" json:"finish_digit,omitempty"`
// Interdigit timeout setting for matching dtmf input to regex.
InterdigitTimeoutDuration *durationpb.Duration `protobuf:"bytes,6,opt,name=interdigit_timeout_duration,json=interdigitTimeoutDuration,proto3" json:"interdigit_timeout_duration,omitempty"`
// Endpoint timeout setting for matching dtmf input to regex.
EndpointingTimeoutDuration *durationpb.Duration `protobuf:"bytes,7,opt,name=endpointing_timeout_duration,json=endpointingTimeoutDuration,proto3" json:"endpointing_timeout_duration,omitempty"`
// contains filtered or unexported fields
}Define behaviors for DTMF (dual tone multi frequency).
func (*AdvancedSettings_DtmfSettings) Descriptor
func (*AdvancedSettings_DtmfSettings) Descriptor() ([]byte, []int)Deprecated: Use AdvancedSettings_DtmfSettings.ProtoReflect.Descriptor instead.
func (*AdvancedSettings_DtmfSettings) GetEnabled
func (x *AdvancedSettings_DtmfSettings) GetEnabled() boolfunc (*AdvancedSettings_DtmfSettings) GetEndpointingTimeoutDuration
func (x *AdvancedSettings_DtmfSettings) GetEndpointingTimeoutDuration() *durationpb.Durationfunc (*AdvancedSettings_DtmfSettings) GetFinishDigit
func (x *AdvancedSettings_DtmfSettings) GetFinishDigit() stringfunc (*AdvancedSettings_DtmfSettings) GetInterdigitTimeoutDuration
func (x *AdvancedSettings_DtmfSettings) GetInterdigitTimeoutDuration() *durationpb.Durationfunc (*AdvancedSettings_DtmfSettings) GetMaxDigits
func (x *AdvancedSettings_DtmfSettings) GetMaxDigits() int32func (*AdvancedSettings_DtmfSettings) ProtoMessage
func (*AdvancedSettings_DtmfSettings) ProtoMessage()func (*AdvancedSettings_DtmfSettings) ProtoReflect
func (x *AdvancedSettings_DtmfSettings) ProtoReflect() protoreflect.Messagefunc (*AdvancedSettings_DtmfSettings) Reset
func (x *AdvancedSettings_DtmfSettings) Reset()func (*AdvancedSettings_DtmfSettings) String
func (x *AdvancedSettings_DtmfSettings) String() stringAdvancedSettings_LoggingSettings
type AdvancedSettings_LoggingSettings struct {
// Enables Google Cloud Logging.
EnableStackdriverLogging bool `protobuf:"varint,2,opt,name=enable_stackdriver_logging,json=enableStackdriverLogging,proto3" json:"enable_stackdriver_logging,omitempty"`
// Enables DF Interaction logging.
EnableInteractionLogging bool `protobuf:"varint,3,opt,name=enable_interaction_logging,json=enableInteractionLogging,proto3" json:"enable_interaction_logging,omitempty"`
// Enables consent-based end-user input redaction, if true, a pre-defined
// session parameter `$session.params.conversation-redaction` will be
// used to determine if the utterance should be redacted.
EnableConsentBasedRedaction bool `protobuf:"varint,4,opt,name=enable_consent_based_redaction,json=enableConsentBasedRedaction,proto3" json:"enable_consent_based_redaction,omitempty"`
// contains filtered or unexported fields
}Define behaviors on logging.
func (*AdvancedSettings_LoggingSettings) Descriptor
func (*AdvancedSettings_LoggingSettings) Descriptor() ([]byte, []int)Deprecated: Use AdvancedSettings_LoggingSettings.ProtoReflect.Descriptor instead.
func (*AdvancedSettings_LoggingSettings) GetEnableConsentBasedRedaction
func (x *AdvancedSettings_LoggingSettings) GetEnableConsentBasedRedaction() boolfunc (*AdvancedSettings_LoggingSettings) GetEnableInteractionLogging
func (x *AdvancedSettings_LoggingSettings) GetEnableInteractionLogging() boolfunc (*AdvancedSettings_LoggingSettings) GetEnableStackdriverLogging
func (x *AdvancedSettings_LoggingSettings) GetEnableStackdriverLogging() boolfunc (*AdvancedSettings_LoggingSettings) ProtoMessage
func (*AdvancedSettings_LoggingSettings) ProtoMessage()func (*AdvancedSettings_LoggingSettings) ProtoReflect
func (x *AdvancedSettings_LoggingSettings) ProtoReflect() protoreflect.Messagefunc (*AdvancedSettings_LoggingSettings) Reset
func (x *AdvancedSettings_LoggingSettings) Reset()func (*AdvancedSettings_LoggingSettings) String
func (x *AdvancedSettings_LoggingSettings) String() stringAdvancedSettings_SpeechSettings
type AdvancedSettings_SpeechSettings struct {
// Sensitivity of the speech model that detects the end of speech.
// Scale from 0 to 100.
EndpointerSensitivity int32 `protobuf:"varint,1,opt,name=endpointer_sensitivity,json=endpointerSensitivity,proto3" json:"endpointer_sensitivity,omitempty"`
// Timeout before detecting no speech.
NoSpeechTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=no_speech_timeout,json=noSpeechTimeout,proto3" json:"no_speech_timeout,omitempty"`
// Use timeout based endpointing, interpreting endpointer sensitivity as
// seconds of timeout value.
UseTimeoutBasedEndpointing bool `protobuf:"varint,3,opt,name=use_timeout_based_endpointing,json=useTimeoutBasedEndpointing,proto3" json:"use_timeout_based_endpointing,omitempty"`
// Mapping from language to Speech-to-Text model. The mapped Speech-to-Text
// model will be selected for requests from its corresponding language.
// For more information, see
// [Speech
// models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
Models map[string]string `protobuf:"bytes,5,rep,name=models,proto3" json:"models,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// contains filtered or unexported fields
}Define behaviors of speech to text detection.
func (*AdvancedSettings_SpeechSettings) Descriptor
func (*AdvancedSettings_SpeechSettings) Descriptor() ([]byte, []int)Deprecated: Use AdvancedSettings_SpeechSettings.ProtoReflect.Descriptor instead.
func (*AdvancedSettings_SpeechSettings) GetEndpointerSensitivity
func (x *AdvancedSettings_SpeechSettings) GetEndpointerSensitivity() int32func (*AdvancedSettings_SpeechSettings) GetModels
func (x *AdvancedSettings_SpeechSettings) GetModels() map[string]stringfunc (*AdvancedSettings_SpeechSettings) GetNoSpeechTimeout
func (x *AdvancedSettings_SpeechSettings) GetNoSpeechTimeout() *durationpb.Durationfunc (*AdvancedSettings_SpeechSettings) GetUseTimeoutBasedEndpointing
func (x *AdvancedSettings_SpeechSettings) GetUseTimeoutBasedEndpointing() boolfunc (*AdvancedSettings_SpeechSettings) ProtoMessage
func (*AdvancedSettings_SpeechSettings) ProtoMessage()func (*AdvancedSettings_SpeechSettings) ProtoReflect
func (x *AdvancedSettings_SpeechSettings) ProtoReflect() protoreflect.Messagefunc (*AdvancedSettings_SpeechSettings) Reset
func (x *AdvancedSettings_SpeechSettings) Reset()func (*AdvancedSettings_SpeechSettings) String
func (x *AdvancedSettings_SpeechSettings) String() stringAgent
type Agent struct {
// The unique identifier of the agent.
// Required for the
// [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent]
// method.
// [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent]
// populates the name automatically.
// Format: `projects/Agents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data. You can include agents in your app, product, or service to determine user intent and respond to the user in a natural way.
After you create an agent, you can add [Intents][google.cloud.dialogflow.cx.v3.Intent], [Entity Types][google.cloud.dialogflow.cx.v3.EntityType], [Flows][google.cloud.dialogflow.cx.v3.Flow], [Fulfillments][google.cloud.dialogflow.cx.v3.Fulfillment], [Webhooks][google.cloud.dialogflow.cx.v3.Webhook], [TransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] and so on to manage the conversation flows.
func (*Agent) Descriptor
Deprecated: Use Agent.ProtoReflect.Descriptor instead.
func (*Agent) GetAdvancedSettings
func (x *Agent) GetAdvancedSettings() *AdvancedSettingsfunc (*Agent) GetAnswerFeedbackSettings
func (x *Agent) GetAnswerFeedbackSettings() *Agent_AnswerFeedbackSettingsfunc (*Agent) GetAvatarUri
func (*Agent) GetClientCertificateSettings
func (x *Agent) GetClientCertificateSettings() *Agent_ClientCertificateSettingsfunc (*Agent) GetDefaultLanguageCode
func (*Agent) GetDescription
func (*Agent) GetDisplayName
func (*Agent) GetEnableMultiLanguageTraining
func (*Agent) GetEnableSpellCorrection
func (*Agent) GetEnableStackdriverLogging
Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/agent.proto.
func (*Agent) GetGenAppBuilderSettings
func (x *Agent) GetGenAppBuilderSettings() *Agent_GenAppBuilderSettingsfunc (*Agent) GetGitIntegrationSettings
func (x *Agent) GetGitIntegrationSettings() *Agent_GitIntegrationSettingsfunc (*Agent) GetLocked
func (*Agent) GetName
func (*Agent) GetPersonalizationSettings
func (x *Agent) GetPersonalizationSettings() *Agent_PersonalizationSettingsfunc (*Agent) GetSatisfiesPzi
func (*Agent) GetSatisfiesPzs
func (*Agent) GetSecuritySettings
func (*Agent) GetSessionEntryResource
func (x *Agent) GetSessionEntryResource() isAgent_SessionEntryResourcefunc (*Agent) GetSpeechToTextSettings
func (x *Agent) GetSpeechToTextSettings() *SpeechToTextSettingsfunc (*Agent) GetStartFlow
func (*Agent) GetStartPlaybook
func (*Agent) GetSupportedLanguageCodes
func (*Agent) GetTextToSpeechSettings
func (x *Agent) GetTextToSpeechSettings() *TextToSpeechSettingsfunc (*Agent) GetTimeZone
func (*Agent) ProtoMessage
func (*Agent) ProtoMessage()func (*Agent) ProtoReflect
func (x *Agent) ProtoReflect() protoreflect.Messagefunc (*Agent) Reset
func (x *Agent) Reset()func (*Agent) String
AgentUtterance
type AgentUtterance struct {
// Required. Message content in text.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}AgentUtterance represents one message sent by the agent.
func (*AgentUtterance) Descriptor
func (*AgentUtterance) Descriptor() ([]byte, []int)Deprecated: Use AgentUtterance.ProtoReflect.Descriptor instead.
func (*AgentUtterance) GetText
func (x *AgentUtterance) GetText() stringfunc (*AgentUtterance) ProtoMessage
func (*AgentUtterance) ProtoMessage()func (*AgentUtterance) ProtoReflect
func (x *AgentUtterance) ProtoReflect() protoreflect.Messagefunc (*AgentUtterance) Reset
func (x *AgentUtterance) Reset()func (*AgentUtterance) String
func (x *AgentUtterance) String() stringAgentValidationResult
type AgentValidationResult struct {
// The unique identifier of the agent validation result.
// Format:
// `projects/The response message for [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult].
func (*AgentValidationResult) Descriptor
func (*AgentValidationResult) Descriptor() ([]byte, []int)Deprecated: Use AgentValidationResult.ProtoReflect.Descriptor instead.
func (*AgentValidationResult) GetFlowValidationResults
func (x *AgentValidationResult) GetFlowValidationResults() []*FlowValidationResultfunc (*AgentValidationResult) GetName
func (x *AgentValidationResult) GetName() stringfunc (*AgentValidationResult) ProtoMessage
func (*AgentValidationResult) ProtoMessage()func (*AgentValidationResult) ProtoReflect
func (x *AgentValidationResult) ProtoReflect() protoreflect.Messagefunc (*AgentValidationResult) Reset
func (x *AgentValidationResult) Reset()func (*AgentValidationResult) String
func (x *AgentValidationResult) String() stringAgent_AnswerFeedbackSettings
type Agent_AnswerFeedbackSettings struct {
// Optional. If enabled, end users will be able to provide
// [answer feedback][google.cloud.dialogflow.cx.v3.AnswerFeedback] to
// Dialogflow responses. Feature works only if interaction logging is
// enabled in the Dialogflow agent.
EnableAnswerFeedback bool `protobuf:"varint,1,opt,name=enable_answer_feedback,json=enableAnswerFeedback,proto3" json:"enable_answer_feedback,omitempty"`
// contains filtered or unexported fields
}Settings for answer feedback collection.
func (*Agent_AnswerFeedbackSettings) Descriptor
func (*Agent_AnswerFeedbackSettings) Descriptor() ([]byte, []int)Deprecated: Use Agent_AnswerFeedbackSettings.ProtoReflect.Descriptor instead.
func (*Agent_AnswerFeedbackSettings) GetEnableAnswerFeedback
func (x *Agent_AnswerFeedbackSettings) GetEnableAnswerFeedback() boolfunc (*Agent_AnswerFeedbackSettings) ProtoMessage
func (*Agent_AnswerFeedbackSettings) ProtoMessage()func (*Agent_AnswerFeedbackSettings) ProtoReflect
func (x *Agent_AnswerFeedbackSettings) ProtoReflect() protoreflect.Messagefunc (*Agent_AnswerFeedbackSettings) Reset
func (x *Agent_AnswerFeedbackSettings) Reset()func (*Agent_AnswerFeedbackSettings) String
func (x *Agent_AnswerFeedbackSettings) String() stringAgent_ClientCertificateSettings
type Agent_ClientCertificateSettings struct {
// Required. The ssl certificate encoded in PEM format. This string must
// include the begin header and end footer lines.
SslCertificate string `protobuf:"bytes,1,opt,name=ssl_certificate,json=sslCertificate,proto3" json:"ssl_certificate,omitempty"`
// Required. The name of the SecretManager secret version resource storing
// the private key encoded in PEM format. Format:
// `projects/{project}/secrets/{secret}/versions/{version}`
PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
// Optional. The name of the SecretManager secret version resource storing
// the passphrase. 'passphrase' should be left unset if the private key is
// not encrypted.
// Format: `projects/{project}/secrets/{secret}/versions/{version}`
Passphrase string `protobuf:"bytes,3,opt,name=passphrase,proto3" json:"passphrase,omitempty"`
// contains filtered or unexported fields
}Settings for custom client certificates.
func (*Agent_ClientCertificateSettings) Descriptor
func (*Agent_ClientCertificateSettings) Descriptor() ([]byte, []int)Deprecated: Use Agent_ClientCertificateSettings.ProtoReflect.Descriptor instead.
func (*Agent_ClientCertificateSettings) GetPassphrase
func (x *Agent_ClientCertificateSettings) GetPassphrase() stringfunc (*Agent_ClientCertificateSettings) GetPrivateKey
func (x *Agent_ClientCertificateSettings) GetPrivateKey() stringfunc (*Agent_ClientCertificateSettings) GetSslCertificate
func (x *Agent_ClientCertificateSettings) GetSslCertificate() stringfunc (*Agent_ClientCertificateSettings) ProtoMessage
func (*Agent_ClientCertificateSettings) ProtoMessage()func (*Agent_ClientCertificateSettings) ProtoReflect
func (x *Agent_ClientCertificateSettings) ProtoReflect() protoreflect.Messagefunc (*Agent_ClientCertificateSettings) Reset
func (x *Agent_ClientCertificateSettings) Reset()func (*Agent_ClientCertificateSettings) String
func (x *Agent_ClientCertificateSettings) String() stringAgent_GenAppBuilderSettings
type Agent_GenAppBuilderSettings struct {
// Required. The full name of the Gen App Builder engine related to this
// agent if there is one. Format: `projects/{Project ID}/locations/{Location
// ID}/collections/{Collection ID}/engines/{Engine ID}`
Engine string `protobuf:"bytes,1,opt,name=engine,proto3" json:"engine,omitempty"`
// contains filtered or unexported fields
}Settings for Gen App Builder.
func (*Agent_GenAppBuilderSettings) Descriptor
func (*Agent_GenAppBuilderSettings) Descriptor() ([]byte, []int)Deprecated: Use Agent_GenAppBuilderSettings.ProtoReflect.Descriptor instead.
func (*Agent_GenAppBuilderSettings) GetEngine
func (x *Agent_GenAppBuilderSettings) GetEngine() stringfunc (*Agent_GenAppBuilderSettings) ProtoMessage
func (*Agent_GenAppBuilderSettings) ProtoMessage()func (*Agent_GenAppBuilderSettings) ProtoReflect
func (x *Agent_GenAppBuilderSettings) ProtoReflect() protoreflect.Messagefunc (*Agent_GenAppBuilderSettings) Reset
func (x *Agent_GenAppBuilderSettings) Reset()func (*Agent_GenAppBuilderSettings) String
func (x *Agent_GenAppBuilderSettings) String() stringAgent_GitIntegrationSettings
type Agent_GitIntegrationSettings struct {
// The git settings to specific systems.
//
// Types that are valid to be assigned to GitSettings:
//
// *Agent_GitIntegrationSettings_GithubSettings_
GitSettings isAgent_GitIntegrationSettings_GitSettings `protobuf_oneof:"git_settings"`
// contains filtered or unexported fields
}Settings for connecting to Git repository for an agent.
func (*Agent_GitIntegrationSettings) Descriptor
func (*Agent_GitIntegrationSettings) Descriptor() ([]byte, []int)Deprecated: Use Agent_GitIntegrationSettings.ProtoReflect.Descriptor instead.
func (*Agent_GitIntegrationSettings) GetGitSettings
func (x *Agent_GitIntegrationSettings) GetGitSettings() isAgent_GitIntegrationSettings_GitSettingsfunc (*Agent_GitIntegrationSettings) GetGithubSettings
func (x *Agent_GitIntegrationSettings) GetGithubSettings() *Agent_GitIntegrationSettings_GithubSettingsfunc (*Agent_GitIntegrationSettings) ProtoMessage
func (*Agent_GitIntegrationSettings) ProtoMessage()func (*Agent_GitIntegrationSettings) ProtoReflect
func (x *Agent_GitIntegrationSettings) ProtoReflect() protoreflect.Messagefunc (*Agent_GitIntegrationSettings) Reset
func (x *Agent_GitIntegrationSettings) Reset()func (*Agent_GitIntegrationSettings) String
func (x *Agent_GitIntegrationSettings) String() stringAgent_GitIntegrationSettings_GithubSettings
type Agent_GitIntegrationSettings_GithubSettings struct {
// The unique repository display name for the GitHub repository.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The GitHub repository URI related to the agent.
RepositoryUri string `protobuf:"bytes,2,opt,name=repository_uri,json=repositoryUri,proto3" json:"repository_uri,omitempty"`
// The branch of the GitHub repository tracked for this agent.
TrackingBranch string `protobuf:"bytes,3,opt,name=tracking_branch,json=trackingBranch,proto3" json:"tracking_branch,omitempty"`
// The access token used to authenticate the access to the GitHub
// repository.
AccessToken string `protobuf:"bytes,4,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
// A list of branches configured to be used from Dialogflow.
Branches []string `protobuf:"bytes,5,rep,name=branches,proto3" json:"branches,omitempty"`
// contains filtered or unexported fields
}Settings of integration with GitHub.
func (*Agent_GitIntegrationSettings_GithubSettings) Descriptor
func (*Agent_GitIntegrationSettings_GithubSettings) Descriptor() ([]byte, []int)Deprecated: Use Agent_GitIntegrationSettings_GithubSettings.ProtoReflect.Descriptor instead.
func (*Agent_GitIntegrationSettings_GithubSettings) GetAccessToken
func (x *Agent_GitIntegrationSettings_GithubSettings) GetAccessToken() stringfunc (*Agent_GitIntegrationSettings_GithubSettings) GetBranches
func (x *Agent_GitIntegrationSettings_GithubSettings) GetBranches() []stringfunc (*Agent_GitIntegrationSettings_GithubSettings) GetDisplayName
func (x *Agent_GitIntegrationSettings_GithubSettings) GetDisplayName() stringfunc (*Agent_GitIntegrationSettings_GithubSettings) GetRepositoryUri
func (x *Agent_GitIntegrationSettings_GithubSettings) GetRepositoryUri() stringfunc (*Agent_GitIntegrationSettings_GithubSettings) GetTrackingBranch
func (x *Agent_GitIntegrationSettings_GithubSettings) GetTrackingBranch() stringfunc (*Agent_GitIntegrationSettings_GithubSettings) ProtoMessage
func (*Agent_GitIntegrationSettings_GithubSettings) ProtoMessage()func (*Agent_GitIntegrationSettings_GithubSettings) ProtoReflect
func (x *Agent_GitIntegrationSettings_GithubSettings) ProtoReflect() protoreflect.Messagefunc (*Agent_GitIntegrationSettings_GithubSettings) Reset
func (x *Agent_GitIntegrationSettings_GithubSettings) Reset()func (*Agent_GitIntegrationSettings_GithubSettings) String
func (x *Agent_GitIntegrationSettings_GithubSettings) String() stringAgent_GitIntegrationSettings_GithubSettings_
type Agent_GitIntegrationSettings_GithubSettings_ struct {
// GitHub settings.
GithubSettings *Agent_GitIntegrationSettings_GithubSettings `protobuf:"bytes,1,opt,name=github_settings,json=githubSettings,proto3,oneof"`
}Agent_PersonalizationSettings
type Agent_PersonalizationSettings struct {
// Optional. Default end user metadata, used when processing DetectIntent
// requests. Recommended to be filled as a template instead of hard-coded
// value, for example { "age": "$session.params.age" }. The data will be
// merged with the
// [QueryParameters.end_user_metadata][google.cloud.dialogflow.cx.v3.QueryParameters.end_user_metadata]
// in
// [DetectIntentRequest.query_params][google.cloud.dialogflow.cx.v3.DetectIntentRequest.query_params]
// during query processing.
DefaultEndUserMetadata *structpb.Struct `protobuf:"bytes,1,opt,name=default_end_user_metadata,json=defaultEndUserMetadata,proto3" json:"default_end_user_metadata,omitempty"`
// contains filtered or unexported fields
}Settings for end user personalization.
func (*Agent_PersonalizationSettings) Descriptor
func (*Agent_PersonalizationSettings) Descriptor() ([]byte, []int)Deprecated: Use Agent_PersonalizationSettings.ProtoReflect.Descriptor instead.
func (*Agent_PersonalizationSettings) GetDefaultEndUserMetadata
func (x *Agent_PersonalizationSettings) GetDefaultEndUserMetadata() *structpb.Structfunc (*Agent_PersonalizationSettings) ProtoMessage
func (*Agent_PersonalizationSettings) ProtoMessage()func (*Agent_PersonalizationSettings) ProtoReflect
func (x *Agent_PersonalizationSettings) ProtoReflect() protoreflect.Messagefunc (*Agent_PersonalizationSettings) Reset
func (x *Agent_PersonalizationSettings) Reset()func (*Agent_PersonalizationSettings) String
func (x *Agent_PersonalizationSettings) String() stringAgent_StartFlow
type Agent_StartFlow struct {
// Name of the start flow in this agent. A start flow will be automatically
// created when the agent is created, and can only be deleted by deleting
// the agent.
// Format:
// `projects/Agent_StartPlaybook
type Agent_StartPlaybook struct {
// Name of the start playbook in this agent. A start playbook will be
// automatically created when the agent is created, and can only be deleted
// by deleting the agent.
// Format:
// `projects/AgentsClient
type AgentsClient interface {
// Returns the list of all agents in the specified location.
ListAgents(ctx context.Context, in *ListAgentsRequest, opts ...grpc.CallOption) (*ListAgentsResponse, error)
// Retrieves the specified agent.
GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error)
// Creates an agent in the specified location.
//
// Note: You should always train flows prior to sending them queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
CreateAgent(ctx context.Context, in *CreateAgentRequest, opts ...grpc.CallOption) (*Agent, error)
// Updates the specified agent.
//
// Note: You should always train flows prior to sending them queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
UpdateAgent(ctx context.Context, in *UpdateAgentRequest, opts ...grpc.CallOption) (*Agent, error)
// Deletes the specified agent.
DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Exports the specified agent to a binary file.
//
// 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`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`:
//
// [ExportAgentResponse][google.cloud.dialogflow.cx.v3.ExportAgentResponse]
ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Restores the specified agent from a binary file.
//
// Replaces the current agent with a new one. Note that all existing resources
// in agent (e.g. intents, entity types, flows) will be removed.
//
// 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`: 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 flows prior to sending them queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Validates the specified agent and creates or updates validation results.
// The agent in draft version is validated. Please call this API after the
// training is completed to get the complete validation results.
ValidateAgent(ctx context.Context, in *ValidateAgentRequest, opts ...grpc.CallOption) (*AgentValidationResult, error)
// Gets the latest agent validation result. Agent validation is performed
// when ValidateAgent is called.
GetAgentValidationResult(ctx context.Context, in *GetAgentValidationResultRequest, opts ...grpc.CallOption) (*AgentValidationResult, error)
// Gets the generative settings for the agent.
GetGenerativeSettings(ctx context.Context, in *GetGenerativeSettingsRequest, opts ...grpc.CallOption) (*GenerativeSettings, error)
// Updates the generative settings for the agent.
UpdateGenerativeSettings(ctx context.Context, in *UpdateGenerativeSettingsRequest, opts ...grpc.CallOption) (*GenerativeSettings, 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) AgentsClientAgentsServer
type AgentsServer interface {
// Returns the list of all agents in the specified location.
ListAgents(context.Context, *ListAgentsRequest) (*ListAgentsResponse, error)
// Retrieves the specified agent.
GetAgent(context.Context, *GetAgentRequest) (*Agent, error)
// Creates an agent in the specified location.
//
// Note: You should always train flows prior to sending them queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
CreateAgent(context.Context, *CreateAgentRequest) (*Agent, error)
// Updates the specified agent.
//
// Note: You should always train flows prior to sending them queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
UpdateAgent(context.Context, *UpdateAgentRequest) (*Agent, error)
// Deletes the specified agent.
DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error)
// Exports the specified agent to a binary file.
//
// 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`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`:
//
// [ExportAgentResponse][google.cloud.dialogflow.cx.v3.ExportAgentResponse]
ExportAgent(context.Context, *ExportAgentRequest) (*longrunningpb.Operation, error)
// Restores the specified agent from a binary file.
//
// Replaces the current agent with a new one. Note that all existing resources
// in agent (e.g. intents, entity types, flows) will be removed.
//
// 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`: 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 flows prior to sending them queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunningpb.Operation, error)
// Validates the specified agent and creates or updates validation results.
// The agent in draft version is validated. Please call this API after the
// training is completed to get the complete validation results.
ValidateAgent(context.Context, *ValidateAgentRequest) (*AgentValidationResult, error)
// Gets the latest agent validation result. Agent validation is performed
// when ValidateAgent is called.
GetAgentValidationResult(context.Context, *GetAgentValidationResultRequest) (*AgentValidationResult, error)
// Gets the generative settings for the agent.
GetGenerativeSettings(context.Context, *GetGenerativeSettingsRequest) (*GenerativeSettings, error)
// Updates the generative settings for the agent.
UpdateGenerativeSettings(context.Context, *UpdateGenerativeSettingsRequest) (*GenerativeSettings, error)
}AgentsServer is the server API for Agents service. All implementations should embed UnimplementedAgentsServer for forward compatibility
AnswerFeedback
type AnswerFeedback struct {
// Optional. Rating from user for the specific Dialogflow response.
Rating AnswerFeedback_Rating `protobuf:"varint,1,opt,name=rating,proto3,enum=google.cloud.dialogflow.cx.v3.AnswerFeedback_Rating" json:"rating,omitempty"`
// Optional. In case of thumbs down rating provided, users can optionally
// provide context about the rating.
RatingReason *AnswerFeedback_RatingReason `protobuf:"bytes,2,opt,name=rating_reason,json=ratingReason,proto3" json:"rating_reason,omitempty"`
// Optional. Custom rating from the user about the provided answer, with
// maximum length of 1024 characters. For example, client could use a
// customized JSON object to indicate the rating.
CustomRating string `protobuf:"bytes,3,opt,name=custom_rating,json=customRating,proto3" json:"custom_rating,omitempty"`
// contains filtered or unexported fields
}Stores information about feedback provided by users about a response.
func (*AnswerFeedback) Descriptor
func (*AnswerFeedback) Descriptor() ([]byte, []int)Deprecated: Use AnswerFeedback.ProtoReflect.Descriptor instead.
func (*AnswerFeedback) GetCustomRating
func (x *AnswerFeedback) GetCustomRating() stringfunc (*AnswerFeedback) GetRating
func (x *AnswerFeedback) GetRating() AnswerFeedback_Ratingfunc (*AnswerFeedback) GetRatingReason
func (x *AnswerFeedback) GetRatingReason() *AnswerFeedback_RatingReasonfunc (*AnswerFeedback) ProtoMessage
func (*AnswerFeedback) ProtoMessage()func (*AnswerFeedback) ProtoReflect
func (x *AnswerFeedback) ProtoReflect() protoreflect.Messagefunc (*AnswerFeedback) Reset
func (x *AnswerFeedback) Reset()func (*AnswerFeedback) String
func (x *AnswerFeedback) String() stringAnswerFeedback_Rating
type AnswerFeedback_Rating int32Represents thumbs up/down rating provided by user about a response.
AnswerFeedback_RATING_UNSPECIFIED, AnswerFeedback_THUMBS_UP, AnswerFeedback_THUMBS_DOWN
const (
// Rating not specified.
AnswerFeedback_RATING_UNSPECIFIED AnswerFeedback_Rating = 0
// Thumbs up feedback from user.
AnswerFeedback_THUMBS_UP AnswerFeedback_Rating = 1
// Thumbs down feedback from user.
AnswerFeedback_THUMBS_DOWN AnswerFeedback_Rating = 2
)func (AnswerFeedback_Rating) Descriptor
func (AnswerFeedback_Rating) Descriptor() protoreflect.EnumDescriptorfunc (AnswerFeedback_Rating) Enum
func (x AnswerFeedback_Rating) Enum() *AnswerFeedback_Ratingfunc (AnswerFeedback_Rating) EnumDescriptor
func (AnswerFeedback_Rating) EnumDescriptor() ([]byte, []int)Deprecated: Use AnswerFeedback_Rating.Descriptor instead.
func (AnswerFeedback_Rating) Number
func (x AnswerFeedback_Rating) Number() protoreflect.EnumNumberfunc (AnswerFeedback_Rating) String
func (x AnswerFeedback_Rating) String() stringfunc (AnswerFeedback_Rating) Type
func (AnswerFeedback_Rating) Type() protoreflect.EnumTypeAnswerFeedback_RatingReason
type AnswerFeedback_RatingReason struct {
// Optional. Custom reason labels for thumbs down rating provided by the
// user. The maximum number of labels allowed is 10 and the maximum length
// of a single label is 128 characters.
ReasonLabels []string `protobuf:"bytes,3,rep,name=reason_labels,json=reasonLabels,proto3" json:"reason_labels,omitempty"`
// Optional. Additional feedback about the rating.
// This field can be populated without choosing a predefined `reason`.
Feedback string `protobuf:"bytes,2,opt,name=feedback,proto3" json:"feedback,omitempty"`
// contains filtered or unexported fields
}Stores extra information about why users provided thumbs down rating.
func (*AnswerFeedback_RatingReason) Descriptor
func (*AnswerFeedback_RatingReason) Descriptor() ([]byte, []int)Deprecated: Use AnswerFeedback_RatingReason.ProtoReflect.Descriptor instead.
func (*AnswerFeedback_RatingReason) GetFeedback
func (x *AnswerFeedback_RatingReason) GetFeedback() stringfunc (*AnswerFeedback_RatingReason) GetReasonLabels
func (x *AnswerFeedback_RatingReason) GetReasonLabels() []stringfunc (*AnswerFeedback_RatingReason) ProtoMessage
func (*AnswerFeedback_RatingReason) ProtoMessage()func (*AnswerFeedback_RatingReason) ProtoReflect
func (x *AnswerFeedback_RatingReason) ProtoReflect() protoreflect.Messagefunc (*AnswerFeedback_RatingReason) Reset
func (x *AnswerFeedback_RatingReason) Reset()func (*AnswerFeedback_RatingReason) String
func (x *AnswerFeedback_RatingReason) String() stringAudioEncoding
type AudioEncoding int32Audio encoding of the audio content sent in the conversational query request. Refer to the Cloud Speech API documentation for more details.
AudioEncoding_AUDIO_ENCODING_UNSPECIFIED, AudioEncoding_AUDIO_ENCODING_LINEAR_16, AudioEncoding_AUDIO_ENCODING_FLAC, AudioEncoding_AUDIO_ENCODING_MULAW, AudioEncoding_AUDIO_ENCODING_AMR, AudioEncoding_AUDIO_ENCODING_AMR_WB, AudioEncoding_AUDIO_ENCODING_OGG_OPUS, AudioEncoding_AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE, AudioEncoding_AUDIO_ENCODING_ALAW
const (
// Not specified.
AudioEncoding_AUDIO_ENCODING_UNSPECIFIED AudioEncoding = 0
// Uncompressed 16-bit signed little-endian samples (Linear PCM).
// LINT: LEGACY_NAMES
AudioEncoding_AUDIO_ENCODING_LINEAR_16 AudioEncoding = 1
// [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio
// Codec) is the recommended encoding because it is lossless (therefore
// recognition is not compromised) and requires only about half the
// bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and
// 24-bit samples, however, not all fields in `STREAMINFO` are supported.
AudioEncoding_AUDIO_ENCODING_FLAC AudioEncoding = 2
// 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.
AudioEncoding_AUDIO_ENCODING_MULAW AudioEncoding = 3
// Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.
AudioEncoding_AUDIO_ENCODING_AMR AudioEncoding = 4
// Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.
AudioEncoding_AUDIO_ENCODING_AMR_WB AudioEncoding = 5
// Opus encoded audio frames in Ogg container
// ([OggOpus](https://wiki.xiph.org/OggOpus)).
// `sample_rate_hertz` must be 16000.
AudioEncoding_AUDIO_ENCODING_OGG_OPUS AudioEncoding = 6
// Although the use of lossy encodings is not recommended, if a very low
// bitrate encoding is required, `OGG_OPUS` is highly preferred over
// Speex encoding. The [Speex](https://speex.org/) encoding supported by
// Dialogflow API has a header byte in each block, as in MIME type
// `audio/x-speex-with-header-byte`.
// It is a variant of the RTP Speex encoding defined in
// [RFC 5574](https://tools.ietf.org/html/rfc5574).
// The stream is a sequence of blocks, one block per RTP packet. Each block
// starts with a byte containing the length of the block, in bytes, followed
// by one or more frames of Speex data, padded to an integral number of
// bytes (octets) as specified in RFC 5574. In other words, each RTP header
// is replaced with a single byte containing the block length. Only Speex
// wideband is supported. `sample_rate_hertz` must be 16000.
AudioEncoding_AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE AudioEncoding = 7
// 8-bit samples that compand 13-bit audio samples using G.711 PCMU/a-law.
AudioEncoding_AUDIO_ENCODING_ALAW AudioEncoding = 8
)func (AudioEncoding) Descriptor
func (AudioEncoding) Descriptor() protoreflect.EnumDescriptorfunc (AudioEncoding) Enum
func (x AudioEncoding) Enum() *AudioEncodingfunc (AudioEncoding) EnumDescriptor
func (AudioEncoding) EnumDescriptor() ([]byte, []int)Deprecated: Use AudioEncoding.Descriptor instead.
func (AudioEncoding) Number
func (x AudioEncoding) Number() protoreflect.EnumNumberfunc (AudioEncoding) String
func (x AudioEncoding) String() stringfunc (AudioEncoding) Type
func (AudioEncoding) Type() protoreflect.EnumTypeAudioInput
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"`
// The natural language speech audio to be processed.
// A single request can contain up to 2 minutes of speech audio data.
// The [transcribed
// text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain
// more than 256 bytes.
//
// For non-streaming audio detect intent, both `config` and `audio` must be
// provided.
// For streaming audio detect intent, `config` must be provided in
// the first request and `audio` must be provided in all following requests.
Audio []byte `protobuf:"bytes,2,opt,name=audio,proto3" json:"audio,omitempty"`
// contains filtered or unexported fields
}Represents the natural speech audio to be processed.
func (*AudioInput) Descriptor
func (*AudioInput) Descriptor() ([]byte, []int)Deprecated: Use AudioInput.ProtoReflect.Descriptor instead.
func (*AudioInput) GetAudio
func (x *AudioInput) GetAudio() []bytefunc (*AudioInput) GetConfig
func (x *AudioInput) GetConfig() *InputAudioConfigfunc (*AudioInput) ProtoMessage
func (*AudioInput) ProtoMessage()func (*AudioInput) ProtoReflect
func (x *AudioInput) ProtoReflect() protoreflect.Messagefunc (*AudioInput) Reset
func (x *AudioInput) Reset()func (*AudioInput) String
func (x *AudioInput) String() stringBargeInConfig
type BargeInConfig struct {
// Duration that is not eligible for barge-in at the beginning of the input
// audio.
NoBargeInDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=no_barge_in_duration,json=noBargeInDuration,proto3" json:"no_barge_in_duration,omitempty"`
// Total duration for the playback at the beginning of the input audio.
TotalDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=total_duration,json=totalDuration,proto3" json:"total_duration,omitempty"`
// contains filtered or unexported fields
}Configuration of the barge-in behavior. Barge-in instructs the API to return a detected utterance at a proper time while the client is playing back the response audio from a previous request. When the client sees the utterance, it should stop the playback and immediately get ready for receiving the responses for the current request.
The barge-in handling requires the client to start streaming audio input as soon as it starts playing back the audio from the previous response. The playback is modeled into two phases:
No barge-in phase: which goes first and during which speech detection should not be carried out.
Barge-in phase: which follows the no barge-in phase and during which the API starts speech detection and may inform the client that an utterance has been detected. Note that no-speech event is not expected in this phase.
The client provides this configuration in terms of the durations of those two phases. The durations are measured in terms of the audio length from the start of the input audio.
No-speech event is a response with END_OF_UTTERANCE without any transcript following up.
func (*BargeInConfig) Descriptor
func (*BargeInConfig) Descriptor() ([]byte, []int)Deprecated: Use BargeInConfig.ProtoReflect.Descriptor instead.
func (*BargeInConfig) GetNoBargeInDuration
func (x *BargeInConfig) GetNoBargeInDuration() *durationpb.Durationfunc (*BargeInConfig) GetTotalDuration
func (x *BargeInConfig) GetTotalDuration() *durationpb.Durationfunc (*BargeInConfig) ProtoMessage
func (*BargeInConfig) ProtoMessage()func (*BargeInConfig) ProtoReflect
func (x *BargeInConfig) ProtoReflect() protoreflect.Messagefunc (*BargeInConfig) Reset
func (x *BargeInConfig) Reset()func (*BargeInConfig) String
func (x *BargeInConfig) String() stringBatchDeleteTestCasesRequest
type BatchDeleteTestCasesRequest struct {
// Required. The agent to delete test cases from.
// Format: `projects/The request message for [TestCases.BatchDeleteTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchDeleteTestCases].
func (*BatchDeleteTestCasesRequest) Descriptor
func (*BatchDeleteTestCasesRequest) Descriptor() ([]byte, []int)Deprecated: Use BatchDeleteTestCasesRequest.ProtoReflect.Descriptor instead.
func (*BatchDeleteTestCasesRequest) GetNames
func (x *BatchDeleteTestCasesRequest) GetNames() []stringfunc (*BatchDeleteTestCasesRequest) GetParent
func (x *BatchDeleteTestCasesRequest) GetParent() stringfunc (*BatchDeleteTestCasesRequest) ProtoMessage
func (*BatchDeleteTestCasesRequest) ProtoMessage()func (*BatchDeleteTestCasesRequest) ProtoReflect
func (x *BatchDeleteTestCasesRequest) ProtoReflect() protoreflect.Messagefunc (*BatchDeleteTestCasesRequest) Reset
func (x *BatchDeleteTestCasesRequest) Reset()func (*BatchDeleteTestCasesRequest) String
func (x *BatchDeleteTestCasesRequest) String() stringBatchRunTestCasesMetadata
type BatchRunTestCasesMetadata struct {
// The test errors.
Errors []*TestError `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
// contains filtered or unexported fields
}Metadata returned for the [TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases] long running operation.
func (*BatchRunTestCasesMetadata) Descriptor
func (*BatchRunTestCasesMetadata) Descriptor() ([]byte, []int)Deprecated: Use BatchRunTestCasesMetadata.ProtoReflect.Descriptor instead.
func (*BatchRunTestCasesMetadata) GetErrors
func (x *BatchRunTestCasesMetadata) GetErrors() []*TestErrorfunc (*BatchRunTestCasesMetadata) ProtoMessage
func (*BatchRunTestCasesMetadata) ProtoMessage()func (*BatchRunTestCasesMetadata) ProtoReflect
func (x *BatchRunTestCasesMetadata) ProtoReflect() protoreflect.Messagefunc (*BatchRunTestCasesMetadata) Reset
func (x *BatchRunTestCasesMetadata) Reset()func (*BatchRunTestCasesMetadata) String
func (x *BatchRunTestCasesMetadata) String() stringBatchRunTestCasesRequest
type BatchRunTestCasesRequest struct {
// Required. Agent name. Format:
// `projects/The request message for [TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases].
func (*BatchRunTestCasesRequest) Descriptor
func (*BatchRunTestCasesRequest) Descriptor() ([]byte, []int)Deprecated: Use BatchRunTestCasesRequest.ProtoReflect.Descriptor instead.
func (*BatchRunTestCasesRequest) GetEnvironment
func (x *BatchRunTestCasesRequest) GetEnvironment() stringfunc (*BatchRunTestCasesRequest) GetParent
func (x *BatchRunTestCasesRequest) GetParent() stringfunc (*BatchRunTestCasesRequest) GetTestCases
func (x *BatchRunTestCasesRequest) GetTestCases() []stringfunc (*BatchRunTestCasesRequest) ProtoMessage
func (*BatchRunTestCasesRequest) ProtoMessage()func (*BatchRunTestCasesRequest) ProtoReflect
func (x *BatchRunTestCasesRequest) ProtoReflect() protoreflect.Messagefunc (*BatchRunTestCasesRequest) Reset
func (x *BatchRunTestCasesRequest) Reset()func (*BatchRunTestCasesRequest) String
func (x *BatchRunTestCasesRequest) String() stringBatchRunTestCasesResponse
type BatchRunTestCasesResponse struct {
// The test case results. The detailed
// [conversation
// turns][google.cloud.dialogflow.cx.v3.TestCaseResult.conversation_turns] are
// empty in this response.
Results []*TestCaseResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
// contains filtered or unexported fields
}The response message for [TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases].
func (*BatchRunTestCasesResponse) Descriptor
func (*BatchRunTestCasesResponse) Descriptor() ([]byte, []int)Deprecated: Use BatchRunTestCasesResponse.ProtoReflect.Descriptor instead.
func (*BatchRunTestCasesResponse) GetResults
func (x *BatchRunTestCasesResponse) GetResults() []*TestCaseResultfunc (*BatchRunTestCasesResponse) ProtoMessage
func (*BatchRunTestCasesResponse) ProtoMessage()func (*BatchRunTestCasesResponse) ProtoReflect
func (x *BatchRunTestCasesResponse) ProtoReflect() protoreflect.Messagefunc (*BatchRunTestCasesResponse) Reset
func (x *BatchRunTestCasesResponse) Reset()func (*BatchRunTestCasesResponse) String
func (x *BatchRunTestCasesResponse) String() stringBoostSpec
type BoostSpec struct {
// Optional. Condition boost specifications. If a document matches multiple
// conditions in the specifications, boost scores from these specifications
// are all applied and combined in a non-linear way. Maximum number of
// specifications is 20.
ConditionBoostSpecs []*BoostSpec_ConditionBoostSpec `protobuf:"bytes,1,rep,name=condition_boost_specs,json=conditionBoostSpecs,proto3" json:"condition_boost_specs,omitempty"`
// contains filtered or unexported fields
}Boost specification to boost certain documents. A copy of google.cloud.discoveryengine.v1main.BoostSpec, field documentation is available at https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/BoostSpec
func (*BoostSpec) Descriptor
Deprecated: Use BoostSpec.ProtoReflect.Descriptor instead.
func (*BoostSpec) GetConditionBoostSpecs
func (x *BoostSpec) GetConditionBoostSpecs() []*BoostSpec_ConditionBoostSpecfunc (*BoostSpec) ProtoMessage
func (*BoostSpec) ProtoMessage()func (*BoostSpec) ProtoReflect
func (x *BoostSpec) ProtoReflect() protoreflect.Messagefunc (*BoostSpec) Reset
func (x *BoostSpec) Reset()func (*BoostSpec) String
BoostSpec_ConditionBoostSpec
type BoostSpec_ConditionBoostSpec struct {
// Optional. An expression which specifies a boost condition. The syntax and
// supported fields are the same as a filter expression.
// Examples:
//
// * To boost documents with document ID "doc_1" or "doc_2", and
// color
//
// "Red" or "Blue":
// * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue"))
Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
// Optional. Strength of the condition boost, which should be in [-1, 1].
// Negative boost means demotion. Default is 0.0.
//
// Setting to 1.0 gives the document a big promotion. However, it does not
// necessarily mean that the boosted document will be the top result at
// all times, nor that other documents will be excluded. Results could
// still be shown even when none of them matches the condition. And
// results that are significantly more relevant to the search query can
// still trump your heavily favored but irrelevant documents.
//
// Setting to -1.0 gives the document a big demotion. However, results
// that are deeply relevant might still be shown. The document will have
// an upstream battle to get a fairly high ranking, but it is not blocked
// out completely.
//
// Setting to 0.0 means no boost applied. The boosting condition is
// ignored.
Boost float32 `protobuf:"fixed32,2,opt,name=boost,proto3" json:"boost,omitempty"`
// Optional. Complex specification for custom ranking based on customer
// defined attribute value.
BoostControlSpec *BoostSpec_ConditionBoostSpec_BoostControlSpec `protobuf:"bytes,4,opt,name=boost_control_spec,json=boostControlSpec,proto3" json:"boost_control_spec,omitempty"`
// contains filtered or unexported fields
}Boost applies to documents which match a condition.
func (*BoostSpec_ConditionBoostSpec) Descriptor
func (*BoostSpec_ConditionBoostSpec) Descriptor() ([]byte, []int)Deprecated: Use BoostSpec_ConditionBoostSpec.ProtoReflect.Descriptor instead.
func (*BoostSpec_ConditionBoostSpec) GetBoost
func (x *BoostSpec_ConditionBoostSpec) GetBoost() float32func (*BoostSpec_ConditionBoostSpec) GetBoostControlSpec
func (x *BoostSpec_ConditionBoostSpec) GetBoostControlSpec() *BoostSpec_ConditionBoostSpec_BoostControlSpecfunc (*BoostSpec_ConditionBoostSpec) GetCondition
func (x *BoostSpec_ConditionBoostSpec) GetCondition() stringfunc (*BoostSpec_ConditionBoostSpec) ProtoMessage
func (*BoostSpec_ConditionBoostSpec) ProtoMessage()func (*BoostSpec_ConditionBoostSpec) ProtoReflect
func (x *BoostSpec_ConditionBoostSpec) ProtoReflect() protoreflect.Messagefunc (*BoostSpec_ConditionBoostSpec) Reset
func (x *BoostSpec_ConditionBoostSpec) Reset()func (*BoostSpec_ConditionBoostSpec) String
func (x *BoostSpec_ConditionBoostSpec) String() stringBoostSpec_ConditionBoostSpec_BoostControlSpec
type BoostSpec_ConditionBoostSpec_BoostControlSpec struct {
// Optional. The name of the field whose value will be used to determine
// the boost amount.
FieldName string `protobuf:"bytes,1,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
// Optional. The attribute type to be used to determine the boost amount.
// The attribute value can be derived from the field value of the
// specified field_name. In the case of numerical it is straightforward
// i.e. attribute_value = numerical_field_value. In the case of freshness
// however, attribute_value = (time.now() - datetime_field_value).
AttributeType BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType `protobuf:"varint,2,opt,name=attribute_type,json=attributeType,proto3,enum=google.cloud.dialogflow.cx.v3.BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType" json:"attribute_type,omitempty"`
// Optional. The interpolation type to be applied to connect the control
// points listed below.
InterpolationType BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType `protobuf:"varint,3,opt,name=interpolation_type,json=interpolationType,proto3,enum=google.cloud.dialogflow.cx.v3.BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType" json:"interpolation_type,omitempty"`
// Optional. The control points used to define the curve. The monotonic
// function (defined through the interpolation_type above) passes through
// the control points listed here.
ControlPoints []*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint `protobuf:"bytes,4,rep,name=control_points,json=controlPoints,proto3" json:"control_points,omitempty"`
// contains filtered or unexported fields
}Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) Descriptor
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) Descriptor() ([]byte, []int)Deprecated: Use BoostSpec_ConditionBoostSpec_BoostControlSpec.ProtoReflect.Descriptor instead.
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) GetAttributeType
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) GetAttributeType() BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeTypefunc (*BoostSpec_ConditionBoostSpec_BoostControlSpec) GetControlPoints
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) GetControlPoints() []*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPointfunc (*BoostSpec_ConditionBoostSpec_BoostControlSpec) GetFieldName
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) GetFieldName() stringfunc (*BoostSpec_ConditionBoostSpec_BoostControlSpec) GetInterpolationType
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) GetInterpolationType() BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationTypefunc (*BoostSpec_ConditionBoostSpec_BoostControlSpec) ProtoMessage
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) ProtoMessage()func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) ProtoReflect
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) ProtoReflect() protoreflect.Messagefunc (*BoostSpec_ConditionBoostSpec_BoostControlSpec) Reset
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) Reset()func (*BoostSpec_ConditionBoostSpec_BoostControlSpec) String
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec) String() stringBoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType
type BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType int32The attribute(or function) for which the custom ranking is to be applied.
BoostSpec_ConditionBoostSpec_BoostControlSpec_ATTRIBUTE_TYPE_UNSPECIFIED, BoostSpec_ConditionBoostSpec_BoostControlSpec_NUMERICAL, BoostSpec_ConditionBoostSpec_BoostControlSpec_FRESHNESS
const (
// Unspecified AttributeType.
BoostSpec_ConditionBoostSpec_BoostControlSpec_ATTRIBUTE_TYPE_UNSPECIFIED BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType = 0
// The value of the numerical field will be used to dynamically update
// the boost amount. In this case, the attribute_value (the x value)
// of the control point will be the actual value of the numerical
// field for which the boost_amount is specified.
BoostSpec_ConditionBoostSpec_BoostControlSpec_NUMERICAL BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType = 1
// For the freshness use case the attribute value will be the duration
// between the current time and the date in the datetime field
// specified. The value must be formatted as an XSD `dayTimeDuration`
// value (a restricted subset of an ISO 8601 duration value). The
// pattern for this is: `[nD][T[nH][nM][nS]]`.
// E.g. `5D`, `3DT12H30M`, `T24H`.
BoostSpec_ConditionBoostSpec_BoostControlSpec_FRESHNESS BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType = 2
)func (BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Descriptor
func (BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Descriptor() protoreflect.EnumDescriptorfunc (BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Enum
func (x BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Enum() *BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeTypefunc (BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) EnumDescriptor
func (BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) EnumDescriptor() ([]byte, []int)Deprecated: Use BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType.Descriptor instead.
func (BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Number
func (x BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Number() protoreflect.EnumNumberfunc (BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) String
func (x BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) String() stringfunc (BoostSpec_ConditionBoostSpec_BoostControlSpec_AttributeType) Type
BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint
type BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint struct {
// Optional. Can be one of:
// 1. The numerical field value.
// 2. The duration spec for freshness:
// The value must be formatted as an XSD `dayTimeDuration` value (a
// restricted subset of an ISO 8601 duration value). The pattern for
// this is: `[nD][T[nH][nM][nS]]`.
AttributeValue string `protobuf:"bytes,1,opt,name=attribute_value,json=attributeValue,proto3" json:"attribute_value,omitempty"`
// Optional. The value between -1 to 1 by which to boost the score if
// the attribute_value evaluates to the value specified above.
BoostAmount float32 `protobuf:"fixed32,2,opt,name=boost_amount,json=boostAmount,proto3" json:"boost_amount,omitempty"`
// contains filtered or unexported fields
}The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) Descriptor
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) Descriptor() ([]byte, []int)Deprecated: Use BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint.ProtoReflect.Descriptor instead.
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) GetAttributeValue
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) GetAttributeValue() stringfunc (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) GetBoostAmount
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) GetBoostAmount() float32func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) ProtoMessage
func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) ProtoMessage()func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) ProtoReflect
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) ProtoReflect() protoreflect.Messagefunc (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) Reset
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) Reset()func (*BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) String
func (x *BoostSpec_ConditionBoostSpec_BoostControlSpec_ControlPoint) String() stringBoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType
type BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType int32The interpolation type to be applied. Default will be linear (Piecewise Linear).
BoostSpec_ConditionBoostSpec_BoostControlSpec_INTERPOLATION_TYPE_UNSPECIFIED, BoostSpec_ConditionBoostSpec_BoostControlSpec_LINEAR
const (
// Interpolation type is unspecified. In this case, it defaults to
// Linear.
BoostSpec_ConditionBoostSpec_BoostControlSpec_INTERPOLATION_TYPE_UNSPECIFIED BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType = 0
// Piecewise linear interpolation will be applied.
BoostSpec_ConditionBoostSpec_BoostControlSpec_LINEAR BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType = 1
)func (BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Descriptor
func (BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Descriptor() protoreflect.EnumDescriptorfunc (BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Enum
func (x BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Enum() *BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationTypefunc (BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) EnumDescriptor
func (BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) EnumDescriptor() ([]byte, []int)Deprecated: Use BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType.Descriptor instead.
func (BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Number
func (x BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Number() protoreflect.EnumNumberfunc (BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) String
func (x BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) String() stringfunc (BoostSpec_ConditionBoostSpec_BoostControlSpec_InterpolationType) Type
BoostSpecs
type BoostSpecs struct {
// Optional. Data Stores where the boosting configuration is applied. The full
// names of the referenced data stores. Formats:
// `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
// `projects/{project}/locations/{location}/dataStores/{data_store}`
DataStores []string `protobuf:"bytes,1,rep,name=data_stores,json=dataStores,proto3" json:"data_stores,omitempty"`
// Optional. A list of boosting specifications.
Spec []*BoostSpec `protobuf:"bytes,2,rep,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}Boost specifications for data stores.
func (*BoostSpecs) Descriptor
func (*BoostSpecs) Descriptor() ([]byte, []int)Deprecated: Use BoostSpecs.ProtoReflect.Descriptor instead.
func (*BoostSpecs) GetDataStores
func (x *BoostSpecs) GetDataStores() []stringfunc (*BoostSpecs) GetSpec
func (x *BoostSpecs) GetSpec() []*BoostSpecfunc (*BoostSpecs) ProtoMessage
func (*BoostSpecs) ProtoMessage()func (*BoostSpecs) ProtoReflect
func (x *BoostSpecs) ProtoReflect() protoreflect.Messagefunc (*BoostSpecs) Reset
func (x *BoostSpecs) Reset()func (*BoostSpecs) String
func (x *BoostSpecs) String() stringCalculateCoverageRequest
type CalculateCoverageRequest struct {
// Required. The agent to calculate coverage for.
// Format: `projects/The request message for [TestCases.CalculateCoverage][google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage].
func (*CalculateCoverageRequest) Descriptor
func (*CalculateCoverageRequest) Descriptor() ([]byte, []int)Deprecated: Use CalculateCoverageRequest.ProtoReflect.Descriptor instead.
func (*CalculateCoverageRequest) GetAgent
func (x *CalculateCoverageRequest) GetAgent() stringfunc (*CalculateCoverageRequest) GetType
func (x *CalculateCoverageRequest) GetType() CalculateCoverageRequest_CoverageTypefunc (*CalculateCoverageRequest) ProtoMessage
func (*CalculateCoverageRequest) ProtoMessage()func (*CalculateCoverageRequest) ProtoReflect
func (x *CalculateCoverageRequest) ProtoReflect() protoreflect.Messagefunc (*CalculateCoverageRequest) Reset
func (x *CalculateCoverageRequest) Reset()func (*CalculateCoverageRequest) String
func (x *CalculateCoverageRequest) String() stringCalculateCoverageRequest_CoverageType
type CalculateCoverageRequest_CoverageType int32The type of coverage score requested.
CalculateCoverageRequest_COVERAGE_TYPE_UNSPECIFIED, CalculateCoverageRequest_INTENT, CalculateCoverageRequest_PAGE_TRANSITION, CalculateCoverageRequest_TRANSITION_ROUTE_GROUP
const (
// Should never be used.
CalculateCoverageRequest_COVERAGE_TYPE_UNSPECIFIED CalculateCoverageRequest_CoverageType = 0
// Intent coverage.
CalculateCoverageRequest_INTENT CalculateCoverageRequest_CoverageType = 1
// Page transition coverage.
CalculateCoverageRequest_PAGE_TRANSITION CalculateCoverageRequest_CoverageType = 2
// Transition route group coverage.
CalculateCoverageRequest_TRANSITION_ROUTE_GROUP CalculateCoverageRequest_CoverageType = 3
)func (CalculateCoverageRequest_CoverageType) Descriptor
func (CalculateCoverageRequest_CoverageType) Descriptor() protoreflect.EnumDescriptorfunc (CalculateCoverageRequest_CoverageType) Enum
func (CalculateCoverageRequest_CoverageType) EnumDescriptor
func (CalculateCoverageRequest_CoverageType) EnumDescriptor() ([]byte, []int)Deprecated: Use CalculateCoverageRequest_CoverageType.Descriptor instead.
func (CalculateCoverageRequest_CoverageType) Number
func (x CalculateCoverageRequest_CoverageType) Number() protoreflect.EnumNumberfunc (CalculateCoverageRequest_CoverageType) String
func (x CalculateCoverageRequest_CoverageType) String() stringfunc (CalculateCoverageRequest_CoverageType) Type
func (CalculateCoverageRequest_CoverageType) Type() protoreflect.EnumTypeCalculateCoverageResponse
type CalculateCoverageResponse struct {
// The agent to calculate coverage for.
// Format: `projects/The response message for [TestCases.CalculateCoverage][google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage].
func (*CalculateCoverageResponse) Descriptor
func (*CalculateCoverageResponse) Descriptor() ([]byte, []int)Deprecated: Use CalculateCoverageResponse.ProtoReflect.Descriptor instead.
func (*CalculateCoverageResponse) GetAgent
func (x *CalculateCoverageResponse) GetAgent() stringfunc (*CalculateCoverageResponse) GetCoverageType
func (x *CalculateCoverageResponse) GetCoverageType() isCalculateCoverageResponse_CoverageTypefunc (*CalculateCoverageResponse) GetIntentCoverage
func (x *CalculateCoverageResponse) GetIntentCoverage() *IntentCoveragefunc (*CalculateCoverageResponse) GetRouteGroupCoverage
func (x *CalculateCoverageResponse) GetRouteGroupCoverage() *TransitionRouteGroupCoveragefunc (*CalculateCoverageResponse) GetTransitionCoverage
func (x *CalculateCoverageResponse) GetTransitionCoverage() *TransitionCoveragefunc (*CalculateCoverageResponse) ProtoMessage
func (*CalculateCoverageResponse) ProtoMessage()func (*CalculateCoverageResponse) ProtoReflect
func (x *CalculateCoverageResponse) ProtoReflect() protoreflect.Messagefunc (*CalculateCoverageResponse) Reset
func (x *CalculateCoverageResponse) Reset()func (*CalculateCoverageResponse) String
func (x *CalculateCoverageResponse) String() stringCalculateCoverageResponse_IntentCoverage
type CalculateCoverageResponse_IntentCoverage struct {
// Intent coverage.
IntentCoverage *IntentCoverage `protobuf:"bytes,2,opt,name=intent_coverage,json=intentCoverage,proto3,oneof"`
}CalculateCoverageResponse_RouteGroupCoverage
type CalculateCoverageResponse_RouteGroupCoverage struct {
// Transition route group coverage.
RouteGroupCoverage *TransitionRouteGroupCoverage `protobuf:"bytes,6,opt,name=route_group_coverage,json=routeGroupCoverage,proto3,oneof"`
}CalculateCoverageResponse_TransitionCoverage
type CalculateCoverageResponse_TransitionCoverage struct {
// Transition (excluding transition route groups) coverage.
TransitionCoverage *TransitionCoverage `protobuf:"bytes,4,opt,name=transition_coverage,json=transitionCoverage,proto3,oneof"`
}Changelog
type Changelog struct {
// The unique identifier of the changelog.
// Format:
// `projects/Changelogs represents a change made to a given agent.
func (*Changelog) Descriptor
Deprecated: Use Changelog.ProtoReflect.Descriptor instead.
func (*Changelog) GetAction
func (*Changelog) GetCreateTime
func (x *Changelog) GetCreateTime() *timestamppb.Timestampfunc (*Changelog) GetDisplayName
func (*Changelog) GetLanguageCode
func (*Changelog) GetName
func (*Changelog) GetResource
func (*Changelog) GetType
func (*Changelog) GetUserEmail
func (*Changelog) ProtoMessage
func (*Changelog) ProtoMessage()func (*Changelog) ProtoReflect
func (x *Changelog) ProtoReflect() protoreflect.Messagefunc (*Changelog) Reset
func (x *Changelog) Reset()func (*Changelog) String
ChangelogsClient
type ChangelogsClient interface {
// Returns the list of Changelogs.
ListChangelogs(ctx context.Context, in *ListChangelogsRequest, opts ...grpc.CallOption) (*ListChangelogsResponse, error)
// Retrieves the specified Changelog.
GetChangelog(ctx context.Context, in *GetChangelogRequest, opts ...grpc.CallOption) (*Changelog, error)
}ChangelogsClient is the client API for Changelogs 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 NewChangelogsClient
func NewChangelogsClient(cc grpc.ClientConnInterface) ChangelogsClientChangelogsServer
type ChangelogsServer interface {
// Returns the list of Changelogs.
ListChangelogs(context.Context, *ListChangelogsRequest) (*ListChangelogsResponse, error)
// Retrieves the specified Changelog.
GetChangelog(context.Context, *GetChangelogRequest) (*Changelog, error)
}ChangelogsServer is the server API for Changelogs service. All implementations should embed UnimplementedChangelogsServer for forward compatibility
CloudConversationDebuggingInfo
type CloudConversationDebuggingInfo struct {
// Number of input audio data chunks in streaming requests.
AudioDataChunks int32 `protobuf:"varint,1,opt,name=audio_data_chunks,json=audioDataChunks,proto3" json:"audio_data_chunks,omitempty"`
// Time offset of the end of speech utterance relative to the
// beginning of the first audio chunk.
ResultEndTimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=result_end_time_offset,json=resultEndTimeOffset,proto3" json:"result_end_time_offset,omitempty"`
// Duration of first audio chunk.
FirstAudioDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=first_audio_duration,json=firstAudioDuration,proto3" json:"first_audio_duration,omitempty"`
// Whether client used single utterance mode.
SingleUtterance bool `protobuf:"varint,5,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"`
// Time offsets of the speech partial results relative to the beginning of
// the stream.
SpeechPartialResultsEndTimes []*durationpb.Duration `protobuf:"bytes,6,rep,name=speech_partial_results_end_times,json=speechPartialResultsEndTimes,proto3" json:"speech_partial_results_end_times,omitempty"`
// Time offsets of the speech final results (is_final=true) relative to the
// beginning of the stream.
SpeechFinalResultsEndTimes []*durationpb.Duration `protobuf:"bytes,7,rep,name=speech_final_results_end_times,json=speechFinalResultsEndTimes,proto3" json:"speech_final_results_end_times,omitempty"`
// Total number of partial responses.
PartialResponses int32 `protobuf:"varint,8,opt,name=partial_responses,json=partialResponses,proto3" json:"partial_responses,omitempty"`
// Time offset of Speaker ID stream close time relative to the Speech stream
// close time in milliseconds. Only meaningful for conversations involving
// passive verification.
SpeakerIdPassiveLatencyMsOffset int32 `protobuf:"varint,9,opt,name=speaker_id_passive_latency_ms_offset,json=speakerIdPassiveLatencyMsOffset,proto3" json:"speaker_id_passive_latency_ms_offset,omitempty"`
// Whether a barge-in event is triggered in this request.
BargeinEventTriggered bool `protobuf:"varint,10,opt,name=bargein_event_triggered,json=bargeinEventTriggered,proto3" json:"bargein_event_triggered,omitempty"`
// Whether speech uses single utterance mode.
SpeechSingleUtterance bool `protobuf:"varint,11,opt,name=speech_single_utterance,json=speechSingleUtterance,proto3" json:"speech_single_utterance,omitempty"`
// Time offsets of the DTMF partial results relative to the beginning of
// the stream.
DtmfPartialResultsTimes []*durationpb.Duration `protobuf:"bytes,12,rep,name=dtmf_partial_results_times,json=dtmfPartialResultsTimes,proto3" json:"dtmf_partial_results_times,omitempty"`
// Time offsets of the DTMF final results relative to the beginning of
// the stream.
DtmfFinalResultsTimes []*durationpb.Duration `protobuf:"bytes,13,rep,name=dtmf_final_results_times,json=dtmfFinalResultsTimes,proto3" json:"dtmf_final_results_times,omitempty"`
// Time offset of the end-of-single-utterance signal relative to the
// beginning of the stream.
SingleUtteranceEndTimeOffset *durationpb.Duration `protobuf:"bytes,14,opt,name=single_utterance_end_time_offset,json=singleUtteranceEndTimeOffset,proto3" json:"single_utterance_end_time_offset,omitempty"`
// No speech timeout settings for the stream.
NoSpeechTimeout *durationpb.Duration `protobuf:"bytes,15,opt,name=no_speech_timeout,json=noSpeechTimeout,proto3" json:"no_speech_timeout,omitempty"`
// Speech endpointing timeout settings for the stream.
EndpointingTimeout *durationpb.Duration `protobuf:"bytes,19,opt,name=endpointing_timeout,json=endpointingTimeout,proto3" json:"endpointing_timeout,omitempty"`
// Whether the streaming terminates with an injected text query.
IsInputText bool `protobuf:"varint,16,opt,name=is_input_text,json=isInputText,proto3" json:"is_input_text,omitempty"`
// Client half close time in terms of input audio duration.
ClientHalfCloseTimeOffset *durationpb.Duration `protobuf:"bytes,17,opt,name=client_half_close_time_offset,json=clientHalfCloseTimeOffset,proto3" json:"client_half_close_time_offset,omitempty"`
// Client half close time in terms of API streaming duration.
ClientHalfCloseStreamingTimeOffset *durationpb.Duration `protobuf:"bytes,18,opt,name=client_half_close_streaming_time_offset,json=clientHalfCloseStreamingTimeOffset,proto3" json:"client_half_close_streaming_time_offset,omitempty"`
// contains filtered or unexported fields
}Cloud conversation info for easier debugging.
It will get populated in StreamingDetectIntentResponse or
StreamingAnalyzeContentResponse when the flag enable_debugging_info is
set to true in corresponding requests.
func (*CloudConversationDebuggingInfo) Descriptor
func (*CloudConversationDebuggingInfo) Descriptor() ([]byte, []int)Deprecated: Use CloudConversationDebuggingInfo.ProtoReflect.Descriptor instead.
func (*CloudConversationDebuggingInfo) GetAudioDataChunks
func (x *CloudConversationDebuggingInfo) GetAudioDataChunks() int32func (*CloudConversationDebuggingInfo) GetBargeinEventTriggered
func (x *CloudConversationDebuggingInfo) GetBargeinEventTriggered() boolfunc (*CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset
func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() *durationpb.Durationfunc (*CloudConversationDebuggingInfo) GetClientHalfCloseTimeOffset
func (x *CloudConversationDebuggingInfo) GetClientHalfCloseTimeOffset() *durationpb.Durationfunc (*CloudConversationDebuggingInfo) GetDtmfFinalResultsTimes
func (x *CloudConversationDebuggingInfo) GetDtmfFinalResultsTimes() []*durationpb.Durationfunc (*CloudConversationDebuggingInfo) GetDtmfPartialResultsTimes
func (x *CloudConversationDebuggingInfo) GetDtmfPartialResultsTimes() []*durationpb.Durationfunc (*CloudConversationDebuggingInfo) GetEndpointingTimeout
func (x *CloudConversationDebuggingInfo) GetEndpointingTimeout() *durationpb.Durationfunc (*CloudConversationDebuggingInfo) GetFirstAudioDuration
func (x *CloudConversationDebuggingInfo) GetFirstAudioDuration() *durationpb.Durationfunc (*CloudConversationDebuggingInfo) GetIsInputText
func (x *CloudConversationDebuggingInfo) GetIsInputText() boolfunc (*CloudConversationDebuggingInfo) GetNoSpeechTimeout
func (x *CloudConversationDebuggingInfo) GetNoSpeechTimeout() *durationpb.Durationfunc (*CloudConversationDebuggingInfo) GetPartialResponses
func (x *CloudConversationDebuggingInfo) GetPartialResponses() int32func (*CloudConversationDebuggingInfo) GetResultEndTimeOffset
func (x *CloudConversationDebuggingInfo) GetResultEndTimeOffset() *durationpb.Durationfunc (*CloudConversationDebuggingInfo) GetSingleUtterance
func (x *CloudConversationDebuggingInfo) GetSingleUtterance() boolfunc (*CloudConversationDebuggingInfo) GetSingleUtteranceEndTimeOffset
func (x *CloudConversationDebuggingInfo) GetSingleUtteranceEndTimeOffset() *durationpb.Durationfunc (*CloudConversationDebuggingInfo) GetSpeakerIdPassiveLatencyMsOffset
func (x *CloudConversationDebuggingInfo) GetSpeakerIdPassiveLatencyMsOffset() int32func (*CloudConversationDebuggingInfo) GetSpeechFinalResultsEndTimes
func (x *CloudConversationDebuggingInfo) GetSpeechFinalResultsEndTimes() []*durationpb.Durationfunc (*CloudConversationDebuggingInfo) GetSpeechPartialResultsEndTimes
func (x *CloudConversationDebuggingInfo) GetSpeechPartialResultsEndTimes() []*durationpb.Durationfunc (*CloudConversationDebuggingInfo) GetSpeechSingleUtterance
func (x *CloudConversationDebuggingInfo) GetSpeechSingleUtterance() boolfunc (*CloudConversationDebuggingInfo) ProtoMessage
func (*CloudConversationDebuggingInfo) ProtoMessage()func (*CloudConversationDebuggingInfo) ProtoReflect
func (x *CloudConversationDebuggingInfo) ProtoReflect() protoreflect.Messagefunc (*CloudConversationDebuggingInfo) Reset
func (x *CloudConversationDebuggingInfo) Reset()func (*CloudConversationDebuggingInfo) String
func (x *CloudConversationDebuggingInfo) String() stringCodeBlock
type CodeBlock struct {
// Optional. Source code of the block in Python.
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
// contains filtered or unexported fields
}Represents a code block.
func (*CodeBlock) Descriptor
Deprecated: Use CodeBlock.ProtoReflect.Descriptor instead.
func (*CodeBlock) GetCode
func (*CodeBlock) ProtoMessage
func (*CodeBlock) ProtoMessage()func (*CodeBlock) ProtoReflect
func (x *CodeBlock) ProtoReflect() protoreflect.Messagefunc (*CodeBlock) Reset
func (x *CodeBlock) Reset()func (*CodeBlock) String
CompareVersionsRequest
type CompareVersionsRequest struct {
// Required. Name of the base flow version to compare with the target version.
// Use version ID `0` to indicate the draft version of the specified flow.
//
// Format:
// `projects/The request message for [Versions.CompareVersions][google.cloud.dialogflow.cx.v3.Versions.CompareVersions].
func (*CompareVersionsRequest) Descriptor
func (*CompareVersionsRequest) Descriptor() ([]byte, []int)Deprecated: Use CompareVersionsRequest.ProtoReflect.Descriptor instead.
func (*CompareVersionsRequest) GetBaseVersion
func (x *CompareVersionsRequest) GetBaseVersion() stringfunc (*CompareVersionsRequest) GetLanguageCode
func (x *CompareVersionsRequest) GetLanguageCode() stringfunc (*CompareVersionsRequest) GetTargetVersion
func (x *CompareVersionsRequest) GetTargetVersion() stringfunc (*CompareVersionsRequest) ProtoMessage
func (*CompareVersionsRequest) ProtoMessage()func (*CompareVersionsRequest) ProtoReflect
func (x *CompareVersionsRequest) ProtoReflect() protoreflect.Messagefunc (*CompareVersionsRequest) Reset
func (x *CompareVersionsRequest) Reset()func (*CompareVersionsRequest) String
func (x *CompareVersionsRequest) String() stringCompareVersionsResponse
type CompareVersionsResponse struct {
// JSON representation of the base version content.
BaseVersionContentJson string `protobuf:"bytes,1,opt,name=base_version_content_json,json=baseVersionContentJson,proto3" json:"base_version_content_json,omitempty"`
// JSON representation of the target version content.
TargetVersionContentJson string `protobuf:"bytes,2,opt,name=target_version_content_json,json=targetVersionContentJson,proto3" json:"target_version_content_json,omitempty"`
// The timestamp when the two version compares.
CompareTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=compare_time,json=compareTime,proto3" json:"compare_time,omitempty"`
// contains filtered or unexported fields
}The response message for [Versions.CompareVersions][google.cloud.dialogflow.cx.v3.Versions.CompareVersions].
func (*CompareVersionsResponse) Descriptor
func (*CompareVersionsResponse) Descriptor() ([]byte, []int)Deprecated: Use CompareVersionsResponse.ProtoReflect.Descriptor instead.
func (*CompareVersionsResponse) GetBaseVersionContentJson
func (x *CompareVersionsResponse) GetBaseVersionContentJson() stringfunc (*CompareVersionsResponse) GetCompareTime
func (x *CompareVersionsResponse) GetCompareTime() *timestamppb.Timestampfunc (*CompareVersionsResponse) GetTargetVersionContentJson
func (x *CompareVersionsResponse) GetTargetVersionContentJson() stringfunc (*CompareVersionsResponse) ProtoMessage
func (*CompareVersionsResponse) ProtoMessage()func (*CompareVersionsResponse) ProtoReflect
func (x *CompareVersionsResponse) ProtoReflect() protoreflect.Messagefunc (*CompareVersionsResponse) Reset
func (x *CompareVersionsResponse) Reset()func (*CompareVersionsResponse) String
func (x *CompareVersionsResponse) String() stringContinuousTestResult
type ContinuousTestResult struct {
// The resource name for the continuous test result. Format:
// `projects/Represents a result from running a test case in an agent environment.
func (*ContinuousTestResult) Descriptor
func (*ContinuousTestResult) Descriptor() ([]byte, []int)Deprecated: Use ContinuousTestResult.ProtoReflect.Descriptor instead.
func (*ContinuousTestResult) GetName
func (x *ContinuousTestResult) GetName() stringfunc (*ContinuousTestResult) GetResult
func (x *ContinuousTestResult) GetResult() ContinuousTestResult_AggregatedTestResultfunc (*ContinuousTestResult) GetRunTime
func (x *ContinuousTestResult) GetRunTime() *timestamppb.Timestampfunc (*ContinuousTestResult) GetTestCaseResults
func (x *ContinuousTestResult) GetTestCaseResults() []stringfunc (*ContinuousTestResult) ProtoMessage
func (*ContinuousTestResult) ProtoMessage()func (*ContinuousTestResult) ProtoReflect
func (x *ContinuousTestResult) ProtoReflect() protoreflect.Messagefunc (*ContinuousTestResult) Reset
func (x *ContinuousTestResult) Reset()func (*ContinuousTestResult) String
func (x *ContinuousTestResult) String() stringContinuousTestResult_AggregatedTestResult
type ContinuousTestResult_AggregatedTestResult int32The overall result for a continuous test run in an agent environment.
ContinuousTestResult_AGGREGATED_TEST_RESULT_UNSPECIFIED, ContinuousTestResult_PASSED, ContinuousTestResult_FAILED
const (
// Not specified. Should never be used.
ContinuousTestResult_AGGREGATED_TEST_RESULT_UNSPECIFIED ContinuousTestResult_AggregatedTestResult = 0
// All the tests passed.
ContinuousTestResult_PASSED ContinuousTestResult_AggregatedTestResult = 1
// At least one test did not pass.
ContinuousTestResult_FAILED ContinuousTestResult_AggregatedTestResult = 2
)func (ContinuousTestResult_AggregatedTestResult) Descriptor
func (ContinuousTestResult_AggregatedTestResult) Descriptor() protoreflect.EnumDescriptorfunc (ContinuousTestResult_AggregatedTestResult) Enum
func (x ContinuousTestResult_AggregatedTestResult) Enum() *ContinuousTestResult_AggregatedTestResultfunc (ContinuousTestResult_AggregatedTestResult) EnumDescriptor
func (ContinuousTestResult_AggregatedTestResult) EnumDescriptor() ([]byte, []int)Deprecated: Use ContinuousTestResult_AggregatedTestResult.Descriptor instead.
func (ContinuousTestResult_AggregatedTestResult) Number
func (x ContinuousTestResult_AggregatedTestResult) Number() protoreflect.EnumNumberfunc (ContinuousTestResult_AggregatedTestResult) String
func (x ContinuousTestResult_AggregatedTestResult) String() stringfunc (ContinuousTestResult_AggregatedTestResult) Type
func (ContinuousTestResult_AggregatedTestResult) Type() protoreflect.EnumTypeConversationTurn
type ConversationTurn struct {
// The user input.
UserInput *ConversationTurn_UserInput `protobuf:"bytes,1,opt,name=user_input,json=userInput,proto3" json:"user_input,omitempty"`
// The virtual agent output.
VirtualAgentOutput *ConversationTurn_VirtualAgentOutput `protobuf:"bytes,2,opt,name=virtual_agent_output,json=virtualAgentOutput,proto3" json:"virtual_agent_output,omitempty"`
// contains filtered or unexported fields
}One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.
func (*ConversationTurn) Descriptor
func (*ConversationTurn) Descriptor() ([]byte, []int)Deprecated: Use ConversationTurn.ProtoReflect.Descriptor instead.
func (*ConversationTurn) GetUserInput
func (x *ConversationTurn) GetUserInput() *ConversationTurn_UserInputfunc (*ConversationTurn) GetVirtualAgentOutput
func (x *ConversationTurn) GetVirtualAgentOutput() *ConversationTurn_VirtualAgentOutputfunc (*ConversationTurn) ProtoMessage
func (*ConversationTurn) ProtoMessage()func (*ConversationTurn) ProtoReflect
func (x *ConversationTurn) ProtoReflect() protoreflect.Messagefunc (*ConversationTurn) Reset
func (x *ConversationTurn) Reset()func (*ConversationTurn) String
func (x *ConversationTurn) String() stringConversationTurn_UserInput
type ConversationTurn_UserInput struct {
// Supports [text input][google.cloud.dialogflow.cx.v3.QueryInput.text],
// [event input][google.cloud.dialogflow.cx.v3.QueryInput.event], [dtmf
// input][google.cloud.dialogflow.cx.v3.QueryInput.dtmf] in the test case.
Input *QueryInput `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"`
// Parameters that need to be injected into the conversation during intent
// detection.
InjectedParameters *structpb.Struct `protobuf:"bytes,2,opt,name=injected_parameters,json=injectedParameters,proto3" json:"injected_parameters,omitempty"`
// If webhooks should be allowed to trigger in response to the user
// utterance. Often if parameters are injected, webhooks should not be
// enabled.
IsWebhookEnabled bool `protobuf:"varint,3,opt,name=is_webhook_enabled,json=isWebhookEnabled,proto3" json:"is_webhook_enabled,omitempty"`
// Whether sentiment analysis is enabled.
EnableSentimentAnalysis bool `protobuf:"varint,7,opt,name=enable_sentiment_analysis,json=enableSentimentAnalysis,proto3" json:"enable_sentiment_analysis,omitempty"`
// contains filtered or unexported fields
}The input from the human user.
func (*ConversationTurn_UserInput) Descriptor
func (*ConversationTurn_UserInput) Descriptor() ([]byte, []int)Deprecated: Use ConversationTurn_UserInput.ProtoReflect.Descriptor instead.
func (*ConversationTurn_UserInput) GetEnableSentimentAnalysis
func (x *ConversationTurn_UserInput) GetEnableSentimentAnalysis() boolfunc (*ConversationTurn_UserInput) GetInjectedParameters
func (x *ConversationTurn_UserInput) GetInjectedParameters() *structpb.Structfunc (*ConversationTurn_UserInput) GetInput
func (x *ConversationTurn_UserInput) GetInput() *QueryInputfunc (*ConversationTurn_UserInput) GetIsWebhookEnabled
func (x *ConversationTurn_UserInput) GetIsWebhookEnabled() boolfunc (*ConversationTurn_UserInput) ProtoMessage
func (*ConversationTurn_UserInput) ProtoMessage()func (*ConversationTurn_UserInput) ProtoReflect
func (x *ConversationTurn_UserInput) ProtoReflect() protoreflect.Messagefunc (*ConversationTurn_UserInput) Reset
func (x *ConversationTurn_UserInput) Reset()func (*ConversationTurn_UserInput) String
func (x *ConversationTurn_UserInput) String() stringConversationTurn_VirtualAgentOutput
type ConversationTurn_VirtualAgentOutput struct {
// The session parameters available to the bot at this point.
SessionParameters *structpb.Struct `protobuf:"bytes,4,opt,name=session_parameters,json=sessionParameters,proto3" json:"session_parameters,omitempty"`
// Output only. If this is part of a [result conversation
// turn][TestCaseResult.conversation_turns], the list of differences
// between the original run and the replay for this output, if any.
Differences []*TestRunDifference `protobuf:"bytes,5,rep,name=differences,proto3" json:"differences,omitempty"`
// Required. Input only. The diagnostic
// [info][Session.DetectIntentResponse.QueryResult.diagnostic_info]
// output for the turn. Required to calculate the testing coverage.
DiagnosticInfo *structpb.Struct `protobuf:"bytes,6,opt,name=diagnostic_info,json=diagnosticInfo,proto3" json:"diagnostic_info,omitempty"`
// The [Intent][google.cloud.dialogflow.cx.v3.Intent] that triggered the
// response. Only name and displayName will be set.
TriggeredIntent *Intent `protobuf:"bytes,7,opt,name=triggered_intent,json=triggeredIntent,proto3" json:"triggered_intent,omitempty"`
// The [Page][google.cloud.dialogflow.cx.v3.Page] on which the utterance was
// spoken. Only name and displayName will be set.
CurrentPage *Page `protobuf:"bytes,8,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"`
// The [text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text] responses
// from the agent for the turn.
TextResponses []*ResponseMessage_Text `protobuf:"bytes,9,rep,name=text_responses,json=textResponses,proto3" json:"text_responses,omitempty"`
// Response error from the agent in the test result. If set, other output
// is empty.
Status *status.Status `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}The output from the virtual agent.
func (*ConversationTurn_VirtualAgentOutput) Descriptor
func (*ConversationTurn_VirtualAgentOutput) Descriptor() ([]byte, []int)Deprecated: Use ConversationTurn_VirtualAgentOutput.ProtoReflect.Descriptor instead.
func (*ConversationTurn_VirtualAgentOutput) GetCurrentPage
func (x *ConversationTurn_VirtualAgentOutput) GetCurrentPage() *Pagefunc (*ConversationTurn_VirtualAgentOutput) GetDiagnosticInfo
func (x *ConversationTurn_VirtualAgentOutput) GetDiagnosticInfo() *structpb.Structfunc (*ConversationTurn_VirtualAgentOutput) GetDifferences
func (x *ConversationTurn_VirtualAgentOutput) GetDifferences() []*TestRunDifferencefunc (*ConversationTurn_VirtualAgentOutput) GetSessionParameters
func (x *ConversationTurn_VirtualAgentOutput) GetSessionParameters() *structpb.Structfunc (*ConversationTurn_VirtualAgentOutput) GetStatus
func (x *ConversationTurn_VirtualAgentOutput) GetStatus() *status.Statusfunc (*ConversationTurn_VirtualAgentOutput) GetTextResponses
func (x *ConversationTurn_VirtualAgentOutput) GetTextResponses() []*ResponseMessage_Textfunc (*ConversationTurn_VirtualAgentOutput) GetTriggeredIntent
func (x *ConversationTurn_VirtualAgentOutput) GetTriggeredIntent() *Intentfunc (*ConversationTurn_VirtualAgentOutput) ProtoMessage
func (*ConversationTurn_VirtualAgentOutput) ProtoMessage()func (*ConversationTurn_VirtualAgentOutput) ProtoReflect
func (x *ConversationTurn_VirtualAgentOutput) ProtoReflect() protoreflect.Messagefunc (*ConversationTurn_VirtualAgentOutput) Reset
func (x *ConversationTurn_VirtualAgentOutput) Reset()func (*ConversationTurn_VirtualAgentOutput) String
func (x *ConversationTurn_VirtualAgentOutput) String() stringCreateAgentRequest
type CreateAgentRequest struct {
// Required. The location to create a agent for.
// Format: `projects/The request message for [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent].
func (*CreateAgentRequest) Descriptor
func (*CreateAgentRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateAgentRequest.ProtoReflect.Descriptor instead.
func (*CreateAgentRequest) GetAgent
func (x *CreateAgentRequest) GetAgent() *Agentfunc (*CreateAgentRequest) GetParent
func (x *CreateAgentRequest) GetParent() stringfunc (*CreateAgentRequest) ProtoMessage
func (*CreateAgentRequest) ProtoMessage()func (*CreateAgentRequest) ProtoReflect
func (x *CreateAgentRequest) ProtoReflect() protoreflect.Messagefunc (*CreateAgentRequest) Reset
func (x *CreateAgentRequest) Reset()func (*CreateAgentRequest) String
func (x *CreateAgentRequest) String() stringCreateEntityTypeRequest
type CreateEntityTypeRequest struct {
// Required. The agent to create a entity type for.
// Format: `projects/The request message for [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.CreateEntityType].
func (*CreateEntityTypeRequest) Descriptor
func (*CreateEntityTypeRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*CreateEntityTypeRequest) GetEntityType
func (x *CreateEntityTypeRequest) GetEntityType() *EntityTypefunc (*CreateEntityTypeRequest) GetLanguageCode
func (x *CreateEntityTypeRequest) GetLanguageCode() stringfunc (*CreateEntityTypeRequest) GetParent
func (x *CreateEntityTypeRequest) GetParent() stringfunc (*CreateEntityTypeRequest) ProtoMessage
func (*CreateEntityTypeRequest) ProtoMessage()func (*CreateEntityTypeRequest) ProtoReflect
func (x *CreateEntityTypeRequest) ProtoReflect() protoreflect.Messagefunc (*CreateEntityTypeRequest) Reset
func (x *CreateEntityTypeRequest) Reset()func (*CreateEntityTypeRequest) String
func (x *CreateEntityTypeRequest) String() stringCreateEnvironmentRequest
type CreateEnvironmentRequest struct {
// Required. The [Agent][google.cloud.dialogflow.cx.v3.Agent] to create an
// [Environment][google.cloud.dialogflow.cx.v3.Environment] for. Format:
// `projects/The request message for [Environments.CreateEnvironment][google.cloud.dialogflow.cx.v3.Environments.CreateEnvironment].
func (*CreateEnvironmentRequest) Descriptor
func (*CreateEnvironmentRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*CreateEnvironmentRequest) GetEnvironment
func (x *CreateEnvironmentRequest) GetEnvironment() *Environmentfunc (*CreateEnvironmentRequest) GetParent
func (x *CreateEnvironmentRequest) GetParent() stringfunc (*CreateEnvironmentRequest) ProtoMessage
func (*CreateEnvironmentRequest) ProtoMessage()func (*CreateEnvironmentRequest) ProtoReflect
func (x *CreateEnvironmentRequest) ProtoReflect() protoreflect.Messagefunc (*CreateEnvironmentRequest) Reset
func (x *CreateEnvironmentRequest) Reset()func (*CreateEnvironmentRequest) String
func (x *CreateEnvironmentRequest) String() stringCreateExampleRequest
type CreateExampleRequest struct {
// Required. The playbook to create an example for.
// Format:
// `projects/The request message for [Examples.CreateExample][google.cloud.dialogflow.cx.v3.Examples.CreateExample].
func (*CreateExampleRequest) Descriptor
func (*CreateExampleRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateExampleRequest.ProtoReflect.Descriptor instead.
func (*CreateExampleRequest) GetExample
func (x *CreateExampleRequest) GetExample() *Examplefunc (*CreateExampleRequest) GetParent
func (x *CreateExampleRequest) GetParent() stringfunc (*CreateExampleRequest) ProtoMessage
func (*CreateExampleRequest) ProtoMessage()func (*CreateExampleRequest) ProtoReflect
func (x *CreateExampleRequest) ProtoReflect() protoreflect.Messagefunc (*CreateExampleRequest) Reset
func (x *CreateExampleRequest) Reset()func (*CreateExampleRequest) String
func (x *CreateExampleRequest) String() stringCreateExperimentRequest
type CreateExperimentRequest struct {
// Required. The [Agent][google.cloud.dialogflow.cx.v3.Agent] to create an
// [Environment][google.cloud.dialogflow.cx.v3.Environment] for. Format:
// `projects/The request message for [Experiments.CreateExperiment][google.cloud.dialogflow.cx.v3.Experiments.CreateExperiment].
func (*CreateExperimentRequest) Descriptor
func (*CreateExperimentRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateExperimentRequest.ProtoReflect.Descriptor instead.
func (*CreateExperimentRequest) GetExperiment
func (x *CreateExperimentRequest) GetExperiment() *Experimentfunc (*CreateExperimentRequest) GetParent
func (x *CreateExperimentRequest) GetParent() stringfunc (*CreateExperimentRequest) ProtoMessage
func (*CreateExperimentRequest) ProtoMessage()func (*CreateExperimentRequest) ProtoReflect
func (x *CreateExperimentRequest) ProtoReflect() protoreflect.Messagefunc (*CreateExperimentRequest) Reset
func (x *CreateExperimentRequest) Reset()func (*CreateExperimentRequest) String
func (x *CreateExperimentRequest) String() stringCreateFlowRequest
type CreateFlowRequest struct {
// Required. The agent to create a flow for.
// Format: `projects/The request message for [Flows.CreateFlow][google.cloud.dialogflow.cx.v3.Flows.CreateFlow].
func (*CreateFlowRequest) Descriptor
func (*CreateFlowRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateFlowRequest.ProtoReflect.Descriptor instead.
func (*CreateFlowRequest) GetFlow
func (x *CreateFlowRequest) GetFlow() *Flowfunc (*CreateFlowRequest) GetLanguageCode
func (x *CreateFlowRequest) GetLanguageCode() stringfunc (*CreateFlowRequest) GetParent
func (x *CreateFlowRequest) GetParent() stringfunc (*CreateFlowRequest) ProtoMessage
func (*CreateFlowRequest) ProtoMessage()func (*CreateFlowRequest) ProtoReflect
func (x *CreateFlowRequest) ProtoReflect() protoreflect.Messagefunc (*CreateFlowRequest) Reset
func (x *CreateFlowRequest) Reset()func (*CreateFlowRequest) String
func (x *CreateFlowRequest) String() stringCreateGeneratorRequest
type CreateGeneratorRequest struct {
// Required. The agent to create a generator for.
// Format: `projects/The request message for [Generators.CreateGenerator][google.cloud.dialogflow.cx.v3.Generators.CreateGenerator].
func (*CreateGeneratorRequest) Descriptor
func (*CreateGeneratorRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateGeneratorRequest.ProtoReflect.Descriptor instead.
func (*CreateGeneratorRequest) GetGenerator
func (x *CreateGeneratorRequest) GetGenerator() *Generatorfunc (*CreateGeneratorRequest) GetLanguageCode
func (x *CreateGeneratorRequest) GetLanguageCode() stringfunc (*CreateGeneratorRequest) GetParent
func (x *CreateGeneratorRequest) GetParent() stringfunc (*CreateGeneratorRequest) ProtoMessage
func (*CreateGeneratorRequest) ProtoMessage()func (*CreateGeneratorRequest) ProtoReflect
func (x *CreateGeneratorRequest) ProtoReflect() protoreflect.Messagefunc (*CreateGeneratorRequest) Reset
func (x *CreateGeneratorRequest) Reset()func (*CreateGeneratorRequest) String
func (x *CreateGeneratorRequest) String() stringCreateIntentRequest
type CreateIntentRequest struct {
// Required. The agent to create an intent for.
// Format: `projects/The request message for [Intents.CreateIntent][google.cloud.dialogflow.cx.v3.Intents.CreateIntent].
func (*CreateIntentRequest) Descriptor
func (*CreateIntentRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateIntentRequest.ProtoReflect.Descriptor instead.
func (*CreateIntentRequest) GetIntent
func (x *CreateIntentRequest) GetIntent() *Intentfunc (*CreateIntentRequest) GetLanguageCode
func (x *CreateIntentRequest) GetLanguageCode() stringfunc (*CreateIntentRequest) GetParent
func (x *CreateIntentRequest) GetParent() stringfunc (*CreateIntentRequest) ProtoMessage
func (*CreateIntentRequest) ProtoMessage()func (*CreateIntentRequest) ProtoReflect
func (x *CreateIntentRequest) ProtoReflect() protoreflect.Messagefunc (*CreateIntentRequest) Reset
func (x *CreateIntentRequest) Reset()func (*CreateIntentRequest) String
func (x *CreateIntentRequest) String() stringCreatePageRequest
type CreatePageRequest struct {
// Required. The flow to create a page for.
// Format:
// `projects/The request message for [Pages.CreatePage][google.cloud.dialogflow.cx.v3.Pages.CreatePage].
func (*CreatePageRequest) Descriptor
func (*CreatePageRequest) Descriptor() ([]byte, []int)Deprecated: Use CreatePageRequest.ProtoReflect.Descriptor instead.
func (*CreatePageRequest) GetLanguageCode
func (x *CreatePageRequest) GetLanguageCode() stringfunc (*CreatePageRequest) GetPage
func (x *CreatePageRequest) GetPage() *Pagefunc (*CreatePageRequest) GetParent
func (x *CreatePageRequest) GetParent() stringfunc (*CreatePageRequest) ProtoMessage
func (*CreatePageRequest) ProtoMessage()func (*CreatePageRequest) ProtoReflect
func (x *CreatePageRequest) ProtoReflect() protoreflect.Messagefunc (*CreatePageRequest) Reset
func (x *CreatePageRequest) Reset()func (*CreatePageRequest) String
func (x *CreatePageRequest) String() stringCreatePlaybookRequest
type CreatePlaybookRequest struct {
// Required. The agent to create a playbook for.
// Format: `projects/The request message for [Playbooks.CreatePlaybook][google.cloud.dialogflow.cx.v3.Playbooks.CreatePlaybook].
func (*CreatePlaybookRequest) Descriptor
func (*CreatePlaybookRequest) Descriptor() ([]byte, []int)Deprecated: Use CreatePlaybookRequest.ProtoReflect.Descriptor instead.
func (*CreatePlaybookRequest) GetParent
func (x *CreatePlaybookRequest) GetParent() stringfunc (*CreatePlaybookRequest) GetPlaybook
func (x *CreatePlaybookRequest) GetPlaybook() *Playbookfunc (*CreatePlaybookRequest) ProtoMessage
func (*CreatePlaybookRequest) ProtoMessage()func (*CreatePlaybookRequest) ProtoReflect
func (x *CreatePlaybookRequest) ProtoReflect() protoreflect.Messagefunc (*CreatePlaybookRequest) Reset
func (x *CreatePlaybookRequest) Reset()func (*CreatePlaybookRequest) String
func (x *CreatePlaybookRequest) String() stringCreatePlaybookVersionRequest
type CreatePlaybookVersionRequest struct {
// Required. The playbook to create a version for.
// Format:
// `projects/The request message for [Playbooks.CreatePlaybookVersion][google.cloud.dialogflow.cx.v3.Playbooks.CreatePlaybookVersion].
func (*CreatePlaybookVersionRequest) Descriptor
func (*CreatePlaybookVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use CreatePlaybookVersionRequest.ProtoReflect.Descriptor instead.
func (*CreatePlaybookVersionRequest) GetParent
func (x *CreatePlaybookVersionRequest) GetParent() stringfunc (*CreatePlaybookVersionRequest) GetPlaybookVersion
func (x *CreatePlaybookVersionRequest) GetPlaybookVersion() *PlaybookVersionfunc (*CreatePlaybookVersionRequest) ProtoMessage
func (*CreatePlaybookVersionRequest) ProtoMessage()func (*CreatePlaybookVersionRequest) ProtoReflect
func (x *CreatePlaybookVersionRequest) ProtoReflect() protoreflect.Messagefunc (*CreatePlaybookVersionRequest) Reset
func (x *CreatePlaybookVersionRequest) Reset()func (*CreatePlaybookVersionRequest) String
func (x *CreatePlaybookVersionRequest) String() stringCreateSecuritySettingsRequest
type CreateSecuritySettingsRequest struct {
// Required. The location to create an
// [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] for.
// Format: `projects/The request message for [SecuritySettings.CreateSecuritySettings][].
func (*CreateSecuritySettingsRequest) Descriptor
func (*CreateSecuritySettingsRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateSecuritySettingsRequest.ProtoReflect.Descriptor instead.
func (*CreateSecuritySettingsRequest) GetParent
func (x *CreateSecuritySettingsRequest) GetParent() stringfunc (*CreateSecuritySettingsRequest) GetSecuritySettings
func (x *CreateSecuritySettingsRequest) GetSecuritySettings() *SecuritySettingsfunc (*CreateSecuritySettingsRequest) ProtoMessage
func (*CreateSecuritySettingsRequest) ProtoMessage()func (*CreateSecuritySettingsRequest) ProtoReflect
func (x *CreateSecuritySettingsRequest) ProtoReflect() protoreflect.Messagefunc (*CreateSecuritySettingsRequest) Reset
func (x *CreateSecuritySettingsRequest) Reset()func (*CreateSecuritySettingsRequest) String
func (x *CreateSecuritySettingsRequest) String() stringCreateSessionEntityTypeRequest
type CreateSessionEntityTypeRequest struct {
// Required. The session to create a session entity type for.
// Format:
// `projects/The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.CreateSessionEntityType].
func (*CreateSessionEntityTypeRequest) Descriptor
func (*CreateSessionEntityTypeRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateSessionEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*CreateSessionEntityTypeRequest) GetParent
func (x *CreateSessionEntityTypeRequest) GetParent() stringfunc (*CreateSessionEntityTypeRequest) GetSessionEntityType
func (x *CreateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityTypefunc (*CreateSessionEntityTypeRequest) ProtoMessage
func (*CreateSessionEntityTypeRequest) ProtoMessage()func (*CreateSessionEntityTypeRequest) ProtoReflect
func (x *CreateSessionEntityTypeRequest) ProtoReflect() protoreflect.Messagefunc (*CreateSessionEntityTypeRequest) Reset
func (x *CreateSessionEntityTypeRequest) Reset()func (*CreateSessionEntityTypeRequest) String
func (x *CreateSessionEntityTypeRequest) String() stringCreateTestCaseRequest
type CreateTestCaseRequest struct {
// Required. The agent to create the test case for.
// Format: `projects/The request message for [TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase].
func (*CreateTestCaseRequest) Descriptor
func (*CreateTestCaseRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateTestCaseRequest.ProtoReflect.Descriptor instead.
func (*CreateTestCaseRequest) GetParent
func (x *CreateTestCaseRequest) GetParent() stringfunc (*CreateTestCaseRequest) GetTestCase
func (x *CreateTestCaseRequest) GetTestCase() *TestCasefunc (*CreateTestCaseRequest) ProtoMessage
func (*CreateTestCaseRequest) ProtoMessage()func (*CreateTestCaseRequest) ProtoReflect
func (x *CreateTestCaseRequest) ProtoReflect() protoreflect.Messagefunc (*CreateTestCaseRequest) Reset
func (x *CreateTestCaseRequest) Reset()func (*CreateTestCaseRequest) String
func (x *CreateTestCaseRequest) String() stringCreateToolRequest
type CreateToolRequest struct {
// Required. The agent to create a Tool for.
// Format: `projects/The request message for [Tools.CreateTool][google.cloud.dialogflow.cx.v3.Tools.CreateTool].
func (*CreateToolRequest) Descriptor
func (*CreateToolRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateToolRequest.ProtoReflect.Descriptor instead.
func (*CreateToolRequest) GetParent
func (x *CreateToolRequest) GetParent() stringfunc (*CreateToolRequest) GetTool
func (x *CreateToolRequest) GetTool() *Toolfunc (*CreateToolRequest) ProtoMessage
func (*CreateToolRequest) ProtoMessage()func (*CreateToolRequest) ProtoReflect
func (x *CreateToolRequest) ProtoReflect() protoreflect.Messagefunc (*CreateToolRequest) Reset
func (x *CreateToolRequest) Reset()func (*CreateToolRequest) String
func (x *CreateToolRequest) String() stringCreateToolVersionRequest
type CreateToolVersionRequest struct {
// Required. The tool to create a version for.
// Format:
// `projects/The request message for [Tools.CreateToolVersion][google.cloud.dialogflow.cx.v3.Tools.CreateToolVersion]. The request message for [Tools.CreateToolVersion][google.cloud.dialogflow.cx.v3.Tools.CreateToolVersion].
func (*CreateToolVersionRequest) Descriptor
func (*CreateToolVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateToolVersionRequest.ProtoReflect.Descriptor instead.
func (*CreateToolVersionRequest) GetParent
func (x *CreateToolVersionRequest) GetParent() stringfunc (*CreateToolVersionRequest) GetToolVersion
func (x *CreateToolVersionRequest) GetToolVersion() *ToolVersionfunc (*CreateToolVersionRequest) ProtoMessage
func (*CreateToolVersionRequest) ProtoMessage()func (*CreateToolVersionRequest) ProtoReflect
func (x *CreateToolVersionRequest) ProtoReflect() protoreflect.Messagefunc (*CreateToolVersionRequest) Reset
func (x *CreateToolVersionRequest) Reset()func (*CreateToolVersionRequest) String
func (x *CreateToolVersionRequest) String() stringCreateTransitionRouteGroupRequest
type CreateTransitionRouteGroupRequest struct {
// Required. The flow to create an
// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]
// for. Format:
// `projects/The request message for [TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup].
func (*CreateTransitionRouteGroupRequest) Descriptor
func (*CreateTransitionRouteGroupRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.
func (*CreateTransitionRouteGroupRequest) GetLanguageCode
func (x *CreateTransitionRouteGroupRequest) GetLanguageCode() stringfunc (*CreateTransitionRouteGroupRequest) GetParent
func (x *CreateTransitionRouteGroupRequest) GetParent() stringfunc (*CreateTransitionRouteGroupRequest) GetTransitionRouteGroup
func (x *CreateTransitionRouteGroupRequest) GetTransitionRouteGroup() *TransitionRouteGroupfunc (*CreateTransitionRouteGroupRequest) ProtoMessage
func (*CreateTransitionRouteGroupRequest) ProtoMessage()func (*CreateTransitionRouteGroupRequest) ProtoReflect
func (x *CreateTransitionRouteGroupRequest) ProtoReflect() protoreflect.Messagefunc (*CreateTransitionRouteGroupRequest) Reset
func (x *CreateTransitionRouteGroupRequest) Reset()func (*CreateTransitionRouteGroupRequest) String
func (x *CreateTransitionRouteGroupRequest) String() stringCreateVersionOperationMetadata
type CreateVersionOperationMetadata struct {
// Name of the created version.
// Format:
// `projects/Metadata associated with the long running operation for [Versions.CreateVersion][google.cloud.dialogflow.cx.v3.Versions.CreateVersion].
func (*CreateVersionOperationMetadata) Descriptor
func (*CreateVersionOperationMetadata) Descriptor() ([]byte, []int)Deprecated: Use CreateVersionOperationMetadata.ProtoReflect.Descriptor instead.
func (*CreateVersionOperationMetadata) GetVersion
func (x *CreateVersionOperationMetadata) GetVersion() stringfunc (*CreateVersionOperationMetadata) ProtoMessage
func (*CreateVersionOperationMetadata) ProtoMessage()func (*CreateVersionOperationMetadata) ProtoReflect
func (x *CreateVersionOperationMetadata) ProtoReflect() protoreflect.Messagefunc (*CreateVersionOperationMetadata) Reset
func (x *CreateVersionOperationMetadata) Reset()func (*CreateVersionOperationMetadata) String
func (x *CreateVersionOperationMetadata) String() stringCreateVersionRequest
type CreateVersionRequest struct {
// Required. The [Flow][google.cloud.dialogflow.cx.v3.Flow] to create an
// [Version][google.cloud.dialogflow.cx.v3.Version] for. Format:
// `projects/The request message for [Versions.CreateVersion][google.cloud.dialogflow.cx.v3.Versions.CreateVersion].
func (*CreateVersionRequest) Descriptor
func (*CreateVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateVersionRequest.ProtoReflect.Descriptor instead.
func (*CreateVersionRequest) GetParent
func (x *CreateVersionRequest) GetParent() stringfunc (*CreateVersionRequest) GetVersion
func (x *CreateVersionRequest) GetVersion() *Versionfunc (*CreateVersionRequest) ProtoMessage
func (*CreateVersionRequest) ProtoMessage()func (*CreateVersionRequest) ProtoReflect
func (x *CreateVersionRequest) ProtoReflect() protoreflect.Messagefunc (*CreateVersionRequest) Reset
func (x *CreateVersionRequest) Reset()func (*CreateVersionRequest) String
func (x *CreateVersionRequest) String() stringCreateWebhookRequest
type CreateWebhookRequest struct {
// Required. The agent to create a webhook for.
// Format: `projects/The request message for [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook].
func (*CreateWebhookRequest) Descriptor
func (*CreateWebhookRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateWebhookRequest.ProtoReflect.Descriptor instead.
func (*CreateWebhookRequest) GetParent
func (x *CreateWebhookRequest) GetParent() stringfunc (*CreateWebhookRequest) GetWebhook
func (x *CreateWebhookRequest) GetWebhook() *Webhookfunc (*CreateWebhookRequest) ProtoMessage
func (*CreateWebhookRequest) ProtoMessage()func (*CreateWebhookRequest) ProtoReflect
func (x *CreateWebhookRequest) ProtoReflect() protoreflect.Messagefunc (*CreateWebhookRequest) Reset
func (x *CreateWebhookRequest) Reset()func (*CreateWebhookRequest) String
func (x *CreateWebhookRequest) String() stringDataStoreConnection
type DataStoreConnection struct {
// The type of the connected data store.
DataStoreType DataStoreType `protobuf:"varint,1,opt,name=data_store_type,json=dataStoreType,proto3,enum=google.cloud.dialogflow.cx.v3.DataStoreType" json:"data_store_type,omitempty"`
// The full name of the referenced data store.
// Formats:
// `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
// `projects/{project}/locations/{location}/dataStores/{data_store}`
DataStore string `protobuf:"bytes,2,opt,name=data_store,json=dataStore,proto3" json:"data_store,omitempty"`
// The document processing mode for the data store connection. Should only be
// set for PUBLIC_WEB and UNSTRUCTURED data stores. If not set it is
// considered as DOCUMENTS, as this is the legacy mode.
DocumentProcessingMode DocumentProcessingMode `protobuf:"varint,4,opt,name=document_processing_mode,json=documentProcessingMode,proto3,enum=google.cloud.dialogflow.cx.v3.DocumentProcessingMode" json:"document_processing_mode,omitempty"`
// contains filtered or unexported fields
}A data store connection. It represents a data store in Discovery Engine and the type of the contents it contains.
func (*DataStoreConnection) Descriptor
func (*DataStoreConnection) Descriptor() ([]byte, []int)Deprecated: Use DataStoreConnection.ProtoReflect.Descriptor instead.
func (*DataStoreConnection) GetDataStore
func (x *DataStoreConnection) GetDataStore() stringfunc (*DataStoreConnection) GetDataStoreType
func (x *DataStoreConnection) GetDataStoreType() DataStoreTypefunc (*DataStoreConnection) GetDocumentProcessingMode
func (x *DataStoreConnection) GetDocumentProcessingMode() DocumentProcessingModefunc (*DataStoreConnection) ProtoMessage
func (*DataStoreConnection) ProtoMessage()func (*DataStoreConnection) ProtoReflect
func (x *DataStoreConnection) ProtoReflect() protoreflect.Messagefunc (*DataStoreConnection) Reset
func (x *DataStoreConnection) Reset()func (*DataStoreConnection) String
func (x *DataStoreConnection) String() stringDataStoreConnectionSignals
type DataStoreConnectionSignals struct {
// Optional. Diagnostic info related to the rewriter model call.
RewriterModelCallSignals *DataStoreConnectionSignals_RewriterModelCallSignals `protobuf:"bytes,1,opt,name=rewriter_model_call_signals,json=rewriterModelCallSignals,proto3" json:"rewriter_model_call_signals,omitempty"`
// Optional. Rewritten string query used for search.
RewrittenQuery string `protobuf:"bytes,2,opt,name=rewritten_query,json=rewrittenQuery,proto3" json:"rewritten_query,omitempty"`
// Optional. Search snippets included in the answer generation prompt.
SearchSnippets []*DataStoreConnectionSignals_SearchSnippet `protobuf:"bytes,3,rep,name=search_snippets,json=searchSnippets,proto3" json:"search_snippets,omitempty"`
// Optional. Diagnostic info related to the answer generation model call.
AnswerGenerationModelCallSignals *DataStoreConnectionSignals_AnswerGenerationModelCallSignals `protobuf:"bytes,4,opt,name=answer_generation_model_call_signals,json=answerGenerationModelCallSignals,proto3" json:"answer_generation_model_call_signals,omitempty"`
// Optional. The final compiled answer.
Answer string `protobuf:"bytes,5,opt,name=answer,proto3" json:"answer,omitempty"`
// Optional. Answer parts with relevant citations.
// Concatenation of texts should add up the `answer` (not counting
// whitespaces).
AnswerParts []*DataStoreConnectionSignals_AnswerPart `protobuf:"bytes,6,rep,name=answer_parts,json=answerParts,proto3" json:"answer_parts,omitempty"`
// Optional. Snippets cited by the answer generation model from the most to
// least relevant.
CitedSnippets []*DataStoreConnectionSignals_CitedSnippet `protobuf:"bytes,7,rep,name=cited_snippets,json=citedSnippets,proto3" json:"cited_snippets,omitempty"`
// Optional. Grounding signals.
GroundingSignals *DataStoreConnectionSignals_GroundingSignals `protobuf:"bytes,8,opt,name=grounding_signals,json=groundingSignals,proto3" json:"grounding_signals,omitempty"`
// Optional. Safety check result.
SafetySignals *DataStoreConnectionSignals_SafetySignals `protobuf:"bytes,9,opt,name=safety_signals,json=safetySignals,proto3" json:"safety_signals,omitempty"`
// contains filtered or unexported fields
}Data store connection feature output signals. Might be only partially field if processing stop before the final answer. Reasons for this can be, but are not limited to: empty UCS search results, positive RAI check outcome, grounding failure, ...
func (*DataStoreConnectionSignals) Descriptor
func (*DataStoreConnectionSignals) Descriptor() ([]byte, []int)Deprecated: Use DataStoreConnectionSignals.ProtoReflect.Descriptor instead.
func (*DataStoreConnectionSignals) GetAnswer
func (x *DataStoreConnectionSignals) GetAnswer() stringfunc (*DataStoreConnectionSignals) GetAnswerGenerationModelCallSignals
func (x *DataStoreConnectionSignals) GetAnswerGenerationModelCallSignals() *DataStoreConnectionSignals_AnswerGenerationModelCallSignalsfunc (*DataStoreConnectionSignals) GetAnswerParts
func (x *DataStoreConnectionSignals) GetAnswerParts() []*DataStoreConnectionSignals_AnswerPartfunc (*DataStoreConnectionSignals) GetCitedSnippets
func (x *DataStoreConnectionSignals) GetCitedSnippets() []*DataStoreConnectionSignals_CitedSnippetfunc (*DataStoreConnectionSignals) GetGroundingSignals
func (x *DataStoreConnectionSignals) GetGroundingSignals() *DataStoreConnectionSignals_GroundingSignalsfunc (*DataStoreConnectionSignals) GetRewriterModelCallSignals
func (x *DataStoreConnectionSignals) GetRewriterModelCallSignals() *DataStoreConnectionSignals_RewriterModelCallSignalsfunc (*DataStoreConnectionSignals) GetRewrittenQuery
func (x *DataStoreConnectionSignals) GetRewrittenQuery() stringfunc (*DataStoreConnectionSignals) GetSafetySignals
func (x *DataStoreConnectionSignals) GetSafetySignals() *DataStoreConnectionSignals_SafetySignalsfunc (*DataStoreConnectionSignals) GetSearchSnippets
func (x *DataStoreConnectionSignals) GetSearchSnippets() []*DataStoreConnectionSignals_SearchSnippetfunc (*DataStoreConnectionSignals) ProtoMessage
func (*DataStoreConnectionSignals) ProtoMessage()func (*DataStoreConnectionSignals) ProtoReflect
func (x *DataStoreConnectionSignals) ProtoReflect() protoreflect.Messagefunc (*DataStoreConnectionSignals) Reset
func (x *DataStoreConnectionSignals) Reset()func (*DataStoreConnectionSignals) String
func (x *DataStoreConnectionSignals) String() stringDataStoreConnectionSignals_AnswerGenerationModelCallSignals
type DataStoreConnectionSignals_AnswerGenerationModelCallSignals struct {
// Prompt as sent to the model.
RenderedPrompt string `protobuf:"bytes,1,opt,name=rendered_prompt,json=renderedPrompt,proto3" json:"rendered_prompt,omitempty"`
// Output of the generative model.
ModelOutput string `protobuf:"bytes,2,opt,name=model_output,json=modelOutput,proto3" json:"model_output,omitempty"`
// Name of the generative model. For example, "gemini-ultra", "gemini-pro",
// "gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
// contains filtered or unexported fields
}Diagnostic info related to the answer generation model call.
func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) Descriptor
func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) Descriptor() ([]byte, []int)Deprecated: Use DataStoreConnectionSignals_AnswerGenerationModelCallSignals.ProtoReflect.Descriptor instead.
func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) GetModel
func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) GetModel() stringfunc (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) GetModelOutput
func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) GetModelOutput() stringfunc (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) GetRenderedPrompt
func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) GetRenderedPrompt() stringfunc (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) ProtoMessage
func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) ProtoMessage()func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) ProtoReflect
func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) ProtoReflect() protoreflect.Messagefunc (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) Reset
func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) Reset()func (*DataStoreConnectionSignals_AnswerGenerationModelCallSignals) String
func (x *DataStoreConnectionSignals_AnswerGenerationModelCallSignals) String() stringDataStoreConnectionSignals_AnswerPart
type DataStoreConnectionSignals_AnswerPart struct {
// Substring of the answer.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// Citations for this answer part. Indices of `search_snippets`.
SupportingIndices []int32 `protobuf:"varint,2,rep,packed,name=supporting_indices,json=supportingIndices,proto3" json:"supporting_indices,omitempty"`
// contains filtered or unexported fields
}Answer part with citation.
func (*DataStoreConnectionSignals_AnswerPart) Descriptor
func (*DataStoreConnectionSignals_AnswerPart) Descriptor() ([]byte, []int)Deprecated: Use DataStoreConnectionSignals_AnswerPart.ProtoReflect.Descriptor instead.
func (*DataStoreConnectionSignals_AnswerPart) GetSupportingIndices
func (x *DataStoreConnectionSignals_AnswerPart) GetSupportingIndices() []int32func (*DataStoreConnectionSignals_AnswerPart) GetText
func (x *DataStoreConnectionSignals_AnswerPart) GetText() stringfunc (*DataStoreConnectionSignals_AnswerPart) ProtoMessage
func (*DataStoreConnectionSignals_AnswerPart) ProtoMessage()func (*DataStoreConnectionSignals_AnswerPart) ProtoReflect
func (x *DataStoreConnectionSignals_AnswerPart) ProtoReflect() protoreflect.Messagefunc (*DataStoreConnectionSignals_AnswerPart) Reset
func (x *DataStoreConnectionSignals_AnswerPart) Reset()func (*DataStoreConnectionSignals_AnswerPart) String
func (x *DataStoreConnectionSignals_AnswerPart) String() stringDataStoreConnectionSignals_CitedSnippet
type DataStoreConnectionSignals_CitedSnippet struct {
// Details of the snippet.
SearchSnippet *DataStoreConnectionSignals_SearchSnippet `protobuf:"bytes,1,opt,name=search_snippet,json=searchSnippet,proto3" json:"search_snippet,omitempty"`
// Index of the snippet in `search_snippets` field.
SnippetIndex int32 `protobuf:"varint,2,opt,name=snippet_index,json=snippetIndex,proto3" json:"snippet_index,omitempty"`
// contains filtered or unexported fields
}Snippet cited by the answer generation model.
func (*DataStoreConnectionSignals_CitedSnippet) Descriptor
func (*DataStoreConnectionSignals_CitedSnippet) Descriptor() ([]byte, []int)Deprecated: Use DataStoreConnectionSignals_CitedSnippet.ProtoReflect.Descriptor instead.
func (*DataStoreConnectionSignals_CitedSnippet) GetSearchSnippet
func (x *DataStoreConnectionSignals_CitedSnippet) GetSearchSnippet() *DataStoreConnectionSignals_SearchSnippetfunc (*DataStoreConnectionSignals_CitedSnippet) GetSnippetIndex
func (x *DataStoreConnectionSignals_CitedSnippet) GetSnippetIndex() int32func (*DataStoreConnectionSignals_CitedSnippet) ProtoMessage
func (*DataStoreConnectionSignals_CitedSnippet) ProtoMessage()func (*DataStoreConnectionSignals_CitedSnippet) ProtoReflect
func (x *DataStoreConnectionSignals_CitedSnippet) ProtoReflect() protoreflect.Messagefunc (*DataStoreConnectionSignals_CitedSnippet) Reset
func (x *DataStoreConnectionSignals_CitedSnippet) Reset()func (*DataStoreConnectionSignals_CitedSnippet) String
func (x *DataStoreConnectionSignals_CitedSnippet) String() stringDataStoreConnectionSignals_GroundingSignals
type DataStoreConnectionSignals_GroundingSignals struct {
// Represents the decision of the grounding check.
Decision DataStoreConnectionSignals_GroundingSignals_GroundingDecision `protobuf:"varint,1,opt,name=decision,proto3,enum=google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals_GroundingSignals_GroundingDecision" json:"decision,omitempty"`
// Grounding score bucket setting.
Score DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket `protobuf:"varint,2,opt,name=score,proto3,enum=google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket" json:"score,omitempty"`
// contains filtered or unexported fields
}Grounding signals.
func (*DataStoreConnectionSignals_GroundingSignals) Descriptor
func (*DataStoreConnectionSignals_GroundingSignals) Descriptor() ([]byte, []int)Deprecated: Use DataStoreConnectionSignals_GroundingSignals.ProtoReflect.Descriptor instead.
func (*DataStoreConnectionSignals_GroundingSignals) GetDecision
func (x *DataStoreConnectionSignals_GroundingSignals) GetDecision() DataStoreConnectionSignals_GroundingSignals_GroundingDecisionfunc (*DataStoreConnectionSignals_GroundingSignals) GetScore
func (x *DataStoreConnectionSignals_GroundingSignals) GetScore() DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucketfunc (*DataStoreConnectionSignals_GroundingSignals) ProtoMessage
func (*DataStoreConnectionSignals_GroundingSignals) ProtoMessage()func (*DataStoreConnectionSignals_GroundingSignals) ProtoReflect
func (x *DataStoreConnectionSignals_GroundingSignals) ProtoReflect() protoreflect.Messagefunc (*DataStoreConnectionSignals_GroundingSignals) Reset
func (x *DataStoreConnectionSignals_GroundingSignals) Reset()func (*DataStoreConnectionSignals_GroundingSignals) String
func (x *DataStoreConnectionSignals_GroundingSignals) String() stringDataStoreConnectionSignals_GroundingSignals_GroundingDecision
type DataStoreConnectionSignals_GroundingSignals_GroundingDecision int32Represents the decision of the grounding check.
DataStoreConnectionSignals_GroundingSignals_GROUNDING_DECISION_UNSPECIFIED, DataStoreConnectionSignals_GroundingSignals_ACCEPTED_BY_GROUNDING, DataStoreConnectionSignals_GroundingSignals_REJECTED_BY_GROUNDING
const (
// Decision not specified.
DataStoreConnectionSignals_GroundingSignals_GROUNDING_DECISION_UNSPECIFIED DataStoreConnectionSignals_GroundingSignals_GroundingDecision = 0
// Grounding have accepted the answer.
DataStoreConnectionSignals_GroundingSignals_ACCEPTED_BY_GROUNDING DataStoreConnectionSignals_GroundingSignals_GroundingDecision = 1
// Grounding have rejected the answer.
DataStoreConnectionSignals_GroundingSignals_REJECTED_BY_GROUNDING DataStoreConnectionSignals_GroundingSignals_GroundingDecision = 2
)func (DataStoreConnectionSignals_GroundingSignals_GroundingDecision) Descriptor
func (DataStoreConnectionSignals_GroundingSignals_GroundingDecision) Descriptor() protoreflect.EnumDescriptorfunc (DataStoreConnectionSignals_GroundingSignals_GroundingDecision) Enum
func (x DataStoreConnectionSignals_GroundingSignals_GroundingDecision) Enum() *DataStoreConnectionSignals_GroundingSignals_GroundingDecisionfunc (DataStoreConnectionSignals_GroundingSignals_GroundingDecision) EnumDescriptor
func (DataStoreConnectionSignals_GroundingSignals_GroundingDecision) EnumDescriptor() ([]byte, []int)Deprecated: Use DataStoreConnectionSignals_GroundingSignals_GroundingDecision.Descriptor instead.
func (DataStoreConnectionSignals_GroundingSignals_GroundingDecision) Number
func (x DataStoreConnectionSignals_GroundingSignals_GroundingDecision) Number() protoreflect.EnumNumberfunc (DataStoreConnectionSignals_GroundingSignals_GroundingDecision) String
func (x DataStoreConnectionSignals_GroundingSignals_GroundingDecision) String() stringfunc (DataStoreConnectionSignals_GroundingSignals_GroundingDecision) Type
DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket
type DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket int32Grounding score buckets.
DataStoreConnectionSignals_GroundingSignals_GROUNDING_SCORE_BUCKET_UNSPECIFIED, DataStoreConnectionSignals_GroundingSignals_VERY_LOW, DataStoreConnectionSignals_GroundingSignals_LOW, DataStoreConnectionSignals_GroundingSignals_MEDIUM, DataStoreConnectionSignals_GroundingSignals_HIGH, DataStoreConnectionSignals_GroundingSignals_VERY_HIGH
const (
// Score not specified.
DataStoreConnectionSignals_GroundingSignals_GROUNDING_SCORE_BUCKET_UNSPECIFIED DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket = 0
// We have very low confidence that the answer is grounded.
DataStoreConnectionSignals_GroundingSignals_VERY_LOW DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket = 1
// We have low confidence that the answer is grounded.
DataStoreConnectionSignals_GroundingSignals_LOW DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket = 3
// We have medium confidence that the answer is grounded.
DataStoreConnectionSignals_GroundingSignals_MEDIUM DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket = 4
// We have high confidence that the answer is grounded.
DataStoreConnectionSignals_GroundingSignals_HIGH DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket = 5
// We have very high confidence that the answer is grounded.
DataStoreConnectionSignals_GroundingSignals_VERY_HIGH DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket = 6
)func (DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) Descriptor
func (DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) Descriptor() protoreflect.EnumDescriptorfunc (DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) Enum
func (x DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) Enum() *DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucketfunc (DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) EnumDescriptor
func (DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) EnumDescriptor() ([]byte, []int)Deprecated: Use DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket.Descriptor instead.
func (DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) Number
func (x DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) Number() protoreflect.EnumNumberfunc (DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) String
func (x DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) String() stringfunc (DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) Type
func (DataStoreConnectionSignals_GroundingSignals_GroundingScoreBucket) Type() protoreflect.EnumTypeDataStoreConnectionSignals_RewriterModelCallSignals
type DataStoreConnectionSignals_RewriterModelCallSignals struct {
// Prompt as sent to the model.
RenderedPrompt string `protobuf:"bytes,1,opt,name=rendered_prompt,json=renderedPrompt,proto3" json:"rendered_prompt,omitempty"`
// Output of the generative model.
ModelOutput string `protobuf:"bytes,2,opt,name=model_output,json=modelOutput,proto3" json:"model_output,omitempty"`
// Name of the generative model. For example, "gemini-ultra", "gemini-pro",
// "gemini-1.5-flash" etc. Defaults to "Other" if the model is unknown.
Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
// contains filtered or unexported fields
}Diagnostic info related to the rewriter model call.
func (*DataStoreConnectionSignals_RewriterModelCallSignals) Descriptor
func (*DataStoreConnectionSignals_RewriterModelCallSignals) Descriptor() ([]byte, []int)Deprecated: Use DataStoreConnectionSignals_RewriterModelCallSignals.ProtoReflect.Descriptor instead.
func (*DataStoreConnectionSignals_RewriterModelCallSignals) GetModel
func (x *DataStoreConnectionSignals_RewriterModelCallSignals) GetModel() stringfunc (*DataStoreConnectionSignals_RewriterModelCallSignals) GetModelOutput
func (x *DataStoreConnectionSignals_RewriterModelCallSignals) GetModelOutput() stringfunc (*DataStoreConnectionSignals_RewriterModelCallSignals) GetRenderedPrompt
func (x *DataStoreConnectionSignals_RewriterModelCallSignals) GetRenderedPrompt() stringfunc (*DataStoreConnectionSignals_RewriterModelCallSignals) ProtoMessage
func (*DataStoreConnectionSignals_RewriterModelCallSignals) ProtoMessage()func (*DataStoreConnectionSignals_RewriterModelCallSignals) ProtoReflect
func (x *DataStoreConnectionSignals_RewriterModelCallSignals) ProtoReflect() protoreflect.Messagefunc (*DataStoreConnectionSignals_RewriterModelCallSignals) Reset
func (x *DataStoreConnectionSignals_RewriterModelCallSignals) Reset()func (*DataStoreConnectionSignals_RewriterModelCallSignals) String
func (x *DataStoreConnectionSignals_RewriterModelCallSignals) String() stringDataStoreConnectionSignals_SafetySignals
type DataStoreConnectionSignals_SafetySignals struct {
// Safety decision.
Decision DataStoreConnectionSignals_SafetySignals_SafetyDecision `protobuf:"varint,1,opt,name=decision,proto3,enum=google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals_SafetySignals_SafetyDecision" json:"decision,omitempty"`
// Specifies banned phrase match subject.
BannedPhraseMatch DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch `protobuf:"varint,2,opt,name=banned_phrase_match,json=bannedPhraseMatch,proto3,enum=google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch" json:"banned_phrase_match,omitempty"`
// The matched banned phrase if there was a match.
MatchedBannedPhrase string `protobuf:"bytes,3,opt,name=matched_banned_phrase,json=matchedBannedPhrase,proto3" json:"matched_banned_phrase,omitempty"`
// contains filtered or unexported fields
}Safety check results.
func (*DataStoreConnectionSignals_SafetySignals) Descriptor
func (*DataStoreConnectionSignals_SafetySignals) Descriptor() ([]byte, []int)Deprecated: Use DataStoreConnectionSignals_SafetySignals.ProtoReflect.Descriptor instead.
func (*DataStoreConnectionSignals_SafetySignals) GetBannedPhraseMatch
func (x *DataStoreConnectionSignals_SafetySignals) GetBannedPhraseMatch() DataStoreConnectionSignals_SafetySignals_BannedPhraseMatchfunc (*DataStoreConnectionSignals_SafetySignals) GetDecision
func (x *DataStoreConnectionSignals_SafetySignals) GetDecision() DataStoreConnectionSignals_SafetySignals_SafetyDecisionfunc (*DataStoreConnectionSignals_SafetySignals) GetMatchedBannedPhrase
func (x *DataStoreConnectionSignals_SafetySignals) GetMatchedBannedPhrase() stringfunc (*DataStoreConnectionSignals_SafetySignals) ProtoMessage
func (*DataStoreConnectionSignals_SafetySignals) ProtoMessage()func (*DataStoreConnectionSignals_SafetySignals) ProtoReflect
func (x *DataStoreConnectionSignals_SafetySignals) ProtoReflect() protoreflect.Messagefunc (*DataStoreConnectionSignals_SafetySignals) Reset
func (x *DataStoreConnectionSignals_SafetySignals) Reset()func (*DataStoreConnectionSignals_SafetySignals) String
func (x *DataStoreConnectionSignals_SafetySignals) String() stringDataStoreConnectionSignals_SafetySignals_BannedPhraseMatch
type DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch int32Specifies banned phrase match subject.
DataStoreConnectionSignals_SafetySignals_BANNED_PHRASE_MATCH_UNSPECIFIED, DataStoreConnectionSignals_SafetySignals_BANNED_PHRASE_MATCH_NONE, DataStoreConnectionSignals_SafetySignals_BANNED_PHRASE_MATCH_QUERY, DataStoreConnectionSignals_SafetySignals_BANNED_PHRASE_MATCH_RESPONSE
const (
// No banned phrase check was executed.
DataStoreConnectionSignals_SafetySignals_BANNED_PHRASE_MATCH_UNSPECIFIED DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch = 0
// All banned phrase checks led to no match.
DataStoreConnectionSignals_SafetySignals_BANNED_PHRASE_MATCH_NONE DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch = 1
// A banned phrase matched the query.
DataStoreConnectionSignals_SafetySignals_BANNED_PHRASE_MATCH_QUERY DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch = 2
// A banned phrase matched the response.
DataStoreConnectionSignals_SafetySignals_BANNED_PHRASE_MATCH_RESPONSE DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch = 3
)func (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) Descriptor
func (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) Descriptor() protoreflect.EnumDescriptorfunc (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) Enum
func (x DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) Enum() *DataStoreConnectionSignals_SafetySignals_BannedPhraseMatchfunc (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) EnumDescriptor
func (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) EnumDescriptor() ([]byte, []int)Deprecated: Use DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch.Descriptor instead.
func (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) Number
func (x DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) Number() protoreflect.EnumNumberfunc (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) String
func (x DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) String() stringfunc (DataStoreConnectionSignals_SafetySignals_BannedPhraseMatch) Type
DataStoreConnectionSignals_SafetySignals_SafetyDecision
type DataStoreConnectionSignals_SafetySignals_SafetyDecision int32Safety decision. All kinds of check are incorporated into this final decision, including banned phrases check.
DataStoreConnectionSignals_SafetySignals_SAFETY_DECISION_UNSPECIFIED, DataStoreConnectionSignals_SafetySignals_ACCEPTED_BY_SAFETY_CHECK, DataStoreConnectionSignals_SafetySignals_REJECTED_BY_SAFETY_CHECK
const (
// Decision not specified.
DataStoreConnectionSignals_SafetySignals_SAFETY_DECISION_UNSPECIFIED DataStoreConnectionSignals_SafetySignals_SafetyDecision = 0
// No manual or automatic safety check fired.
DataStoreConnectionSignals_SafetySignals_ACCEPTED_BY_SAFETY_CHECK DataStoreConnectionSignals_SafetySignals_SafetyDecision = 1
// One ore more safety checks fired.
DataStoreConnectionSignals_SafetySignals_REJECTED_BY_SAFETY_CHECK DataStoreConnectionSignals_SafetySignals_SafetyDecision = 2
)func (DataStoreConnectionSignals_SafetySignals_SafetyDecision) Descriptor
func (DataStoreConnectionSignals_SafetySignals_SafetyDecision) Descriptor() protoreflect.EnumDescriptorfunc (DataStoreConnectionSignals_SafetySignals_SafetyDecision) Enum
func (x DataStoreConnectionSignals_SafetySignals_SafetyDecision) Enum() *DataStoreConnectionSignals_SafetySignals_SafetyDecisionfunc (DataStoreConnectionSignals_SafetySignals_SafetyDecision) EnumDescriptor
func (DataStoreConnectionSignals_SafetySignals_SafetyDecision) EnumDescriptor() ([]byte, []int)Deprecated: Use DataStoreConnectionSignals_SafetySignals_SafetyDecision.Descriptor instead.
func (DataStoreConnectionSignals_SafetySignals_SafetyDecision) Number
func (x DataStoreConnectionSignals_SafetySignals_SafetyDecision) Number() protoreflect.EnumNumberfunc (DataStoreConnectionSignals_SafetySignals_SafetyDecision) String
func (x DataStoreConnectionSignals_SafetySignals_SafetyDecision) String() stringfunc (DataStoreConnectionSignals_SafetySignals_SafetyDecision) Type
DataStoreConnectionSignals_SearchSnippet
type DataStoreConnectionSignals_SearchSnippet struct {
// Title of the enclosing document.
DocumentTitle string `protobuf:"bytes,1,opt,name=document_title,json=documentTitle,proto3" json:"document_title,omitempty"`
// Uri for the document. Present if specified for the document.
DocumentUri string `protobuf:"bytes,2,opt,name=document_uri,json=documentUri,proto3" json:"document_uri,omitempty"`
// Text included in the prompt.
Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
// Metadata associated with the document.
Metadata *structpb.Struct `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}Search snippet details.
func (*DataStoreConnectionSignals_SearchSnippet) Descriptor
func (*DataStoreConnectionSignals_SearchSnippet) Descriptor() ([]byte, []int)Deprecated: Use DataStoreConnectionSignals_SearchSnippet.ProtoReflect.Descriptor instead.
func (*DataStoreConnectionSignals_SearchSnippet) GetDocumentTitle
func (x *DataStoreConnectionSignals_SearchSnippet) GetDocumentTitle() stringfunc (*DataStoreConnectionSignals_SearchSnippet) GetDocumentUri
func (x *DataStoreConnectionSignals_SearchSnippet) GetDocumentUri() stringfunc (*DataStoreConnectionSignals_SearchSnippet) GetMetadata
func (x *DataStoreConnectionSignals_SearchSnippet) GetMetadata() *structpb.Structfunc (*DataStoreConnectionSignals_SearchSnippet) GetText
func (x *DataStoreConnectionSignals_SearchSnippet) GetText() stringfunc (*DataStoreConnectionSignals_SearchSnippet) ProtoMessage
func (*DataStoreConnectionSignals_SearchSnippet) ProtoMessage()func (*DataStoreConnectionSignals_SearchSnippet) ProtoReflect
func (x *DataStoreConnectionSignals_SearchSnippet) ProtoReflect() protoreflect.Messagefunc (*DataStoreConnectionSignals_SearchSnippet) Reset
func (x *DataStoreConnectionSignals_SearchSnippet) Reset()func (*DataStoreConnectionSignals_SearchSnippet) String
func (x *DataStoreConnectionSignals_SearchSnippet) String() stringDataStoreType
type DataStoreType int32Type of a data store. Determines how search is performed in the data store.
DataStoreType_DATA_STORE_TYPE_UNSPECIFIED, DataStoreType_PUBLIC_WEB, DataStoreType_UNSTRUCTURED, DataStoreType_STRUCTURED
const (
// Not specified. This value indicates that the data store type is not
// specified, so it will not be used during search.
DataStoreType_DATA_STORE_TYPE_UNSPECIFIED DataStoreType = 0
// A data store that contains public web content.
DataStoreType_PUBLIC_WEB DataStoreType = 1
// A data store that contains unstructured private data.
DataStoreType_UNSTRUCTURED DataStoreType = 2
// A data store that contains structured data (for example FAQ).
DataStoreType_STRUCTURED DataStoreType = 3
)func (DataStoreType) Descriptor
func (DataStoreType) Descriptor() protoreflect.EnumDescriptorfunc (DataStoreType) Enum
func (x DataStoreType) Enum() *DataStoreTypefunc (DataStoreType) EnumDescriptor
func (DataStoreType) EnumDescriptor() ([]byte, []int)Deprecated: Use DataStoreType.Descriptor instead.
func (DataStoreType) Number
func (x DataStoreType) Number() protoreflect.EnumNumberfunc (DataStoreType) String
func (x DataStoreType) String() stringfunc (DataStoreType) Type
func (DataStoreType) Type() protoreflect.EnumTypeDataType
type DataType int32Defines data types that are supported for inlined schemas. These types are consistent with [google.protobuf.Value][google.protobuf.Value].
DataType_DATA_TYPE_UNSPECIFIED, DataType_STRING, DataType_NUMBER, DataType_BOOLEAN, DataType_ARRAY
const (
// Not specified.
DataType_DATA_TYPE_UNSPECIFIED DataType = 0
// Represents any string value.
DataType_STRING DataType = 1
// Represents any number value.
DataType_NUMBER DataType = 2
// Represents a boolean value.
DataType_BOOLEAN DataType = 3
// Represents a repeated value.
DataType_ARRAY DataType = 6
)func (DataType) Descriptor
func (DataType) Descriptor() protoreflect.EnumDescriptorfunc (DataType) Enum
func (DataType) EnumDescriptor
Deprecated: Use DataType.Descriptor instead.
func (DataType) Number
func (x DataType) Number() protoreflect.EnumNumberfunc (DataType) String
func (DataType) Type
func (DataType) Type() protoreflect.EnumTypeDeleteAgentRequest
type DeleteAgentRequest struct {
// Required. The name of the agent to delete.
// Format: `projects/The request message for [Agents.DeleteAgent][google.cloud.dialogflow.cx.v3.Agents.DeleteAgent].
func (*DeleteAgentRequest) Descriptor
func (*DeleteAgentRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteAgentRequest.ProtoReflect.Descriptor instead.
func (*DeleteAgentRequest) GetName
func (x *DeleteAgentRequest) GetName() stringfunc (*DeleteAgentRequest) ProtoMessage
func (*DeleteAgentRequest) ProtoMessage()func (*DeleteAgentRequest) ProtoReflect
func (x *DeleteAgentRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteAgentRequest) Reset
func (x *DeleteAgentRequest) Reset()func (*DeleteAgentRequest) String
func (x *DeleteAgentRequest) String() stringDeleteEntityTypeRequest
type DeleteEntityTypeRequest struct {
// Required. The name of the entity type to delete.
// Format:
// `projects/The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.DeleteEntityType].
func (*DeleteEntityTypeRequest) Descriptor
func (*DeleteEntityTypeRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*DeleteEntityTypeRequest) GetForce
func (x *DeleteEntityTypeRequest) GetForce() boolfunc (*DeleteEntityTypeRequest) GetName
func (x *DeleteEntityTypeRequest) GetName() stringfunc (*DeleteEntityTypeRequest) ProtoMessage
func (*DeleteEntityTypeRequest) ProtoMessage()func (*DeleteEntityTypeRequest) ProtoReflect
func (x *DeleteEntityTypeRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteEntityTypeRequest) Reset
func (x *DeleteEntityTypeRequest) Reset()func (*DeleteEntityTypeRequest) String
func (x *DeleteEntityTypeRequest) String() stringDeleteEnvironmentRequest
type DeleteEnvironmentRequest struct {
// Required. The name of the
// [Environment][google.cloud.dialogflow.cx.v3.Environment] to delete. Format:
// `projects/The request message for [Environments.DeleteEnvironment][google.cloud.dialogflow.cx.v3.Environments.DeleteEnvironment].
func (*DeleteEnvironmentRequest) Descriptor
func (*DeleteEnvironmentRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*DeleteEnvironmentRequest) GetName
func (x *DeleteEnvironmentRequest) GetName() stringfunc (*DeleteEnvironmentRequest) ProtoMessage
func (*DeleteEnvironmentRequest) ProtoMessage()func (*DeleteEnvironmentRequest) ProtoReflect
func (x *DeleteEnvironmentRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteEnvironmentRequest) Reset
func (x *DeleteEnvironmentRequest) Reset()func (*DeleteEnvironmentRequest) String
func (x *DeleteEnvironmentRequest) String() stringDeleteExampleRequest
type DeleteExampleRequest struct {
// Required. The name of the example to delete.
// Format:
// `projects/The request message for [Examples.DeleteExample][google.cloud.dialogflow.cx.v3.Examples.DeleteExample].
func (*DeleteExampleRequest) Descriptor
func (*DeleteExampleRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteExampleRequest.ProtoReflect.Descriptor instead.
func (*DeleteExampleRequest) GetName
func (x *DeleteExampleRequest) GetName() stringfunc (*DeleteExampleRequest) ProtoMessage
func (*DeleteExampleRequest) ProtoMessage()func (*DeleteExampleRequest) ProtoReflect
func (x *DeleteExampleRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteExampleRequest) Reset
func (x *DeleteExampleRequest) Reset()func (*DeleteExampleRequest) String
func (x *DeleteExampleRequest) String() stringDeleteExperimentRequest
type DeleteExperimentRequest struct {
// Required. The name of the
// [Environment][google.cloud.dialogflow.cx.v3.Environment] to delete. Format:
// `projects/The request message for [Experiments.DeleteExperiment][google.cloud.dialogflow.cx.v3.Experiments.DeleteExperiment].
func (*DeleteExperimentRequest) Descriptor
func (*DeleteExperimentRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteExperimentRequest.ProtoReflect.Descriptor instead.
func (*DeleteExperimentRequest) GetName
func (x *DeleteExperimentRequest) GetName() stringfunc (*DeleteExperimentRequest) ProtoMessage
func (*DeleteExperimentRequest) ProtoMessage()func (*DeleteExperimentRequest) ProtoReflect
func (x *DeleteExperimentRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteExperimentRequest) Reset
func (x *DeleteExperimentRequest) Reset()func (*DeleteExperimentRequest) String
func (x *DeleteExperimentRequest) String() stringDeleteFlowRequest
type DeleteFlowRequest struct {
// Required. The name of the flow to delete.
// Format:
// `projects/The request message for [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3.Flows.DeleteFlow].
func (*DeleteFlowRequest) Descriptor
func (*DeleteFlowRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteFlowRequest.ProtoReflect.Descriptor instead.
func (*DeleteFlowRequest) GetForce
func (x *DeleteFlowRequest) GetForce() boolfunc (*DeleteFlowRequest) GetName
func (x *DeleteFlowRequest) GetName() stringfunc (*DeleteFlowRequest) ProtoMessage
func (*DeleteFlowRequest) ProtoMessage()func (*DeleteFlowRequest) ProtoReflect
func (x *DeleteFlowRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteFlowRequest) Reset
func (x *DeleteFlowRequest) Reset()func (*DeleteFlowRequest) String
func (x *DeleteFlowRequest) String() stringDeleteGeneratorRequest
type DeleteGeneratorRequest struct {
// Required. The name of the generator to delete.
// Format:
// `projects/The request message for [Generators.DeleteGenerator][google.cloud.dialogflow.cx.v3.Generators.DeleteGenerator].
func (*DeleteGeneratorRequest) Descriptor
func (*DeleteGeneratorRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteGeneratorRequest.ProtoReflect.Descriptor instead.
func (*DeleteGeneratorRequest) GetForce
func (x *DeleteGeneratorRequest) GetForce() boolfunc (*DeleteGeneratorRequest) GetName
func (x *DeleteGeneratorRequest) GetName() stringfunc (*DeleteGeneratorRequest) ProtoMessage
func (*DeleteGeneratorRequest) ProtoMessage()func (*DeleteGeneratorRequest) ProtoReflect
func (x *DeleteGeneratorRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteGeneratorRequest) Reset
func (x *DeleteGeneratorRequest) Reset()func (*DeleteGeneratorRequest) String
func (x *DeleteGeneratorRequest) String() stringDeleteIntentRequest
type DeleteIntentRequest struct {
// Required. The name of the intent to delete.
// Format:
// `projects/The request message for [Intents.DeleteIntent][google.cloud.dialogflow.cx.v3.Intents.DeleteIntent].
func (*DeleteIntentRequest) Descriptor
func (*DeleteIntentRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteIntentRequest.ProtoReflect.Descriptor instead.
func (*DeleteIntentRequest) GetName
func (x *DeleteIntentRequest) GetName() stringfunc (*DeleteIntentRequest) ProtoMessage
func (*DeleteIntentRequest) ProtoMessage()func (*DeleteIntentRequest) ProtoReflect
func (x *DeleteIntentRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteIntentRequest) Reset
func (x *DeleteIntentRequest) Reset()func (*DeleteIntentRequest) String
func (x *DeleteIntentRequest) String() stringDeletePageRequest
type DeletePageRequest struct {
// Required. The name of the page to delete.
// Format:
// `projects/The request message for [Pages.DeletePage][google.cloud.dialogflow.cx.v3.Pages.DeletePage].
func (*DeletePageRequest) Descriptor
func (*DeletePageRequest) Descriptor() ([]byte, []int)Deprecated: Use DeletePageRequest.ProtoReflect.Descriptor instead.
func (*DeletePageRequest) GetForce
func (x *DeletePageRequest) GetForce() boolfunc (*DeletePageRequest) GetName
func (x *DeletePageRequest) GetName() stringfunc (*DeletePageRequest) ProtoMessage
func (*DeletePageRequest) ProtoMessage()func (*DeletePageRequest) ProtoReflect
func (x *DeletePageRequest) ProtoReflect() protoreflect.Messagefunc (*DeletePageRequest) Reset
func (x *DeletePageRequest) Reset()func (*DeletePageRequest) String
func (x *DeletePageRequest) String() stringDeletePlaybookRequest
type DeletePlaybookRequest struct {
// Required. The name of the playbook to delete.
// Format:
// `projects/The request message for [Playbooks.DeletePlaybook][google.cloud.dialogflow.cx.v3.Playbooks.DeletePlaybook].
func (*DeletePlaybookRequest) Descriptor
func (*DeletePlaybookRequest) Descriptor() ([]byte, []int)Deprecated: Use DeletePlaybookRequest.ProtoReflect.Descriptor instead.
func (*DeletePlaybookRequest) GetName
func (x *DeletePlaybookRequest) GetName() stringfunc (*DeletePlaybookRequest) ProtoMessage
func (*DeletePlaybookRequest) ProtoMessage()func (*DeletePlaybookRequest) ProtoReflect
func (x *DeletePlaybookRequest) ProtoReflect() protoreflect.Messagefunc (*DeletePlaybookRequest) Reset
func (x *DeletePlaybookRequest) Reset()func (*DeletePlaybookRequest) String
func (x *DeletePlaybookRequest) String() stringDeletePlaybookVersionRequest
type DeletePlaybookVersionRequest struct {
// Required. The name of the playbook version to delete.
// Format:
// `projects/The request message for [Playbooks.DeletePlaybookVersion][google.cloud.dialogflow.cx.v3.Playbooks.DeletePlaybookVersion].
func (*DeletePlaybookVersionRequest) Descriptor
func (*DeletePlaybookVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use DeletePlaybookVersionRequest.ProtoReflect.Descriptor instead.
func (*DeletePlaybookVersionRequest) GetName
func (x *DeletePlaybookVersionRequest) GetName() stringfunc (*DeletePlaybookVersionRequest) ProtoMessage
func (*DeletePlaybookVersionRequest) ProtoMessage()func (*DeletePlaybookVersionRequest) ProtoReflect
func (x *DeletePlaybookVersionRequest) ProtoReflect() protoreflect.Messagefunc (*DeletePlaybookVersionRequest) Reset
func (x *DeletePlaybookVersionRequest) Reset()func (*DeletePlaybookVersionRequest) String
func (x *DeletePlaybookVersionRequest) String() stringDeleteSecuritySettingsRequest
type DeleteSecuritySettingsRequest struct {
// Required. The name of the
// [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] to
// delete. Format:
// `projects/The request message for [SecuritySettings.DeleteSecuritySettings][].
func (*DeleteSecuritySettingsRequest) Descriptor
func (*DeleteSecuritySettingsRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteSecuritySettingsRequest.ProtoReflect.Descriptor instead.
func (*DeleteSecuritySettingsRequest) GetName
func (x *DeleteSecuritySettingsRequest) GetName() stringfunc (*DeleteSecuritySettingsRequest) ProtoMessage
func (*DeleteSecuritySettingsRequest) ProtoMessage()func (*DeleteSecuritySettingsRequest) ProtoReflect
func (x *DeleteSecuritySettingsRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteSecuritySettingsRequest) Reset
func (x *DeleteSecuritySettingsRequest) Reset()func (*DeleteSecuritySettingsRequest) String
func (x *DeleteSecuritySettingsRequest) String() stringDeleteSessionEntityTypeRequest
type DeleteSessionEntityTypeRequest struct {
// Required. The name of the session entity type to delete.
// Format:
// `projects/The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.DeleteSessionEntityType].
func (*DeleteSessionEntityTypeRequest) Descriptor
func (*DeleteSessionEntityTypeRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteSessionEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*DeleteSessionEntityTypeRequest) GetName
func (x *DeleteSessionEntityTypeRequest) GetName() stringfunc (*DeleteSessionEntityTypeRequest) ProtoMessage
func (*DeleteSessionEntityTypeRequest) ProtoMessage()func (*DeleteSessionEntityTypeRequest) ProtoReflect
func (x *DeleteSessionEntityTypeRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteSessionEntityTypeRequest) Reset
func (x *DeleteSessionEntityTypeRequest) Reset()func (*DeleteSessionEntityTypeRequest) String
func (x *DeleteSessionEntityTypeRequest) String() stringDeleteToolRequest
type DeleteToolRequest struct {
// Required. The name of the Tool to be deleted.
// Format:
// `projects/The request message for [Tools.DeleteTool][google.cloud.dialogflow.cx.v3.Tools.DeleteTool].
func (*DeleteToolRequest) Descriptor
func (*DeleteToolRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteToolRequest.ProtoReflect.Descriptor instead.
func (*DeleteToolRequest) GetForce
func (x *DeleteToolRequest) GetForce() boolfunc (*DeleteToolRequest) GetName
func (x *DeleteToolRequest) GetName() stringfunc (*DeleteToolRequest) ProtoMessage
func (*DeleteToolRequest) ProtoMessage()func (*DeleteToolRequest) ProtoReflect
func (x *DeleteToolRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteToolRequest) Reset
func (x *DeleteToolRequest) Reset()func (*DeleteToolRequest) String
func (x *DeleteToolRequest) String() stringDeleteToolVersionRequest
type DeleteToolVersionRequest struct {
// Required. The name of the tool version to delete.
// Format:
// `projects/The request message for [Tools.DeleteToolVersion][google.cloud.dialogflow.cx.v3.Tools.DeleteToolVersion].
func (*DeleteToolVersionRequest) Descriptor
func (*DeleteToolVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteToolVersionRequest.ProtoReflect.Descriptor instead.
func (*DeleteToolVersionRequest) GetForce
func (x *DeleteToolVersionRequest) GetForce() boolfunc (*DeleteToolVersionRequest) GetName
func (x *DeleteToolVersionRequest) GetName() stringfunc (*DeleteToolVersionRequest) ProtoMessage
func (*DeleteToolVersionRequest) ProtoMessage()func (*DeleteToolVersionRequest) ProtoReflect
func (x *DeleteToolVersionRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteToolVersionRequest) Reset
func (x *DeleteToolVersionRequest) Reset()func (*DeleteToolVersionRequest) String
func (x *DeleteToolVersionRequest) String() stringDeleteTransitionRouteGroupRequest
type DeleteTransitionRouteGroupRequest struct {
// Required. The name of the
// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]
// to delete. Format:
// `projects/The request message for [TransitionRouteGroups.DeleteTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.DeleteTransitionRouteGroup].
func (*DeleteTransitionRouteGroupRequest) Descriptor
func (*DeleteTransitionRouteGroupRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.
func (*DeleteTransitionRouteGroupRequest) GetForce
func (x *DeleteTransitionRouteGroupRequest) GetForce() boolfunc (*DeleteTransitionRouteGroupRequest) GetName
func (x *DeleteTransitionRouteGroupRequest) GetName() stringfunc (*DeleteTransitionRouteGroupRequest) ProtoMessage
func (*DeleteTransitionRouteGroupRequest) ProtoMessage()func (*DeleteTransitionRouteGroupRequest) ProtoReflect
func (x *DeleteTransitionRouteGroupRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteTransitionRouteGroupRequest) Reset
func (x *DeleteTransitionRouteGroupRequest) Reset()func (*DeleteTransitionRouteGroupRequest) String
func (x *DeleteTransitionRouteGroupRequest) String() stringDeleteVersionRequest
type DeleteVersionRequest struct {
// Required. The name of the [Version][google.cloud.dialogflow.cx.v3.Version]
// to delete. Format:
// `projects/The request message for [Versions.DeleteVersion][google.cloud.dialogflow.cx.v3.Versions.DeleteVersion].
func (*DeleteVersionRequest) Descriptor
func (*DeleteVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.
func (*DeleteVersionRequest) GetName
func (x *DeleteVersionRequest) GetName() stringfunc (*DeleteVersionRequest) ProtoMessage
func (*DeleteVersionRequest) ProtoMessage()func (*DeleteVersionRequest) ProtoReflect
func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteVersionRequest) Reset
func (x *DeleteVersionRequest) Reset()func (*DeleteVersionRequest) String
func (x *DeleteVersionRequest) String() stringDeleteWebhookRequest
type DeleteWebhookRequest struct {
// Required. The name of the webhook to delete.
// Format:
// `projects/The request message for [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3.Webhooks.DeleteWebhook].
func (*DeleteWebhookRequest) Descriptor
func (*DeleteWebhookRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteWebhookRequest.ProtoReflect.Descriptor instead.
func (*DeleteWebhookRequest) GetForce
func (x *DeleteWebhookRequest) GetForce() boolfunc (*DeleteWebhookRequest) GetName
func (x *DeleteWebhookRequest) GetName() stringfunc (*DeleteWebhookRequest) ProtoMessage
func (*DeleteWebhookRequest) ProtoMessage()func (*DeleteWebhookRequest) ProtoReflect
func (x *DeleteWebhookRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteWebhookRequest) Reset
func (x *DeleteWebhookRequest) Reset()func (*DeleteWebhookRequest) String
func (x *DeleteWebhookRequest) String() stringDeployFlowMetadata
type DeployFlowMetadata struct {
// Errors of running deployment tests.
TestErrors []*TestError `protobuf:"bytes,1,rep,name=test_errors,json=testErrors,proto3" json:"test_errors,omitempty"`
// contains filtered or unexported fields
}Metadata returned for the [Environments.DeployFlow][google.cloud.dialogflow.cx.v3.Environments.DeployFlow] long running operation.
func (*DeployFlowMetadata) Descriptor
func (*DeployFlowMetadata) Descriptor() ([]byte, []int)Deprecated: Use DeployFlowMetadata.ProtoReflect.Descriptor instead.
func (*DeployFlowMetadata) GetTestErrors
func (x *DeployFlowMetadata) GetTestErrors() []*TestErrorfunc (*DeployFlowMetadata) ProtoMessage
func (*DeployFlowMetadata) ProtoMessage()func (*DeployFlowMetadata) ProtoReflect
func (x *DeployFlowMetadata) ProtoReflect() protoreflect.Messagefunc (*DeployFlowMetadata) Reset
func (x *DeployFlowMetadata) Reset()func (*DeployFlowMetadata) String
func (x *DeployFlowMetadata) String() stringDeployFlowRequest
type DeployFlowRequest struct {
// Required. The environment to deploy the flow to.
// Format:
// `projects/The request message for [Environments.DeployFlow][google.cloud.dialogflow.cx.v3.Environments.DeployFlow].
func (*DeployFlowRequest) Descriptor
func (*DeployFlowRequest) Descriptor() ([]byte, []int)Deprecated: Use DeployFlowRequest.ProtoReflect.Descriptor instead.
func (*DeployFlowRequest) GetEnvironment
func (x *DeployFlowRequest) GetEnvironment() stringfunc (*DeployFlowRequest) GetFlowVersion
func (x *DeployFlowRequest) GetFlowVersion() stringfunc (*DeployFlowRequest) ProtoMessage
func (*DeployFlowRequest) ProtoMessage()func (*DeployFlowRequest) ProtoReflect
func (x *DeployFlowRequest) ProtoReflect() protoreflect.Messagefunc (*DeployFlowRequest) Reset
func (x *DeployFlowRequest) Reset()func (*DeployFlowRequest) String
func (x *DeployFlowRequest) String() stringDeployFlowResponse
type DeployFlowResponse struct {
// The updated environment where the flow is deployed.
Environment *Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"`
// The name of the flow version
// [Deployment][google.cloud.dialogflow.cx.v3.Deployment]. Format:
// `projects/The response message for [Environments.DeployFlow][google.cloud.dialogflow.cx.v3.Environments.DeployFlow].
func (*DeployFlowResponse) Descriptor
func (*DeployFlowResponse) Descriptor() ([]byte, []int)Deprecated: Use DeployFlowResponse.ProtoReflect.Descriptor instead.
func (*DeployFlowResponse) GetDeployment
func (x *DeployFlowResponse) GetDeployment() stringfunc (*DeployFlowResponse) GetEnvironment
func (x *DeployFlowResponse) GetEnvironment() *Environmentfunc (*DeployFlowResponse) ProtoMessage
func (*DeployFlowResponse) ProtoMessage()func (*DeployFlowResponse) ProtoReflect
func (x *DeployFlowResponse) ProtoReflect() protoreflect.Messagefunc (*DeployFlowResponse) Reset
func (x *DeployFlowResponse) Reset()func (*DeployFlowResponse) String
func (x *DeployFlowResponse) String() stringDeployment
type Deployment struct {
// The name of the deployment.
// Format:
// projects/Represents a deployment in an environment. A deployment happens when a flow version configured to be active in the environment. You can configure running pre-deployment steps, e.g. running validation test cases, experiment auto-rollout, etc.
func (*Deployment) Descriptor
func (*Deployment) Descriptor() ([]byte, []int)Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (*Deployment) GetEndTime
func (x *Deployment) GetEndTime() *timestamppb.Timestampfunc (*Deployment) GetFlowVersion
func (x *Deployment) GetFlowVersion() stringfunc (*Deployment) GetName
func (x *Deployment) GetName() stringfunc (*Deployment) GetResult
func (x *Deployment) GetResult() *Deployment_Resultfunc (*Deployment) GetStartTime
func (x *Deployment) GetStartTime() *timestamppb.Timestampfunc (*Deployment) GetState
func (x *Deployment) GetState() Deployment_Statefunc (*Deployment) ProtoMessage
func (*Deployment) ProtoMessage()func (*Deployment) ProtoReflect
func (x *Deployment) ProtoReflect() protoreflect.Messagefunc (*Deployment) Reset
func (x *Deployment) Reset()func (*Deployment) String
func (x *Deployment) String() stringDeployment_Result
type Deployment_Result struct {
// Results of test cases running before the deployment.
// Format:
// `projects/Result of the deployment.
func (*Deployment_Result) Descriptor
func (*Deployment_Result) Descriptor() ([]byte, []int)Deprecated: Use Deployment_Result.ProtoReflect.Descriptor instead.
func (*Deployment_Result) GetDeploymentTestResults
func (x *Deployment_Result) GetDeploymentTestResults() []stringfunc (*Deployment_Result) GetExperiment
func (x *Deployment_Result) GetExperiment() stringfunc (*Deployment_Result) ProtoMessage
func (*Deployment_Result) ProtoMessage()func (*Deployment_Result) ProtoReflect
func (x *Deployment_Result) ProtoReflect() protoreflect.Messagefunc (*Deployment_Result) Reset
func (x *Deployment_Result) Reset()func (*Deployment_Result) String
func (x *Deployment_Result) String() stringDeployment_State
type Deployment_State int32The state of the deployment.
Deployment_STATE_UNSPECIFIED, Deployment_RUNNING, Deployment_SUCCEEDED, Deployment_FAILED
const (
// State unspecified.
Deployment_STATE_UNSPECIFIED Deployment_State = 0
// The deployment is running.
Deployment_RUNNING Deployment_State = 1
// The deployment succeeded.
Deployment_SUCCEEDED Deployment_State = 2
// The deployment failed.
Deployment_FAILED Deployment_State = 3
)func (Deployment_State) Descriptor
func (Deployment_State) Descriptor() protoreflect.EnumDescriptorfunc (Deployment_State) Enum
func (x Deployment_State) Enum() *Deployment_Statefunc (Deployment_State) EnumDescriptor
func (Deployment_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Deployment_State.Descriptor instead.
func (Deployment_State) Number
func (x Deployment_State) Number() protoreflect.EnumNumberfunc (Deployment_State) String
func (x Deployment_State) String() stringfunc (Deployment_State) Type
func (Deployment_State) Type() protoreflect.EnumTypeDeploymentsClient
type DeploymentsClient interface {
// Returns the list of all deployments in the specified
// [Environment][google.cloud.dialogflow.cx.v3.Environment].
ListDeployments(ctx context.Context, in *ListDeploymentsRequest, opts ...grpc.CallOption) (*ListDeploymentsResponse, error)
// Retrieves the specified
// [Deployment][google.cloud.dialogflow.cx.v3.Deployment].
GetDeployment(ctx context.Context, in *GetDeploymentRequest, opts ...grpc.CallOption) (*Deployment, error)
}DeploymentsClient is the client API for Deployments 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 NewDeploymentsClient
func NewDeploymentsClient(cc grpc.ClientConnInterface) DeploymentsClientDeploymentsServer
type DeploymentsServer interface {
// Returns the list of all deployments in the specified
// [Environment][google.cloud.dialogflow.cx.v3.Environment].
ListDeployments(context.Context, *ListDeploymentsRequest) (*ListDeploymentsResponse, error)
// Retrieves the specified
// [Deployment][google.cloud.dialogflow.cx.v3.Deployment].
GetDeployment(context.Context, *GetDeploymentRequest) (*Deployment, error)
}DeploymentsServer is the server API for Deployments service. All implementations should embed UnimplementedDeploymentsServer for forward compatibility
DetectIntentRequest
type DetectIntentRequest struct {
// Required. The name of the session this query is sent to.
// Format:
// `projects/The request to detect user's intent.
func (*DetectIntentRequest) Descriptor
func (*DetectIntentRequest) Descriptor() ([]byte, []int)Deprecated: Use DetectIntentRequest.ProtoReflect.Descriptor instead.
func (*DetectIntentRequest) GetOutputAudioConfig
func (x *DetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfigfunc (*DetectIntentRequest) GetQueryInput
func (x *DetectIntentRequest) GetQueryInput() *QueryInputfunc (*DetectIntentRequest) GetQueryParams
func (x *DetectIntentRequest) GetQueryParams() *QueryParametersfunc (*DetectIntentRequest) GetResponseView
func (x *DetectIntentRequest) GetResponseView() DetectIntentResponseViewfunc (*DetectIntentRequest) GetSession
func (x *DetectIntentRequest) GetSession() stringfunc (*DetectIntentRequest) ProtoMessage
func (*DetectIntentRequest) ProtoMessage()func (*DetectIntentRequest) ProtoReflect
func (x *DetectIntentRequest) ProtoReflect() protoreflect.Messagefunc (*DetectIntentRequest) Reset
func (x *DetectIntentRequest) Reset()func (*DetectIntentRequest) String
func (x *DetectIntentRequest) String() stringDetectIntentResponse
type DetectIntentResponse struct {
// Output only. The unique identifier of the response. It can be used to
// locate a response in the training example set or for reporting issues.
ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"`
// The result of the conversational query.
QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,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.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_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,5,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"`
// Response type.
ResponseType DetectIntentResponse_ResponseType `protobuf:"varint,6,opt,name=response_type,json=responseType,proto3,enum=google.cloud.dialogflow.cx.v3.DetectIntentResponse_ResponseType" json:"response_type,omitempty"`
// Indicates whether the partial response can be cancelled when a later
// response arrives. e.g. if the agent specified some music as partial
// response, it can be cancelled.
AllowCancellation bool `protobuf:"varint,7,opt,name=allow_cancellation,json=allowCancellation,proto3" json:"allow_cancellation,omitempty"`
// contains filtered or unexported fields
}The message returned from the DetectIntent method.
func (*DetectIntentResponse) Descriptor
func (*DetectIntentResponse) Descriptor() ([]byte, []int)Deprecated: Use DetectIntentResponse.ProtoReflect.Descriptor instead.
func (*DetectIntentResponse) GetAllowCancellation
func (x *DetectIntentResponse) GetAllowCancellation() boolfunc (*DetectIntentResponse) GetOutputAudio
func (x *DetectIntentResponse) GetOutputAudio() []bytefunc (*DetectIntentResponse) GetOutputAudioConfig
func (x *DetectIntentResponse) GetOutputAudioConfig() *OutputAudioConfigfunc (*DetectIntentResponse) GetQueryResult
func (x *DetectIntentResponse) GetQueryResult() *QueryResultfunc (*DetectIntentResponse) GetResponseId
func (x *DetectIntentResponse) GetResponseId() stringfunc (*DetectIntentResponse) GetResponseType
func (x *DetectIntentResponse) GetResponseType() DetectIntentResponse_ResponseTypefunc (*DetectIntentResponse) ProtoMessage
func (*DetectIntentResponse) ProtoMessage()func (*DetectIntentResponse) ProtoReflect
func (x *DetectIntentResponse) ProtoReflect() protoreflect.Messagefunc (*DetectIntentResponse) Reset
func (x *DetectIntentResponse) Reset()func (*DetectIntentResponse) String
func (x *DetectIntentResponse) String() stringDetectIntentResponseView
type DetectIntentResponseView int32The response view specifies which fields in the [QueryResult][google.cloud.dialogflow.cx.v3.QueryResult] to return.
DetectIntentResponseView_DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED, DetectIntentResponseView_DETECT_INTENT_RESPONSE_VIEW_FULL, DetectIntentResponseView_DETECT_INTENT_RESPONSE_VIEW_BASIC, DetectIntentResponseView_DETECT_INTENT_RESPONSE_VIEW_DEFAULT
const (
// Not specified. `DETECT_INTENT_RESPONSE_VIEW_DEFAULT` will be used.
DetectIntentResponseView_DETECT_INTENT_RESPONSE_VIEW_UNSPECIFIED DetectIntentResponseView = 0
// Full response view includes all fields.
DetectIntentResponseView_DETECT_INTENT_RESPONSE_VIEW_FULL DetectIntentResponseView = 1
// Basic response view omits the following fields:
// -
// [QueryResult.diagnostic_info][google.cloud.dialogflow.cx.v3.QueryResult.diagnostic_info]
// - [QueryResult.generative_info][]
// -
// [QueryResult.trace_blocks][google.cloud.dialogflow.cx.v3.QueryResult.trace_blocks]
// -
// [QueryResult.data_store_connection_signals][google.cloud.dialogflow.cx.v3.QueryResult.data_store_connection_signals]
DetectIntentResponseView_DETECT_INTENT_RESPONSE_VIEW_BASIC DetectIntentResponseView = 2
// Default response view omits the following fields:
// -
// [QueryResult.trace_blocks][google.cloud.dialogflow.cx.v3.QueryResult.trace_blocks]
DetectIntentResponseView_DETECT_INTENT_RESPONSE_VIEW_DEFAULT DetectIntentResponseView = 3
)func (DetectIntentResponseView) Descriptor
func (DetectIntentResponseView) Descriptor() protoreflect.EnumDescriptorfunc (DetectIntentResponseView) Enum
func (x DetectIntentResponseView) Enum() *DetectIntentResponseViewfunc (DetectIntentResponseView) EnumDescriptor
func (DetectIntentResponseView) EnumDescriptor() ([]byte, []int)Deprecated: Use DetectIntentResponseView.Descriptor instead.
func (DetectIntentResponseView) Number
func (x DetectIntentResponseView) Number() protoreflect.EnumNumberfunc (DetectIntentResponseView) String
func (x DetectIntentResponseView) String() stringfunc (DetectIntentResponseView) Type
func (DetectIntentResponseView) Type() protoreflect.EnumTypeDetectIntentResponse_ResponseType
type DetectIntentResponse_ResponseType int32Represents different DetectIntentResponse types.
DetectIntentResponse_RESPONSE_TYPE_UNSPECIFIED, DetectIntentResponse_PARTIAL, DetectIntentResponse_FINAL
const (
// Not specified. This should never happen.
DetectIntentResponse_RESPONSE_TYPE_UNSPECIFIED DetectIntentResponse_ResponseType = 0
// Partial response. e.g. Aggregated responses in a Fulfillment that enables
// `return_partial_response` can be returned as partial response.
// WARNING: partial response is not eligible for barge-in.
DetectIntentResponse_PARTIAL DetectIntentResponse_ResponseType = 1
// Final response.
DetectIntentResponse_FINAL DetectIntentResponse_ResponseType = 2
)func (DetectIntentResponse_ResponseType) Descriptor
func (DetectIntentResponse_ResponseType) Descriptor() protoreflect.EnumDescriptorfunc (DetectIntentResponse_ResponseType) Enum
func (x DetectIntentResponse_ResponseType) Enum() *DetectIntentResponse_ResponseTypefunc (DetectIntentResponse_ResponseType) EnumDescriptor
func (DetectIntentResponse_ResponseType) EnumDescriptor() ([]byte, []int)Deprecated: Use DetectIntentResponse_ResponseType.Descriptor instead.
func (DetectIntentResponse_ResponseType) Number
func (x DetectIntentResponse_ResponseType) Number() protoreflect.EnumNumberfunc (DetectIntentResponse_ResponseType) String
func (x DetectIntentResponse_ResponseType) String() stringfunc (DetectIntentResponse_ResponseType) Type
func (DetectIntentResponse_ResponseType) Type() protoreflect.EnumTypeDocumentProcessingMode
type DocumentProcessingMode int32The document processing mode of the data store.
DocumentProcessingMode_DOCUMENT_PROCESSING_MODE_UNSPECIFIED, DocumentProcessingMode_DOCUMENTS, DocumentProcessingMode_CHUNKS
const (
// Not specified. This should be set for STRUCTURED type data stores. Due to
// legacy reasons this is considered as DOCUMENTS for STRUCTURED and
// PUBLIC_WEB data stores.
DocumentProcessingMode_DOCUMENT_PROCESSING_MODE_UNSPECIFIED DocumentProcessingMode = 0
// Documents are processed as documents.
DocumentProcessingMode_DOCUMENTS DocumentProcessingMode = 1
// Documents are converted to chunks.
DocumentProcessingMode_CHUNKS DocumentProcessingMode = 2
)func (DocumentProcessingMode) Descriptor
func (DocumentProcessingMode) Descriptor() protoreflect.EnumDescriptorfunc (DocumentProcessingMode) Enum
func (x DocumentProcessingMode) Enum() *DocumentProcessingModefunc (DocumentProcessingMode) EnumDescriptor
func (DocumentProcessingMode) EnumDescriptor() ([]byte, []int)Deprecated: Use DocumentProcessingMode.Descriptor instead.
func (DocumentProcessingMode) Number
func (x DocumentProcessingMode) Number() protoreflect.EnumNumberfunc (DocumentProcessingMode) String
func (x DocumentProcessingMode) String() stringfunc (DocumentProcessingMode) Type
func (DocumentProcessingMode) Type() protoreflect.EnumTypeDtmfInput
type DtmfInput struct {
// The dtmf digits.
Digits string `protobuf:"bytes,1,opt,name=digits,proto3" json:"digits,omitempty"`
// The finish digit (if any).
FinishDigit string `protobuf:"bytes,2,opt,name=finish_digit,json=finishDigit,proto3" json:"finish_digit,omitempty"`
// contains filtered or unexported fields
}Represents the input for dtmf event.
func (*DtmfInput) Descriptor
Deprecated: Use DtmfInput.ProtoReflect.Descriptor instead.
func (*DtmfInput) GetDigits
func (*DtmfInput) GetFinishDigit
func (*DtmfInput) ProtoMessage
func (*DtmfInput) ProtoMessage()func (*DtmfInput) ProtoReflect
func (x *DtmfInput) ProtoReflect() protoreflect.Messagefunc (*DtmfInput) Reset
func (x *DtmfInput) Reset()func (*DtmfInput) String
EntityType
type EntityType struct {
// The unique identifier of the entity type.
// Required for
// [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType].
// Format:
// `projects/Entities are extracted from user input and represent parameters that are meaningful to your application. For example, a date range, a proper name such as a geographic location or landmark, and so on. Entities represent actionable data for your application.
When you define an entity, you can also include synonyms that all map to that entity. For example, "soft drink", "soda", "pop", and so on.
There are three types of entities:
System - entities that are defined by the Dialogflow API for common data types such as date, time, currency, and so on. A system entity is represented by the
EntityTypetype.Custom - entities that are defined by you that represent actionable data that is meaningful to your application. For example, you could define a
pizza.sauceentity for red or white pizza sauce, apizza.cheeseentity for the different types of cheese on a pizza, apizza.toppingentity for different toppings, and so on. A custom entity is represented by theEntityTypetype.User - entities that are built for an individual user such as favorites, preferences, playlists, and so on. A user entity is represented by the [SessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityType] type.
For more information about entity types, see the Dialogflow documentation.
func (*EntityType) Descriptor
func (*EntityType) Descriptor() ([]byte, []int)Deprecated: Use EntityType.ProtoReflect.Descriptor instead.
func (*EntityType) GetAutoExpansionMode
func (x *EntityType) GetAutoExpansionMode() EntityType_AutoExpansionModefunc (*EntityType) GetDisplayName
func (x *EntityType) GetDisplayName() stringfunc (*EntityType) GetEnableFuzzyExtraction
func (x *EntityType) GetEnableFuzzyExtraction() boolfunc (*EntityType) GetEntities
func (x *EntityType) GetEntities() []*EntityType_Entityfunc (*EntityType) GetExcludedPhrases
func (x *EntityType) GetExcludedPhrases() []*EntityType_ExcludedPhrasefunc (*EntityType) GetKind
func (x *EntityType) GetKind() EntityType_Kindfunc (*EntityType) GetName
func (x *EntityType) GetName() stringfunc (*EntityType) GetRedact
func (x *EntityType) GetRedact() boolfunc (*EntityType) ProtoMessage
func (*EntityType) ProtoMessage()func (*EntityType) ProtoReflect
func (x *EntityType) ProtoReflect() protoreflect.Messagefunc (*EntityType) Reset
func (x *EntityType) Reset()func (*EntityType) String
func (x *EntityType) String() stringEntityType_AutoExpansionMode
type EntityType_AutoExpansionMode int32Represents 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).
EntityType_AUTO_EXPANSION_MODE_UNSPECIFIED, EntityType_AUTO_EXPANSION_MODE_DEFAULT
const (
// Auto expansion disabled for the entity.
EntityType_AUTO_EXPANSION_MODE_UNSPECIFIED EntityType_AutoExpansionMode = 0
// Allows an agent to recognize values that have not been explicitly
// listed in the entity.
EntityType_AUTO_EXPANSION_MODE_DEFAULT EntityType_AutoExpansionMode = 1
)func (EntityType_AutoExpansionMode) Descriptor
func (EntityType_AutoExpansionMode) Descriptor() protoreflect.EnumDescriptorfunc (EntityType_AutoExpansionMode) Enum
func (x EntityType_AutoExpansionMode) Enum() *EntityType_AutoExpansionModefunc (EntityType_AutoExpansionMode) EnumDescriptor
func (EntityType_AutoExpansionMode) EnumDescriptor() ([]byte, []int)Deprecated: Use EntityType_AutoExpansionMode.Descriptor instead.
func (EntityType_AutoExpansionMode) Number
func (x EntityType_AutoExpansionMode) Number() protoreflect.EnumNumberfunc (EntityType_AutoExpansionMode) String
func (x EntityType_AutoExpansionMode) String() stringfunc (EntityType_AutoExpansionMode) Type
func (EntityType_AutoExpansionMode) Type() protoreflect.EnumTypeEntityType_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 canonical value to be used in place of synonyms.
//
// For `KIND_LIST` entity types:
//
// - A string that can contain references to other entity types (with or
// without aliases).
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// Required. A collection of value synonyms. For example, if the entity type
// is *vegetable*, and `value` is *scallions*, a synonym could be *green
// onions*.
//
// For `KIND_LIST` entity types:
//
// * This collection must contain exactly one synonym equal to `value`.
Synonyms []string `protobuf:"bytes,2,rep,name=synonyms,proto3" json:"synonyms,omitempty"`
// contains filtered or unexported fields
}An entity entry for an associated entity type.
func (*EntityType_Entity) Descriptor
func (*EntityType_Entity) Descriptor() ([]byte, []int)Deprecated: Use EntityType_Entity.ProtoReflect.Descriptor instead.
func (*EntityType_Entity) GetSynonyms
func (x *EntityType_Entity) GetSynonyms() []stringfunc (*EntityType_Entity) GetValue
func (x *EntityType_Entity) GetValue() stringfunc (*EntityType_Entity) ProtoMessage
func (*EntityType_Entity) ProtoMessage()func (*EntityType_Entity) ProtoReflect
func (x *EntityType_Entity) ProtoReflect() protoreflect.Messagefunc (*EntityType_Entity) Reset
func (x *EntityType_Entity) Reset()func (*EntityType_Entity) String
func (x *EntityType_Entity) String() stringEntityType_ExcludedPhrase
type EntityType_ExcludedPhrase struct {
// Required. The word or phrase to be excluded.
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}An excluded entity phrase that should not be matched.
func (*EntityType_ExcludedPhrase) Descriptor
func (*EntityType_ExcludedPhrase) Descriptor() ([]byte, []int)Deprecated: Use EntityType_ExcludedPhrase.ProtoReflect.Descriptor instead.
func (*EntityType_ExcludedPhrase) GetValue
func (x *EntityType_ExcludedPhrase) GetValue() stringfunc (*EntityType_ExcludedPhrase) ProtoMessage
func (*EntityType_ExcludedPhrase) ProtoMessage()func (*EntityType_ExcludedPhrase) ProtoReflect
func (x *EntityType_ExcludedPhrase) ProtoReflect() protoreflect.Messagefunc (*EntityType_ExcludedPhrase) Reset
func (x *EntityType_ExcludedPhrase) Reset()func (*EntityType_ExcludedPhrase) String
func (x *EntityType_ExcludedPhrase) String() stringEntityType_Kind
type EntityType_Kind int32Represents kinds of entities.
EntityType_KIND_UNSPECIFIED, EntityType_KIND_MAP, EntityType_KIND_LIST, EntityType_KIND_REGEXP
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 canonical
// value.
EntityType_KIND_MAP EntityType_Kind = 1
// List entity types contain a set of entries that do not map to canonical
// values. However, list entity types can contain references to other entity
// types (with or without aliases).
EntityType_KIND_LIST EntityType_Kind = 2
// Regexp entity types allow to specify regular expressions in entries
// values.
EntityType_KIND_REGEXP EntityType_Kind = 3
)func (EntityType_Kind) Descriptor
func (EntityType_Kind) Descriptor() protoreflect.EnumDescriptorfunc (EntityType_Kind) Enum
func (x EntityType_Kind) Enum() *EntityType_Kindfunc (EntityType_Kind) EnumDescriptor
func (EntityType_Kind) EnumDescriptor() ([]byte, []int)Deprecated: Use EntityType_Kind.Descriptor instead.
func (EntityType_Kind) Number
func (x EntityType_Kind) Number() protoreflect.EnumNumberfunc (EntityType_Kind) String
func (x EntityType_Kind) String() stringfunc (EntityType_Kind) Type
func (EntityType_Kind) Type() protoreflect.EnumTypeEntityTypesClient
type EntityTypesClient interface {
// 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 a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
CreateEntityType(ctx context.Context, in *CreateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error)
// Updates the specified entity type.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
UpdateEntityType(ctx context.Context, in *UpdateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error)
// Deletes the specified entity type.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Returns the list of all entity types in the specified agent.
ListEntityTypes(ctx context.Context, in *ListEntityTypesRequest, opts ...grpc.CallOption) (*ListEntityTypesResponse, error)
// Exports the selected entity types.
ExportEntityTypes(ctx context.Context, in *ExportEntityTypesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Imports the specified entitytypes into the agent.
ImportEntityTypes(ctx context.Context, in *ImportEntityTypesRequest, 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.
func NewEntityTypesClient
func NewEntityTypesClient(cc grpc.ClientConnInterface) EntityTypesClientEntityTypesServer
type EntityTypesServer interface {
// Retrieves the specified entity type.
GetEntityType(context.Context, *GetEntityTypeRequest) (*EntityType, error)
// Creates an entity type in the specified agent.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
CreateEntityType(context.Context, *CreateEntityTypeRequest) (*EntityType, error)
// Updates the specified entity type.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
UpdateEntityType(context.Context, *UpdateEntityTypeRequest) (*EntityType, error)
// Deletes the specified entity type.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*emptypb.Empty, error)
// Returns the list of all entity types in the specified agent.
ListEntityTypes(context.Context, *ListEntityTypesRequest) (*ListEntityTypesResponse, error)
// Exports the selected entity types.
ExportEntityTypes(context.Context, *ExportEntityTypesRequest) (*longrunningpb.Operation, error)
// Imports the specified entitytypes into the agent.
ImportEntityTypes(context.Context, *ImportEntityTypesRequest) (*longrunningpb.Operation, error)
}EntityTypesServer is the server API for EntityTypes service. All implementations should embed UnimplementedEntityTypesServer for forward compatibility
Environment
type Environment struct {
// The name of the environment.
// Format:
// `projects/Represents an environment for an agent. 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.
func (*Environment) Descriptor
func (*Environment) Descriptor() ([]byte, []int)Deprecated: Use Environment.ProtoReflect.Descriptor instead.
func (*Environment) GetDescription
func (x *Environment) GetDescription() stringfunc (*Environment) GetDisplayName
func (x *Environment) GetDisplayName() stringfunc (*Environment) GetName
func (x *Environment) GetName() stringfunc (*Environment) GetTestCasesConfig
func (x *Environment) GetTestCasesConfig() *Environment_TestCasesConfigfunc (*Environment) GetUpdateTime
func (x *Environment) GetUpdateTime() *timestamppb.Timestampfunc (*Environment) GetVersionConfigs
func (x *Environment) GetVersionConfigs() []*Environment_VersionConfigfunc (*Environment) GetWebhookConfig
func (x *Environment) GetWebhookConfig() *Environment_WebhookConfigfunc (*Environment) ProtoMessage
func (*Environment) ProtoMessage()func (*Environment) ProtoReflect
func (x *Environment) ProtoReflect() protoreflect.Messagefunc (*Environment) Reset
func (x *Environment) Reset()func (*Environment) String
func (x *Environment) String() stringEnvironment_TestCasesConfig
type Environment_TestCasesConfig struct {
// A list of test case names to run. They should be under the same agent.
// Format of each test case name:
// `projects/The configuration for continuous tests.
func (*Environment_TestCasesConfig) Descriptor
func (*Environment_TestCasesConfig) Descriptor() ([]byte, []int)Deprecated: Use Environment_TestCasesConfig.ProtoReflect.Descriptor instead.
func (*Environment_TestCasesConfig) GetEnableContinuousRun
func (x *Environment_TestCasesConfig) GetEnableContinuousRun() boolfunc (*Environment_TestCasesConfig) GetEnablePredeploymentRun
func (x *Environment_TestCasesConfig) GetEnablePredeploymentRun() boolfunc (*Environment_TestCasesConfig) GetTestCases
func (x *Environment_TestCasesConfig) GetTestCases() []stringfunc (*Environment_TestCasesConfig) ProtoMessage
func (*Environment_TestCasesConfig) ProtoMessage()func (*Environment_TestCasesConfig) ProtoReflect
func (x *Environment_TestCasesConfig) ProtoReflect() protoreflect.Messagefunc (*Environment_TestCasesConfig) Reset
func (x *Environment_TestCasesConfig) Reset()func (*Environment_TestCasesConfig) String
func (x *Environment_TestCasesConfig) String() stringEnvironment_VersionConfig
type Environment_VersionConfig struct {
// Required. Flow, playbook and tool versions are supported.
// Format for flow version:
// projects/Configuration for the version.
func (*Environment_VersionConfig) Descriptor
func (*Environment_VersionConfig) Descriptor() ([]byte, []int)Deprecated: Use Environment_VersionConfig.ProtoReflect.Descriptor instead.
func (*Environment_VersionConfig) GetVersion
func (x *Environment_VersionConfig) GetVersion() stringfunc (*Environment_VersionConfig) ProtoMessage
func (*Environment_VersionConfig) ProtoMessage()func (*Environment_VersionConfig) ProtoReflect
func (x *Environment_VersionConfig) ProtoReflect() protoreflect.Messagefunc (*Environment_VersionConfig) Reset
func (x *Environment_VersionConfig) Reset()func (*Environment_VersionConfig) String
func (x *Environment_VersionConfig) String() stringEnvironment_WebhookConfig
type Environment_WebhookConfig struct {
// The list of webhooks to override for the agent environment. The webhook
// must exist in the agent. You can override fields in
// [`generic_web_service`][google.cloud.dialogflow.cx.v3.Webhook.generic_web_service]
// and
// [`service_directory`][google.cloud.dialogflow.cx.v3.Webhook.service_directory].
WebhookOverrides []*Webhook `protobuf:"bytes,1,rep,name=webhook_overrides,json=webhookOverrides,proto3" json:"webhook_overrides,omitempty"`
// contains filtered or unexported fields
}Configuration for webhooks.
func (*Environment_WebhookConfig) Descriptor
func (*Environment_WebhookConfig) Descriptor() ([]byte, []int)Deprecated: Use Environment_WebhookConfig.ProtoReflect.Descriptor instead.
func (*Environment_WebhookConfig) GetWebhookOverrides
func (x *Environment_WebhookConfig) GetWebhookOverrides() []*Webhookfunc (*Environment_WebhookConfig) ProtoMessage
func (*Environment_WebhookConfig) ProtoMessage()func (*Environment_WebhookConfig) ProtoReflect
func (x *Environment_WebhookConfig) ProtoReflect() protoreflect.Messagefunc (*Environment_WebhookConfig) Reset
func (x *Environment_WebhookConfig) Reset()func (*Environment_WebhookConfig) String
func (x *Environment_WebhookConfig) String() stringEnvironmentsClient
type EnvironmentsClient interface {
// Returns the list of all environments in the specified
// [Agent][google.cloud.dialogflow.cx.v3.Agent].
ListEnvironments(ctx context.Context, in *ListEnvironmentsRequest, opts ...grpc.CallOption) (*ListEnvironmentsResponse, error)
// Retrieves the specified
// [Environment][google.cloud.dialogflow.cx.v3.Environment].
GetEnvironment(ctx context.Context, in *GetEnvironmentRequest, opts ...grpc.CallOption) (*Environment, error)
// Creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the
// specified [Agent][google.cloud.dialogflow.cx.v3.Agent].
//
// 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`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: [Environment][google.cloud.dialogflow.cx.v3.Environment]
CreateEnvironment(ctx context.Context, in *CreateEnvironmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the specified
// [Environment][google.cloud.dialogflow.cx.v3.Environment].
//
// 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`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: [Environment][google.cloud.dialogflow.cx.v3.Environment]
UpdateEnvironment(ctx context.Context, in *UpdateEnvironmentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes the specified
// [Environment][google.cloud.dialogflow.cx.v3.Environment].
DeleteEnvironment(ctx context.Context, in *DeleteEnvironmentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Looks up the history of the specified
// [Environment][google.cloud.dialogflow.cx.v3.Environment].
LookupEnvironmentHistory(ctx context.Context, in *LookupEnvironmentHistoryRequest, opts ...grpc.CallOption) (*LookupEnvironmentHistoryResponse, error)
// Kicks off a continuous test under the specified
// [Environment][google.cloud.dialogflow.cx.v3.Environment].
//
// 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`:
// [RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata]
// - `response`:
// [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3.RunContinuousTestResponse]
RunContinuousTest(ctx context.Context, in *RunContinuousTestRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Fetches a list of continuous test results for a given environment.
ListContinuousTestResults(ctx context.Context, in *ListContinuousTestResultsRequest, opts ...grpc.CallOption) (*ListContinuousTestResultsResponse, error)
// Deploys a flow to the specified
// [Environment][google.cloud.dialogflow.cx.v3.Environment].
//
// 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`:
// [DeployFlowMetadata][google.cloud.dialogflow.cx.v3.DeployFlowMetadata]
// - `response`:
// [DeployFlowResponse][google.cloud.dialogflow.cx.v3.DeployFlowResponse]
DeployFlow(ctx context.Context, in *DeployFlowRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, 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.
func NewEnvironmentsClient
func NewEnvironmentsClient(cc grpc.ClientConnInterface) EnvironmentsClientEnvironmentsServer
type EnvironmentsServer interface {
// Returns the list of all environments in the specified
// [Agent][google.cloud.dialogflow.cx.v3.Agent].
ListEnvironments(context.Context, *ListEnvironmentsRequest) (*ListEnvironmentsResponse, error)
// Retrieves the specified
// [Environment][google.cloud.dialogflow.cx.v3.Environment].
GetEnvironment(context.Context, *GetEnvironmentRequest) (*Environment, error)
// Creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the
// specified [Agent][google.cloud.dialogflow.cx.v3.Agent].
//
// 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`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: [Environment][google.cloud.dialogflow.cx.v3.Environment]
CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*longrunningpb.Operation, error)
// Updates the specified
// [Environment][google.cloud.dialogflow.cx.v3.Environment].
//
// 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`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`: [Environment][google.cloud.dialogflow.cx.v3.Environment]
UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*longrunningpb.Operation, error)
// Deletes the specified
// [Environment][google.cloud.dialogflow.cx.v3.Environment].
DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*emptypb.Empty, error)
// Looks up the history of the specified
// [Environment][google.cloud.dialogflow.cx.v3.Environment].
LookupEnvironmentHistory(context.Context, *LookupEnvironmentHistoryRequest) (*LookupEnvironmentHistoryResponse, error)
// Kicks off a continuous test under the specified
// [Environment][google.cloud.dialogflow.cx.v3.Environment].
//
// 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`:
// [RunContinuousTestMetadata][google.cloud.dialogflow.cx.v3.RunContinuousTestMetadata]
// - `response`:
// [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3.RunContinuousTestResponse]
RunContinuousTest(context.Context, *RunContinuousTestRequest) (*longrunningpb.Operation, error)
// Fetches a list of continuous test results for a given environment.
ListContinuousTestResults(context.Context, *ListContinuousTestResultsRequest) (*ListContinuousTestResultsResponse, error)
// Deploys a flow to the specified
// [Environment][google.cloud.dialogflow.cx.v3.Environment].
//
// 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`:
// [DeployFlowMetadata][google.cloud.dialogflow.cx.v3.DeployFlowMetadata]
// - `response`:
// [DeployFlowResponse][google.cloud.dialogflow.cx.v3.DeployFlowResponse]
DeployFlow(context.Context, *DeployFlowRequest) (*longrunningpb.Operation, error)
}EnvironmentsServer is the server API for Environments service. All implementations should embed UnimplementedEnvironmentsServer for forward compatibility
EventHandler
type EventHandler struct {
// Output only. The unique identifier of this event handler.
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// Required. The name of the event to handle.
Event string `protobuf:"bytes,4,opt,name=event,proto3" json:"event,omitempty"`
// The fulfillment to call when the event occurs.
// Handling webhook errors with a fulfillment enabled with webhook could
// cause infinite loop. It is invalid to specify such fulfillment for a
// handler handling webhooks.
TriggerFulfillment *Fulfillment `protobuf:"bytes,5,opt,name=trigger_fulfillment,json=triggerFulfillment,proto3" json:"trigger_fulfillment,omitempty"`
// The target to transition to, either a page in the same host flow (the flow
// that owns this
// [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute]), or
// another flow in the same agent.
//
// Types that are valid to be assigned to Target:
//
// *EventHandler_TargetPage
// *EventHandler_TargetFlow
// *EventHandler_TargetPlaybook
Target isEventHandler_Target `protobuf_oneof:"target"`
// contains filtered or unexported fields
}An event handler specifies an [event][google.cloud.dialogflow.cx.v3.EventHandler.event] that can be handled during a session. When the specified event happens, the following actions are taken in order:
- If there is a
[
trigger_fulfillment][google.cloud.dialogflow.cx.v3.EventHandler.trigger_fulfillment] associated with the event, it will be called. - If there is a
[
target_page][google.cloud.dialogflow.cx.v3.EventHandler.target_page] associated with the event, the session will transition into the specified page. - If there is a
[
target_flow][google.cloud.dialogflow.cx.v3.EventHandler.target_flow] associated with the event, the session will transition into the specified flow.
func (*EventHandler) Descriptor
func (*EventHandler) Descriptor() ([]byte, []int)Deprecated: Use EventHandler.ProtoReflect.Descriptor instead.
func (*EventHandler) GetEvent
func (x *EventHandler) GetEvent() stringfunc (*EventHandler) GetName
func (x *EventHandler) GetName() stringfunc (*EventHandler) GetTarget
func (x *EventHandler) GetTarget() isEventHandler_Targetfunc (*EventHandler) GetTargetFlow
func (x *EventHandler) GetTargetFlow() stringfunc (*EventHandler) GetTargetPage
func (x *EventHandler) GetTargetPage() stringfunc (*EventHandler) GetTargetPlaybook
func (x *EventHandler) GetTargetPlaybook() stringfunc (*EventHandler) GetTriggerFulfillment
func (x *EventHandler) GetTriggerFulfillment() *Fulfillmentfunc (*EventHandler) ProtoMessage
func (*EventHandler) ProtoMessage()func (*EventHandler) ProtoReflect
func (x *EventHandler) ProtoReflect() protoreflect.Messagefunc (*EventHandler) Reset
func (x *EventHandler) Reset()func (*EventHandler) String
func (x *EventHandler) String() stringEventHandler_TargetFlow
type EventHandler_TargetFlow struct {
// The target flow to transition to.
// Format:
// `projects/EventHandler_TargetPage
type EventHandler_TargetPage struct {
// The target page to transition to.
// Format:
// `projects/EventHandler_TargetPlaybook
type EventHandler_TargetPlaybook struct {
// The target playbook to transition to.
// Format:
// `projects/EventInput
type EventInput struct {
// Name of the event.
Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
// contains filtered or unexported fields
}Represents the event to trigger.
func (*EventInput) Descriptor
func (*EventInput) Descriptor() ([]byte, []int)Deprecated: Use EventInput.ProtoReflect.Descriptor instead.
func (*EventInput) GetEvent
func (x *EventInput) GetEvent() stringfunc (*EventInput) ProtoMessage
func (*EventInput) ProtoMessage()func (*EventInput) ProtoReflect
func (x *EventInput) ProtoReflect() protoreflect.Messagefunc (*EventInput) Reset
func (x *EventInput) Reset()func (*EventInput) String
func (x *EventInput) String() stringExample
type Example struct {
// The unique identifier of the playbook example.
// Format:
// `projects/Example represents a sample execution of the playbook in the conversation.
An example consists of a list of ordered actions performed by end user or Dialogflow agent according the playbook instructions to fulfill the task.
func (*Example) Descriptor
Deprecated: Use Example.ProtoReflect.Descriptor instead.
func (*Example) GetActions
func (*Example) GetConversationState
func (x *Example) GetConversationState() OutputStatefunc (*Example) GetCreateTime
func (x *Example) GetCreateTime() *timestamppb.Timestampfunc (*Example) GetDescription
func (*Example) GetDisplayName
func (*Example) GetLanguageCode
func (*Example) GetName
func (*Example) GetPlaybookInput
func (x *Example) GetPlaybookInput() *PlaybookInputfunc (*Example) GetPlaybookOutput
func (x *Example) GetPlaybookOutput() *PlaybookOutputfunc (*Example) GetTokenCount
func (*Example) GetUpdateTime
func (x *Example) GetUpdateTime() *timestamppb.Timestampfunc (*Example) ProtoMessage
func (*Example) ProtoMessage()func (*Example) ProtoReflect
func (x *Example) ProtoReflect() protoreflect.Messagefunc (*Example) Reset
func (x *Example) Reset()func (*Example) String
ExamplesClient
type ExamplesClient interface {
// Creates an example in the specified playbook.
CreateExample(ctx context.Context, in *CreateExampleRequest, opts ...grpc.CallOption) (*Example, error)
// Deletes the specified example.
DeleteExample(ctx context.Context, in *DeleteExampleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Returns a list of examples in the specified playbook.
ListExamples(ctx context.Context, in *ListExamplesRequest, opts ...grpc.CallOption) (*ListExamplesResponse, error)
// Retrieves the specified example.
GetExample(ctx context.Context, in *GetExampleRequest, opts ...grpc.CallOption) (*Example, error)
// Update the specified example.
UpdateExample(ctx context.Context, in *UpdateExampleRequest, opts ...grpc.CallOption) (*Example, error)
}ExamplesClient is the client API for Examples 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 NewExamplesClient
func NewExamplesClient(cc grpc.ClientConnInterface) ExamplesClientExamplesServer
type ExamplesServer interface {
// Creates an example in the specified playbook.
CreateExample(context.Context, *CreateExampleRequest) (*Example, error)
// Deletes the specified example.
DeleteExample(context.Context, *DeleteExampleRequest) (*emptypb.Empty, error)
// Returns a list of examples in the specified playbook.
ListExamples(context.Context, *ListExamplesRequest) (*ListExamplesResponse, error)
// Retrieves the specified example.
GetExample(context.Context, *GetExampleRequest) (*Example, error)
// Update the specified example.
UpdateExample(context.Context, *UpdateExampleRequest) (*Example, error)
}ExamplesServer is the server API for Examples service. All implementations should embed UnimplementedExamplesServer for forward compatibility
Experiment
type Experiment struct {
// The name of the experiment.
// Format:
// projects/Represents an experiment in an environment.
func (*Experiment) Descriptor
func (*Experiment) Descriptor() ([]byte, []int)Deprecated: Use Experiment.ProtoReflect.Descriptor instead.
func (*Experiment) GetCreateTime
func (x *Experiment) GetCreateTime() *timestamppb.Timestampfunc (*Experiment) GetDefinition
func (x *Experiment) GetDefinition() *Experiment_Definitionfunc (*Experiment) GetDescription
func (x *Experiment) GetDescription() stringfunc (*Experiment) GetDisplayName
func (x *Experiment) GetDisplayName() stringfunc (*Experiment) GetEndTime
func (x *Experiment) GetEndTime() *timestamppb.Timestampfunc (*Experiment) GetExperimentLength
func (x *Experiment) GetExperimentLength() *durationpb.Durationfunc (*Experiment) GetLastUpdateTime
func (x *Experiment) GetLastUpdateTime() *timestamppb.Timestampfunc (*Experiment) GetName
func (x *Experiment) GetName() stringfunc (*Experiment) GetResult
func (x *Experiment) GetResult() *Experiment_Resultfunc (*Experiment) GetRolloutConfig
func (x *Experiment) GetRolloutConfig() *RolloutConfigfunc (*Experiment) GetRolloutFailureReason
func (x *Experiment) GetRolloutFailureReason() stringfunc (*Experiment) GetRolloutState
func (x *Experiment) GetRolloutState() *RolloutStatefunc (*Experiment) GetStartTime
func (x *Experiment) GetStartTime() *timestamppb.Timestampfunc (*Experiment) GetState
func (x *Experiment) GetState() Experiment_Statefunc (*Experiment) GetVariantsHistory
func (x *Experiment) GetVariantsHistory() []*VariantsHistoryfunc (*Experiment) ProtoMessage
func (*Experiment) ProtoMessage()func (*Experiment) ProtoReflect
func (x *Experiment) ProtoReflect() protoreflect.Messagefunc (*Experiment) Reset
func (x *Experiment) Reset()func (*Experiment) String
func (x *Experiment) String() stringExperiment_Definition
type Experiment_Definition struct {
// The condition defines which subset of sessions are selected for
// this experiment. If not specified, all sessions are eligible. E.g.
// "query_input.language_code=en" See the [conditions
// reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
// The variants of the experiment. We currently only support single variant
// experiment.
//
// Types that are valid to be assigned to Variants:
//
// *Experiment_Definition_VersionVariants
Variants isExperiment_Definition_Variants `protobuf_oneof:"variants"`
// contains filtered or unexported fields
}Definition of the experiment.
func (*Experiment_Definition) Descriptor
func (*Experiment_Definition) Descriptor() ([]byte, []int)Deprecated: Use Experiment_Definition.ProtoReflect.Descriptor instead.
func (*Experiment_Definition) GetCondition
func (x *Experiment_Definition) GetCondition() stringfunc (*Experiment_Definition) GetVariants
func (x *Experiment_Definition) GetVariants() isExperiment_Definition_Variantsfunc (*Experiment_Definition) GetVersionVariants
func (x *Experiment_Definition) GetVersionVariants() *VersionVariantsfunc (*Experiment_Definition) ProtoMessage
func (*Experiment_Definition) ProtoMessage()func (*Experiment_Definition) ProtoReflect
func (x *Experiment_Definition) ProtoReflect() protoreflect.Messagefunc (*Experiment_Definition) Reset
func (x *Experiment_Definition) Reset()func (*Experiment_Definition) String
func (x *Experiment_Definition) String() stringExperiment_Definition_VersionVariants
type Experiment_Definition_VersionVariants struct {
// The flow versions as the variants of this experiment.
VersionVariants *VersionVariants `protobuf:"bytes,2,opt,name=version_variants,json=versionVariants,proto3,oneof"`
}Experiment_Result
type Experiment_Result struct {
// Version variants and metrics.
VersionMetrics []*Experiment_Result_VersionMetrics `protobuf:"bytes,1,rep,name=version_metrics,json=versionMetrics,proto3" json:"version_metrics,omitempty"`
// The last time the experiment's stats data was updated. Will have default
// value if stats have never been computed for this experiment.
LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
// contains filtered or unexported fields
}The inference result which includes an objective metric to optimize and the confidence interval.
func (*Experiment_Result) Descriptor
func (*Experiment_Result) Descriptor() ([]byte, []int)Deprecated: Use Experiment_Result.ProtoReflect.Descriptor instead.
func (*Experiment_Result) GetLastUpdateTime
func (x *Experiment_Result) GetLastUpdateTime() *timestamppb.Timestampfunc (*Experiment_Result) GetVersionMetrics
func (x *Experiment_Result) GetVersionMetrics() []*Experiment_Result_VersionMetricsfunc (*Experiment_Result) ProtoMessage
func (*Experiment_Result) ProtoMessage()func (*Experiment_Result) ProtoReflect
func (x *Experiment_Result) ProtoReflect() protoreflect.Messagefunc (*Experiment_Result) Reset
func (x *Experiment_Result) Reset()func (*Experiment_Result) String
func (x *Experiment_Result) String() stringExperiment_Result_ConfidenceInterval
type Experiment_Result_ConfidenceInterval struct {
// The confidence level used to construct the interval, i.e. there is X%
// chance that the true value is within this interval.
ConfidenceLevel float64 `protobuf:"fixed64,1,opt,name=confidence_level,json=confidenceLevel,proto3" json:"confidence_level,omitempty"`
// The percent change between an experiment metric's value and the value
// for its control.
Ratio float64 `protobuf:"fixed64,2,opt,name=ratio,proto3" json:"ratio,omitempty"`
// Lower bound of the interval.
LowerBound float64 `protobuf:"fixed64,3,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"`
// Upper bound of the interval.
UpperBound float64 `protobuf:"fixed64,4,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"`
// contains filtered or unexported fields
}A confidence interval is a range of possible values for the experiment objective you are trying to measure.
func (*Experiment_Result_ConfidenceInterval) Descriptor
func (*Experiment_Result_ConfidenceInterval) Descriptor() ([]byte, []int)Deprecated: Use Experiment_Result_ConfidenceInterval.ProtoReflect.Descriptor instead.
func (*Experiment_Result_ConfidenceInterval) GetConfidenceLevel
func (x *Experiment_Result_ConfidenceInterval) GetConfidenceLevel() float64func (*Experiment_Result_ConfidenceInterval) GetLowerBound
func (x *Experiment_Result_ConfidenceInterval) GetLowerBound() float64func (*Experiment_Result_ConfidenceInterval) GetRatio
func (x *Experiment_Result_ConfidenceInterval) GetRatio() float64func (*Experiment_Result_ConfidenceInterval) GetUpperBound
func (x *Experiment_Result_ConfidenceInterval) GetUpperBound() float64func (*Experiment_Result_ConfidenceInterval) ProtoMessage
func (*Experiment_Result_ConfidenceInterval) ProtoMessage()func (*Experiment_Result_ConfidenceInterval) ProtoReflect
func (x *Experiment_Result_ConfidenceInterval) ProtoReflect() protoreflect.Messagefunc (*Experiment_Result_ConfidenceInterval) Reset
func (x *Experiment_Result_ConfidenceInterval) Reset()func (*Experiment_Result_ConfidenceInterval) String
func (x *Experiment_Result_ConfidenceInterval) String() stringExperiment_Result_CountType
type Experiment_Result_CountType int32Types of count-based metric for Dialogflow experiment.
Experiment_Result_COUNT_TYPE_UNSPECIFIED, Experiment_Result_TOTAL_NO_MATCH_COUNT, Experiment_Result_TOTAL_TURN_COUNT, Experiment_Result_AVERAGE_TURN_COUNT
const (
// Count type unspecified.
Experiment_Result_COUNT_TYPE_UNSPECIFIED Experiment_Result_CountType = 0
// Total number of occurrences of a 'NO_MATCH'.
Experiment_Result_TOTAL_NO_MATCH_COUNT Experiment_Result_CountType = 1
// Total number of turn counts.
Experiment_Result_TOTAL_TURN_COUNT Experiment_Result_CountType = 2
// Average turn count in a session.
Experiment_Result_AVERAGE_TURN_COUNT Experiment_Result_CountType = 3
)func (Experiment_Result_CountType) Descriptor
func (Experiment_Result_CountType) Descriptor() protoreflect.EnumDescriptorfunc (Experiment_Result_CountType) Enum
func (x Experiment_Result_CountType) Enum() *Experiment_Result_CountTypefunc (Experiment_Result_CountType) EnumDescriptor
func (Experiment_Result_CountType) EnumDescriptor() ([]byte, []int)Deprecated: Use Experiment_Result_CountType.Descriptor instead.
func (Experiment_Result_CountType) Number
func (x Experiment_Result_CountType) Number() protoreflect.EnumNumberfunc (Experiment_Result_CountType) String
func (x Experiment_Result_CountType) String() stringfunc (Experiment_Result_CountType) Type
func (Experiment_Result_CountType) Type() protoreflect.EnumTypeExperiment_Result_Metric
type Experiment_Result_Metric struct {
// Ratio-based metric type. Only one of type or count_type is specified in
// each Metric.
Type Experiment_Result_MetricType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.dialogflow.cx.v3.Experiment_Result_MetricType" json:"type,omitempty"`
// Count-based metric type. Only one of type or count_type is specified in
// each Metric.
CountType Experiment_Result_CountType `protobuf:"varint,5,opt,name=count_type,json=countType,proto3,enum=google.cloud.dialogflow.cx.v3.Experiment_Result_CountType" json:"count_type,omitempty"`
// The actual value of the metric.
//
// Types that are valid to be assigned to Value:
//
// *Experiment_Result_Metric_Ratio
// *Experiment_Result_Metric_Count
Value isExperiment_Result_Metric_Value `protobuf_oneof:"value"`
// The probability that the treatment is better than all other treatments
// in the experiment
ConfidenceInterval *Experiment_Result_ConfidenceInterval `protobuf:"bytes,3,opt,name=confidence_interval,json=confidenceInterval,proto3" json:"confidence_interval,omitempty"`
// contains filtered or unexported fields
}Metric and corresponding confidence intervals.
func (*Experiment_Result_Metric) Descriptor
func (*Experiment_Result_Metric) Descriptor() ([]byte, []int)Deprecated: Use Experiment_Result_Metric.ProtoReflect.Descriptor instead.
func (*Experiment_Result_Metric) GetConfidenceInterval
func (x *Experiment_Result_Metric) GetConfidenceInterval() *Experiment_Result_ConfidenceIntervalfunc (*Experiment_Result_Metric) GetCount
func (x *Experiment_Result_Metric) GetCount() float64func (*Experiment_Result_Metric) GetCountType
func (x *Experiment_Result_Metric) GetCountType() Experiment_Result_CountTypefunc (*Experiment_Result_Metric) GetRatio
func (x *Experiment_Result_Metric) GetRatio() float64func (*Experiment_Result_Metric) GetType
func (x *Experiment_Result_Metric) GetType() Experiment_Result_MetricTypefunc (*Experiment_Result_Metric) GetValue
func (x *Experiment_Result_Metric) GetValue() isExperiment_Result_Metric_Valuefunc (*Experiment_Result_Metric) ProtoMessage
func (*Experiment_Result_Metric) ProtoMessage()func (*Experiment_Result_Metric) ProtoReflect
func (x *Experiment_Result_Metric) ProtoReflect() protoreflect.Messagefunc (*Experiment_Result_Metric) Reset
func (x *Experiment_Result_Metric) Reset()func (*Experiment_Result_Metric) String
func (x *Experiment_Result_Metric) String() stringExperiment_Result_MetricType
type Experiment_Result_MetricType int32Types of ratio-based metric for Dialogflow experiment.
Experiment_Result_METRIC_UNSPECIFIED, Experiment_Result_CONTAINED_SESSION_NO_CALLBACK_RATE, Experiment_Result_LIVE_AGENT_HANDOFF_RATE, Experiment_Result_CALLBACK_SESSION_RATE, Experiment_Result_ABANDONED_SESSION_RATE, Experiment_Result_SESSION_END_RATE
const (
// Metric unspecified.
Experiment_Result_METRIC_UNSPECIFIED Experiment_Result_MetricType = 0
// Percentage of contained sessions without user calling back in 24 hours.
Experiment_Result_CONTAINED_SESSION_NO_CALLBACK_RATE Experiment_Result_MetricType = 1
// Percentage of sessions that were handed to a human agent.
Experiment_Result_LIVE_AGENT_HANDOFF_RATE Experiment_Result_MetricType = 2
// Percentage of sessions with the same user calling back.
Experiment_Result_CALLBACK_SESSION_RATE Experiment_Result_MetricType = 3
// Percentage of sessions where user hung up.
Experiment_Result_ABANDONED_SESSION_RATE Experiment_Result_MetricType = 4
// Percentage of sessions reached Dialogflow 'END_PAGE' or
// 'END_SESSION'.
Experiment_Result_SESSION_END_RATE Experiment_Result_MetricType = 5
)func (Experiment_Result_MetricType) Descriptor
func (Experiment_Result_MetricType) Descriptor() protoreflect.EnumDescriptorfunc (Experiment_Result_MetricType) Enum
func (x Experiment_Result_MetricType) Enum() *Experiment_Result_MetricTypefunc (Experiment_Result_MetricType) EnumDescriptor
func (Experiment_Result_MetricType) EnumDescriptor() ([]byte, []int)Deprecated: Use Experiment_Result_MetricType.Descriptor instead.
func (Experiment_Result_MetricType) Number
func (x Experiment_Result_MetricType) Number() protoreflect.EnumNumberfunc (Experiment_Result_MetricType) String
func (x Experiment_Result_MetricType) String() stringfunc (Experiment_Result_MetricType) Type
func (Experiment_Result_MetricType) Type() protoreflect.EnumTypeExperiment_Result_Metric_Count
type Experiment_Result_Metric_Count struct {
// Count value of a metric.
Count float64 `protobuf:"fixed64,4,opt,name=count,proto3,oneof"`
}Experiment_Result_Metric_Ratio
type Experiment_Result_Metric_Ratio struct {
// Ratio value of a metric.
Ratio float64 `protobuf:"fixed64,2,opt,name=ratio,proto3,oneof"`
}Experiment_Result_VersionMetrics
type Experiment_Result_VersionMetrics struct {
// The name of the flow [Version][google.cloud.dialogflow.cx.v3.Version].
// Format:
// `projects/Version variant and associated metrics.
func (*Experiment_Result_VersionMetrics) Descriptor
func (*Experiment_Result_VersionMetrics) Descriptor() ([]byte, []int)Deprecated: Use Experiment_Result_VersionMetrics.ProtoReflect.Descriptor instead.
func (*Experiment_Result_VersionMetrics) GetMetrics
func (x *Experiment_Result_VersionMetrics) GetMetrics() []*Experiment_Result_Metricfunc (*Experiment_Result_VersionMetrics) GetSessionCount
func (x *Experiment_Result_VersionMetrics) GetSessionCount() int32func (*Experiment_Result_VersionMetrics) GetVersion
func (x *Experiment_Result_VersionMetrics) GetVersion() stringfunc (*Experiment_Result_VersionMetrics) ProtoMessage
func (*Experiment_Result_VersionMetrics) ProtoMessage()func (*Experiment_Result_VersionMetrics) ProtoReflect
func (x *Experiment_Result_VersionMetrics) ProtoReflect() protoreflect.Messagefunc (*Experiment_Result_VersionMetrics) Reset
func (x *Experiment_Result_VersionMetrics) Reset()func (*Experiment_Result_VersionMetrics) String
func (x *Experiment_Result_VersionMetrics) String() stringExperiment_State
type Experiment_State int32The state of the experiment.
Experiment_STATE_UNSPECIFIED, Experiment_DRAFT, Experiment_RUNNING, Experiment_DONE, Experiment_ROLLOUT_FAILED
const (
// State unspecified.
Experiment_STATE_UNSPECIFIED Experiment_State = 0
// The experiment is created but not started yet.
Experiment_DRAFT Experiment_State = 1
// The experiment is running.
Experiment_RUNNING Experiment_State = 2
// The experiment is done.
Experiment_DONE Experiment_State = 3
// The experiment with auto-rollout enabled has failed.
Experiment_ROLLOUT_FAILED Experiment_State = 4
)func (Experiment_State) Descriptor
func (Experiment_State) Descriptor() protoreflect.EnumDescriptorfunc (Experiment_State) Enum
func (x Experiment_State) Enum() *Experiment_Statefunc (Experiment_State) EnumDescriptor
func (Experiment_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Experiment_State.Descriptor instead.
func (Experiment_State) Number
func (x Experiment_State) Number() protoreflect.EnumNumberfunc (Experiment_State) String
func (x Experiment_State) String() stringfunc (Experiment_State) Type
func (Experiment_State) Type() protoreflect.EnumTypeExperimentsClient
type ExperimentsClient interface {
// Returns the list of all experiments in the specified
// [Environment][google.cloud.dialogflow.cx.v3.Environment].
ListExperiments(ctx context.Context, in *ListExperimentsRequest, opts ...grpc.CallOption) (*ListExperimentsResponse, error)
// Retrieves the specified
// [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
GetExperiment(ctx context.Context, in *GetExperimentRequest, opts ...grpc.CallOption) (*Experiment, error)
// Creates an [Experiment][google.cloud.dialogflow.cx.v3.Experiment] in the
// specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
CreateExperiment(ctx context.Context, in *CreateExperimentRequest, opts ...grpc.CallOption) (*Experiment, error)
// Updates the specified
// [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
UpdateExperiment(ctx context.Context, in *UpdateExperimentRequest, opts ...grpc.CallOption) (*Experiment, error)
// Deletes the specified
// [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
DeleteExperiment(ctx context.Context, in *DeleteExperimentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Starts the specified
// [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only
// changes the state of experiment from PENDING to RUNNING.
StartExperiment(ctx context.Context, in *StartExperimentRequest, opts ...grpc.CallOption) (*Experiment, error)
// Stops the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
// This rpc only changes the state of experiment from RUNNING to DONE.
StopExperiment(ctx context.Context, in *StopExperimentRequest, opts ...grpc.CallOption) (*Experiment, error)
}ExperimentsClient is the client API for Experiments 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 NewExperimentsClient
func NewExperimentsClient(cc grpc.ClientConnInterface) ExperimentsClientExperimentsServer
type ExperimentsServer interface {
// Returns the list of all experiments in the specified
// [Environment][google.cloud.dialogflow.cx.v3.Environment].
ListExperiments(context.Context, *ListExperimentsRequest) (*ListExperimentsResponse, error)
// Retrieves the specified
// [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
GetExperiment(context.Context, *GetExperimentRequest) (*Experiment, error)
// Creates an [Experiment][google.cloud.dialogflow.cx.v3.Experiment] in the
// specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
CreateExperiment(context.Context, *CreateExperimentRequest) (*Experiment, error)
// Updates the specified
// [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
UpdateExperiment(context.Context, *UpdateExperimentRequest) (*Experiment, error)
// Deletes the specified
// [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
DeleteExperiment(context.Context, *DeleteExperimentRequest) (*emptypb.Empty, error)
// Starts the specified
// [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only
// changes the state of experiment from PENDING to RUNNING.
StartExperiment(context.Context, *StartExperimentRequest) (*Experiment, error)
// Stops the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
// This rpc only changes the state of experiment from RUNNING to DONE.
StopExperiment(context.Context, *StopExperimentRequest) (*Experiment, error)
}ExperimentsServer is the server API for Experiments service. All implementations should embed UnimplementedExperimentsServer for forward compatibility
ExportAgentRequest
type ExportAgentRequest struct {
// Required. The name of the agent to export.
// Format: `projects/The request message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent].
func (*ExportAgentRequest) Descriptor
func (*ExportAgentRequest) Descriptor() ([]byte, []int)Deprecated: Use ExportAgentRequest.ProtoReflect.Descriptor instead.
func (*ExportAgentRequest) GetAgentUri
func (x *ExportAgentRequest) GetAgentUri() stringfunc (*ExportAgentRequest) GetDataFormat
func (x *ExportAgentRequest) GetDataFormat() ExportAgentRequest_DataFormatfunc (*ExportAgentRequest) GetEnvironment
func (x *ExportAgentRequest) GetEnvironment() stringfunc (*ExportAgentRequest) GetGitDestination
func (x *ExportAgentRequest) GetGitDestination() *ExportAgentRequest_GitDestinationfunc (*ExportAgentRequest) GetIncludeBigqueryExportSettings
func (x *ExportAgentRequest) GetIncludeBigqueryExportSettings() boolfunc (*ExportAgentRequest) GetName
func (x *ExportAgentRequest) GetName() stringfunc (*ExportAgentRequest) ProtoMessage
func (*ExportAgentRequest) ProtoMessage()func (*ExportAgentRequest) ProtoReflect
func (x *ExportAgentRequest) ProtoReflect() protoreflect.Messagefunc (*ExportAgentRequest) Reset
func (x *ExportAgentRequest) Reset()func (*ExportAgentRequest) String
func (x *ExportAgentRequest) String() stringExportAgentRequest_DataFormat
type ExportAgentRequest_DataFormat int32Data format of the exported agent.
ExportAgentRequest_DATA_FORMAT_UNSPECIFIED, ExportAgentRequest_BLOB, ExportAgentRequest_JSON_PACKAGE
const (
// Unspecified format.
ExportAgentRequest_DATA_FORMAT_UNSPECIFIED ExportAgentRequest_DataFormat = 0
// Agent content will be exported as raw bytes.
ExportAgentRequest_BLOB ExportAgentRequest_DataFormat = 1
// Agent content will be exported in JSON Package format.
ExportAgentRequest_JSON_PACKAGE ExportAgentRequest_DataFormat = 4
)func (ExportAgentRequest_DataFormat) Descriptor
func (ExportAgentRequest_DataFormat) Descriptor() protoreflect.EnumDescriptorfunc (ExportAgentRequest_DataFormat) Enum
func (x ExportAgentRequest_DataFormat) Enum() *ExportAgentRequest_DataFormatfunc (ExportAgentRequest_DataFormat) EnumDescriptor
func (ExportAgentRequest_DataFormat) EnumDescriptor() ([]byte, []int)Deprecated: Use ExportAgentRequest_DataFormat.Descriptor instead.
func (ExportAgentRequest_DataFormat) Number
func (x ExportAgentRequest_DataFormat) Number() protoreflect.EnumNumberfunc (ExportAgentRequest_DataFormat) String
func (x ExportAgentRequest_DataFormat) String() stringfunc (ExportAgentRequest_DataFormat) Type
func (ExportAgentRequest_DataFormat) Type() protoreflect.EnumTypeExportAgentRequest_GitDestination
type ExportAgentRequest_GitDestination struct {
// Tracking branch for the git push.
TrackingBranch string `protobuf:"bytes,1,opt,name=tracking_branch,json=trackingBranch,proto3" json:"tracking_branch,omitempty"`
// Commit message for the git push.
CommitMessage string `protobuf:"bytes,2,opt,name=commit_message,json=commitMessage,proto3" json:"commit_message,omitempty"`
// contains filtered or unexported fields
}Settings for exporting to a git branch.
func (*ExportAgentRequest_GitDestination) Descriptor
func (*ExportAgentRequest_GitDestination) Descriptor() ([]byte, []int)Deprecated: Use ExportAgentRequest_GitDestination.ProtoReflect.Descriptor instead.
func (*ExportAgentRequest_GitDestination) GetCommitMessage
func (x *ExportAgentRequest_GitDestination) GetCommitMessage() stringfunc (*ExportAgentRequest_GitDestination) GetTrackingBranch
func (x *ExportAgentRequest_GitDestination) GetTrackingBranch() stringfunc (*ExportAgentRequest_GitDestination) ProtoMessage
func (*ExportAgentRequest_GitDestination) ProtoMessage()func (*ExportAgentRequest_GitDestination) ProtoReflect
func (x *ExportAgentRequest_GitDestination) ProtoReflect() protoreflect.Messagefunc (*ExportAgentRequest_GitDestination) Reset
func (x *ExportAgentRequest_GitDestination) Reset()func (*ExportAgentRequest_GitDestination) String
func (x *ExportAgentRequest_GitDestination) String() stringExportAgentResponse
type ExportAgentResponse struct {
// The exported agent.
//
// Types that are valid to be assigned to Agent:
//
// *ExportAgentResponse_AgentUri
// *ExportAgentResponse_AgentContent
// *ExportAgentResponse_CommitSha
Agent isExportAgentResponse_Agent `protobuf_oneof:"agent"`
// contains filtered or unexported fields
}The response message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent].
func (*ExportAgentResponse) Descriptor
func (*ExportAgentResponse) Descriptor() ([]byte, []int)Deprecated: Use ExportAgentResponse.ProtoReflect.Descriptor instead.
func (*ExportAgentResponse) GetAgent
func (x *ExportAgentResponse) GetAgent() isExportAgentResponse_Agentfunc (*ExportAgentResponse) GetAgentContent
func (x *ExportAgentResponse) GetAgentContent() []bytefunc (*ExportAgentResponse) GetAgentUri
func (x *ExportAgentResponse) GetAgentUri() stringfunc (*ExportAgentResponse) GetCommitSha
func (x *ExportAgentResponse) GetCommitSha() stringfunc (*ExportAgentResponse) ProtoMessage
func (*ExportAgentResponse) ProtoMessage()func (*ExportAgentResponse) ProtoReflect
func (x *ExportAgentResponse) ProtoReflect() protoreflect.Messagefunc (*ExportAgentResponse) Reset
func (x *ExportAgentResponse) Reset()func (*ExportAgentResponse) String
func (x *ExportAgentResponse) String() stringExportAgentResponse_AgentContent
type ExportAgentResponse_AgentContent struct {
// Uncompressed raw byte content for agent. This field is populated
// if none of `agent_uri` and `git_destination` are specified in
// [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest].
AgentContent []byte `protobuf:"bytes,2,opt,name=agent_content,json=agentContent,proto3,oneof"`
}ExportAgentResponse_AgentUri
type ExportAgentResponse_AgentUri struct {
// The URI to a file containing the exported agent. This field is populated
// if `agent_uri` is specified in
// [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest].
AgentUri string `protobuf:"bytes,1,opt,name=agent_uri,json=agentUri,proto3,oneof"`
}ExportAgentResponse_CommitSha
type ExportAgentResponse_CommitSha struct {
// Commit SHA of the git push. This field is populated if
// `git_destination` is specified in
// [ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest].
CommitSha string `protobuf:"bytes,3,opt,name=commit_sha,json=commitSha,proto3,oneof"`
}ExportEntityTypesMetadata
type ExportEntityTypesMetadata struct {
// contains filtered or unexported fields
}Metadata returned for the [EntityTypes.ExportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes] long running operation.
func (*ExportEntityTypesMetadata) Descriptor
func (*ExportEntityTypesMetadata) Descriptor() ([]byte, []int)Deprecated: Use ExportEntityTypesMetadata.ProtoReflect.Descriptor instead.
func (*ExportEntityTypesMetadata) ProtoMessage
func (*ExportEntityTypesMetadata) ProtoMessage()func (*ExportEntityTypesMetadata) ProtoReflect
func (x *ExportEntityTypesMetadata) ProtoReflect() protoreflect.Messagefunc (*ExportEntityTypesMetadata) Reset
func (x *ExportEntityTypesMetadata) Reset()func (*ExportEntityTypesMetadata) String
func (x *ExportEntityTypesMetadata) String() stringExportEntityTypesRequest
type ExportEntityTypesRequest struct {
// Required. The name of the parent agent to export entity types.
// Format: `projects/The request message for [EntityTypes.ExportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes].
func (*ExportEntityTypesRequest) Descriptor
func (*ExportEntityTypesRequest) Descriptor() ([]byte, []int)Deprecated: Use ExportEntityTypesRequest.ProtoReflect.Descriptor instead.
func (*ExportEntityTypesRequest) GetDataFormat
func (x *ExportEntityTypesRequest) GetDataFormat() ExportEntityTypesRequest_DataFormatfunc (*ExportEntityTypesRequest) GetDestination
func (x *ExportEntityTypesRequest) GetDestination() isExportEntityTypesRequest_Destinationfunc (*ExportEntityTypesRequest) GetEntityTypes
func (x *ExportEntityTypesRequest) GetEntityTypes() []stringfunc (*ExportEntityTypesRequest) GetEntityTypesContentInline
func (x *ExportEntityTypesRequest) GetEntityTypesContentInline() boolfunc (*ExportEntityTypesRequest) GetEntityTypesUri
func (x *ExportEntityTypesRequest) GetEntityTypesUri() stringfunc (*ExportEntityTypesRequest) GetLanguageCode
func (x *ExportEntityTypesRequest) GetLanguageCode() stringfunc (*ExportEntityTypesRequest) GetParent
func (x *ExportEntityTypesRequest) GetParent() stringfunc (*ExportEntityTypesRequest) ProtoMessage
func (*ExportEntityTypesRequest) ProtoMessage()func (*ExportEntityTypesRequest) ProtoReflect
func (x *ExportEntityTypesRequest) ProtoReflect() protoreflect.Messagefunc (*ExportEntityTypesRequest) Reset
func (x *ExportEntityTypesRequest) Reset()func (*ExportEntityTypesRequest) String
func (x *ExportEntityTypesRequest) String() stringExportEntityTypesRequest_DataFormat
type ExportEntityTypesRequest_DataFormat int32Data format of the exported entity types.
ExportEntityTypesRequest_DATA_FORMAT_UNSPECIFIED, ExportEntityTypesRequest_BLOB, ExportEntityTypesRequest_JSON_PACKAGE
const (
// Unspecified format. Treated as `BLOB`.
ExportEntityTypesRequest_DATA_FORMAT_UNSPECIFIED ExportEntityTypesRequest_DataFormat = 0
// EntityTypes will be exported as raw bytes.
ExportEntityTypesRequest_BLOB ExportEntityTypesRequest_DataFormat = 1
// EntityTypes will be exported in JSON Package format.
ExportEntityTypesRequest_JSON_PACKAGE ExportEntityTypesRequest_DataFormat = 5
)func (ExportEntityTypesRequest_DataFormat) Descriptor
func (ExportEntityTypesRequest_DataFormat) Descriptor() protoreflect.EnumDescriptorfunc (ExportEntityTypesRequest_DataFormat) Enum
func (x ExportEntityTypesRequest_DataFormat) Enum() *ExportEntityTypesRequest_DataFormatfunc (ExportEntityTypesRequest_DataFormat) EnumDescriptor
func (ExportEntityTypesRequest_DataFormat) EnumDescriptor() ([]byte, []int)Deprecated: Use ExportEntityTypesRequest_DataFormat.Descriptor instead.
func (ExportEntityTypesRequest_DataFormat) Number
func (x ExportEntityTypesRequest_DataFormat) Number() protoreflect.EnumNumberfunc (ExportEntityTypesRequest_DataFormat) String
func (x ExportEntityTypesRequest_DataFormat) String() stringfunc (ExportEntityTypesRequest_DataFormat) Type
func (ExportEntityTypesRequest_DataFormat) Type() protoreflect.EnumTypeExportEntityTypesRequest_EntityTypesContentInline
type ExportEntityTypesRequest_EntityTypesContentInline struct {
// Optional. The option to return the serialized entity types inline.
EntityTypesContentInline bool `protobuf:"varint,4,opt,name=entity_types_content_inline,json=entityTypesContentInline,proto3,oneof"`
}ExportEntityTypesRequest_EntityTypesUri
type ExportEntityTypesRequest_EntityTypesUri struct {
// Optional. The [Google Cloud
// Storage](https://cloud.google.com/storage/docs/) URI to export the entity
// types to. The format of this URI must be
// `gs://ExportEntityTypesResponse
type ExportEntityTypesResponse struct {
// Exported entity types can be either in cloud storage or local download.
//
// Types that are valid to be assigned to ExportedEntityTypes:
//
// *ExportEntityTypesResponse_EntityTypesUri
// *ExportEntityTypesResponse_EntityTypesContent
ExportedEntityTypes isExportEntityTypesResponse_ExportedEntityTypes `protobuf_oneof:"exported_entity_types"`
// contains filtered or unexported fields
}The response message for [EntityTypes.ExportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypes].
func (*ExportEntityTypesResponse) Descriptor
func (*ExportEntityTypesResponse) Descriptor() ([]byte, []int)Deprecated: Use ExportEntityTypesResponse.ProtoReflect.Descriptor instead.
func (*ExportEntityTypesResponse) GetEntityTypesContent
func (x *ExportEntityTypesResponse) GetEntityTypesContent() *InlineDestinationfunc (*ExportEntityTypesResponse) GetEntityTypesUri
func (x *ExportEntityTypesResponse) GetEntityTypesUri() stringfunc (*ExportEntityTypesResponse) GetExportedEntityTypes
func (x *ExportEntityTypesResponse) GetExportedEntityTypes() isExportEntityTypesResponse_ExportedEntityTypesfunc (*ExportEntityTypesResponse) ProtoMessage
func (*ExportEntityTypesResponse) ProtoMessage()func (*ExportEntityTypesResponse) ProtoReflect
func (x *ExportEntityTypesResponse) ProtoReflect() protoreflect.Messagefunc (*ExportEntityTypesResponse) Reset
func (x *ExportEntityTypesResponse) Reset()func (*ExportEntityTypesResponse) String
func (x *ExportEntityTypesResponse) String() stringExportEntityTypesResponse_EntityTypesContent
type ExportEntityTypesResponse_EntityTypesContent struct {
// Uncompressed byte content for entity types. This field is populated only
// if `entity_types_content_inline` is set to true in
// [ExportEntityTypesRequest][google.cloud.dialogflow.cx.v3.ExportEntityTypesRequest].
EntityTypesContent *InlineDestination `protobuf:"bytes,2,opt,name=entity_types_content,json=entityTypesContent,proto3,oneof"`
}ExportEntityTypesResponse_EntityTypesUri
type ExportEntityTypesResponse_EntityTypesUri struct {
// The URI to a file containing the exported entity types. This field is
// populated only if `entity_types_uri` is specified in
// [ExportEntityTypesRequest][google.cloud.dialogflow.cx.v3.ExportEntityTypesRequest].
EntityTypesUri string `protobuf:"bytes,1,opt,name=entity_types_uri,json=entityTypesUri,proto3,oneof"`
}ExportFlowRequest
type ExportFlowRequest struct {
// Required. The name of the flow to export.
// Format:
// `projects/The request message for [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow].
func (*ExportFlowRequest) Descriptor
func (*ExportFlowRequest) Descriptor() ([]byte, []int)Deprecated: Use ExportFlowRequest.ProtoReflect.Descriptor instead.
func (*ExportFlowRequest) GetFlowUri
func (x *ExportFlowRequest) GetFlowUri() stringfunc (*ExportFlowRequest) GetIncludeReferencedFlows
func (x *ExportFlowRequest) GetIncludeReferencedFlows() boolfunc (*ExportFlowRequest) GetName
func (x *ExportFlowRequest) GetName() stringfunc (*ExportFlowRequest) ProtoMessage
func (*ExportFlowRequest) ProtoMessage()func (*ExportFlowRequest) ProtoReflect
func (x *ExportFlowRequest) ProtoReflect() protoreflect.Messagefunc (*ExportFlowRequest) Reset
func (x *ExportFlowRequest) Reset()func (*ExportFlowRequest) String
func (x *ExportFlowRequest) String() stringExportFlowResponse
type ExportFlowResponse struct {
// The exported flow.
//
// Types that are valid to be assigned to Flow:
//
// *ExportFlowResponse_FlowUri
// *ExportFlowResponse_FlowContent
Flow isExportFlowResponse_Flow `protobuf_oneof:"flow"`
// contains filtered or unexported fields
}The response message for [Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow].
func (*ExportFlowResponse) Descriptor
func (*ExportFlowResponse) Descriptor() ([]byte, []int)Deprecated: Use ExportFlowResponse.ProtoReflect.Descriptor instead.
func (*ExportFlowResponse) GetFlow
func (x *ExportFlowResponse) GetFlow() isExportFlowResponse_Flowfunc (*ExportFlowResponse) GetFlowContent
func (x *ExportFlowResponse) GetFlowContent() []bytefunc (*ExportFlowResponse) GetFlowUri
func (x *ExportFlowResponse) GetFlowUri() stringfunc (*ExportFlowResponse) ProtoMessage
func (*ExportFlowResponse) ProtoMessage()func (*ExportFlowResponse) ProtoReflect
func (x *ExportFlowResponse) ProtoReflect() protoreflect.Messagefunc (*ExportFlowResponse) Reset
func (x *ExportFlowResponse) Reset()func (*ExportFlowResponse) String
func (x *ExportFlowResponse) String() stringExportFlowResponse_FlowContent
type ExportFlowResponse_FlowContent struct {
// Uncompressed raw byte content for flow.
FlowContent []byte `protobuf:"bytes,2,opt,name=flow_content,json=flowContent,proto3,oneof"`
}ExportFlowResponse_FlowUri
type ExportFlowResponse_FlowUri struct {
// The URI to a file containing the exported flow. This field is populated
// only if `flow_uri` is specified in
// [ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest].
FlowUri string `protobuf:"bytes,1,opt,name=flow_uri,json=flowUri,proto3,oneof"`
}ExportIntentsMetadata
type ExportIntentsMetadata struct {
// contains filtered or unexported fields
}Metadata returned for the [Intents.ExportIntents][google.cloud.dialogflow.cx.v3.Intents.ExportIntents] long running operation.
func (*ExportIntentsMetadata) Descriptor
func (*ExportIntentsMetadata) Descriptor() ([]byte, []int)Deprecated: Use ExportIntentsMetadata.ProtoReflect.Descriptor instead.
func (*ExportIntentsMetadata) ProtoMessage
func (*ExportIntentsMetadata) ProtoMessage()func (*ExportIntentsMetadata) ProtoReflect
func (x *ExportIntentsMetadata) ProtoReflect() protoreflect.Messagefunc (*ExportIntentsMetadata) Reset
func (x *ExportIntentsMetadata) Reset()func (*ExportIntentsMetadata) String
func (x *ExportIntentsMetadata) String() stringExportIntentsRequest
type ExportIntentsRequest struct {
// Required. The name of the parent agent to export intents.
// Format: `projects/The request message for [Intents.ExportIntents][google.cloud.dialogflow.cx.v3.Intents.ExportIntents].
func (*ExportIntentsRequest) Descriptor
func (*ExportIntentsRequest) Descriptor() ([]byte, []int)Deprecated: Use ExportIntentsRequest.ProtoReflect.Descriptor instead.
func (*ExportIntentsRequest) GetDataFormat
func (x *ExportIntentsRequest) GetDataFormat() ExportIntentsRequest_DataFormatfunc (*ExportIntentsRequest) GetDestination
func (x *ExportIntentsRequest) GetDestination() isExportIntentsRequest_Destinationfunc (*ExportIntentsRequest) GetIntents
func (x *ExportIntentsRequest) GetIntents() []stringfunc (*ExportIntentsRequest) GetIntentsContentInline
func (x *ExportIntentsRequest) GetIntentsContentInline() boolfunc (*ExportIntentsRequest) GetIntentsUri
func (x *ExportIntentsRequest) GetIntentsUri() stringfunc (*ExportIntentsRequest) GetParent
func (x *ExportIntentsRequest) GetParent() stringfunc (*ExportIntentsRequest) ProtoMessage
func (*ExportIntentsRequest) ProtoMessage()func (*ExportIntentsRequest) ProtoReflect
func (x *ExportIntentsRequest) ProtoReflect() protoreflect.Messagefunc (*ExportIntentsRequest) Reset
func (x *ExportIntentsRequest) Reset()func (*ExportIntentsRequest) String
func (x *ExportIntentsRequest) String() stringExportIntentsRequest_DataFormat
type ExportIntentsRequest_DataFormat int32Data format of the exported intents.
ExportIntentsRequest_DATA_FORMAT_UNSPECIFIED, ExportIntentsRequest_BLOB, ExportIntentsRequest_JSON, ExportIntentsRequest_CSV
const (
// Unspecified format. Treated as `BLOB`.
ExportIntentsRequest_DATA_FORMAT_UNSPECIFIED ExportIntentsRequest_DataFormat = 0
// Intents will be exported as raw bytes.
ExportIntentsRequest_BLOB ExportIntentsRequest_DataFormat = 1
// Intents will be exported in JSON format.
ExportIntentsRequest_JSON ExportIntentsRequest_DataFormat = 2
// Intents will be exported in CSV format.
ExportIntentsRequest_CSV ExportIntentsRequest_DataFormat = 3
)func (ExportIntentsRequest_DataFormat) Descriptor
func (ExportIntentsRequest_DataFormat) Descriptor() protoreflect.EnumDescriptorfunc (ExportIntentsRequest_DataFormat) Enum
func (x ExportIntentsRequest_DataFormat) Enum() *ExportIntentsRequest_DataFormatfunc (ExportIntentsRequest_DataFormat) EnumDescriptor
func (ExportIntentsRequest_DataFormat) EnumDescriptor() ([]byte, []int)Deprecated: Use ExportIntentsRequest_DataFormat.Descriptor instead.
func (ExportIntentsRequest_DataFormat) Number
func (x ExportIntentsRequest_DataFormat) Number() protoreflect.EnumNumberfunc (ExportIntentsRequest_DataFormat) String
func (x ExportIntentsRequest_DataFormat) String() stringfunc (ExportIntentsRequest_DataFormat) Type
func (ExportIntentsRequest_DataFormat) Type() protoreflect.EnumTypeExportIntentsRequest_IntentsContentInline
type ExportIntentsRequest_IntentsContentInline struct {
// Optional. The option to return the serialized intents inline.
IntentsContentInline bool `protobuf:"varint,4,opt,name=intents_content_inline,json=intentsContentInline,proto3,oneof"`
}ExportIntentsRequest_IntentsUri
type ExportIntentsRequest_IntentsUri struct {
// Optional. The [Google Cloud
// Storage](https://cloud.google.com/storage/docs/) URI to export the
// intents to. The format of this URI must be
// `gs://ExportIntentsResponse
type ExportIntentsResponse struct {
// The exported intents.
//
// Types that are valid to be assigned to Intents:
//
// *ExportIntentsResponse_IntentsUri
// *ExportIntentsResponse_IntentsContent
Intents isExportIntentsResponse_Intents `protobuf_oneof:"intents"`
// contains filtered or unexported fields
}The response message for [Intents.ExportIntents][google.cloud.dialogflow.cx.v3.Intents.ExportIntents].
func (*ExportIntentsResponse) Descriptor
func (*ExportIntentsResponse) Descriptor() ([]byte, []int)Deprecated: Use ExportIntentsResponse.ProtoReflect.Descriptor instead.
func (*ExportIntentsResponse) GetIntents
func (x *ExportIntentsResponse) GetIntents() isExportIntentsResponse_Intentsfunc (*ExportIntentsResponse) GetIntentsContent
func (x *ExportIntentsResponse) GetIntentsContent() *InlineDestinationfunc (*ExportIntentsResponse) GetIntentsUri
func (x *ExportIntentsResponse) GetIntentsUri() stringfunc (*ExportIntentsResponse) ProtoMessage
func (*ExportIntentsResponse) ProtoMessage()func (*ExportIntentsResponse) ProtoReflect
func (x *ExportIntentsResponse) ProtoReflect() protoreflect.Messagefunc (*ExportIntentsResponse) Reset
func (x *ExportIntentsResponse) Reset()func (*ExportIntentsResponse) String
func (x *ExportIntentsResponse) String() stringExportIntentsResponse_IntentsContent
type ExportIntentsResponse_IntentsContent struct {
// Uncompressed byte content for intents. This field is populated only if
// `intents_content_inline` is set to true in
// [ExportIntentsRequest][google.cloud.dialogflow.cx.v3.ExportIntentsRequest].
IntentsContent *InlineDestination `protobuf:"bytes,2,opt,name=intents_content,json=intentsContent,proto3,oneof"`
}ExportIntentsResponse_IntentsUri
type ExportIntentsResponse_IntentsUri struct {
// The URI to a file containing the exported intents. This field is
// populated only if `intents_uri` is specified in
// [ExportIntentsRequest][google.cloud.dialogflow.cx.v3.ExportIntentsRequest].
IntentsUri string `protobuf:"bytes,1,opt,name=intents_uri,json=intentsUri,proto3,oneof"`
}ExportPlaybookRequest
type ExportPlaybookRequest struct {
// Required. The name of the playbook to export.
// Format:
// `projects/The request message for [Playbooks.ExportPlaybook][google.cloud.dialogflow.cx.v3.Playbooks.ExportPlaybook].
func (*ExportPlaybookRequest) Descriptor
func (*ExportPlaybookRequest) Descriptor() ([]byte, []int)Deprecated: Use ExportPlaybookRequest.ProtoReflect.Descriptor instead.
func (*ExportPlaybookRequest) GetDataFormat
func (x *ExportPlaybookRequest) GetDataFormat() ExportPlaybookRequest_DataFormatfunc (*ExportPlaybookRequest) GetName
func (x *ExportPlaybookRequest) GetName() stringfunc (*ExportPlaybookRequest) GetPlaybookUri
func (x *ExportPlaybookRequest) GetPlaybookUri() stringfunc (*ExportPlaybookRequest) ProtoMessage
func (*ExportPlaybookRequest) ProtoMessage()func (*ExportPlaybookRequest) ProtoReflect
func (x *ExportPlaybookRequest) ProtoReflect() protoreflect.Messagefunc (*ExportPlaybookRequest) Reset
func (x *ExportPlaybookRequest) Reset()func (*ExportPlaybookRequest) String
func (x *ExportPlaybookRequest) String() stringExportPlaybookRequest_DataFormat
type ExportPlaybookRequest_DataFormat int32Data format of the exported playbook.
ExportPlaybookRequest_DATA_FORMAT_UNSPECIFIED, ExportPlaybookRequest_BLOB, ExportPlaybookRequest_JSON
const (
// Unspecified format.
ExportPlaybookRequest_DATA_FORMAT_UNSPECIFIED ExportPlaybookRequest_DataFormat = 0
// Flow content will be exported as raw bytes.
ExportPlaybookRequest_BLOB ExportPlaybookRequest_DataFormat = 1
// Flow content will be exported in JSON format.
ExportPlaybookRequest_JSON ExportPlaybookRequest_DataFormat = 2
)func (ExportPlaybookRequest_DataFormat) Descriptor
func (ExportPlaybookRequest_DataFormat) Descriptor() protoreflect.EnumDescriptorfunc (ExportPlaybookRequest_DataFormat) Enum
func (x ExportPlaybookRequest_DataFormat) Enum() *ExportPlaybookRequest_DataFormatfunc (ExportPlaybookRequest_DataFormat) EnumDescriptor
func (ExportPlaybookRequest_DataFormat) EnumDescriptor() ([]byte, []int)Deprecated: Use ExportPlaybookRequest_DataFormat.Descriptor instead.
func (ExportPlaybookRequest_DataFormat) Number
func (x ExportPlaybookRequest_DataFormat) Number() protoreflect.EnumNumberfunc (ExportPlaybookRequest_DataFormat) String
func (x ExportPlaybookRequest_DataFormat) String() stringfunc (ExportPlaybookRequest_DataFormat) Type
func (ExportPlaybookRequest_DataFormat) Type() protoreflect.EnumTypeExportPlaybookResponse
type ExportPlaybookResponse struct {
// The exported playbook.
//
// Types that are valid to be assigned to Playbook:
//
// *ExportPlaybookResponse_PlaybookUri
// *ExportPlaybookResponse_PlaybookContent
Playbook isExportPlaybookResponse_Playbook `protobuf_oneof:"playbook"`
// contains filtered or unexported fields
}The response message for [Playbooks.ExportPlaybook][google.cloud.dialogflow.cx.v3.Playbooks.ExportPlaybook].
func (*ExportPlaybookResponse) Descriptor
func (*ExportPlaybookResponse) Descriptor() ([]byte, []int)Deprecated: Use ExportPlaybookResponse.ProtoReflect.Descriptor instead.
func (*ExportPlaybookResponse) GetPlaybook
func (x *ExportPlaybookResponse) GetPlaybook() isExportPlaybookResponse_Playbookfunc (*ExportPlaybookResponse) GetPlaybookContent
func (x *ExportPlaybookResponse) GetPlaybookContent() []bytefunc (*ExportPlaybookResponse) GetPlaybookUri
func (x *ExportPlaybookResponse) GetPlaybookUri() stringfunc (*ExportPlaybookResponse) ProtoMessage
func (*ExportPlaybookResponse) ProtoMessage()func (*ExportPlaybookResponse) ProtoReflect
func (x *ExportPlaybookResponse) ProtoReflect() protoreflect.Messagefunc (*ExportPlaybookResponse) Reset
func (x *ExportPlaybookResponse) Reset()func (*ExportPlaybookResponse) String
func (x *ExportPlaybookResponse) String() stringExportPlaybookResponse_PlaybookContent
type ExportPlaybookResponse_PlaybookContent struct {
// Uncompressed raw byte content for playbook.
PlaybookContent []byte `protobuf:"bytes,2,opt,name=playbook_content,json=playbookContent,proto3,oneof"`
}ExportPlaybookResponse_PlaybookUri
type ExportPlaybookResponse_PlaybookUri struct {
// The URI to a file containing the exported playbook. This field is
// populated only if `playbook_uri` is specified in
// [ExportPlaybookRequest][google.cloud.dialogflow.cx.v3.ExportPlaybookRequest].
PlaybookUri string `protobuf:"bytes,1,opt,name=playbook_uri,json=playbookUri,proto3,oneof"`
}ExportTestCasesMetadata
type ExportTestCasesMetadata struct {
// contains filtered or unexported fields
}Metadata returned for the [TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases] long running operation. This message currently has no fields.
func (*ExportTestCasesMetadata) Descriptor
func (*ExportTestCasesMetadata) Descriptor() ([]byte, []int)Deprecated: Use ExportTestCasesMetadata.ProtoReflect.Descriptor instead.
func (*ExportTestCasesMetadata) ProtoMessage
func (*ExportTestCasesMetadata) ProtoMessage()func (*ExportTestCasesMetadata) ProtoReflect
func (x *ExportTestCasesMetadata) ProtoReflect() protoreflect.Messagefunc (*ExportTestCasesMetadata) Reset
func (x *ExportTestCasesMetadata) Reset()func (*ExportTestCasesMetadata) String
func (x *ExportTestCasesMetadata) String() stringExportTestCasesRequest
type ExportTestCasesRequest struct {
// Required. The agent where to export test cases from.
// Format: `projects/The request message for [TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases].
func (*ExportTestCasesRequest) Descriptor
func (*ExportTestCasesRequest) Descriptor() ([]byte, []int)Deprecated: Use ExportTestCasesRequest.ProtoReflect.Descriptor instead.
func (*ExportTestCasesRequest) GetDataFormat
func (x *ExportTestCasesRequest) GetDataFormat() ExportTestCasesRequest_DataFormatfunc (*ExportTestCasesRequest) GetDestination
func (x *ExportTestCasesRequest) GetDestination() isExportTestCasesRequest_Destinationfunc (*ExportTestCasesRequest) GetFilter
func (x *ExportTestCasesRequest) GetFilter() stringfunc (*ExportTestCasesRequest) GetGcsUri
func (x *ExportTestCasesRequest) GetGcsUri() stringfunc (*ExportTestCasesRequest) GetParent
func (x *ExportTestCasesRequest) GetParent() stringfunc (*ExportTestCasesRequest) ProtoMessage
func (*ExportTestCasesRequest) ProtoMessage()func (*ExportTestCasesRequest) ProtoReflect
func (x *ExportTestCasesRequest) ProtoReflect() protoreflect.Messagefunc (*ExportTestCasesRequest) Reset
func (x *ExportTestCasesRequest) Reset()func (*ExportTestCasesRequest) String
func (x *ExportTestCasesRequest) String() stringExportTestCasesRequest_DataFormat
type ExportTestCasesRequest_DataFormat int32Data format of the exported test cases.
ExportTestCasesRequest_DATA_FORMAT_UNSPECIFIED, ExportTestCasesRequest_BLOB, ExportTestCasesRequest_JSON
const (
// Unspecified format.
ExportTestCasesRequest_DATA_FORMAT_UNSPECIFIED ExportTestCasesRequest_DataFormat = 0
// Raw bytes.
ExportTestCasesRequest_BLOB ExportTestCasesRequest_DataFormat = 1
// JSON format.
ExportTestCasesRequest_JSON ExportTestCasesRequest_DataFormat = 2
)func (ExportTestCasesRequest_DataFormat) Descriptor
func (ExportTestCasesRequest_DataFormat) Descriptor() protoreflect.EnumDescriptorfunc (ExportTestCasesRequest_DataFormat) Enum
func (x ExportTestCasesRequest_DataFormat) Enum() *ExportTestCasesRequest_DataFormatfunc (ExportTestCasesRequest_DataFormat) EnumDescriptor
func (ExportTestCasesRequest_DataFormat) EnumDescriptor() ([]byte, []int)Deprecated: Use ExportTestCasesRequest_DataFormat.Descriptor instead.
func (ExportTestCasesRequest_DataFormat) Number
func (x ExportTestCasesRequest_DataFormat) Number() protoreflect.EnumNumberfunc (ExportTestCasesRequest_DataFormat) String
func (x ExportTestCasesRequest_DataFormat) String() stringfunc (ExportTestCasesRequest_DataFormat) Type
func (ExportTestCasesRequest_DataFormat) Type() protoreflect.EnumTypeExportTestCasesRequest_GcsUri
type ExportTestCasesRequest_GcsUri struct {
// The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
// export the test cases to. The format of this URI must be
// `gs://ExportTestCasesResponse
type ExportTestCasesResponse struct {
// The exported test cases.
//
// Types that are valid to be assigned to Destination:
//
// *ExportTestCasesResponse_GcsUri
// *ExportTestCasesResponse_Content
Destination isExportTestCasesResponse_Destination `protobuf_oneof:"destination"`
// contains filtered or unexported fields
}The response message for [TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases].
func (*ExportTestCasesResponse) Descriptor
func (*ExportTestCasesResponse) Descriptor() ([]byte, []int)Deprecated: Use ExportTestCasesResponse.ProtoReflect.Descriptor instead.
func (*ExportTestCasesResponse) GetContent
func (x *ExportTestCasesResponse) GetContent() []bytefunc (*ExportTestCasesResponse) GetDestination
func (x *ExportTestCasesResponse) GetDestination() isExportTestCasesResponse_Destinationfunc (*ExportTestCasesResponse) GetGcsUri
func (x *ExportTestCasesResponse) GetGcsUri() stringfunc (*ExportTestCasesResponse) ProtoMessage
func (*ExportTestCasesResponse) ProtoMessage()func (*ExportTestCasesResponse) ProtoReflect
func (x *ExportTestCasesResponse) ProtoReflect() protoreflect.Messagefunc (*ExportTestCasesResponse) Reset
func (x *ExportTestCasesResponse) Reset()func (*ExportTestCasesResponse) String
func (x *ExportTestCasesResponse) String() stringExportTestCasesResponse_Content
type ExportTestCasesResponse_Content struct {
// Uncompressed raw byte content for test cases.
Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"`
}ExportTestCasesResponse_GcsUri
type ExportTestCasesResponse_GcsUri struct {
// The URI to a file containing the exported test cases. This field is
//
// populated only if `gcs_uri` is specified in
//
// [ExportTestCasesRequest][google.cloud.dialogflow.cx.v3.ExportTestCasesRequest].
GcsUri string `protobuf:"bytes,1,opt,name=gcs_uri,json=gcsUri,proto3,oneof"`
}FilterSpecs
type FilterSpecs struct {
// Optional. Data Stores where the boosting configuration is applied. The full
// names of the referenced data stores. Formats:
// `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
// `projects/{project}/locations/{location}/dataStores/{data_store}`
DataStores []string `protobuf:"bytes,1,rep,name=data_stores,json=dataStores,proto3" json:"data_stores,omitempty"`
// Optional. The filter expression to be applied.
// Expression syntax is documented at
// https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax
Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Filter specifications for data stores.
func (*FilterSpecs) Descriptor
func (*FilterSpecs) Descriptor() ([]byte, []int)Deprecated: Use FilterSpecs.ProtoReflect.Descriptor instead.
func (*FilterSpecs) GetDataStores
func (x *FilterSpecs) GetDataStores() []stringfunc (*FilterSpecs) GetFilter
func (x *FilterSpecs) GetFilter() stringfunc (*FilterSpecs) ProtoMessage
func (*FilterSpecs) ProtoMessage()func (*FilterSpecs) ProtoReflect
func (x *FilterSpecs) ProtoReflect() protoreflect.Messagefunc (*FilterSpecs) Reset
func (x *FilterSpecs) Reset()func (*FilterSpecs) String
func (x *FilterSpecs) String() stringFlow
type Flow struct {
// The unique identifier of the flow.
// Format:
// `projects/Flows represents the conversation flows when you build your chatbot agent.
A flow consists of many pages connected by the transition routes. Conversations always start with the built-in Start Flow (with an all-0 ID). Transition routes can direct the conversation session from the current flow (parent flow) to another flow (sub flow). When the sub flow is finished, Dialogflow will bring the session back to the parent flow, where the sub flow is started.
Usually, when a transition route is followed by a matched intent, the intent will be "consumed". This means the intent won't activate more transition routes. However, when the followed transition route moves the conversation session into a different flow, the matched intent can be carried over and to be consumed in the target flow.
func (*Flow) Descriptor
Deprecated: Use Flow.ProtoReflect.Descriptor instead.
func (*Flow) GetAdvancedSettings
func (x *Flow) GetAdvancedSettings() *AdvancedSettingsfunc (*Flow) GetDescription
func (*Flow) GetDisplayName
func (*Flow) GetEventHandlers
func (x *Flow) GetEventHandlers() []*EventHandlerfunc (*Flow) GetInputParameterDefinitions
func (x *Flow) GetInputParameterDefinitions() []*ParameterDefinitionfunc (*Flow) GetKnowledgeConnectorSettings
func (x *Flow) GetKnowledgeConnectorSettings() *KnowledgeConnectorSettingsfunc (*Flow) GetLocked
func (*Flow) GetMultiLanguageSettings
func (x *Flow) GetMultiLanguageSettings() *Flow_MultiLanguageSettingsfunc (*Flow) GetName
func (*Flow) GetNluSettings
func (x *Flow) GetNluSettings() *NluSettingsfunc (*Flow) GetOutputParameterDefinitions
func (x *Flow) GetOutputParameterDefinitions() []*ParameterDefinitionfunc (*Flow) GetTransitionRouteGroups
func (*Flow) GetTransitionRoutes
func (x *Flow) GetTransitionRoutes() []*TransitionRoutefunc (*Flow) ProtoMessage
func (*Flow) ProtoMessage()func (*Flow) ProtoReflect
func (x *Flow) ProtoReflect() protoreflect.Messagefunc (*Flow) Reset
func (x *Flow) Reset()func (*Flow) String
FlowImportStrategy
type FlowImportStrategy struct {
// Optional. Import strategy for resource conflict resolution, applied
// globally throughout the flow. It will be applied for all display name
// conflicts in the imported content. If not specified, 'CREATE_NEW' is
// assumed.
GlobalImportStrategy ImportStrategy `protobuf:"varint,1,opt,name=global_import_strategy,json=globalImportStrategy,proto3,enum=google.cloud.dialogflow.cx.v3.ImportStrategy" json:"global_import_strategy,omitempty"`
// contains filtered or unexported fields
}The flow import strategy used for resource conflict resolution associated with an [ImportFlowRequest][google.cloud.dialogflow.cx.v3.ImportFlowRequest].
func (*FlowImportStrategy) Descriptor
func (*FlowImportStrategy) Descriptor() ([]byte, []int)Deprecated: Use FlowImportStrategy.ProtoReflect.Descriptor instead.
func (*FlowImportStrategy) GetGlobalImportStrategy
func (x *FlowImportStrategy) GetGlobalImportStrategy() ImportStrategyfunc (*FlowImportStrategy) ProtoMessage
func (*FlowImportStrategy) ProtoMessage()func (*FlowImportStrategy) ProtoReflect
func (x *FlowImportStrategy) ProtoReflect() protoreflect.Messagefunc (*FlowImportStrategy) Reset
func (x *FlowImportStrategy) Reset()func (*FlowImportStrategy) String
func (x *FlowImportStrategy) String() stringFlowInvocation
type FlowInvocation struct {
// Required. The unique identifier of the flow.
// Format:
// `projects/Stores metadata of the invocation of a CX flow.
func (*FlowInvocation) Descriptor
func (*FlowInvocation) Descriptor() ([]byte, []int)Deprecated: Use FlowInvocation.ProtoReflect.Descriptor instead.
func (*FlowInvocation) GetDisplayName
func (x *FlowInvocation) GetDisplayName() stringfunc (*FlowInvocation) GetFlow
func (x *FlowInvocation) GetFlow() stringfunc (*FlowInvocation) GetFlowState
func (x *FlowInvocation) GetFlowState() OutputStatefunc (*FlowInvocation) ProtoMessage
func (*FlowInvocation) ProtoMessage()func (*FlowInvocation) ProtoReflect
func (x *FlowInvocation) ProtoReflect() protoreflect.Messagefunc (*FlowInvocation) Reset
func (x *FlowInvocation) Reset()func (*FlowInvocation) String
func (x *FlowInvocation) String() stringFlowTraceMetadata
type FlowTraceMetadata struct {
// Required. The unique identifier of the flow.
// Format:
// `projects/Metadata of the flow trace.
func (*FlowTraceMetadata) Descriptor
func (*FlowTraceMetadata) Descriptor() ([]byte, []int)Deprecated: Use FlowTraceMetadata.ProtoReflect.Descriptor instead.
func (*FlowTraceMetadata) GetDisplayName
func (x *FlowTraceMetadata) GetDisplayName() stringfunc (*FlowTraceMetadata) GetFlow
func (x *FlowTraceMetadata) GetFlow() stringfunc (*FlowTraceMetadata) ProtoMessage
func (*FlowTraceMetadata) ProtoMessage()func (*FlowTraceMetadata) ProtoReflect
func (x *FlowTraceMetadata) ProtoReflect() protoreflect.Messagefunc (*FlowTraceMetadata) Reset
func (x *FlowTraceMetadata) Reset()func (*FlowTraceMetadata) String
func (x *FlowTraceMetadata) String() stringFlowTransition
type FlowTransition struct {
// Required. The unique identifier of the flow.
// Format:
// `projects/Stores metadata of the transition to a target CX flow. Flow transition actions exit the caller playbook and enter the child flow.
func (*FlowTransition) Descriptor
func (*FlowTransition) Descriptor() ([]byte, []int)Deprecated: Use FlowTransition.ProtoReflect.Descriptor instead.
func (*FlowTransition) GetDisplayName
func (x *FlowTransition) GetDisplayName() stringfunc (*FlowTransition) GetFlow
func (x *FlowTransition) GetFlow() stringfunc (*FlowTransition) ProtoMessage
func (*FlowTransition) ProtoMessage()func (*FlowTransition) ProtoReflect
func (x *FlowTransition) ProtoReflect() protoreflect.Messagefunc (*FlowTransition) Reset
func (x *FlowTransition) Reset()func (*FlowTransition) String
func (x *FlowTransition) String() stringFlowValidationResult
type FlowValidationResult struct {
// The unique identifier of the flow validation result.
// Format:
// `projects/The response message for [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult].
func (*FlowValidationResult) Descriptor
func (*FlowValidationResult) Descriptor() ([]byte, []int)Deprecated: Use FlowValidationResult.ProtoReflect.Descriptor instead.
func (*FlowValidationResult) GetName
func (x *FlowValidationResult) GetName() stringfunc (*FlowValidationResult) GetUpdateTime
func (x *FlowValidationResult) GetUpdateTime() *timestamppb.Timestampfunc (*FlowValidationResult) GetValidationMessages
func (x *FlowValidationResult) GetValidationMessages() []*ValidationMessagefunc (*FlowValidationResult) ProtoMessage
func (*FlowValidationResult) ProtoMessage()func (*FlowValidationResult) ProtoReflect
func (x *FlowValidationResult) ProtoReflect() protoreflect.Messagefunc (*FlowValidationResult) Reset
func (x *FlowValidationResult) Reset()func (*FlowValidationResult) String
func (x *FlowValidationResult) String() stringFlow_MultiLanguageSettings
type Flow_MultiLanguageSettings struct {
// Optional. Enable multi-language detection for this flow. This can be set
// only if [agent level multi language
// setting][Agent.enable_multi_language_training] is enabled.
EnableMultiLanguageDetection bool `protobuf:"varint,1,opt,name=enable_multi_language_detection,json=enableMultiLanguageDetection,proto3" json:"enable_multi_language_detection,omitempty"`
// Optional. Agent will respond in the detected language if the detected
// language code is in the supported resolved languages for this flow. This
// will be used only if multi-language training is enabled in the
// [agent][google.cloud.dialogflow.cx.v3.Agent.enable_multi_language_training]
// and multi-language detection is enabled in the
// [flow][google.cloud.dialogflow.cx.v3.Flow.MultiLanguageSettings.enable_multi_language_detection].
// The supported languages must be a subset of the languages supported by
// the agent.
SupportedResponseLanguageCodes []string `protobuf:"bytes,2,rep,name=supported_response_language_codes,json=supportedResponseLanguageCodes,proto3" json:"supported_response_language_codes,omitempty"`
// contains filtered or unexported fields
}Settings for multi-lingual agents.
func (*Flow_MultiLanguageSettings) Descriptor
func (*Flow_MultiLanguageSettings) Descriptor() ([]byte, []int)Deprecated: Use Flow_MultiLanguageSettings.ProtoReflect.Descriptor instead.
func (*Flow_MultiLanguageSettings) GetEnableMultiLanguageDetection
func (x *Flow_MultiLanguageSettings) GetEnableMultiLanguageDetection() boolfunc (*Flow_MultiLanguageSettings) GetSupportedResponseLanguageCodes
func (x *Flow_MultiLanguageSettings) GetSupportedResponseLanguageCodes() []stringfunc (*Flow_MultiLanguageSettings) ProtoMessage
func (*Flow_MultiLanguageSettings) ProtoMessage()func (*Flow_MultiLanguageSettings) ProtoReflect
func (x *Flow_MultiLanguageSettings) ProtoReflect() protoreflect.Messagefunc (*Flow_MultiLanguageSettings) Reset
func (x *Flow_MultiLanguageSettings) Reset()func (*Flow_MultiLanguageSettings) String
func (x *Flow_MultiLanguageSettings) String() stringFlowsClient
type FlowsClient interface {
// Creates a flow in the specified agent.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
CreateFlow(ctx context.Context, in *CreateFlowRequest, opts ...grpc.CallOption) (*Flow, error)
// Deletes a specified flow.
DeleteFlow(ctx context.Context, in *DeleteFlowRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Returns the list of all flows in the specified agent.
ListFlows(ctx context.Context, in *ListFlowsRequest, opts ...grpc.CallOption) (*ListFlowsResponse, error)
// Retrieves the specified flow.
GetFlow(ctx context.Context, in *GetFlowRequest, opts ...grpc.CallOption) (*Flow, error)
// Updates the specified flow.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
UpdateFlow(ctx context.Context, in *UpdateFlowRequest, opts ...grpc.CallOption) (*Flow, error)
// Trains the specified flow. Note that only the flow in 'draft' environment
// is trained.
//
// 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`: 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 a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
TrainFlow(ctx context.Context, in *TrainFlowRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Validates the specified flow and creates or updates validation results.
// Please call this API after the training is completed to get the complete
// validation results.
ValidateFlow(ctx context.Context, in *ValidateFlowRequest, opts ...grpc.CallOption) (*FlowValidationResult, error)
// Gets the latest flow validation result. Flow validation is performed
// when ValidateFlow is called.
GetFlowValidationResult(ctx context.Context, in *GetFlowValidationResultRequest, opts ...grpc.CallOption) (*FlowValidationResult, error)
// Imports the specified flow to the specified agent from a binary file.
//
// 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`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`:
//
// [ImportFlowResponse][google.cloud.dialogflow.cx.v3.ImportFlowResponse]
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
ImportFlow(ctx context.Context, in *ImportFlowRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Exports the specified flow to a binary file.
//
// 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`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`:
//
// [ExportFlowResponse][google.cloud.dialogflow.cx.v3.ExportFlowResponse]
//
// Note that resources (e.g. intents, entities, webhooks) that the flow
// references will also be exported.
ExportFlow(ctx context.Context, in *ExportFlowRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}FlowsClient is the client API for Flows 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 NewFlowsClient
func NewFlowsClient(cc grpc.ClientConnInterface) FlowsClientFlowsServer
type FlowsServer interface {
// Creates a flow in the specified agent.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
CreateFlow(context.Context, *CreateFlowRequest) (*Flow, error)
// Deletes a specified flow.
DeleteFlow(context.Context, *DeleteFlowRequest) (*emptypb.Empty, error)
// Returns the list of all flows in the specified agent.
ListFlows(context.Context, *ListFlowsRequest) (*ListFlowsResponse, error)
// Retrieves the specified flow.
GetFlow(context.Context, *GetFlowRequest) (*Flow, error)
// Updates the specified flow.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
UpdateFlow(context.Context, *UpdateFlowRequest) (*Flow, error)
// Trains the specified flow. Note that only the flow in 'draft' environment
// is trained.
//
// 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`: 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 a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
TrainFlow(context.Context, *TrainFlowRequest) (*longrunningpb.Operation, error)
// Validates the specified flow and creates or updates validation results.
// Please call this API after the training is completed to get the complete
// validation results.
ValidateFlow(context.Context, *ValidateFlowRequest) (*FlowValidationResult, error)
// Gets the latest flow validation result. Flow validation is performed
// when ValidateFlow is called.
GetFlowValidationResult(context.Context, *GetFlowValidationResultRequest) (*FlowValidationResult, error)
// Imports the specified flow to the specified agent from a binary file.
//
// 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`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`:
//
// [ImportFlowResponse][google.cloud.dialogflow.cx.v3.ImportFlowResponse]
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
ImportFlow(context.Context, *ImportFlowRequest) (*longrunningpb.Operation, error)
// Exports the specified flow to a binary file.
//
// 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`: An empty [Struct
// message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
// - `response`:
//
// [ExportFlowResponse][google.cloud.dialogflow.cx.v3.ExportFlowResponse]
//
// Note that resources (e.g. intents, entities, webhooks) that the flow
// references will also be exported.
ExportFlow(context.Context, *ExportFlowRequest) (*longrunningpb.Operation, error)
}FlowsServer is the server API for Flows service. All implementations should embed UnimplementedFlowsServer for forward compatibility
Form
type Form struct {
// Parameters to collect from the user.
Parameters []*Form_Parameter `protobuf:"bytes,1,rep,name=parameters,proto3" json:"parameters,omitempty"`
// contains filtered or unexported fields
}A form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a [page][google.cloud.dialogflow.cx.v3.Page]. When form filling is done, the filled parameters will be written to the [session][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
func (*Form) Descriptor
Deprecated: Use Form.ProtoReflect.Descriptor instead.
func (*Form) GetParameters
func (x *Form) GetParameters() []*Form_Parameterfunc (*Form) ProtoMessage
func (*Form) ProtoMessage()func (*Form) ProtoReflect
func (x *Form) ProtoReflect() protoreflect.Messagefunc (*Form) Reset
func (x *Form) Reset()func (*Form) String
Form_Parameter
type Form_Parameter struct {
// Required. The human-readable name of the parameter, unique within the
// form.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Indicates whether the parameter is required. Optional parameters will not
// trigger prompts; however, they are filled if the user specifies them.
// Required parameters must be filled before form filling concludes.
Required bool `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
// Required. The entity type of the parameter.
// Format:
// `projects/-/locations/-/agents/-/entityTypes/Represents a form parameter.
func (*Form_Parameter) Descriptor
func (*Form_Parameter) Descriptor() ([]byte, []int)Deprecated: Use Form_Parameter.ProtoReflect.Descriptor instead.
func (*Form_Parameter) GetAdvancedSettings
func (x *Form_Parameter) GetAdvancedSettings() *AdvancedSettingsfunc (*Form_Parameter) GetDefaultValue
func (x *Form_Parameter) GetDefaultValue() *structpb.Valuefunc (*Form_Parameter) GetDisplayName
func (x *Form_Parameter) GetDisplayName() stringfunc (*Form_Parameter) GetEntityType
func (x *Form_Parameter) GetEntityType() stringfunc (*Form_Parameter) GetFillBehavior
func (x *Form_Parameter) GetFillBehavior() *Form_Parameter_FillBehaviorfunc (*Form_Parameter) GetIsList
func (x *Form_Parameter) GetIsList() boolfunc (*Form_Parameter) GetRedact
func (x *Form_Parameter) GetRedact() boolfunc (*Form_Parameter) GetRequired
func (x *Form_Parameter) GetRequired() boolfunc (*Form_Parameter) ProtoMessage
func (*Form_Parameter) ProtoMessage()func (*Form_Parameter) ProtoReflect
func (x *Form_Parameter) ProtoReflect() protoreflect.Messagefunc (*Form_Parameter) Reset
func (x *Form_Parameter) Reset()func (*Form_Parameter) String
func (x *Form_Parameter) String() stringForm_Parameter_FillBehavior
type Form_Parameter_FillBehavior struct {
// Required. The fulfillment to provide the initial prompt that the agent
// can present to the user in order to fill the parameter.
InitialPromptFulfillment *Fulfillment `protobuf:"bytes,3,opt,name=initial_prompt_fulfillment,json=initialPromptFulfillment,proto3" json:"initial_prompt_fulfillment,omitempty"`
// The handlers for parameter-level events, used to provide reprompt for
// the parameter or transition to a different page/flow. The supported
// events are:
// * `sys.no-match-Configuration for how the filling of a parameter should be handled.
func (*Form_Parameter_FillBehavior) Descriptor
func (*Form_Parameter_FillBehavior) Descriptor() ([]byte, []int)Deprecated: Use Form_Parameter_FillBehavior.ProtoReflect.Descriptor instead.
func (*Form_Parameter_FillBehavior) GetInitialPromptFulfillment
func (x *Form_Parameter_FillBehavior) GetInitialPromptFulfillment() *Fulfillmentfunc (*Form_Parameter_FillBehavior) GetRepromptEventHandlers
func (x *Form_Parameter_FillBehavior) GetRepromptEventHandlers() []*EventHandlerfunc (*Form_Parameter_FillBehavior) ProtoMessage
func (*Form_Parameter_FillBehavior) ProtoMessage()func (*Form_Parameter_FillBehavior) ProtoReflect
func (x *Form_Parameter_FillBehavior) ProtoReflect() protoreflect.Messagefunc (*Form_Parameter_FillBehavior) Reset
func (x *Form_Parameter_FillBehavior) Reset()func (*Form_Parameter_FillBehavior) String
func (x *Form_Parameter_FillBehavior) String() stringFulfillIntentRequest
type FulfillIntentRequest struct {
// Must be same as the corresponding MatchIntent request, otherwise the
// behavior is undefined.
MatchIntentRequest *MatchIntentRequest `protobuf:"bytes,1,opt,name=match_intent_request,json=matchIntentRequest,proto3" json:"match_intent_request,omitempty"`
// The matched intent/event to fulfill.
Match *Match `protobuf:"bytes,2,opt,name=match,proto3" json:"match,omitempty"`
// Instructs the speech synthesizer how to generate output audio.
OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,3,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"`
// contains filtered or unexported fields
}Request of [FulfillIntent][]
func (*FulfillIntentRequest) Descriptor
func (*FulfillIntentRequest) Descriptor() ([]byte, []int)Deprecated: Use FulfillIntentRequest.ProtoReflect.Descriptor instead.
func (*FulfillIntentRequest) GetMatch
func (x *FulfillIntentRequest) GetMatch() *Matchfunc (*FulfillIntentRequest) GetMatchIntentRequest
func (x *FulfillIntentRequest) GetMatchIntentRequest() *MatchIntentRequestfunc (*FulfillIntentRequest) GetOutputAudioConfig
func (x *FulfillIntentRequest) GetOutputAudioConfig() *OutputAudioConfigfunc (*FulfillIntentRequest) ProtoMessage
func (*FulfillIntentRequest) ProtoMessage()func (*FulfillIntentRequest) ProtoReflect
func (x *FulfillIntentRequest) ProtoReflect() protoreflect.Messagefunc (*FulfillIntentRequest) Reset
func (x *FulfillIntentRequest) Reset()func (*FulfillIntentRequest) String
func (x *FulfillIntentRequest) String() stringFulfillIntentResponse
type FulfillIntentResponse struct {
// Output only. The unique identifier of the response. It can be used to
// locate a response in the training example set or for reporting issues.
ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"`
// The result of the conversational query.
QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,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.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_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,3,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,4,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"`
// contains filtered or unexported fields
}Response of [FulfillIntent][]
func (*FulfillIntentResponse) Descriptor
func (*FulfillIntentResponse) Descriptor() ([]byte, []int)Deprecated: Use FulfillIntentResponse.ProtoReflect.Descriptor instead.
func (*FulfillIntentResponse) GetOutputAudio
func (x *FulfillIntentResponse) GetOutputAudio() []bytefunc (*FulfillIntentResponse) GetOutputAudioConfig
func (x *FulfillIntentResponse) GetOutputAudioConfig() *OutputAudioConfigfunc (*FulfillIntentResponse) GetQueryResult
func (x *FulfillIntentResponse) GetQueryResult() *QueryResultfunc (*FulfillIntentResponse) GetResponseId
func (x *FulfillIntentResponse) GetResponseId() stringfunc (*FulfillIntentResponse) ProtoMessage
func (*FulfillIntentResponse) ProtoMessage()func (*FulfillIntentResponse) ProtoReflect
func (x *FulfillIntentResponse) ProtoReflect() protoreflect.Messagefunc (*FulfillIntentResponse) Reset
func (x *FulfillIntentResponse) Reset()func (*FulfillIntentResponse) String
func (x *FulfillIntentResponse) String() stringFulfillment
type Fulfillment struct {
// The list of rich message responses to present to the user.
Messages []*ResponseMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
// The webhook to call.
// Format:
// `projects/A fulfillment can do one or more of the following actions at the same time:
- Generate rich message responses.
- Set parameter values.
- Call the webhook.
Fulfillments can be called at various stages in the [Page][google.cloud.dialogflow.cx.v3.Page] or [Form][google.cloud.dialogflow.cx.v3.Form] lifecycle. For example, when a [DetectIntentRequest][google.cloud.dialogflow.cx.v3.DetectIntentRequest] drives a session to enter a new page, the page's entry fulfillment can add a static response to the [QueryResult][google.cloud.dialogflow.cx.v3.QueryResult] in the returning [DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse], call the webhook (for example, to load user data from a database), or both.
func (*Fulfillment) Descriptor
func (*Fulfillment) Descriptor() ([]byte, []int)Deprecated: Use Fulfillment.ProtoReflect.Descriptor instead.
func (*Fulfillment) GetAdvancedSettings
func (x *Fulfillment) GetAdvancedSettings() *AdvancedSettingsfunc (*Fulfillment) GetCodeBlockFunction
func (x *Fulfillment) GetCodeBlockFunction() stringfunc (*Fulfillment) GetConditionalCases
func (x *Fulfillment) GetConditionalCases() []*Fulfillment_ConditionalCasesfunc (*Fulfillment) GetEnableGenerativeFallback
func (x *Fulfillment) GetEnableGenerativeFallback() boolfunc (*Fulfillment) GetGenerators
func (x *Fulfillment) GetGenerators() []*Fulfillment_GeneratorSettingsfunc (*Fulfillment) GetMessages
func (x *Fulfillment) GetMessages() []*ResponseMessagefunc (*Fulfillment) GetReturnPartialResponses
func (x *Fulfillment) GetReturnPartialResponses() boolfunc (*Fulfillment) GetSetParameterActions
func (x *Fulfillment) GetSetParameterActions() []*Fulfillment_SetParameterActionfunc (*Fulfillment) GetTag
func (x *Fulfillment) GetTag() stringfunc (*Fulfillment) GetWebhook
func (x *Fulfillment) GetWebhook() stringfunc (*Fulfillment) ProtoMessage
func (*Fulfillment) ProtoMessage()func (*Fulfillment) ProtoReflect
func (x *Fulfillment) ProtoReflect() protoreflect.Messagefunc (*Fulfillment) Reset
func (x *Fulfillment) Reset()func (*Fulfillment) String
func (x *Fulfillment) String() stringFulfillment_ConditionalCases
type Fulfillment_ConditionalCases struct {
// A list of cascading if-else conditions.
Cases []*Fulfillment_ConditionalCases_Case `protobuf:"bytes,1,rep,name=cases,proto3" json:"cases,omitempty"`
// contains filtered or unexported fields
}A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
func (*Fulfillment_ConditionalCases) Descriptor
func (*Fulfillment_ConditionalCases) Descriptor() ([]byte, []int)Deprecated: Use Fulfillment_ConditionalCases.ProtoReflect.Descriptor instead.
func (*Fulfillment_ConditionalCases) GetCases
func (x *Fulfillment_ConditionalCases) GetCases() []*Fulfillment_ConditionalCases_Casefunc (*Fulfillment_ConditionalCases) ProtoMessage
func (*Fulfillment_ConditionalCases) ProtoMessage()func (*Fulfillment_ConditionalCases) ProtoReflect
func (x *Fulfillment_ConditionalCases) ProtoReflect() protoreflect.Messagefunc (*Fulfillment_ConditionalCases) Reset
func (x *Fulfillment_ConditionalCases) Reset()func (*Fulfillment_ConditionalCases) String
func (x *Fulfillment_ConditionalCases) String() stringFulfillment_ConditionalCases_Case
type Fulfillment_ConditionalCases_Case struct {
// The condition to activate and select this case. Empty means the
// condition is always true. The condition is evaluated against [form
// parameters][Form.parameters] or [session
// parameters][SessionInfo.parameters].
//
// See the [conditions
// reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
// A list of case content.
CaseContent []*Fulfillment_ConditionalCases_Case_CaseContent `protobuf:"bytes,2,rep,name=case_content,json=caseContent,proto3" json:"case_content,omitempty"`
// contains filtered or unexported fields
}Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.
func (*Fulfillment_ConditionalCases_Case) Descriptor
func (*Fulfillment_ConditionalCases_Case) Descriptor() ([]byte, []int)Deprecated: Use Fulfillment_ConditionalCases_Case.ProtoReflect.Descriptor instead.
func (*Fulfillment_ConditionalCases_Case) GetCaseContent
func (x *Fulfillment_ConditionalCases_Case) GetCaseContent() []*Fulfillment_ConditionalCases_Case_CaseContentfunc (*Fulfillment_ConditionalCases_Case) GetCondition
func (x *Fulfillment_ConditionalCases_Case) GetCondition() stringfunc (*Fulfillment_ConditionalCases_Case) ProtoMessage
func (*Fulfillment_ConditionalCases_Case) ProtoMessage()func (*Fulfillment_ConditionalCases_Case) ProtoReflect
func (x *Fulfillment_ConditionalCases_Case) ProtoReflect() protoreflect.Messagefunc (*Fulfillment_ConditionalCases_Case) Reset
func (x *Fulfillment_ConditionalCases_Case) Reset()func (*Fulfillment_ConditionalCases_Case) String
func (x *Fulfillment_ConditionalCases_Case) String() stringFulfillment_ConditionalCases_Case_CaseContent
type Fulfillment_ConditionalCases_Case_CaseContent struct {
// Either a message is returned or additional cases to be evaluated.
//
// Types that are valid to be assigned to CasesOrMessage:
//
// *Fulfillment_ConditionalCases_Case_CaseContent_Message
// *Fulfillment_ConditionalCases_Case_CaseContent_AdditionalCases
CasesOrMessage isFulfillment_ConditionalCases_Case_CaseContent_CasesOrMessage `protobuf_oneof:"cases_or_message"`
// contains filtered or unexported fields
}The list of messages or conditional cases to activate for this case.
func (*Fulfillment_ConditionalCases_Case_CaseContent) Descriptor
func (*Fulfillment_ConditionalCases_Case_CaseContent) Descriptor() ([]byte, []int)Deprecated: Use Fulfillment_ConditionalCases_Case_CaseContent.ProtoReflect.Descriptor instead.
func (*Fulfillment_ConditionalCases_Case_CaseContent) GetAdditionalCases
func (x *Fulfillment_ConditionalCases_Case_CaseContent) GetAdditionalCases() *Fulfillment_ConditionalCasesfunc (*Fulfillment_ConditionalCases_Case_CaseContent) GetCasesOrMessage
func (x *Fulfillment_ConditionalCases_Case_CaseContent) GetCasesOrMessage() isFulfillment_ConditionalCases_Case_CaseContent_CasesOrMessagefunc (*Fulfillment_ConditionalCases_Case_CaseContent) GetMessage
func (x *Fulfillment_ConditionalCases_Case_CaseContent) GetMessage() *ResponseMessagefunc (*Fulfillment_ConditionalCases_Case_CaseContent) ProtoMessage
func (*Fulfillment_ConditionalCases_Case_CaseContent) ProtoMessage()func (*Fulfillment_ConditionalCases_Case_CaseContent) ProtoReflect
func (x *Fulfillment_ConditionalCases_Case_CaseContent) ProtoReflect() protoreflect.Messagefunc (*Fulfillment_ConditionalCases_Case_CaseContent) Reset
func (x *Fulfillment_ConditionalCases_Case_CaseContent) Reset()func (*Fulfillment_ConditionalCases_Case_CaseContent) String
func (x *Fulfillment_ConditionalCases_Case_CaseContent) String() stringFulfillment_ConditionalCases_Case_CaseContent_AdditionalCases
type Fulfillment_ConditionalCases_Case_CaseContent_AdditionalCases struct {
// Additional cases to be evaluated.
AdditionalCases *Fulfillment_ConditionalCases `protobuf:"bytes,2,opt,name=additional_cases,json=additionalCases,proto3,oneof"`
}Fulfillment_ConditionalCases_Case_CaseContent_Message
type Fulfillment_ConditionalCases_Case_CaseContent_Message struct {
// Returned message.
Message *ResponseMessage `protobuf:"bytes,1,opt,name=message,proto3,oneof"`
}Fulfillment_GeneratorSettings
type Fulfillment_GeneratorSettings struct {
// Required. The generator to call.
// Format:
// `projects/Generator settings used by the LLM to generate a text response.
func (*Fulfillment_GeneratorSettings) Descriptor
func (*Fulfillment_GeneratorSettings) Descriptor() ([]byte, []int)Deprecated: Use Fulfillment_GeneratorSettings.ProtoReflect.Descriptor instead.
func (*Fulfillment_GeneratorSettings) GetGenerator
func (x *Fulfillment_GeneratorSettings) GetGenerator() stringfunc (*Fulfillment_GeneratorSettings) GetInputParameters
func (x *Fulfillment_GeneratorSettings) GetInputParameters() map[string]stringfunc (*Fulfillment_GeneratorSettings) GetOutputParameter
func (x *Fulfillment_GeneratorSettings) GetOutputParameter() stringfunc (*Fulfillment_GeneratorSettings) ProtoMessage
func (*Fulfillment_GeneratorSettings) ProtoMessage()func (*Fulfillment_GeneratorSettings) ProtoReflect
func (x *Fulfillment_GeneratorSettings) ProtoReflect() protoreflect.Messagefunc (*Fulfillment_GeneratorSettings) Reset
func (x *Fulfillment_GeneratorSettings) Reset()func (*Fulfillment_GeneratorSettings) String
func (x *Fulfillment_GeneratorSettings) String() stringFulfillment_SetParameterAction
type Fulfillment_SetParameterAction struct {
// Display name of the parameter.
Parameter string `protobuf:"bytes,1,opt,name=parameter,proto3" json:"parameter,omitempty"`
// The new value of the parameter. A null value clears the parameter.
Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}Setting a parameter value.
func (*Fulfillment_SetParameterAction) Descriptor
func (*Fulfillment_SetParameterAction) Descriptor() ([]byte, []int)Deprecated: Use Fulfillment_SetParameterAction.ProtoReflect.Descriptor instead.
func (*Fulfillment_SetParameterAction) GetParameter
func (x *Fulfillment_SetParameterAction) GetParameter() stringfunc (*Fulfillment_SetParameterAction) GetValue
func (x *Fulfillment_SetParameterAction) GetValue() *structpb.Valuefunc (*Fulfillment_SetParameterAction) ProtoMessage
func (*Fulfillment_SetParameterAction) ProtoMessage()func (*Fulfillment_SetParameterAction) ProtoReflect
func (x *Fulfillment_SetParameterAction) ProtoReflect() protoreflect.Messagefunc (*Fulfillment_SetParameterAction) Reset
func (x *Fulfillment_SetParameterAction) Reset()func (*Fulfillment_SetParameterAction) String
func (x *Fulfillment_SetParameterAction) String() stringGcsDestination
type GcsDestination struct {
// Required. The Google Cloud Storage URI for the exported objects. A URI is
// of the form: `gs://bucket/object-name-or-prefix` Whether a full object
// name, or just a prefix, its usage depends on the Dialogflow operation.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// contains filtered or unexported fields
}Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or transcripts) outside of Dialogflow.
func (*GcsDestination) Descriptor
func (*GcsDestination) Descriptor() ([]byte, []int)Deprecated: Use GcsDestination.ProtoReflect.Descriptor instead.
func (*GcsDestination) GetUri
func (x *GcsDestination) GetUri() stringfunc (*GcsDestination) ProtoMessage
func (*GcsDestination) ProtoMessage()func (*GcsDestination) ProtoReflect
func (x *GcsDestination) ProtoReflect() protoreflect.Messagefunc (*GcsDestination) Reset
func (x *GcsDestination) Reset()func (*GcsDestination) String
func (x *GcsDestination) String() stringGenerativeSettings
type GenerativeSettings struct {
// Format:
// `projects/Settings for Generative AI.
func (*GenerativeSettings) Descriptor
func (*GenerativeSettings) Descriptor() ([]byte, []int)Deprecated: Use GenerativeSettings.ProtoReflect.Descriptor instead.
func (*GenerativeSettings) GetFallbackSettings
func (x *GenerativeSettings) GetFallbackSettings() *GenerativeSettings_FallbackSettingsfunc (*GenerativeSettings) GetGenerativeSafetySettings
func (x *GenerativeSettings) GetGenerativeSafetySettings() *SafetySettingsfunc (*GenerativeSettings) GetKnowledgeConnectorSettings
func (x *GenerativeSettings) GetKnowledgeConnectorSettings() *GenerativeSettings_KnowledgeConnectorSettingsfunc (*GenerativeSettings) GetLanguageCode
func (x *GenerativeSettings) GetLanguageCode() stringfunc (*GenerativeSettings) GetLlmModelSettings
func (x *GenerativeSettings) GetLlmModelSettings() *LlmModelSettingsfunc (*GenerativeSettings) GetName
func (x *GenerativeSettings) GetName() stringfunc (*GenerativeSettings) ProtoMessage
func (*GenerativeSettings) ProtoMessage()func (*GenerativeSettings) ProtoReflect
func (x *GenerativeSettings) ProtoReflect() protoreflect.Messagefunc (*GenerativeSettings) Reset
func (x *GenerativeSettings) Reset()func (*GenerativeSettings) String
func (x *GenerativeSettings) String() stringGenerativeSettings_FallbackSettings
type GenerativeSettings_FallbackSettings struct {
// Display name of the selected prompt.
SelectedPrompt string `protobuf:"bytes,3,opt,name=selected_prompt,json=selectedPrompt,proto3" json:"selected_prompt,omitempty"`
// Stored prompts that can be selected, for example default templates like
// "conservative" or "chatty", or user defined ones.
PromptTemplates []*GenerativeSettings_FallbackSettings_PromptTemplate `protobuf:"bytes,4,rep,name=prompt_templates,json=promptTemplates,proto3" json:"prompt_templates,omitempty"`
// contains filtered or unexported fields
}Settings for Generative Fallback.
func (*GenerativeSettings_FallbackSettings) Descriptor
func (*GenerativeSettings_FallbackSettings) Descriptor() ([]byte, []int)Deprecated: Use GenerativeSettings_FallbackSettings.ProtoReflect.Descriptor instead.
func (*GenerativeSettings_FallbackSettings) GetPromptTemplates
func (x *GenerativeSettings_FallbackSettings) GetPromptTemplates() []*GenerativeSettings_FallbackSettings_PromptTemplatefunc (*GenerativeSettings_FallbackSettings) GetSelectedPrompt
func (x *GenerativeSettings_FallbackSettings) GetSelectedPrompt() stringfunc (*GenerativeSettings_FallbackSettings) ProtoMessage
func (*GenerativeSettings_FallbackSettings) ProtoMessage()func (*GenerativeSettings_FallbackSettings) ProtoReflect
func (x *GenerativeSettings_FallbackSettings) ProtoReflect() protoreflect.Messagefunc (*GenerativeSettings_FallbackSettings) Reset
func (x *GenerativeSettings_FallbackSettings) Reset()func (*GenerativeSettings_FallbackSettings) String
func (x *GenerativeSettings_FallbackSettings) String() stringGenerativeSettings_FallbackSettings_PromptTemplate
type GenerativeSettings_FallbackSettings_PromptTemplate struct {
// Prompt name.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Prompt text that is sent to a LLM on no-match default, placeholders are
// filled downstream. For example: "Here is a conversation $conversation,
// a response is: "
PromptText string `protobuf:"bytes,2,opt,name=prompt_text,json=promptText,proto3" json:"prompt_text,omitempty"`
// If the flag is true, the prompt is frozen and cannot be modified by
// users.
Frozen bool `protobuf:"varint,3,opt,name=frozen,proto3" json:"frozen,omitempty"`
// contains filtered or unexported fields
}Prompt template.
func (*GenerativeSettings_FallbackSettings_PromptTemplate) Descriptor
func (*GenerativeSettings_FallbackSettings_PromptTemplate) Descriptor() ([]byte, []int)Deprecated: Use GenerativeSettings_FallbackSettings_PromptTemplate.ProtoReflect.Descriptor instead.
func (*GenerativeSettings_FallbackSettings_PromptTemplate) GetDisplayName
func (x *GenerativeSettings_FallbackSettings_PromptTemplate) GetDisplayName() stringfunc (*GenerativeSettings_FallbackSettings_PromptTemplate) GetFrozen
func (x *GenerativeSettings_FallbackSettings_PromptTemplate) GetFrozen() boolfunc (*GenerativeSettings_FallbackSettings_PromptTemplate) GetPromptText
func (x *GenerativeSettings_FallbackSettings_PromptTemplate) GetPromptText() stringfunc (*GenerativeSettings_FallbackSettings_PromptTemplate) ProtoMessage
func (*GenerativeSettings_FallbackSettings_PromptTemplate) ProtoMessage()func (*GenerativeSettings_FallbackSettings_PromptTemplate) ProtoReflect
func (x *GenerativeSettings_FallbackSettings_PromptTemplate) ProtoReflect() protoreflect.Messagefunc (*GenerativeSettings_FallbackSettings_PromptTemplate) Reset
func (x *GenerativeSettings_FallbackSettings_PromptTemplate) Reset()func (*GenerativeSettings_FallbackSettings_PromptTemplate) String
func (x *GenerativeSettings_FallbackSettings_PromptTemplate) String() stringGenerativeSettings_KnowledgeConnectorSettings
type GenerativeSettings_KnowledgeConnectorSettings struct {
// Name of the company, organization or other entity that the agent
// represents. Used for knowledge connector LLM prompt and for knowledge
// search.
Business string `protobuf:"bytes,1,opt,name=business,proto3" json:"business,omitempty"`
// Name of the virtual agent. Used for LLM prompt. Can be left empty.
Agent string `protobuf:"bytes,2,opt,name=agent,proto3" json:"agent,omitempty"`
// Identity of the agent, e.g. "virtual agent", "AI assistant".
AgentIdentity string `protobuf:"bytes,3,opt,name=agent_identity,json=agentIdentity,proto3" json:"agent_identity,omitempty"`
// Company description, used for LLM prompt, e.g. "a family company selling
// freshly roasted coffee beans".
BusinessDescription string `protobuf:"bytes,4,opt,name=business_description,json=businessDescription,proto3" json:"business_description,omitempty"`
// Agent scope, e.g. "Example company website", "internal Example
// company website for employees", "manual of car owner".
AgentScope string `protobuf:"bytes,5,opt,name=agent_scope,json=agentScope,proto3" json:"agent_scope,omitempty"`
// Whether to disable fallback to Data Store search results (in case the LLM
// couldn't pick a proper answer). Per default the feature is enabled.
DisableDataStoreFallback bool `protobuf:"varint,8,opt,name=disable_data_store_fallback,json=disableDataStoreFallback,proto3" json:"disable_data_store_fallback,omitempty"`
// contains filtered or unexported fields
}Settings for knowledge connector. These parameters are used for LLM prompt like "You are
func (*GenerativeSettings_KnowledgeConnectorSettings) Descriptor
func (*GenerativeSettings_KnowledgeConnectorSettings) Descriptor() ([]byte, []int)Deprecated: Use GenerativeSettings_KnowledgeConnectorSettings.ProtoReflect.Descriptor instead.
func (*GenerativeSettings_KnowledgeConnectorSettings) GetAgent
func (x *GenerativeSettings_KnowledgeConnectorSettings) GetAgent() stringfunc (*GenerativeSettings_KnowledgeConnectorSettings) GetAgentIdentity
func (x *GenerativeSettings_KnowledgeConnectorSettings) GetAgentIdentity() stringfunc (*GenerativeSettings_KnowledgeConnectorSettings) GetAgentScope
func (x *GenerativeSettings_KnowledgeConnectorSettings) GetAgentScope() stringfunc (*GenerativeSettings_KnowledgeConnectorSettings) GetBusiness
func (x *GenerativeSettings_KnowledgeConnectorSettings) GetBusiness() stringfunc (*GenerativeSettings_KnowledgeConnectorSettings) GetBusinessDescription
func (x *GenerativeSettings_KnowledgeConnectorSettings) GetBusinessDescription() stringfunc (*GenerativeSettings_KnowledgeConnectorSettings) GetDisableDataStoreFallback
func (x *GenerativeSettings_KnowledgeConnectorSettings) GetDisableDataStoreFallback() boolfunc (*GenerativeSettings_KnowledgeConnectorSettings) ProtoMessage
func (*GenerativeSettings_KnowledgeConnectorSettings) ProtoMessage()func (*GenerativeSettings_KnowledgeConnectorSettings) ProtoReflect
func (x *GenerativeSettings_KnowledgeConnectorSettings) ProtoReflect() protoreflect.Messagefunc (*GenerativeSettings_KnowledgeConnectorSettings) Reset
func (x *GenerativeSettings_KnowledgeConnectorSettings) Reset()func (*GenerativeSettings_KnowledgeConnectorSettings) String
func (x *GenerativeSettings_KnowledgeConnectorSettings) String() stringGenerator
type Generator struct {
// The unique identifier of the generator.
// Must be set for the
// [Generators.UpdateGenerator][google.cloud.dialogflow.cx.v3.Generators.UpdateGenerator]
// method. [Generators.CreateGenerate][] populates the name automatically.
// Format:
// `projects/Generators contain prompt to be sent to the LLM model to generate text. The prompt can contain parameters which will be resolved before calling the model. It can optionally contain banned phrases to ensure the model responses are safe.
func (*Generator) Descriptor
Deprecated: Use Generator.ProtoReflect.Descriptor instead.
func (*Generator) GetDisplayName
func (*Generator) GetLlmModelSettings
func (x *Generator) GetLlmModelSettings() *LlmModelSettingsfunc (*Generator) GetModelParameter
func (x *Generator) GetModelParameter() *Generator_ModelParameterfunc (*Generator) GetName
func (*Generator) GetPlaceholders
func (x *Generator) GetPlaceholders() []*Generator_Placeholderfunc (*Generator) GetPromptText
func (*Generator) ProtoMessage
func (*Generator) ProtoMessage()func (*Generator) ProtoReflect
func (x *Generator) ProtoReflect() protoreflect.Messagefunc (*Generator) Reset
func (x *Generator) Reset()func (*Generator) String
Generator_ModelParameter
type Generator_ModelParameter struct {
// The temperature used for sampling. Temperature sampling occurs after both
// topP and topK have been applied.
// Valid range: [0.0, 1.0]
// Low temperature = less random. High temperature = more random.
Temperature *float32 `protobuf:"fixed32,1,opt,name=temperature,proto3,oneof" json:"temperature,omitempty"`
// The maximum number of tokens to generate.
MaxDecodeSteps *int32 `protobuf:"varint,2,opt,name=max_decode_steps,json=maxDecodeSteps,proto3,oneof" json:"max_decode_steps,omitempty"`
// If set, only the tokens comprising the top top_p probability mass are
// considered. If both top_p and top_k are
// set, top_p will be used for further refining candidates selected with
// top_k.
// Valid range: (0.0, 1.0].
// Small topP = less random. Large topP = more random.
TopP *float32 `protobuf:"fixed32,3,opt,name=top_p,json=topP,proto3,oneof" json:"top_p,omitempty"`
// If set, the sampling process in each step is limited to the top_k tokens
// with highest probabilities.
// Valid range: [1, 40] or 1000+.
// Small topK = less random. Large topK = more random.
TopK *int32 `protobuf:"varint,4,opt,name=top_k,json=topK,proto3,oneof" json:"top_k,omitempty"`
// contains filtered or unexported fields
}Parameters to be passed to the LLM. If not set, default values will be used.
func (*Generator_ModelParameter) Descriptor
func (*Generator_ModelParameter) Descriptor() ([]byte, []int)Deprecated: Use Generator_ModelParameter.ProtoReflect.Descriptor instead.
func (*Generator_ModelParameter) GetMaxDecodeSteps
func (x *Generator_ModelParameter) GetMaxDecodeSteps() int32func (*Generator_ModelParameter) GetTemperature
func (x *Generator_ModelParameter) GetTemperature() float32func (*Generator_ModelParameter) GetTopK
func (x *Generator_ModelParameter) GetTopK() int32func (*Generator_ModelParameter) GetTopP
func (x *Generator_ModelParameter) GetTopP() float32func (*Generator_ModelParameter) ProtoMessage
func (*Generator_ModelParameter) ProtoMessage()func (*Generator_ModelParameter) ProtoReflect
func (x *Generator_ModelParameter) ProtoReflect() protoreflect.Messagefunc (*Generator_ModelParameter) Reset
func (x *Generator_ModelParameter) Reset()func (*Generator_ModelParameter) String
func (x *Generator_ModelParameter) String() stringGenerator_Placeholder
type Generator_Placeholder struct {
// Unique ID used to map custom placeholder to parameters in fulfillment.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Custom placeholder value in the prompt text.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Represents a custom placeholder in the prompt text.
func (*Generator_Placeholder) Descriptor
func (*Generator_Placeholder) Descriptor() ([]byte, []int)Deprecated: Use Generator_Placeholder.ProtoReflect.Descriptor instead.
func (*Generator_Placeholder) GetId
func (x *Generator_Placeholder) GetId() stringfunc (*Generator_Placeholder) GetName
func (x *Generator_Placeholder) GetName() stringfunc (*Generator_Placeholder) ProtoMessage
func (*Generator_Placeholder) ProtoMessage()func (*Generator_Placeholder) ProtoReflect
func (x *Generator_Placeholder) ProtoReflect() protoreflect.Messagefunc (*Generator_Placeholder) Reset
func (x *Generator_Placeholder) Reset()func (*Generator_Placeholder) String
func (x *Generator_Placeholder) String() stringGeneratorsClient
type GeneratorsClient interface {
// Returns the list of all generators in the specified agent.
ListGenerators(ctx context.Context, in *ListGeneratorsRequest, opts ...grpc.CallOption) (*ListGeneratorsResponse, error)
// Retrieves the specified generator.
GetGenerator(ctx context.Context, in *GetGeneratorRequest, opts ...grpc.CallOption) (*Generator, error)
// Creates a generator in the specified agent.
CreateGenerator(ctx context.Context, in *CreateGeneratorRequest, opts ...grpc.CallOption) (*Generator, error)
// Update the specified generator.
UpdateGenerator(ctx context.Context, in *UpdateGeneratorRequest, opts ...grpc.CallOption) (*Generator, error)
// Deletes the specified generators.
DeleteGenerator(ctx context.Context, in *DeleteGeneratorRequest, opts ...grpc.CallOption) (*emptypb.Empty, 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
func NewGeneratorsClient(cc grpc.ClientConnInterface) GeneratorsClientGeneratorsServer
type GeneratorsServer interface {
// Returns the list of all generators in the specified agent.
ListGenerators(context.Context, *ListGeneratorsRequest) (*ListGeneratorsResponse, error)
// Retrieves the specified generator.
GetGenerator(context.Context, *GetGeneratorRequest) (*Generator, error)
// Creates a generator in the specified agent.
CreateGenerator(context.Context, *CreateGeneratorRequest) (*Generator, error)
// Update the specified generator.
UpdateGenerator(context.Context, *UpdateGeneratorRequest) (*Generator, error)
// Deletes the specified generators.
DeleteGenerator(context.Context, *DeleteGeneratorRequest) (*emptypb.Empty, error)
}GeneratorsServer is the server API for Generators service. All implementations should embed UnimplementedGeneratorsServer for forward compatibility
GetAgentRequest
type GetAgentRequest struct {
// Required. The name of the agent.
// Format: `projects/The request message for [Agents.GetAgent][google.cloud.dialogflow.cx.v3.Agents.GetAgent].
func (*GetAgentRequest) Descriptor
func (*GetAgentRequest) Descriptor() ([]byte, []int)Deprecated: Use GetAgentRequest.ProtoReflect.Descriptor instead.
func (*GetAgentRequest) GetName
func (x *GetAgentRequest) GetName() stringfunc (*GetAgentRequest) ProtoMessage
func (*GetAgentRequest) ProtoMessage()func (*GetAgentRequest) ProtoReflect
func (x *GetAgentRequest) ProtoReflect() protoreflect.Messagefunc (*GetAgentRequest) Reset
func (x *GetAgentRequest) Reset()func (*GetAgentRequest) String
func (x *GetAgentRequest) String() stringGetAgentValidationResultRequest
type GetAgentValidationResultRequest struct {
// Required. The agent name.
// Format:
// `projects/The request message for [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult].
func (*GetAgentValidationResultRequest) Descriptor
func (*GetAgentValidationResultRequest) Descriptor() ([]byte, []int)Deprecated: Use GetAgentValidationResultRequest.ProtoReflect.Descriptor instead.
func (*GetAgentValidationResultRequest) GetLanguageCode
func (x *GetAgentValidationResultRequest) GetLanguageCode() stringfunc (*GetAgentValidationResultRequest) GetName
func (x *GetAgentValidationResultRequest) GetName() stringfunc (*GetAgentValidationResultRequest) ProtoMessage
func (*GetAgentValidationResultRequest) ProtoMessage()func (*GetAgentValidationResultRequest) ProtoReflect
func (x *GetAgentValidationResultRequest) ProtoReflect() protoreflect.Messagefunc (*GetAgentValidationResultRequest) Reset
func (x *GetAgentValidationResultRequest) Reset()func (*GetAgentValidationResultRequest) String
func (x *GetAgentValidationResultRequest) String() stringGetChangelogRequest
type GetChangelogRequest struct {
// Required. The name of the changelog to get.
// Format:
// `projects/The request message for [Changelogs.GetChangelog][google.cloud.dialogflow.cx.v3.Changelogs.GetChangelog].
func (*GetChangelogRequest) Descriptor
func (*GetChangelogRequest) Descriptor() ([]byte, []int)Deprecated: Use GetChangelogRequest.ProtoReflect.Descriptor instead.
func (*GetChangelogRequest) GetName
func (x *GetChangelogRequest) GetName() stringfunc (*GetChangelogRequest) ProtoMessage
func (*GetChangelogRequest) ProtoMessage()func (*GetChangelogRequest) ProtoReflect
func (x *GetChangelogRequest) ProtoReflect() protoreflect.Messagefunc (*GetChangelogRequest) Reset
func (x *GetChangelogRequest) Reset()func (*GetChangelogRequest) String
func (x *GetChangelogRequest) String() stringGetDeploymentRequest
type GetDeploymentRequest struct {
// Required. The name of the
// [Deployment][google.cloud.dialogflow.cx.v3.Deployment]. Format:
// `projects/The request message for [Deployments.GetDeployment][google.cloud.dialogflow.cx.v3.Deployments.GetDeployment].
func (*GetDeploymentRequest) Descriptor
func (*GetDeploymentRequest) Descriptor() ([]byte, []int)Deprecated: Use GetDeploymentRequest.ProtoReflect.Descriptor instead.
func (*GetDeploymentRequest) GetName
func (x *GetDeploymentRequest) GetName() stringfunc (*GetDeploymentRequest) ProtoMessage
func (*GetDeploymentRequest) ProtoMessage()func (*GetDeploymentRequest) ProtoReflect
func (x *GetDeploymentRequest) ProtoReflect() protoreflect.Messagefunc (*GetDeploymentRequest) Reset
func (x *GetDeploymentRequest) Reset()func (*GetDeploymentRequest) String
func (x *GetDeploymentRequest) String() stringGetEntityTypeRequest
type GetEntityTypeRequest struct {
// Required. The name of the entity type.
// Format:
// `projects/The request message for [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType].
func (*GetEntityTypeRequest) Descriptor
func (*GetEntityTypeRequest) Descriptor() ([]byte, []int)Deprecated: Use GetEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*GetEntityTypeRequest) GetLanguageCode
func (x *GetEntityTypeRequest) GetLanguageCode() stringfunc (*GetEntityTypeRequest) GetName
func (x *GetEntityTypeRequest) GetName() stringfunc (*GetEntityTypeRequest) ProtoMessage
func (*GetEntityTypeRequest) ProtoMessage()func (*GetEntityTypeRequest) ProtoReflect
func (x *GetEntityTypeRequest) ProtoReflect() protoreflect.Messagefunc (*GetEntityTypeRequest) Reset
func (x *GetEntityTypeRequest) Reset()func (*GetEntityTypeRequest) String
func (x *GetEntityTypeRequest) String() stringGetEnvironmentRequest
type GetEnvironmentRequest struct {
// Required. The name of the
// [Environment][google.cloud.dialogflow.cx.v3.Environment]. Format:
// `projects/The request message for [Environments.GetEnvironment][google.cloud.dialogflow.cx.v3.Environments.GetEnvironment].
func (*GetEnvironmentRequest) Descriptor
func (*GetEnvironmentRequest) Descriptor() ([]byte, []int)Deprecated: Use GetEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*GetEnvironmentRequest) GetName
func (x *GetEnvironmentRequest) GetName() stringfunc (*GetEnvironmentRequest) ProtoMessage
func (*GetEnvironmentRequest) ProtoMessage()func (*GetEnvironmentRequest) ProtoReflect
func (x *GetEnvironmentRequest) ProtoReflect() protoreflect.Messagefunc (*GetEnvironmentRequest) Reset
func (x *GetEnvironmentRequest) Reset()func (*GetEnvironmentRequest) String
func (x *GetEnvironmentRequest) String() stringGetExampleRequest
type GetExampleRequest struct {
// Required. The name of the example.
// Format:
// `projects/The request message for [Examples.GetExample][google.cloud.dialogflow.cx.v3.Examples.GetExample].
func (*GetExampleRequest) Descriptor
func (*GetExampleRequest) Descriptor() ([]byte, []int)Deprecated: Use GetExampleRequest.ProtoReflect.Descriptor instead.
func (*GetExampleRequest) GetName
func (x *GetExampleRequest) GetName() stringfunc (*GetExampleRequest) ProtoMessage
func (*GetExampleRequest) ProtoMessage()func (*GetExampleRequest) ProtoReflect
func (x *GetExampleRequest) ProtoReflect() protoreflect.Messagefunc (*GetExampleRequest) Reset
func (x *GetExampleRequest) Reset()func (*GetExampleRequest) String
func (x *GetExampleRequest) String() stringGetExperimentRequest
type GetExperimentRequest struct {
// Required. The name of the
// [Environment][google.cloud.dialogflow.cx.v3.Environment]. Format:
// `projects/The request message for [Experiments.GetExperiment][google.cloud.dialogflow.cx.v3.Experiments.GetExperiment].
func (*GetExperimentRequest) Descriptor
func (*GetExperimentRequest) Descriptor() ([]byte, []int)Deprecated: Use GetExperimentRequest.ProtoReflect.Descriptor instead.
func (*GetExperimentRequest) GetName
func (x *GetExperimentRequest) GetName() stringfunc (*GetExperimentRequest) ProtoMessage
func (*GetExperimentRequest) ProtoMessage()func (*GetExperimentRequest) ProtoReflect
func (x *GetExperimentRequest) ProtoReflect() protoreflect.Messagefunc (*GetExperimentRequest) Reset
func (x *GetExperimentRequest) Reset()func (*GetExperimentRequest) String
func (x *GetExperimentRequest) String() stringGetFlowRequest
type GetFlowRequest struct {
// Required. The name of the flow to get.
// Format:
// `projects/The response message for [Flows.GetFlow][google.cloud.dialogflow.cx.v3.Flows.GetFlow].
func (*GetFlowRequest) Descriptor
func (*GetFlowRequest) Descriptor() ([]byte, []int)Deprecated: Use GetFlowRequest.ProtoReflect.Descriptor instead.
func (*GetFlowRequest) GetLanguageCode
func (x *GetFlowRequest) GetLanguageCode() stringfunc (*GetFlowRequest) GetName
func (x *GetFlowRequest) GetName() stringfunc (*GetFlowRequest) ProtoMessage
func (*GetFlowRequest) ProtoMessage()func (*GetFlowRequest) ProtoReflect
func (x *GetFlowRequest) ProtoReflect() protoreflect.Messagefunc (*GetFlowRequest) Reset
func (x *GetFlowRequest) Reset()func (*GetFlowRequest) String
func (x *GetFlowRequest) String() stringGetFlowValidationResultRequest
type GetFlowValidationResultRequest struct {
// Required. The flow name.
// Format:
// `projects/The request message for [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult].
func (*GetFlowValidationResultRequest) Descriptor
func (*GetFlowValidationResultRequest) Descriptor() ([]byte, []int)Deprecated: Use GetFlowValidationResultRequest.ProtoReflect.Descriptor instead.
func (*GetFlowValidationResultRequest) GetLanguageCode
func (x *GetFlowValidationResultRequest) GetLanguageCode() stringfunc (*GetFlowValidationResultRequest) GetName
func (x *GetFlowValidationResultRequest) GetName() stringfunc (*GetFlowValidationResultRequest) ProtoMessage
func (*GetFlowValidationResultRequest) ProtoMessage()func (*GetFlowValidationResultRequest) ProtoReflect
func (x *GetFlowValidationResultRequest) ProtoReflect() protoreflect.Messagefunc (*GetFlowValidationResultRequest) Reset
func (x *GetFlowValidationResultRequest) Reset()func (*GetFlowValidationResultRequest) String
func (x *GetFlowValidationResultRequest) String() stringGetGenerativeSettingsRequest
type GetGenerativeSettingsRequest struct {
// Required. Format:
// `projects/Request for [GetGenerativeSettings][google.cloud.dialogflow.cx.v3.Agents.GetGenerativeSettings] RPC.
func (*GetGenerativeSettingsRequest) Descriptor
func (*GetGenerativeSettingsRequest) Descriptor() ([]byte, []int)Deprecated: Use GetGenerativeSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetGenerativeSettingsRequest) GetLanguageCode
func (x *GetGenerativeSettingsRequest) GetLanguageCode() stringfunc (*GetGenerativeSettingsRequest) GetName
func (x *GetGenerativeSettingsRequest) GetName() stringfunc (*GetGenerativeSettingsRequest) ProtoMessage
func (*GetGenerativeSettingsRequest) ProtoMessage()func (*GetGenerativeSettingsRequest) ProtoReflect
func (x *GetGenerativeSettingsRequest) ProtoReflect() protoreflect.Messagefunc (*GetGenerativeSettingsRequest) Reset
func (x *GetGenerativeSettingsRequest) Reset()func (*GetGenerativeSettingsRequest) String
func (x *GetGenerativeSettingsRequest) String() stringGetGeneratorRequest
type GetGeneratorRequest struct {
// Required. The name of the generator.
// Format:
// `projects/The request message for [Generators.GetGenerator][google.cloud.dialogflow.cx.v3.Generators.GetGenerator].
func (*GetGeneratorRequest) Descriptor
func (*GetGeneratorRequest) Descriptor() ([]byte, []int)Deprecated: Use GetGeneratorRequest.ProtoReflect.Descriptor instead.
func (*GetGeneratorRequest) GetLanguageCode
func (x *GetGeneratorRequest) GetLanguageCode() stringfunc (*GetGeneratorRequest) GetName
func (x *GetGeneratorRequest) GetName() stringfunc (*GetGeneratorRequest) ProtoMessage
func (*GetGeneratorRequest) ProtoMessage()func (*GetGeneratorRequest) ProtoReflect
func (x *GetGeneratorRequest) ProtoReflect() protoreflect.Messagefunc (*GetGeneratorRequest) Reset
func (x *GetGeneratorRequest) Reset()func (*GetGeneratorRequest) String
func (x *GetGeneratorRequest) String() stringGetIntentRequest
type GetIntentRequest struct {
// Required. The name of the intent.
// Format:
// `projects/The request message for [Intents.GetIntent][google.cloud.dialogflow.cx.v3.Intents.GetIntent].
func (*GetIntentRequest) Descriptor
func (*GetIntentRequest) Descriptor() ([]byte, []int)Deprecated: Use GetIntentRequest.ProtoReflect.Descriptor instead.
func (*GetIntentRequest) GetLanguageCode
func (x *GetIntentRequest) GetLanguageCode() stringfunc (*GetIntentRequest) GetName
func (x *GetIntentRequest) GetName() stringfunc (*GetIntentRequest) ProtoMessage
func (*GetIntentRequest) ProtoMessage()func (*GetIntentRequest) ProtoReflect
func (x *GetIntentRequest) ProtoReflect() protoreflect.Messagefunc (*GetIntentRequest) Reset
func (x *GetIntentRequest) Reset()func (*GetIntentRequest) String
func (x *GetIntentRequest) String() stringGetPageRequest
type GetPageRequest struct {
// Required. The name of the page.
// Format:
// `projects/The request message for [Pages.GetPage][google.cloud.dialogflow.cx.v3.Pages.GetPage].
func (*GetPageRequest) Descriptor
func (*GetPageRequest) Descriptor() ([]byte, []int)Deprecated: Use GetPageRequest.ProtoReflect.Descriptor instead.
func (*GetPageRequest) GetLanguageCode
func (x *GetPageRequest) GetLanguageCode() stringfunc (*GetPageRequest) GetName
func (x *GetPageRequest) GetName() stringfunc (*GetPageRequest) ProtoMessage
func (*GetPageRequest) ProtoMessage()func (*GetPageRequest) ProtoReflect
func (x *GetPageRequest) ProtoReflect() protoreflect.Messagefunc (*GetPageRequest) Reset
func (x *GetPageRequest) Reset()func (*GetPageRequest) String
func (x *GetPageRequest) String() stringGetPlaybookRequest
type GetPlaybookRequest struct {
// Required. The name of the playbook.
// Format:
// `projects/The request message for [Playbooks.GetPlaybook][google.cloud.dialogflow.cx.v3.Playbooks.GetPlaybook].
func (*GetPlaybookRequest) Descriptor
func (*GetPlaybookRequest) Descriptor() ([]byte, []int)Deprecated: Use GetPlaybookRequest.ProtoReflect.Descriptor instead.
func (*GetPlaybookRequest) GetName
func (x *GetPlaybookRequest) GetName() stringfunc (*GetPlaybookRequest) ProtoMessage
func (*GetPlaybookRequest) ProtoMessage()func (*GetPlaybookRequest) ProtoReflect
func (x *GetPlaybookRequest) ProtoReflect() protoreflect.Messagefunc (*GetPlaybookRequest) Reset
func (x *GetPlaybookRequest) Reset()func (*GetPlaybookRequest) String
func (x *GetPlaybookRequest) String() stringGetPlaybookVersionRequest
type GetPlaybookVersionRequest struct {
// Required. The name of the playbook version.
// Format:
// `projects/The request message for [Playbooks.GetPlaybookVersion][google.cloud.dialogflow.cx.v3.Playbooks.GetPlaybookVersion].
func (*GetPlaybookVersionRequest) Descriptor
func (*GetPlaybookVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use GetPlaybookVersionRequest.ProtoReflect.Descriptor instead.
func (*GetPlaybookVersionRequest) GetName
func (x *GetPlaybookVersionRequest) GetName() stringfunc (*GetPlaybookVersionRequest) ProtoMessage
func (*GetPlaybookVersionRequest) ProtoMessage()func (*GetPlaybookVersionRequest) ProtoReflect
func (x *GetPlaybookVersionRequest) ProtoReflect() protoreflect.Messagefunc (*GetPlaybookVersionRequest) Reset
func (x *GetPlaybookVersionRequest) Reset()func (*GetPlaybookVersionRequest) String
func (x *GetPlaybookVersionRequest) String() stringGetSecuritySettingsRequest
type GetSecuritySettingsRequest struct {
// Required. Resource name of the settings.
// Format:
// `projects/The request message for [SecuritySettingsService.GetSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings].
func (*GetSecuritySettingsRequest) Descriptor
func (*GetSecuritySettingsRequest) Descriptor() ([]byte, []int)Deprecated: Use GetSecuritySettingsRequest.ProtoReflect.Descriptor instead.
func (*GetSecuritySettingsRequest) GetName
func (x *GetSecuritySettingsRequest) GetName() stringfunc (*GetSecuritySettingsRequest) ProtoMessage
func (*GetSecuritySettingsRequest) ProtoMessage()func (*GetSecuritySettingsRequest) ProtoReflect
func (x *GetSecuritySettingsRequest) ProtoReflect() protoreflect.Messagefunc (*GetSecuritySettingsRequest) Reset
func (x *GetSecuritySettingsRequest) Reset()func (*GetSecuritySettingsRequest) String
func (x *GetSecuritySettingsRequest) String() stringGetSessionEntityTypeRequest
type GetSessionEntityTypeRequest struct {
// Required. The name of the session entity type.
// Format:
// `projects/The request message for [SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.GetSessionEntityType].
func (*GetSessionEntityTypeRequest) Descriptor
func (*GetSessionEntityTypeRequest) Descriptor() ([]byte, []int)Deprecated: Use GetSessionEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*GetSessionEntityTypeRequest) GetName
func (x *GetSessionEntityTypeRequest) GetName() stringfunc (*GetSessionEntityTypeRequest) ProtoMessage
func (*GetSessionEntityTypeRequest) ProtoMessage()func (*GetSessionEntityTypeRequest) ProtoReflect
func (x *GetSessionEntityTypeRequest) ProtoReflect() protoreflect.Messagefunc (*GetSessionEntityTypeRequest) Reset
func (x *GetSessionEntityTypeRequest) Reset()func (*GetSessionEntityTypeRequest) String
func (x *GetSessionEntityTypeRequest) String() stringGetTestCaseRequest
type GetTestCaseRequest struct {
// Required. The name of the testcase.
// Format:
// `projects/The request message for [TestCases.GetTestCase][google.cloud.dialogflow.cx.v3.TestCases.GetTestCase].
func (*GetTestCaseRequest) Descriptor
func (*GetTestCaseRequest) Descriptor() ([]byte, []int)Deprecated: Use GetTestCaseRequest.ProtoReflect.Descriptor instead.
func (*GetTestCaseRequest) GetName
func (x *GetTestCaseRequest) GetName() stringfunc (*GetTestCaseRequest) ProtoMessage
func (*GetTestCaseRequest) ProtoMessage()func (*GetTestCaseRequest) ProtoReflect
func (x *GetTestCaseRequest) ProtoReflect() protoreflect.Messagefunc (*GetTestCaseRequest) Reset
func (x *GetTestCaseRequest) Reset()func (*GetTestCaseRequest) String
func (x *GetTestCaseRequest) String() stringGetTestCaseResultRequest
type GetTestCaseResultRequest struct {
// Required. The name of the testcase.
// Format:
// `projects/The request message for [TestCases.GetTestCaseResult][google.cloud.dialogflow.cx.v3.TestCases.GetTestCaseResult].
func (*GetTestCaseResultRequest) Descriptor
func (*GetTestCaseResultRequest) Descriptor() ([]byte, []int)Deprecated: Use GetTestCaseResultRequest.ProtoReflect.Descriptor instead.
func (*GetTestCaseResultRequest) GetName
func (x *GetTestCaseResultRequest) GetName() stringfunc (*GetTestCaseResultRequest) ProtoMessage
func (*GetTestCaseResultRequest) ProtoMessage()func (*GetTestCaseResultRequest) ProtoReflect
func (x *GetTestCaseResultRequest) ProtoReflect() protoreflect.Messagefunc (*GetTestCaseResultRequest) Reset
func (x *GetTestCaseResultRequest) Reset()func (*GetTestCaseResultRequest) String
func (x *GetTestCaseResultRequest) String() stringGetToolRequest
type GetToolRequest struct {
// Required. The name of the Tool.
// Format:
// `projects/The request message for [Tools.GetTool][google.cloud.dialogflow.cx.v3.Tools.GetTool].
func (*GetToolRequest) Descriptor
func (*GetToolRequest) Descriptor() ([]byte, []int)Deprecated: Use GetToolRequest.ProtoReflect.Descriptor instead.
func (*GetToolRequest) GetName
func (x *GetToolRequest) GetName() stringfunc (*GetToolRequest) ProtoMessage
func (*GetToolRequest) ProtoMessage()func (*GetToolRequest) ProtoReflect
func (x *GetToolRequest) ProtoReflect() protoreflect.Messagefunc (*GetToolRequest) Reset
func (x *GetToolRequest) Reset()func (*GetToolRequest) String
func (x *GetToolRequest) String() stringGetToolVersionRequest
type GetToolVersionRequest struct {
// Required. The name of the tool version.
// Format:
// `projects/The request message for [Tools.GetToolVersion][google.cloud.dialogflow.cx.v3.Tools.GetToolVersion].
func (*GetToolVersionRequest) Descriptor
func (*GetToolVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use GetToolVersionRequest.ProtoReflect.Descriptor instead.
func (*GetToolVersionRequest) GetName
func (x *GetToolVersionRequest) GetName() stringfunc (*GetToolVersionRequest) ProtoMessage
func (*GetToolVersionRequest) ProtoMessage()func (*GetToolVersionRequest) ProtoReflect
func (x *GetToolVersionRequest) ProtoReflect() protoreflect.Messagefunc (*GetToolVersionRequest) Reset
func (x *GetToolVersionRequest) Reset()func (*GetToolVersionRequest) String
func (x *GetToolVersionRequest) String() stringGetTransitionRouteGroupRequest
type GetTransitionRouteGroupRequest struct {
// Required. The name of the
// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
// Format:
// `projects/The request message for [TransitionRouteGroups.GetTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.GetTransitionRouteGroup].
func (*GetTransitionRouteGroupRequest) Descriptor
func (*GetTransitionRouteGroupRequest) Descriptor() ([]byte, []int)Deprecated: Use GetTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.
func (*GetTransitionRouteGroupRequest) GetLanguageCode
func (x *GetTransitionRouteGroupRequest) GetLanguageCode() stringfunc (*GetTransitionRouteGroupRequest) GetName
func (x *GetTransitionRouteGroupRequest) GetName() stringfunc (*GetTransitionRouteGroupRequest) ProtoMessage
func (*GetTransitionRouteGroupRequest) ProtoMessage()func (*GetTransitionRouteGroupRequest) ProtoReflect
func (x *GetTransitionRouteGroupRequest) ProtoReflect() protoreflect.Messagefunc (*GetTransitionRouteGroupRequest) Reset
func (x *GetTransitionRouteGroupRequest) Reset()func (*GetTransitionRouteGroupRequest) String
func (x *GetTransitionRouteGroupRequest) String() stringGetVersionRequest
type GetVersionRequest struct {
// Required. The name of the [Version][google.cloud.dialogflow.cx.v3.Version].
// Format:
// `projects/The request message for [Versions.GetVersion][google.cloud.dialogflow.cx.v3.Versions.GetVersion].
func (*GetVersionRequest) Descriptor
func (*GetVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
func (*GetVersionRequest) GetName
func (x *GetVersionRequest) GetName() stringfunc (*GetVersionRequest) ProtoMessage
func (*GetVersionRequest) ProtoMessage()func (*GetVersionRequest) ProtoReflect
func (x *GetVersionRequest) ProtoReflect() protoreflect.Messagefunc (*GetVersionRequest) Reset
func (x *GetVersionRequest) Reset()func (*GetVersionRequest) String
func (x *GetVersionRequest) String() stringGetWebhookRequest
type GetWebhookRequest struct {
// Required. The name of the webhook.
// Format:
// `projects/The request message for [Webhooks.GetWebhook][google.cloud.dialogflow.cx.v3.Webhooks.GetWebhook].
func (*GetWebhookRequest) Descriptor
func (*GetWebhookRequest) Descriptor() ([]byte, []int)Deprecated: Use GetWebhookRequest.ProtoReflect.Descriptor instead.
func (*GetWebhookRequest) GetName
func (x *GetWebhookRequest) GetName() stringfunc (*GetWebhookRequest) ProtoMessage
func (*GetWebhookRequest) ProtoMessage()func (*GetWebhookRequest) ProtoReflect
func (x *GetWebhookRequest) ProtoReflect() protoreflect.Messagefunc (*GetWebhookRequest) Reset
func (x *GetWebhookRequest) Reset()func (*GetWebhookRequest) String
func (x *GetWebhookRequest) String() stringHandler
type Handler struct {
// Specifies the type of handler to invoke.
//
// Types that are valid to be assigned to Handler:
//
// *Handler_EventHandler_
// *Handler_LifecycleHandler_
Handler isHandler_Handler `protobuf_oneof:"handler"`
// contains filtered or unexported fields
}Handler can be used to define custom logic to be executed based on the user-specified triggers.
func (*Handler) Descriptor
Deprecated: Use Handler.ProtoReflect.Descriptor instead.
func (*Handler) GetEventHandler
func (x *Handler) GetEventHandler() *Handler_EventHandlerfunc (*Handler) GetHandler
func (x *Handler) GetHandler() isHandler_Handlerfunc (*Handler) GetLifecycleHandler
func (x *Handler) GetLifecycleHandler() *Handler_LifecycleHandlerfunc (*Handler) ProtoMessage
func (*Handler) ProtoMessage()func (*Handler) ProtoReflect
func (x *Handler) ProtoReflect() protoreflect.Messagefunc (*Handler) Reset
func (x *Handler) Reset()func (*Handler) String
Handler_EventHandler
type Handler_EventHandler struct {
// Required. The name of the event that triggers this handler.
Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
// Optional. The condition that must be satisfied to trigger this handler.
Condition string `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
// Required. The fulfillment to call when the event occurs.
Fulfillment *Fulfillment `protobuf:"bytes,2,opt,name=fulfillment,proto3" json:"fulfillment,omitempty"`
// contains filtered or unexported fields
}A handler that is triggered by the specified [event][google.cloud.dialogflow.cx.v3.Handler.EventHandler.event].
func (*Handler_EventHandler) Descriptor
func (*Handler_EventHandler) Descriptor() ([]byte, []int)Deprecated: Use Handler_EventHandler.ProtoReflect.Descriptor instead.
func (*Handler_EventHandler) GetCondition
func (x *Handler_EventHandler) GetCondition() stringfunc (*Handler_EventHandler) GetEvent
func (x *Handler_EventHandler) GetEvent() stringfunc (*Handler_EventHandler) GetFulfillment
func (x *Handler_EventHandler) GetFulfillment() *Fulfillmentfunc (*Handler_EventHandler) ProtoMessage
func (*Handler_EventHandler) ProtoMessage()func (*Handler_EventHandler) ProtoReflect
func (x *Handler_EventHandler) ProtoReflect() protoreflect.Messagefunc (*Handler_EventHandler) Reset
func (x *Handler_EventHandler) Reset()func (*Handler_EventHandler) String
func (x *Handler_EventHandler) String() stringHandler_EventHandler_
type Handler_EventHandler_ struct {
// A handler triggered by event.
EventHandler *Handler_EventHandler `protobuf:"bytes,1,opt,name=event_handler,json=eventHandler,proto3,oneof"`
}Handler_LifecycleHandler
type Handler_LifecycleHandler struct {
// Required. The name of the lifecycle stage that triggers this handler.
// Supported values:
// * `playbook-start`
// * `pre-action-selection`
// * `pre-action-execution`
LifecycleStage string `protobuf:"bytes,1,opt,name=lifecycle_stage,json=lifecycleStage,proto3" json:"lifecycle_stage,omitempty"`
// Optional. The condition that must be satisfied to trigger this handler.
Condition string `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"`
// Required. The fulfillment to call when this handler is triggered.
Fulfillment *Fulfillment `protobuf:"bytes,3,opt,name=fulfillment,proto3" json:"fulfillment,omitempty"`
// contains filtered or unexported fields
}A handler that is triggered on the specific [lifecycle_stage][google.cloud.dialogflow.cx.v3.Handler.LifecycleHandler.lifecycle_stage] of the playbook execution.
func (*Handler_LifecycleHandler) Descriptor
func (*Handler_LifecycleHandler) Descriptor() ([]byte, []int)Deprecated: Use Handler_LifecycleHandler.ProtoReflect.Descriptor instead.
func (*Handler_LifecycleHandler) GetCondition
func (x *Handler_LifecycleHandler) GetCondition() stringfunc (*Handler_LifecycleHandler) GetFulfillment
func (x *Handler_LifecycleHandler) GetFulfillment() *Fulfillmentfunc (*Handler_LifecycleHandler) GetLifecycleStage
func (x *Handler_LifecycleHandler) GetLifecycleStage() stringfunc (*Handler_LifecycleHandler) ProtoMessage
func (*Handler_LifecycleHandler) ProtoMessage()func (*Handler_LifecycleHandler) ProtoReflect
func (x *Handler_LifecycleHandler) ProtoReflect() protoreflect.Messagefunc (*Handler_LifecycleHandler) Reset
func (x *Handler_LifecycleHandler) Reset()func (*Handler_LifecycleHandler) String
func (x *Handler_LifecycleHandler) String() stringHandler_LifecycleHandler_
type Handler_LifecycleHandler_ struct {
// A handler triggered during specific lifecycle of the playbook execution.
LifecycleHandler *Handler_LifecycleHandler `protobuf:"bytes,3,opt,name=lifecycle_handler,json=lifecycleHandler,proto3,oneof"`
}ImportEntityTypesMetadata
type ImportEntityTypesMetadata struct {
// contains filtered or unexported fields
}Metadata returned for the [EntityTypes.ImportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes] long running operation.
func (*ImportEntityTypesMetadata) Descriptor
func (*ImportEntityTypesMetadata) Descriptor() ([]byte, []int)Deprecated: Use ImportEntityTypesMetadata.ProtoReflect.Descriptor instead.
func (*ImportEntityTypesMetadata) ProtoMessage
func (*ImportEntityTypesMetadata) ProtoMessage()func (*ImportEntityTypesMetadata) ProtoReflect
func (x *ImportEntityTypesMetadata) ProtoReflect() protoreflect.Messagefunc (*ImportEntityTypesMetadata) Reset
func (x *ImportEntityTypesMetadata) Reset()func (*ImportEntityTypesMetadata) String
func (x *ImportEntityTypesMetadata) String() stringImportEntityTypesRequest
type ImportEntityTypesRequest struct {
// Required. The agent to import the entity types into.
// Format: `projects/The request message for [EntityTypes.ImportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes].
func (*ImportEntityTypesRequest) Descriptor
func (*ImportEntityTypesRequest) Descriptor() ([]byte, []int)Deprecated: Use ImportEntityTypesRequest.ProtoReflect.Descriptor instead.
func (*ImportEntityTypesRequest) GetEntityTypes
func (x *ImportEntityTypesRequest) GetEntityTypes() isImportEntityTypesRequest_EntityTypesfunc (*ImportEntityTypesRequest) GetEntityTypesContent
func (x *ImportEntityTypesRequest) GetEntityTypesContent() *InlineSourcefunc (*ImportEntityTypesRequest) GetEntityTypesUri
func (x *ImportEntityTypesRequest) GetEntityTypesUri() stringfunc (*ImportEntityTypesRequest) GetMergeOption
func (x *ImportEntityTypesRequest) GetMergeOption() ImportEntityTypesRequest_MergeOptionfunc (*ImportEntityTypesRequest) GetParent
func (x *ImportEntityTypesRequest) GetParent() stringfunc (*ImportEntityTypesRequest) GetTargetEntityType
func (x *ImportEntityTypesRequest) GetTargetEntityType() stringfunc (*ImportEntityTypesRequest) ProtoMessage
func (*ImportEntityTypesRequest) ProtoMessage()func (*ImportEntityTypesRequest) ProtoReflect
func (x *ImportEntityTypesRequest) ProtoReflect() protoreflect.Messagefunc (*ImportEntityTypesRequest) Reset
func (x *ImportEntityTypesRequest) Reset()func (*ImportEntityTypesRequest) String
func (x *ImportEntityTypesRequest) String() stringImportEntityTypesRequest_EntityTypesContent
type ImportEntityTypesRequest_EntityTypesContent struct {
// Uncompressed byte content of entity types.
EntityTypesContent *InlineSource `protobuf:"bytes,3,opt,name=entity_types_content,json=entityTypesContent,proto3,oneof"`
}ImportEntityTypesRequest_EntityTypesUri
type ImportEntityTypesRequest_EntityTypesUri struct {
// The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
// to import entity types from. The format of this URI must be
// `gs://ImportEntityTypesRequest_MergeOption
type ImportEntityTypesRequest_MergeOption int32Merge option when display name conflicts exist during import.
ImportEntityTypesRequest_MERGE_OPTION_UNSPECIFIED, ImportEntityTypesRequest_REPLACE, ImportEntityTypesRequest_MERGE, ImportEntityTypesRequest_RENAME, ImportEntityTypesRequest_REPORT_CONFLICT, ImportEntityTypesRequest_KEEP
const (
// Unspecified. If used, system uses REPORT_CONFLICT as default.
ImportEntityTypesRequest_MERGE_OPTION_UNSPECIFIED ImportEntityTypesRequest_MergeOption = 0
// Replace the original entity type in the agent with the new entity type
// when display name conflicts exist.
ImportEntityTypesRequest_REPLACE ImportEntityTypesRequest_MergeOption = 1
// Merge the original entity type with the new entity type when display name
// conflicts exist.
ImportEntityTypesRequest_MERGE ImportEntityTypesRequest_MergeOption = 2
// Create new entity types with new display names to differentiate them from
// the existing entity types when display name conflicts exist.
ImportEntityTypesRequest_RENAME ImportEntityTypesRequest_MergeOption = 3
// Report conflict information if display names conflict is detected.
// Otherwise, import entity types.
ImportEntityTypesRequest_REPORT_CONFLICT ImportEntityTypesRequest_MergeOption = 4
// Keep the original entity type and discard the conflicting new entity type
// when display name conflicts exist.
ImportEntityTypesRequest_KEEP ImportEntityTypesRequest_MergeOption = 5
)func (ImportEntityTypesRequest_MergeOption) Descriptor
func (ImportEntityTypesRequest_MergeOption) Descriptor() protoreflect.EnumDescriptorfunc (ImportEntityTypesRequest_MergeOption) Enum
func (x ImportEntityTypesRequest_MergeOption) Enum() *ImportEntityTypesRequest_MergeOptionfunc (ImportEntityTypesRequest_MergeOption) EnumDescriptor
func (ImportEntityTypesRequest_MergeOption) EnumDescriptor() ([]byte, []int)Deprecated: Use ImportEntityTypesRequest_MergeOption.Descriptor instead.
func (ImportEntityTypesRequest_MergeOption) Number
func (x ImportEntityTypesRequest_MergeOption) Number() protoreflect.EnumNumberfunc (ImportEntityTypesRequest_MergeOption) String
func (x ImportEntityTypesRequest_MergeOption) String() stringfunc (ImportEntityTypesRequest_MergeOption) Type
func (ImportEntityTypesRequest_MergeOption) Type() protoreflect.EnumTypeImportEntityTypesResponse
type ImportEntityTypesResponse struct {
// The unique identifier of the imported entity types.
// Format:
// `projects/The response message for [EntityTypes.ImportEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypes].
func (*ImportEntityTypesResponse) Descriptor
func (*ImportEntityTypesResponse) Descriptor() ([]byte, []int)Deprecated: Use ImportEntityTypesResponse.ProtoReflect.Descriptor instead.
func (*ImportEntityTypesResponse) GetConflictingResources
func (x *ImportEntityTypesResponse) GetConflictingResources() *ImportEntityTypesResponse_ConflictingResourcesfunc (*ImportEntityTypesResponse) GetEntityTypes
func (x *ImportEntityTypesResponse) GetEntityTypes() []stringfunc (*ImportEntityTypesResponse) ProtoMessage
func (*ImportEntityTypesResponse) ProtoMessage()func (*ImportEntityTypesResponse) ProtoReflect
func (x *ImportEntityTypesResponse) ProtoReflect() protoreflect.Messagefunc (*ImportEntityTypesResponse) Reset
func (x *ImportEntityTypesResponse) Reset()func (*ImportEntityTypesResponse) String
func (x *ImportEntityTypesResponse) String() stringImportEntityTypesResponse_ConflictingResources
type ImportEntityTypesResponse_ConflictingResources struct {
// Display names of conflicting entity types.
EntityTypeDisplayNames []string `protobuf:"bytes,1,rep,name=entity_type_display_names,json=entityTypeDisplayNames,proto3" json:"entity_type_display_names,omitempty"`
// Display names of conflicting entities.
EntityDisplayNames []string `protobuf:"bytes,2,rep,name=entity_display_names,json=entityDisplayNames,proto3" json:"entity_display_names,omitempty"`
// contains filtered or unexported fields
}Conflicting resources detected during the import process. Only filled when [REPORT_CONFLICT][ImportEntityTypesResponse.REPORT_CONFLICT] is set in the request and there are conflicts in the display names.
func (*ImportEntityTypesResponse_ConflictingResources) Descriptor
func (*ImportEntityTypesResponse_ConflictingResources) Descriptor() ([]byte, []int)Deprecated: Use ImportEntityTypesResponse_ConflictingResources.ProtoReflect.Descriptor instead.
func (*ImportEntityTypesResponse_ConflictingResources) GetEntityDisplayNames
func (x *ImportEntityTypesResponse_ConflictingResources) GetEntityDisplayNames() []stringfunc (*ImportEntityTypesResponse_ConflictingResources) GetEntityTypeDisplayNames
func (x *ImportEntityTypesResponse_ConflictingResources) GetEntityTypeDisplayNames() []stringfunc (*ImportEntityTypesResponse_ConflictingResources) ProtoMessage
func (*ImportEntityTypesResponse_ConflictingResources) ProtoMessage()func (*ImportEntityTypesResponse_ConflictingResources) ProtoReflect
func (x *ImportEntityTypesResponse_ConflictingResources) ProtoReflect() protoreflect.Messagefunc (*ImportEntityTypesResponse_ConflictingResources) Reset
func (x *ImportEntityTypesResponse_ConflictingResources) Reset()func (*ImportEntityTypesResponse_ConflictingResources) String
func (x *ImportEntityTypesResponse_ConflictingResources) String() stringImportFlowRequest
type ImportFlowRequest struct {
// Required. The agent to import the flow into.
// Format: `projects/The request message for [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow].
func (*ImportFlowRequest) Descriptor
func (*ImportFlowRequest) Descriptor() ([]byte, []int)Deprecated: Use ImportFlowRequest.ProtoReflect.Descriptor instead.
func (*ImportFlowRequest) GetFlow
func (x *ImportFlowRequest) GetFlow() isImportFlowRequest_Flowfunc (*ImportFlowRequest) GetFlowContent
func (x *ImportFlowRequest) GetFlowContent() []bytefunc (*ImportFlowRequest) GetFlowImportStrategy
func (x *ImportFlowRequest) GetFlowImportStrategy() *FlowImportStrategyfunc (*ImportFlowRequest) GetFlowUri
func (x *ImportFlowRequest) GetFlowUri() stringfunc (*ImportFlowRequest) GetImportOption
func (x *ImportFlowRequest) GetImportOption() ImportFlowRequest_ImportOptionfunc (*ImportFlowRequest) GetParent
func (x *ImportFlowRequest) GetParent() stringfunc (*ImportFlowRequest) ProtoMessage
func (*ImportFlowRequest) ProtoMessage()func (*ImportFlowRequest) ProtoReflect
func (x *ImportFlowRequest) ProtoReflect() protoreflect.Messagefunc (*ImportFlowRequest) Reset
func (x *ImportFlowRequest) Reset()func (*ImportFlowRequest) String
func (x *ImportFlowRequest) String() stringImportFlowRequest_FlowContent
type ImportFlowRequest_FlowContent struct {
// Uncompressed raw byte content for flow.
FlowContent []byte `protobuf:"bytes,3,opt,name=flow_content,json=flowContent,proto3,oneof"`
}ImportFlowRequest_FlowUri
type ImportFlowRequest_FlowUri struct {
// The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
// to import flow from. The format of this URI must be
// `gs://ImportFlowRequest_ImportOption
type ImportFlowRequest_ImportOption int32Import option.
ImportFlowRequest_IMPORT_OPTION_UNSPECIFIED, ImportFlowRequest_KEEP, ImportFlowRequest_FALLBACK
const (
// Unspecified. Treated as `KEEP`.
ImportFlowRequest_IMPORT_OPTION_UNSPECIFIED ImportFlowRequest_ImportOption = 0
// Always respect settings in exported flow content. It may cause a
// import failure if some settings (e.g. custom NLU) are not supported in
// the agent to import into.
ImportFlowRequest_KEEP ImportFlowRequest_ImportOption = 1
// Fallback to default settings if some settings are not supported in the
// agent to import into. E.g. Standard NLU will be used if custom NLU is
// not available.
ImportFlowRequest_FALLBACK ImportFlowRequest_ImportOption = 2
)func (ImportFlowRequest_ImportOption) Descriptor
func (ImportFlowRequest_ImportOption) Descriptor() protoreflect.EnumDescriptorfunc (ImportFlowRequest_ImportOption) Enum
func (x ImportFlowRequest_ImportOption) Enum() *ImportFlowRequest_ImportOptionfunc (ImportFlowRequest_ImportOption) EnumDescriptor
func (ImportFlowRequest_ImportOption) EnumDescriptor() ([]byte, []int)Deprecated: Use ImportFlowRequest_ImportOption.Descriptor instead.
func (ImportFlowRequest_ImportOption) Number
func (x ImportFlowRequest_ImportOption) Number() protoreflect.EnumNumberfunc (ImportFlowRequest_ImportOption) String
func (x ImportFlowRequest_ImportOption) String() stringfunc (ImportFlowRequest_ImportOption) Type
func (ImportFlowRequest_ImportOption) Type() protoreflect.EnumTypeImportFlowResponse
type ImportFlowResponse struct {
// The unique identifier of the new flow.
// Format:
// `projects/The response message for [Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow].
func (*ImportFlowResponse) Descriptor
func (*ImportFlowResponse) Descriptor() ([]byte, []int)Deprecated: Use ImportFlowResponse.ProtoReflect.Descriptor instead.
func (*ImportFlowResponse) GetFlow
func (x *ImportFlowResponse) GetFlow() stringfunc (*ImportFlowResponse) ProtoMessage
func (*ImportFlowResponse) ProtoMessage()func (*ImportFlowResponse) ProtoReflect
func (x *ImportFlowResponse) ProtoReflect() protoreflect.Messagefunc (*ImportFlowResponse) Reset
func (x *ImportFlowResponse) Reset()func (*ImportFlowResponse) String
func (x *ImportFlowResponse) String() stringImportIntentsMetadata
type ImportIntentsMetadata struct {
// contains filtered or unexported fields
}Metadata returned for the [Intents.ImportIntents][google.cloud.dialogflow.cx.v3.Intents.ImportIntents] long running operation.
func (*ImportIntentsMetadata) Descriptor
func (*ImportIntentsMetadata) Descriptor() ([]byte, []int)Deprecated: Use ImportIntentsMetadata.ProtoReflect.Descriptor instead.
func (*ImportIntentsMetadata) ProtoMessage
func (*ImportIntentsMetadata) ProtoMessage()func (*ImportIntentsMetadata) ProtoReflect
func (x *ImportIntentsMetadata) ProtoReflect() protoreflect.Messagefunc (*ImportIntentsMetadata) Reset
func (x *ImportIntentsMetadata) Reset()func (*ImportIntentsMetadata) String
func (x *ImportIntentsMetadata) String() stringImportIntentsRequest
type ImportIntentsRequest struct {
// Required. The agent to import the intents into.
// Format: `projects/The request message for [Intents.ImportIntents][google.cloud.dialogflow.cx.v3.Intents.ImportIntents].
func (*ImportIntentsRequest) Descriptor
func (*ImportIntentsRequest) Descriptor() ([]byte, []int)Deprecated: Use ImportIntentsRequest.ProtoReflect.Descriptor instead.
func (*ImportIntentsRequest) GetIntents
func (x *ImportIntentsRequest) GetIntents() isImportIntentsRequest_Intentsfunc (*ImportIntentsRequest) GetIntentsContent
func (x *ImportIntentsRequest) GetIntentsContent() *InlineSourcefunc (*ImportIntentsRequest) GetIntentsUri
func (x *ImportIntentsRequest) GetIntentsUri() stringfunc (*ImportIntentsRequest) GetMergeOption
func (x *ImportIntentsRequest) GetMergeOption() ImportIntentsRequest_MergeOptionfunc (*ImportIntentsRequest) GetParent
func (x *ImportIntentsRequest) GetParent() stringfunc (*ImportIntentsRequest) ProtoMessage
func (*ImportIntentsRequest) ProtoMessage()func (*ImportIntentsRequest) ProtoReflect
func (x *ImportIntentsRequest) ProtoReflect() protoreflect.Messagefunc (*ImportIntentsRequest) Reset
func (x *ImportIntentsRequest) Reset()func (*ImportIntentsRequest) String
func (x *ImportIntentsRequest) String() stringImportIntentsRequest_IntentsContent
type ImportIntentsRequest_IntentsContent struct {
// Uncompressed byte content of intents.
IntentsContent *InlineSource `protobuf:"bytes,3,opt,name=intents_content,json=intentsContent,proto3,oneof"`
}ImportIntentsRequest_IntentsUri
type ImportIntentsRequest_IntentsUri struct {
// The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
// to import intents from. The format of this URI must be
// `gs://ImportIntentsRequest_MergeOption
type ImportIntentsRequest_MergeOption int32Merge option when display name conflicts exist during import.
ImportIntentsRequest_MERGE_OPTION_UNSPECIFIED, ImportIntentsRequest_REJECT, ImportIntentsRequest_REPLACE, ImportIntentsRequest_MERGE, ImportIntentsRequest_RENAME, ImportIntentsRequest_REPORT_CONFLICT, ImportIntentsRequest_KEEP
const (
// Unspecified. Should not be used.
ImportIntentsRequest_MERGE_OPTION_UNSPECIFIED ImportIntentsRequest_MergeOption = 0
// DEPRECATED: Please use
// [REPORT_CONFLICT][ImportIntentsRequest.REPORT_CONFLICT] instead.
// Fail the request if there are intents whose display names conflict with
// the display names of intents in the agent.
//
// Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/intent.proto.
ImportIntentsRequest_REJECT ImportIntentsRequest_MergeOption = 1
// Replace the original intent in the agent with the new intent when display
// name conflicts exist.
ImportIntentsRequest_REPLACE ImportIntentsRequest_MergeOption = 2
// Merge the original intent with the new intent when display name conflicts
// exist.
ImportIntentsRequest_MERGE ImportIntentsRequest_MergeOption = 3
// Create new intents with new display names to differentiate them from the
// existing intents when display name conflicts exist.
ImportIntentsRequest_RENAME ImportIntentsRequest_MergeOption = 4
// Report conflict information if display names conflict is detected.
// Otherwise, import intents.
ImportIntentsRequest_REPORT_CONFLICT ImportIntentsRequest_MergeOption = 5
// Keep the original intent and discard the conflicting new intent when
// display name conflicts exist.
ImportIntentsRequest_KEEP ImportIntentsRequest_MergeOption = 6
)func (ImportIntentsRequest_MergeOption) Descriptor
func (ImportIntentsRequest_MergeOption) Descriptor() protoreflect.EnumDescriptorfunc (ImportIntentsRequest_MergeOption) Enum
func (x ImportIntentsRequest_MergeOption) Enum() *ImportIntentsRequest_MergeOptionfunc (ImportIntentsRequest_MergeOption) EnumDescriptor
func (ImportIntentsRequest_MergeOption) EnumDescriptor() ([]byte, []int)Deprecated: Use ImportIntentsRequest_MergeOption.Descriptor instead.
func (ImportIntentsRequest_MergeOption) Number
func (x ImportIntentsRequest_MergeOption) Number() protoreflect.EnumNumberfunc (ImportIntentsRequest_MergeOption) String
func (x ImportIntentsRequest_MergeOption) String() stringfunc (ImportIntentsRequest_MergeOption) Type
func (ImportIntentsRequest_MergeOption) Type() protoreflect.EnumTypeImportIntentsResponse
type ImportIntentsResponse struct {
// The unique identifier of the imported intents.
// Format:
// `projects/The response message for [Intents.ImportIntents][google.cloud.dialogflow.cx.v3.Intents.ImportIntents].
func (*ImportIntentsResponse) Descriptor
func (*ImportIntentsResponse) Descriptor() ([]byte, []int)Deprecated: Use ImportIntentsResponse.ProtoReflect.Descriptor instead.
func (*ImportIntentsResponse) GetConflictingResources
func (x *ImportIntentsResponse) GetConflictingResources() *ImportIntentsResponse_ConflictingResourcesfunc (*ImportIntentsResponse) GetIntents
func (x *ImportIntentsResponse) GetIntents() []stringfunc (*ImportIntentsResponse) ProtoMessage
func (*ImportIntentsResponse) ProtoMessage()func (*ImportIntentsResponse) ProtoReflect
func (x *ImportIntentsResponse) ProtoReflect() protoreflect.Messagefunc (*ImportIntentsResponse) Reset
func (x *ImportIntentsResponse) Reset()func (*ImportIntentsResponse) String
func (x *ImportIntentsResponse) String() stringImportIntentsResponse_ConflictingResources
type ImportIntentsResponse_ConflictingResources struct {
// Display names of conflicting intents.
IntentDisplayNames []string `protobuf:"bytes,1,rep,name=intent_display_names,json=intentDisplayNames,proto3" json:"intent_display_names,omitempty"`
// Display names of conflicting entities.
EntityDisplayNames []string `protobuf:"bytes,2,rep,name=entity_display_names,json=entityDisplayNames,proto3" json:"entity_display_names,omitempty"`
// contains filtered or unexported fields
}Conflicting resources detected during the import process. Only filled when [REPORT_CONFLICT][ImportIntentsResponse.REPORT_CONFLICT] is set in the request and there are conflicts in the display names.
func (*ImportIntentsResponse_ConflictingResources) Descriptor
func (*ImportIntentsResponse_ConflictingResources) Descriptor() ([]byte, []int)Deprecated: Use ImportIntentsResponse_ConflictingResources.ProtoReflect.Descriptor instead.
func (*ImportIntentsResponse_ConflictingResources) GetEntityDisplayNames
func (x *ImportIntentsResponse_ConflictingResources) GetEntityDisplayNames() []stringfunc (*ImportIntentsResponse_ConflictingResources) GetIntentDisplayNames
func (x *ImportIntentsResponse_ConflictingResources) GetIntentDisplayNames() []stringfunc (*ImportIntentsResponse_ConflictingResources) ProtoMessage
func (*ImportIntentsResponse_ConflictingResources) ProtoMessage()func (*ImportIntentsResponse_ConflictingResources) ProtoReflect
func (x *ImportIntentsResponse_ConflictingResources) ProtoReflect() protoreflect.Messagefunc (*ImportIntentsResponse_ConflictingResources) Reset
func (x *ImportIntentsResponse_ConflictingResources) Reset()func (*ImportIntentsResponse_ConflictingResources) String
func (x *ImportIntentsResponse_ConflictingResources) String() stringImportPlaybookRequest
type ImportPlaybookRequest struct {
// Required. The agent to import the playbook into.
// Format: `projects/The request message for [Playbooks.ImportPlaybook][google.cloud.dialogflow.cx.v3.Playbooks.ImportPlaybook].
func (*ImportPlaybookRequest) Descriptor
func (*ImportPlaybookRequest) Descriptor() ([]byte, []int)Deprecated: Use ImportPlaybookRequest.ProtoReflect.Descriptor instead.
func (*ImportPlaybookRequest) GetImportStrategy
func (x *ImportPlaybookRequest) GetImportStrategy() *PlaybookImportStrategyfunc (*ImportPlaybookRequest) GetParent
func (x *ImportPlaybookRequest) GetParent() stringfunc (*ImportPlaybookRequest) GetPlaybook
func (x *ImportPlaybookRequest) GetPlaybook() isImportPlaybookRequest_Playbookfunc (*ImportPlaybookRequest) GetPlaybookContent
func (x *ImportPlaybookRequest) GetPlaybookContent() []bytefunc (*ImportPlaybookRequest) GetPlaybookUri
func (x *ImportPlaybookRequest) GetPlaybookUri() stringfunc (*ImportPlaybookRequest) ProtoMessage
func (*ImportPlaybookRequest) ProtoMessage()func (*ImportPlaybookRequest) ProtoReflect
func (x *ImportPlaybookRequest) ProtoReflect() protoreflect.Messagefunc (*ImportPlaybookRequest) Reset
func (x *ImportPlaybookRequest) Reset()func (*ImportPlaybookRequest) String
func (x *ImportPlaybookRequest) String() stringImportPlaybookRequest_PlaybookContent
type ImportPlaybookRequest_PlaybookContent struct {
// Uncompressed raw byte content for playbook.
PlaybookContent []byte `protobuf:"bytes,3,opt,name=playbook_content,json=playbookContent,proto3,oneof"`
}ImportPlaybookRequest_PlaybookUri
type ImportPlaybookRequest_PlaybookUri struct {
// [Dialogflow access
// control]
// (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
PlaybookUri string `protobuf:"bytes,2,opt,name=playbook_uri,json=playbookUri,proto3,oneof"`
}ImportPlaybookResponse
type ImportPlaybookResponse struct {
// The unique identifier of the new playbook.
// Format:
// `projects/The response message for [Playbooks.ImportPlaybook][google.cloud.dialogflow.cx.v3.Playbooks.ImportPlaybook].
func (*ImportPlaybookResponse) Descriptor
func (*ImportPlaybookResponse) Descriptor() ([]byte, []int)Deprecated: Use ImportPlaybookResponse.ProtoReflect.Descriptor instead.
func (*ImportPlaybookResponse) GetConflictingResources
func (x *ImportPlaybookResponse) GetConflictingResources() *ImportPlaybookResponse_ConflictingResourcesfunc (*ImportPlaybookResponse) GetPlaybook
func (x *ImportPlaybookResponse) GetPlaybook() stringfunc (*ImportPlaybookResponse) ProtoMessage
func (*ImportPlaybookResponse) ProtoMessage()func (*ImportPlaybookResponse) ProtoReflect
func (x *ImportPlaybookResponse) ProtoReflect() protoreflect.Messagefunc (*ImportPlaybookResponse) Reset
func (x *ImportPlaybookResponse) Reset()func (*ImportPlaybookResponse) String
func (x *ImportPlaybookResponse) String() stringImportPlaybookResponse_ConflictingResources
type ImportPlaybookResponse_ConflictingResources struct {
// Display name of conflicting main playbook.
MainPlaybookDisplayName string `protobuf:"bytes,1,opt,name=main_playbook_display_name,json=mainPlaybookDisplayName,proto3" json:"main_playbook_display_name,omitempty"`
// Display names of conflicting nested playbooks.
NestedPlaybookDisplayNames []string `protobuf:"bytes,2,rep,name=nested_playbook_display_names,json=nestedPlaybookDisplayNames,proto3" json:"nested_playbook_display_names,omitempty"`
// Display names of conflicting tools.
ToolDisplayNames []string `protobuf:"bytes,3,rep,name=tool_display_names,json=toolDisplayNames,proto3" json:"tool_display_names,omitempty"`
// contains filtered or unexported fields
}Conflicting resources detected during the import process. Only filled when [REPORT_CONFLICTS][ImportPlaybookResponse.REPORT_CONFLICTS] is set in the request and there are conflicts in the display names.
func (*ImportPlaybookResponse_ConflictingResources) Descriptor
func (*ImportPlaybookResponse_ConflictingResources) Descriptor() ([]byte, []int)Deprecated: Use ImportPlaybookResponse_ConflictingResources.ProtoReflect.Descriptor instead.
func (*ImportPlaybookResponse_ConflictingResources) GetMainPlaybookDisplayName
func (x *ImportPlaybookResponse_ConflictingResources) GetMainPlaybookDisplayName() stringfunc (*ImportPlaybookResponse_ConflictingResources) GetNestedPlaybookDisplayNames
func (x *ImportPlaybookResponse_ConflictingResources) GetNestedPlaybookDisplayNames() []stringfunc (*ImportPlaybookResponse_ConflictingResources) GetToolDisplayNames
func (x *ImportPlaybookResponse_ConflictingResources) GetToolDisplayNames() []stringfunc (*ImportPlaybookResponse_ConflictingResources) ProtoMessage
func (*ImportPlaybookResponse_ConflictingResources) ProtoMessage()func (*ImportPlaybookResponse_ConflictingResources) ProtoReflect
func (x *ImportPlaybookResponse_ConflictingResources) ProtoReflect() protoreflect.Messagefunc (*ImportPlaybookResponse_ConflictingResources) Reset
func (x *ImportPlaybookResponse_ConflictingResources) Reset()func (*ImportPlaybookResponse_ConflictingResources) String
func (x *ImportPlaybookResponse_ConflictingResources) String() stringImportStrategy
type ImportStrategy int32Import strategies for the conflict resolution of resources (i.e. intents, entities, and webhooks) with identical display names during import operations.
ImportStrategy_IMPORT_STRATEGY_UNSPECIFIED, ImportStrategy_IMPORT_STRATEGY_CREATE_NEW, ImportStrategy_IMPORT_STRATEGY_REPLACE, ImportStrategy_IMPORT_STRATEGY_KEEP, ImportStrategy_IMPORT_STRATEGY_MERGE, ImportStrategy_IMPORT_STRATEGY_THROW_ERROR
const (
// Unspecified. Treated as 'CREATE_NEW'.
ImportStrategy_IMPORT_STRATEGY_UNSPECIFIED ImportStrategy = 0
// Create a new resource with a numeric suffix appended to the end of the
// existing display name.
ImportStrategy_IMPORT_STRATEGY_CREATE_NEW ImportStrategy = 1
// Replace existing resource with incoming resource in the content to be
// imported.
ImportStrategy_IMPORT_STRATEGY_REPLACE ImportStrategy = 2
// Keep existing resource and discard incoming resource in the content to be
// imported.
ImportStrategy_IMPORT_STRATEGY_KEEP ImportStrategy = 3
// Combine existing and incoming resources when a conflict is encountered.
ImportStrategy_IMPORT_STRATEGY_MERGE ImportStrategy = 4
// Throw error if a conflict is encountered.
ImportStrategy_IMPORT_STRATEGY_THROW_ERROR ImportStrategy = 5
)func (ImportStrategy) Descriptor
func (ImportStrategy) Descriptor() protoreflect.EnumDescriptorfunc (ImportStrategy) Enum
func (x ImportStrategy) Enum() *ImportStrategyfunc (ImportStrategy) EnumDescriptor
func (ImportStrategy) EnumDescriptor() ([]byte, []int)Deprecated: Use ImportStrategy.Descriptor instead.
func (ImportStrategy) Number
func (x ImportStrategy) Number() protoreflect.EnumNumberfunc (ImportStrategy) String
func (x ImportStrategy) String() stringfunc (ImportStrategy) Type
func (ImportStrategy) Type() protoreflect.EnumTypeImportTestCasesMetadata
type ImportTestCasesMetadata struct {
// Errors for failed test cases.
Errors []*TestCaseError `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
// contains filtered or unexported fields
}Metadata returned for the [TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases] long running operation.
func (*ImportTestCasesMetadata) Descriptor
func (*ImportTestCasesMetadata) Descriptor() ([]byte, []int)Deprecated: Use ImportTestCasesMetadata.ProtoReflect.Descriptor instead.
func (*ImportTestCasesMetadata) GetErrors
func (x *ImportTestCasesMetadata) GetErrors() []*TestCaseErrorfunc (*ImportTestCasesMetadata) ProtoMessage
func (*ImportTestCasesMetadata) ProtoMessage()func (*ImportTestCasesMetadata) ProtoReflect
func (x *ImportTestCasesMetadata) ProtoReflect() protoreflect.Messagefunc (*ImportTestCasesMetadata) Reset
func (x *ImportTestCasesMetadata) Reset()func (*ImportTestCasesMetadata) String
func (x *ImportTestCasesMetadata) String() stringImportTestCasesRequest
type ImportTestCasesRequest struct {
// Required. The agent to import test cases to.
// Format: `projects/The request message for [TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases].
func (*ImportTestCasesRequest) Descriptor
func (*ImportTestCasesRequest) Descriptor() ([]byte, []int)Deprecated: Use ImportTestCasesRequest.ProtoReflect.Descriptor instead.
func (*ImportTestCasesRequest) GetContent
func (x *ImportTestCasesRequest) GetContent() []bytefunc (*ImportTestCasesRequest) GetGcsUri
func (x *ImportTestCasesRequest) GetGcsUri() stringfunc (*ImportTestCasesRequest) GetParent
func (x *ImportTestCasesRequest) GetParent() stringfunc (*ImportTestCasesRequest) GetSource
func (x *ImportTestCasesRequest) GetSource() isImportTestCasesRequest_Sourcefunc (*ImportTestCasesRequest) ProtoMessage
func (*ImportTestCasesRequest) ProtoMessage()func (*ImportTestCasesRequest) ProtoReflect
func (x *ImportTestCasesRequest) ProtoReflect() protoreflect.Messagefunc (*ImportTestCasesRequest) Reset
func (x *ImportTestCasesRequest) Reset()func (*ImportTestCasesRequest) String
func (x *ImportTestCasesRequest) String() stringImportTestCasesRequest_Content
type ImportTestCasesRequest_Content struct {
// Uncompressed raw byte content for test cases.
Content []byte `protobuf:"bytes,3,opt,name=content,proto3,oneof"`
}ImportTestCasesRequest_GcsUri
type ImportTestCasesRequest_GcsUri struct {
// The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
// to import test cases from. The format of this URI must be
// `gs://ImportTestCasesResponse
type ImportTestCasesResponse struct {
// The unique identifiers of the new test cases.
// Format:
// `projects/The response message for [TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases].
func (*ImportTestCasesResponse) Descriptor
func (*ImportTestCasesResponse) Descriptor() ([]byte, []int)Deprecated: Use ImportTestCasesResponse.ProtoReflect.Descriptor instead.
func (*ImportTestCasesResponse) GetNames
func (x *ImportTestCasesResponse) GetNames() []stringfunc (*ImportTestCasesResponse) ProtoMessage
func (*ImportTestCasesResponse) ProtoMessage()func (*ImportTestCasesResponse) ProtoReflect
func (x *ImportTestCasesResponse) ProtoReflect() protoreflect.Messagefunc (*ImportTestCasesResponse) Reset
func (x *ImportTestCasesResponse) Reset()func (*ImportTestCasesResponse) String
func (x *ImportTestCasesResponse) String() stringInlineDestination
type InlineDestination struct {
// Output only. The uncompressed byte content for the objects.
// Only populated in responses.
Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}Inline destination for a Dialogflow operation that writes or exports objects (e.g. [intents][google.cloud.dialogflow.cx.v3.Intent]) outside of Dialogflow.
func (*InlineDestination) Descriptor
func (*InlineDestination) Descriptor() ([]byte, []int)Deprecated: Use InlineDestination.ProtoReflect.Descriptor instead.
func (*InlineDestination) GetContent
func (x *InlineDestination) GetContent() []bytefunc (*InlineDestination) ProtoMessage
func (*InlineDestination) ProtoMessage()func (*InlineDestination) ProtoReflect
func (x *InlineDestination) ProtoReflect() protoreflect.Messagefunc (*InlineDestination) Reset
func (x *InlineDestination) Reset()func (*InlineDestination) String
func (x *InlineDestination) String() stringInlineSchema
type InlineSchema struct {
// Data type of the schema.
Type DataType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.dialogflow.cx.v3.DataType" json:"type,omitempty"`
// Schema of the elements if this is an ARRAY type.
Items *TypeSchema `protobuf:"bytes,2,opt,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}A type schema object that's specified inline.
func (*InlineSchema) Descriptor
func (*InlineSchema) Descriptor() ([]byte, []int)Deprecated: Use InlineSchema.ProtoReflect.Descriptor instead.
func (*InlineSchema) GetItems
func (x *InlineSchema) GetItems() *TypeSchemafunc (*InlineSchema) GetType
func (x *InlineSchema) GetType() DataTypefunc (*InlineSchema) ProtoMessage
func (*InlineSchema) ProtoMessage()func (*InlineSchema) ProtoReflect
func (x *InlineSchema) ProtoReflect() protoreflect.Messagefunc (*InlineSchema) Reset
func (x *InlineSchema) Reset()func (*InlineSchema) String
func (x *InlineSchema) String() stringInlineSource
type InlineSource struct {
// The uncompressed byte content for the objects.
Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
// contains filtered or unexported fields
}Inline source for a Dialogflow operation that reads or imports objects (e.g. [intents][google.cloud.dialogflow.cx.v3.Intent]) into Dialogflow.
func (*InlineSource) Descriptor
func (*InlineSource) Descriptor() ([]byte, []int)Deprecated: Use InlineSource.ProtoReflect.Descriptor instead.
func (*InlineSource) GetContent
func (x *InlineSource) GetContent() []bytefunc (*InlineSource) ProtoMessage
func (*InlineSource) ProtoMessage()func (*InlineSource) ProtoReflect
func (x *InlineSource) ProtoReflect() protoreflect.Messagefunc (*InlineSource) Reset
func (x *InlineSource) Reset()func (*InlineSource) String
func (x *InlineSource) String() stringInputAudioConfig
type InputAudioConfig struct {
// Required. Audio encoding of the audio content to process.
AudioEncoding AudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.cx.v3.AudioEncoding" json:"audio_encoding,omitempty"`
// Sample rate (in Hertz) of the audio content sent in the query.
// Refer to
// [Cloud Speech API
// documentation](https://cloud.google.com/speech-to-text/docs/basics) for
// more details.
SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
// Optional. If `true`, Dialogflow returns
// [SpeechWordInfo][google.cloud.dialogflow.cx.v3.SpeechWordInfo] in
// [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult]
// with information about the recognized speech words, e.g. start and end time
// offsets. If false or unspecified, Speech doesn't return any word-level
// information.
EnableWordInfo bool `protobuf:"varint,13,opt,name=enable_word_info,json=enableWordInfo,proto3" json:"enable_word_info,omitempty"`
// Optional. A list of strings containing words and phrases that the speech
// recognizer should recognize with higher likelihood.
//
// See [the Cloud Speech
// documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
// for more details.
PhraseHints []string `protobuf:"bytes,4,rep,name=phrase_hints,json=phraseHints,proto3" json:"phrase_hints,omitempty"`
// Optional. Which Speech model to select for the given request.
// For more information, see
// [Speech
// models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
Model string `protobuf:"bytes,7,opt,name=model,proto3" json:"model,omitempty"`
// Optional. Which variant of the [Speech
// model][google.cloud.dialogflow.cx.v3.InputAudioConfig.model] to use.
ModelVariant SpeechModelVariant `protobuf:"varint,10,opt,name=model_variant,json=modelVariant,proto3,enum=google.cloud.dialogflow.cx.v3.SpeechModelVariant" json:"model_variant,omitempty"`
// Optional. If `false` (default), recognition does not cease until the
// client closes the stream.
// If `true`, the recognizer will detect a single spoken utterance in input
// audio. Recognition ceases when it detects the audio's voice has
// stopped or paused. In this case, once a detected intent is received, the
// client should close the stream and start a new request with a new stream as
// needed.
// Note: This setting is relevant only for streaming methods.
SingleUtterance bool `protobuf:"varint,8,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"`
// Configuration of barge-in behavior during the streaming of input audio.
BargeInConfig *BargeInConfig `protobuf:"bytes,15,opt,name=barge_in_config,json=bargeInConfig,proto3" json:"barge_in_config,omitempty"`
// If `true`, the request will opt out for STT conformer model migration.
// This field will be deprecated once force migration takes place in June
// 2024. Please refer to [Dialogflow CX Speech model
// migration](https://cloud.google.com/dialogflow/cx/docs/concept/speech-model-migration).
OptOutConformerModelMigration bool `protobuf:"varint,26,opt,name=opt_out_conformer_model_migration,json=optOutConformerModelMigration,proto3" json:"opt_out_conformer_model_migration,omitempty"`
// contains filtered or unexported fields
}Instructs the speech recognizer on how to process the audio content.
func (*InputAudioConfig) Descriptor
func (*InputAudioConfig) Descriptor() ([]byte, []int)Deprecated: Use InputAudioConfig.ProtoReflect.Descriptor instead.
func (*InputAudioConfig) GetAudioEncoding
func (x *InputAudioConfig) GetAudioEncoding() AudioEncodingfunc (*InputAudioConfig) GetBargeInConfig
func (x *InputAudioConfig) GetBargeInConfig() *BargeInConfigfunc (*InputAudioConfig) GetEnableWordInfo
func (x *InputAudioConfig) GetEnableWordInfo() boolfunc (*InputAudioConfig) GetModel
func (x *InputAudioConfig) GetModel() stringfunc (*InputAudioConfig) GetModelVariant
func (x *InputAudioConfig) GetModelVariant() SpeechModelVariantfunc (*InputAudioConfig) GetOptOutConformerModelMigration
func (x *InputAudioConfig) GetOptOutConformerModelMigration() boolfunc (*InputAudioConfig) GetPhraseHints
func (x *InputAudioConfig) GetPhraseHints() []stringfunc (*InputAudioConfig) GetSampleRateHertz
func (x *InputAudioConfig) GetSampleRateHertz() int32func (*InputAudioConfig) GetSingleUtterance
func (x *InputAudioConfig) GetSingleUtterance() boolfunc (*InputAudioConfig) ProtoMessage
func (*InputAudioConfig) ProtoMessage()func (*InputAudioConfig) ProtoReflect
func (x *InputAudioConfig) ProtoReflect() protoreflect.Messagefunc (*InputAudioConfig) Reset
func (x *InputAudioConfig) Reset()func (*InputAudioConfig) String
func (x *InputAudioConfig) String() stringIntent
type Intent struct {
// The unique identifier of the intent.
// Required for the
// [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3.Intents.UpdateIntent]
// method.
// [Intents.CreateIntent][google.cloud.dialogflow.cx.v3.Intents.CreateIntent]
// populates the name automatically.
// Format:
// `projects/An intent represents a user's intent to interact with a conversational agent.
You can provide information for the Dialogflow API to use to match user input to an intent by adding training phrases (i.e., examples of user input) to your intent.
func (*Intent) Descriptor
Deprecated: Use Intent.ProtoReflect.Descriptor instead.
func (*Intent) GetDescription
func (*Intent) GetDisplayName
func (*Intent) GetDtmfPattern
func (*Intent) GetIsFallback
func (*Intent) GetLabels
func (*Intent) GetName
func (*Intent) GetParameters
func (x *Intent) GetParameters() []*Intent_Parameterfunc (*Intent) GetPriority
func (*Intent) GetTrainingPhrases
func (x *Intent) GetTrainingPhrases() []*Intent_TrainingPhrasefunc (*Intent) ProtoMessage
func (*Intent) ProtoMessage()func (*Intent) ProtoReflect
func (x *Intent) ProtoReflect() protoreflect.Messagefunc (*Intent) Reset
func (x *Intent) Reset()func (*Intent) String
IntentCoverage
type IntentCoverage struct {
// The list of Intents present in the agent
Intents []*IntentCoverage_Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"`
// The percent of intents in the agent that are covered.
CoverageScore float32 `protobuf:"fixed32,2,opt,name=coverage_score,json=coverageScore,proto3" json:"coverage_score,omitempty"`
// contains filtered or unexported fields
}Intent coverage represents the percentage of all possible intents in the agent that are triggered in any of a parent's test cases.
func (*IntentCoverage) Descriptor
func (*IntentCoverage) Descriptor() ([]byte, []int)Deprecated: Use IntentCoverage.ProtoReflect.Descriptor instead.
func (*IntentCoverage) GetCoverageScore
func (x *IntentCoverage) GetCoverageScore() float32func (*IntentCoverage) GetIntents
func (x *IntentCoverage) GetIntents() []*IntentCoverage_Intentfunc (*IntentCoverage) ProtoMessage
func (*IntentCoverage) ProtoMessage()func (*IntentCoverage) ProtoReflect
func (x *IntentCoverage) ProtoReflect() protoreflect.Messagefunc (*IntentCoverage) Reset
func (x *IntentCoverage) Reset()func (*IntentCoverage) String
func (x *IntentCoverage) String() stringIntentCoverage_Intent
type IntentCoverage_Intent struct {
// The intent full resource name
Intent string `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
// Whether the intent is covered by at least one of the agent's
// test cases.
Covered bool `protobuf:"varint,2,opt,name=covered,proto3" json:"covered,omitempty"`
// contains filtered or unexported fields
}The agent's intent.
func (*IntentCoverage_Intent) Descriptor
func (*IntentCoverage_Intent) Descriptor() ([]byte, []int)Deprecated: Use IntentCoverage_Intent.ProtoReflect.Descriptor instead.
func (*IntentCoverage_Intent) GetCovered
func (x *IntentCoverage_Intent) GetCovered() boolfunc (*IntentCoverage_Intent) GetIntent
func (x *IntentCoverage_Intent) GetIntent() stringfunc (*IntentCoverage_Intent) ProtoMessage
func (*IntentCoverage_Intent) ProtoMessage()func (*IntentCoverage_Intent) ProtoReflect
func (x *IntentCoverage_Intent) ProtoReflect() protoreflect.Messagefunc (*IntentCoverage_Intent) Reset
func (x *IntentCoverage_Intent) Reset()func (*IntentCoverage_Intent) String
func (x *IntentCoverage_Intent) String() stringIntentInput
type IntentInput struct {
// Required. The unique identifier of the intent.
// Format:
// `projects/Represents the intent to trigger programmatically rather than as a result of natural language processing.
func (*IntentInput) Descriptor
func (*IntentInput) Descriptor() ([]byte, []int)Deprecated: Use IntentInput.ProtoReflect.Descriptor instead.
func (*IntentInput) GetIntent
func (x *IntentInput) GetIntent() stringfunc (*IntentInput) ProtoMessage
func (*IntentInput) ProtoMessage()func (*IntentInput) ProtoReflect
func (x *IntentInput) ProtoReflect() protoreflect.Messagefunc (*IntentInput) Reset
func (x *IntentInput) Reset()func (*IntentInput) String
func (x *IntentInput) String() stringIntentView
type IntentView int32Represents the options for views of an intent. An intent can be a sizable object. Therefore, we provide a resource view that does not return training phrases in the response.
IntentView_INTENT_VIEW_UNSPECIFIED, IntentView_INTENT_VIEW_PARTIAL, IntentView_INTENT_VIEW_FULL
const (
// Not specified. Treated as INTENT_VIEW_FULL.
IntentView_INTENT_VIEW_UNSPECIFIED IntentView = 0
// Training phrases field is not populated in the response.
IntentView_INTENT_VIEW_PARTIAL IntentView = 1
// All fields are populated.
IntentView_INTENT_VIEW_FULL IntentView = 2
)func (IntentView) Descriptor
func (IntentView) Descriptor() protoreflect.EnumDescriptorfunc (IntentView) Enum
func (x IntentView) Enum() *IntentViewfunc (IntentView) EnumDescriptor
func (IntentView) EnumDescriptor() ([]byte, []int)Deprecated: Use IntentView.Descriptor instead.
func (IntentView) Number
func (x IntentView) Number() protoreflect.EnumNumberfunc (IntentView) String
func (x IntentView) String() stringfunc (IntentView) Type
func (IntentView) Type() protoreflect.EnumTypeIntent_Parameter
type Intent_Parameter struct {
// Required. The unique identifier of the parameter. This field
// is used by [training
// phrases][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase] to annotate
// their [parts][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part].
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Required. The entity type of the parameter.
// Format:
// `projects/-/locations/-/agents/-/entityTypes/Represents an intent parameter.
func (*Intent_Parameter) Descriptor
func (*Intent_Parameter) Descriptor() ([]byte, []int)Deprecated: Use Intent_Parameter.ProtoReflect.Descriptor instead.
func (*Intent_Parameter) GetEntityType
func (x *Intent_Parameter) GetEntityType() stringfunc (*Intent_Parameter) GetId
func (x *Intent_Parameter) GetId() stringfunc (*Intent_Parameter) GetIsList
func (x *Intent_Parameter) GetIsList() boolfunc (*Intent_Parameter) GetRedact
func (x *Intent_Parameter) GetRedact() boolfunc (*Intent_Parameter) ProtoMessage
func (*Intent_Parameter) ProtoMessage()func (*Intent_Parameter) ProtoReflect
func (x *Intent_Parameter) ProtoReflect() protoreflect.Messagefunc (*Intent_Parameter) Reset
func (x *Intent_Parameter) Reset()func (*Intent_Parameter) String
func (x *Intent_Parameter) String() stringIntent_TrainingPhrase
type Intent_TrainingPhrase struct {
// Output only. The unique identifier of the training phrase.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Required. The ordered list of training phrase parts.
// The parts are concatenated in order to form the training phrase.
//
// Note: The API does not automatically annotate training phrases like the
// Dialogflow Console does.
//
// Note: Do not forget to include whitespace at part boundaries, so the
// training phrase is well formatted when the parts are concatenated.
//
// If the training phrase does not need to be annotated with parameters,
// you just need a single part with only the
// [Part.text][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part.text]
// field set.
//
// If you want to annotate the training phrase, you must create multiple
// parts, where the fields of each part are populated in one of two ways:
//
// - `Part.text` is set to a part of the phrase that has no parameters.
// - `Part.text` is set to a part of the phrase that you want to annotate,
// and the `parameter_id` field is set.
Parts []*Intent_TrainingPhrase_Part `protobuf:"bytes,2,rep,name=parts,proto3" json:"parts,omitempty"`
// Indicates how many times this example was added to the intent.
RepeatCount int32 `protobuf:"varint,3,opt,name=repeat_count,json=repeatCount,proto3" json:"repeat_count,omitempty"`
// contains filtered or unexported fields
}Represents an example that the agent is trained on to identify the intent.
func (*Intent_TrainingPhrase) Descriptor
func (*Intent_TrainingPhrase) Descriptor() ([]byte, []int)Deprecated: Use Intent_TrainingPhrase.ProtoReflect.Descriptor instead.
func (*Intent_TrainingPhrase) GetId
func (x *Intent_TrainingPhrase) GetId() stringfunc (*Intent_TrainingPhrase) GetParts
func (x *Intent_TrainingPhrase) GetParts() []*Intent_TrainingPhrase_Partfunc (*Intent_TrainingPhrase) GetRepeatCount
func (x *Intent_TrainingPhrase) GetRepeatCount() int32func (*Intent_TrainingPhrase) ProtoMessage
func (*Intent_TrainingPhrase) ProtoMessage()func (*Intent_TrainingPhrase) ProtoReflect
func (x *Intent_TrainingPhrase) ProtoReflect() protoreflect.Messagefunc (*Intent_TrainingPhrase) Reset
func (x *Intent_TrainingPhrase) Reset()func (*Intent_TrainingPhrase) String
func (x *Intent_TrainingPhrase) String() stringIntent_TrainingPhrase_Part
type Intent_TrainingPhrase_Part struct {
// Required. The text for this part.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// The [parameter][google.cloud.dialogflow.cx.v3.Intent.Parameter] used to
// annotate this part of the training phrase. This field is required for
// annotated parts of the training phrase.
ParameterId string `protobuf:"bytes,2,opt,name=parameter_id,json=parameterId,proto3" json:"parameter_id,omitempty"`
// contains filtered or unexported fields
}Represents a part of a training phrase.
func (*Intent_TrainingPhrase_Part) Descriptor
func (*Intent_TrainingPhrase_Part) Descriptor() ([]byte, []int)Deprecated: Use Intent_TrainingPhrase_Part.ProtoReflect.Descriptor instead.
func (*Intent_TrainingPhrase_Part) GetParameterId
func (x *Intent_TrainingPhrase_Part) GetParameterId() stringfunc (*Intent_TrainingPhrase_Part) GetText
func (x *Intent_TrainingPhrase_Part) GetText() stringfunc (*Intent_TrainingPhrase_Part) ProtoMessage
func (*Intent_TrainingPhrase_Part) ProtoMessage()func (*Intent_TrainingPhrase_Part) ProtoReflect
func (x *Intent_TrainingPhrase_Part) ProtoReflect() protoreflect.Messagefunc (*Intent_TrainingPhrase_Part) Reset
func (x *Intent_TrainingPhrase_Part) Reset()func (*Intent_TrainingPhrase_Part) String
func (x *Intent_TrainingPhrase_Part) String() stringIntentsClient
type IntentsClient interface {
// Returns the list of all intents in the specified agent.
ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error)
// Retrieves the specified intent.
GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error)
// Creates an intent in the specified agent.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error)
// Updates the specified intent.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error)
// Deletes the specified intent.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Imports the specified intents into the agent.
//
// 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`:
// [ImportIntentsMetadata][google.cloud.dialogflow.cx.v3.ImportIntentsMetadata]
// - `response`:
// [ImportIntentsResponse][google.cloud.dialogflow.cx.v3.ImportIntentsResponse]
ImportIntents(ctx context.Context, in *ImportIntentsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Exports the selected intents.
//
// 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`:
// [ExportIntentsMetadata][google.cloud.dialogflow.cx.v3.ExportIntentsMetadata]
// - `response`:
// [ExportIntentsResponse][google.cloud.dialogflow.cx.v3.ExportIntentsResponse]
ExportIntents(ctx context.Context, in *ExportIntentsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}IntentsClient is the client API for Intents service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewIntentsClient
func NewIntentsClient(cc grpc.ClientConnInterface) IntentsClientIntentsServer
type IntentsServer interface {
// Returns the list of all intents in the specified agent.
ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error)
// Retrieves the specified intent.
GetIntent(context.Context, *GetIntentRequest) (*Intent, error)
// Creates an intent in the specified agent.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error)
// Updates the specified intent.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error)
// Deletes the specified intent.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error)
// Imports the specified intents into the agent.
//
// 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`:
// [ImportIntentsMetadata][google.cloud.dialogflow.cx.v3.ImportIntentsMetadata]
// - `response`:
// [ImportIntentsResponse][google.cloud.dialogflow.cx.v3.ImportIntentsResponse]
ImportIntents(context.Context, *ImportIntentsRequest) (*longrunningpb.Operation, error)
// Exports the selected intents.
//
// 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`:
// [ExportIntentsMetadata][google.cloud.dialogflow.cx.v3.ExportIntentsMetadata]
// - `response`:
// [ExportIntentsResponse][google.cloud.dialogflow.cx.v3.ExportIntentsResponse]
ExportIntents(context.Context, *ExportIntentsRequest) (*longrunningpb.Operation, error)
}IntentsServer is the server API for Intents service. All implementations should embed UnimplementedIntentsServer for forward compatibility
KnowledgeConnectorSettings
type KnowledgeConnectorSettings struct {
// Whether Knowledge Connector is enabled or not.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// The fulfillment to be triggered.
//
// When the answers from the Knowledge Connector are selected by Dialogflow,
// you can utitlize the request scoped parameter `$request.knowledge.answers`
// (contains up to the 5 highest confidence answers) and
// `$request.knowledge.questions` (contains the corresponding questions) to
// construct the fulfillment.
TriggerFulfillment *Fulfillment `protobuf:"bytes,3,opt,name=trigger_fulfillment,json=triggerFulfillment,proto3" json:"trigger_fulfillment,omitempty"`
// The target to transition to, either a page in the same host flow (the flow
// that owns this
// [KnowledgeConnectorSettings][google.cloud.dialogflow.cx.v3.KnowledgeConnectorSettings]),
// or another flow in the same agent.
//
// Types that are valid to be assigned to Target:
//
// *KnowledgeConnectorSettings_TargetPage
// *KnowledgeConnectorSettings_TargetFlow
Target isKnowledgeConnectorSettings_Target `protobuf_oneof:"target"`
// Optional. List of related data store connections.
DataStoreConnections []*DataStoreConnection `protobuf:"bytes,6,rep,name=data_store_connections,json=dataStoreConnections,proto3" json:"data_store_connections,omitempty"`
// contains filtered or unexported fields
}The Knowledge Connector settings for this page or flow. This includes information such as the attached Knowledge Bases, and the way to execute fulfillment.
func (*KnowledgeConnectorSettings) Descriptor
func (*KnowledgeConnectorSettings) Descriptor() ([]byte, []int)Deprecated: Use KnowledgeConnectorSettings.ProtoReflect.Descriptor instead.
func (*KnowledgeConnectorSettings) GetDataStoreConnections
func (x *KnowledgeConnectorSettings) GetDataStoreConnections() []*DataStoreConnectionfunc (*KnowledgeConnectorSettings) GetEnabled
func (x *KnowledgeConnectorSettings) GetEnabled() boolfunc (*KnowledgeConnectorSettings) GetTarget
func (x *KnowledgeConnectorSettings) GetTarget() isKnowledgeConnectorSettings_Targetfunc (*KnowledgeConnectorSettings) GetTargetFlow
func (x *KnowledgeConnectorSettings) GetTargetFlow() stringfunc (*KnowledgeConnectorSettings) GetTargetPage
func (x *KnowledgeConnectorSettings) GetTargetPage() stringfunc (*KnowledgeConnectorSettings) GetTriggerFulfillment
func (x *KnowledgeConnectorSettings) GetTriggerFulfillment() *Fulfillmentfunc (*KnowledgeConnectorSettings) ProtoMessage
func (*KnowledgeConnectorSettings) ProtoMessage()func (*KnowledgeConnectorSettings) ProtoReflect
func (x *KnowledgeConnectorSettings) ProtoReflect() protoreflect.Messagefunc (*KnowledgeConnectorSettings) Reset
func (x *KnowledgeConnectorSettings) Reset()func (*KnowledgeConnectorSettings) String
func (x *KnowledgeConnectorSettings) String() stringKnowledgeConnectorSettings_TargetFlow
type KnowledgeConnectorSettings_TargetFlow struct {
// The target flow to transition to.
// Format:
// `projects/KnowledgeConnectorSettings_TargetPage
type KnowledgeConnectorSettings_TargetPage struct {
// The target page to transition to.
// Format:
// `projects/LanguageInfo
type LanguageInfo struct {
// The language code specified in the original
// [request][google.cloud.dialogflow.cx.v3.QueryInput.language_code].
InputLanguageCode string `protobuf:"bytes,1,opt,name=input_language_code,json=inputLanguageCode,proto3" json:"input_language_code,omitempty"`
// The language code detected for this request based on the user
// conversation.
ResolvedLanguageCode string `protobuf:"bytes,2,opt,name=resolved_language_code,json=resolvedLanguageCode,proto3" json:"resolved_language_code,omitempty"`
// The confidence score of the detected language between 0 and 1.
ConfidenceScore float32 `protobuf:"fixed32,3,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"`
// contains filtered or unexported fields
}Represents the language information of the request.
func (*LanguageInfo) Descriptor
func (*LanguageInfo) Descriptor() ([]byte, []int)Deprecated: Use LanguageInfo.ProtoReflect.Descriptor instead.
func (*LanguageInfo) GetConfidenceScore
func (x *LanguageInfo) GetConfidenceScore() float32func (*LanguageInfo) GetInputLanguageCode
func (x *LanguageInfo) GetInputLanguageCode() stringfunc (*LanguageInfo) GetResolvedLanguageCode
func (x *LanguageInfo) GetResolvedLanguageCode() stringfunc (*LanguageInfo) ProtoMessage
func (*LanguageInfo) ProtoMessage()func (*LanguageInfo) ProtoReflect
func (x *LanguageInfo) ProtoReflect() protoreflect.Messagefunc (*LanguageInfo) Reset
func (x *LanguageInfo) Reset()func (*LanguageInfo) String
func (x *LanguageInfo) String() stringListAgentsRequest
type ListAgentsRequest struct {
// Required. The location to list all agents for.
// Format: `projects/The request message for [Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents].
func (*ListAgentsRequest) Descriptor
func (*ListAgentsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListAgentsRequest.ProtoReflect.Descriptor instead.
func (*ListAgentsRequest) GetPageSize
func (x *ListAgentsRequest) GetPageSize() int32func (*ListAgentsRequest) GetPageToken
func (x *ListAgentsRequest) GetPageToken() stringfunc (*ListAgentsRequest) GetParent
func (x *ListAgentsRequest) GetParent() stringfunc (*ListAgentsRequest) ProtoMessage
func (*ListAgentsRequest) ProtoMessage()func (*ListAgentsRequest) ProtoReflect
func (x *ListAgentsRequest) ProtoReflect() protoreflect.Messagefunc (*ListAgentsRequest) Reset
func (x *ListAgentsRequest) Reset()func (*ListAgentsRequest) String
func (x *ListAgentsRequest) String() stringListAgentsResponse
type ListAgentsResponse struct {
// The list of agents. There will be a maximum number of items returned based
// on the page_size field in the request.
Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents].
func (*ListAgentsResponse) Descriptor
func (*ListAgentsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListAgentsResponse.ProtoReflect.Descriptor instead.
func (*ListAgentsResponse) GetAgents
func (x *ListAgentsResponse) GetAgents() []*Agentfunc (*ListAgentsResponse) GetNextPageToken
func (x *ListAgentsResponse) GetNextPageToken() stringfunc (*ListAgentsResponse) ProtoMessage
func (*ListAgentsResponse) ProtoMessage()func (*ListAgentsResponse) ProtoReflect
func (x *ListAgentsResponse) ProtoReflect() protoreflect.Messagefunc (*ListAgentsResponse) Reset
func (x *ListAgentsResponse) Reset()func (*ListAgentsResponse) String
func (x *ListAgentsResponse) String() stringListChangelogsRequest
type ListChangelogsRequest struct {
// Required. The agent containing the changelogs.
// Format: `projects/The request message for [Changelogs.ListChangelogs][google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs].
func (*ListChangelogsRequest) Descriptor
func (*ListChangelogsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListChangelogsRequest.ProtoReflect.Descriptor instead.
func (*ListChangelogsRequest) GetFilter
func (x *ListChangelogsRequest) GetFilter() stringfunc (*ListChangelogsRequest) GetPageSize
func (x *ListChangelogsRequest) GetPageSize() int32func (*ListChangelogsRequest) GetPageToken
func (x *ListChangelogsRequest) GetPageToken() stringfunc (*ListChangelogsRequest) GetParent
func (x *ListChangelogsRequest) GetParent() stringfunc (*ListChangelogsRequest) ProtoMessage
func (*ListChangelogsRequest) ProtoMessage()func (*ListChangelogsRequest) ProtoReflect
func (x *ListChangelogsRequest) ProtoReflect() protoreflect.Messagefunc (*ListChangelogsRequest) Reset
func (x *ListChangelogsRequest) Reset()func (*ListChangelogsRequest) String
func (x *ListChangelogsRequest) String() stringListChangelogsResponse
type ListChangelogsResponse struct {
// The list of changelogs. There will be a maximum number of items returned
// based on the page_size field in the request. The changelogs will be ordered
// by timestamp.
Changelogs []*Changelog `protobuf:"bytes,1,rep,name=changelogs,proto3" json:"changelogs,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Changelogs.ListChangelogs][google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs].
func (*ListChangelogsResponse) Descriptor
func (*ListChangelogsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListChangelogsResponse.ProtoReflect.Descriptor instead.
func (*ListChangelogsResponse) GetChangelogs
func (x *ListChangelogsResponse) GetChangelogs() []*Changelogfunc (*ListChangelogsResponse) GetNextPageToken
func (x *ListChangelogsResponse) GetNextPageToken() stringfunc (*ListChangelogsResponse) ProtoMessage
func (*ListChangelogsResponse) ProtoMessage()func (*ListChangelogsResponse) ProtoReflect
func (x *ListChangelogsResponse) ProtoReflect() protoreflect.Messagefunc (*ListChangelogsResponse) Reset
func (x *ListChangelogsResponse) Reset()func (*ListChangelogsResponse) String
func (x *ListChangelogsResponse) String() stringListContinuousTestResultsRequest
type ListContinuousTestResultsRequest struct {
// Required. The environment to list results for.
// Format:
// `projects/The request message for [Environments.ListContinuousTestResults][google.cloud.dialogflow.cx.v3.Environments.ListContinuousTestResults].
func (*ListContinuousTestResultsRequest) Descriptor
func (*ListContinuousTestResultsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListContinuousTestResultsRequest.ProtoReflect.Descriptor instead.
func (*ListContinuousTestResultsRequest) GetPageSize
func (x *ListContinuousTestResultsRequest) GetPageSize() int32func (*ListContinuousTestResultsRequest) GetPageToken
func (x *ListContinuousTestResultsRequest) GetPageToken() stringfunc (*ListContinuousTestResultsRequest) GetParent
func (x *ListContinuousTestResultsRequest) GetParent() stringfunc (*ListContinuousTestResultsRequest) ProtoMessage
func (*ListContinuousTestResultsRequest) ProtoMessage()func (*ListContinuousTestResultsRequest) ProtoReflect
func (x *ListContinuousTestResultsRequest) ProtoReflect() protoreflect.Messagefunc (*ListContinuousTestResultsRequest) Reset
func (x *ListContinuousTestResultsRequest) Reset()func (*ListContinuousTestResultsRequest) String
func (x *ListContinuousTestResultsRequest) String() stringListContinuousTestResultsResponse
type ListContinuousTestResultsResponse struct {
// The list of continuous test results.
ContinuousTestResults []*ContinuousTestResult `protobuf:"bytes,1,rep,name=continuous_test_results,json=continuousTestResults,proto3" json:"continuous_test_results,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Environments.ListTestCaseResults][].
func (*ListContinuousTestResultsResponse) Descriptor
func (*ListContinuousTestResultsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListContinuousTestResultsResponse.ProtoReflect.Descriptor instead.
func (*ListContinuousTestResultsResponse) GetContinuousTestResults
func (x *ListContinuousTestResultsResponse) GetContinuousTestResults() []*ContinuousTestResultfunc (*ListContinuousTestResultsResponse) GetNextPageToken
func (x *ListContinuousTestResultsResponse) GetNextPageToken() stringfunc (*ListContinuousTestResultsResponse) ProtoMessage
func (*ListContinuousTestResultsResponse) ProtoMessage()func (*ListContinuousTestResultsResponse) ProtoReflect
func (x *ListContinuousTestResultsResponse) ProtoReflect() protoreflect.Messagefunc (*ListContinuousTestResultsResponse) Reset
func (x *ListContinuousTestResultsResponse) Reset()func (*ListContinuousTestResultsResponse) String
func (x *ListContinuousTestResultsResponse) String() stringListDeploymentsRequest
type ListDeploymentsRequest struct {
// Required. The [Environment][google.cloud.dialogflow.cx.v3.Environment] to
// list all environments for. Format:
// `projects/The request message for [Deployments.ListDeployments][google.cloud.dialogflow.cx.v3.Deployments.ListDeployments].
func (*ListDeploymentsRequest) Descriptor
func (*ListDeploymentsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListDeploymentsRequest.ProtoReflect.Descriptor instead.
func (*ListDeploymentsRequest) GetPageSize
func (x *ListDeploymentsRequest) GetPageSize() int32func (*ListDeploymentsRequest) GetPageToken
func (x *ListDeploymentsRequest) GetPageToken() stringfunc (*ListDeploymentsRequest) GetParent
func (x *ListDeploymentsRequest) GetParent() stringfunc (*ListDeploymentsRequest) ProtoMessage
func (*ListDeploymentsRequest) ProtoMessage()func (*ListDeploymentsRequest) ProtoReflect
func (x *ListDeploymentsRequest) ProtoReflect() protoreflect.Messagefunc (*ListDeploymentsRequest) Reset
func (x *ListDeploymentsRequest) Reset()func (*ListDeploymentsRequest) String
func (x *ListDeploymentsRequest) String() stringListDeploymentsResponse
type ListDeploymentsResponse struct {
// The list of deployments. There will be a maximum number of items
// returned based on the page_size field in the request. The list may in some
// cases be empty or contain fewer entries than page_size even if this isn't
// the last page.
Deployments []*Deployment `protobuf:"bytes,1,rep,name=deployments,proto3" json:"deployments,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Deployments.ListDeployments][google.cloud.dialogflow.cx.v3.Deployments.ListDeployments].
func (*ListDeploymentsResponse) Descriptor
func (*ListDeploymentsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListDeploymentsResponse.ProtoReflect.Descriptor instead.
func (*ListDeploymentsResponse) GetDeployments
func (x *ListDeploymentsResponse) GetDeployments() []*Deploymentfunc (*ListDeploymentsResponse) GetNextPageToken
func (x *ListDeploymentsResponse) GetNextPageToken() stringfunc (*ListDeploymentsResponse) ProtoMessage
func (*ListDeploymentsResponse) ProtoMessage()func (*ListDeploymentsResponse) ProtoReflect
func (x *ListDeploymentsResponse) ProtoReflect() protoreflect.Messagefunc (*ListDeploymentsResponse) Reset
func (x *ListDeploymentsResponse) Reset()func (*ListDeploymentsResponse) String
func (x *ListDeploymentsResponse) String() stringListEntityTypesRequest
type ListEntityTypesRequest struct {
// Required. The agent to list all entity types for.
// Format: `projects/The request message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes].
func (*ListEntityTypesRequest) Descriptor
func (*ListEntityTypesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListEntityTypesRequest.ProtoReflect.Descriptor instead.
func (*ListEntityTypesRequest) GetLanguageCode
func (x *ListEntityTypesRequest) GetLanguageCode() stringfunc (*ListEntityTypesRequest) GetPageSize
func (x *ListEntityTypesRequest) GetPageSize() int32func (*ListEntityTypesRequest) GetPageToken
func (x *ListEntityTypesRequest) GetPageToken() stringfunc (*ListEntityTypesRequest) GetParent
func (x *ListEntityTypesRequest) GetParent() stringfunc (*ListEntityTypesRequest) ProtoMessage
func (*ListEntityTypesRequest) ProtoMessage()func (*ListEntityTypesRequest) ProtoReflect
func (x *ListEntityTypesRequest) ProtoReflect() protoreflect.Messagefunc (*ListEntityTypesRequest) Reset
func (x *ListEntityTypesRequest) Reset()func (*ListEntityTypesRequest) String
func (x *ListEntityTypesRequest) String() stringListEntityTypesResponse
type ListEntityTypesResponse struct {
// The list of entity types. There will be a maximum number of items returned
// based on the page_size field in the request.
EntityTypes []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,omitempty"`
// Token to retrieve the next page of results, or empty if there are no
// more results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes].
func (*ListEntityTypesResponse) Descriptor
func (*ListEntityTypesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListEntityTypesResponse.ProtoReflect.Descriptor instead.
func (*ListEntityTypesResponse) GetEntityTypes
func (x *ListEntityTypesResponse) GetEntityTypes() []*EntityTypefunc (*ListEntityTypesResponse) GetNextPageToken
func (x *ListEntityTypesResponse) GetNextPageToken() stringfunc (*ListEntityTypesResponse) ProtoMessage
func (*ListEntityTypesResponse) ProtoMessage()func (*ListEntityTypesResponse) ProtoReflect
func (x *ListEntityTypesResponse) ProtoReflect() protoreflect.Messagefunc (*ListEntityTypesResponse) Reset
func (x *ListEntityTypesResponse) Reset()func (*ListEntityTypesResponse) String
func (x *ListEntityTypesResponse) String() stringListEnvironmentsRequest
type ListEnvironmentsRequest struct {
// Required. The [Agent][google.cloud.dialogflow.cx.v3.Agent] to list all
// environments for. Format:
// `projects/The request message for [Environments.ListEnvironments][google.cloud.dialogflow.cx.v3.Environments.ListEnvironments].
func (*ListEnvironmentsRequest) Descriptor
func (*ListEnvironmentsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListEnvironmentsRequest.ProtoReflect.Descriptor instead.
func (*ListEnvironmentsRequest) GetPageSize
func (x *ListEnvironmentsRequest) GetPageSize() int32func (*ListEnvironmentsRequest) GetPageToken
func (x *ListEnvironmentsRequest) GetPageToken() stringfunc (*ListEnvironmentsRequest) GetParent
func (x *ListEnvironmentsRequest) GetParent() stringfunc (*ListEnvironmentsRequest) ProtoMessage
func (*ListEnvironmentsRequest) ProtoMessage()func (*ListEnvironmentsRequest) ProtoReflect
func (x *ListEnvironmentsRequest) ProtoReflect() protoreflect.Messagefunc (*ListEnvironmentsRequest) Reset
func (x *ListEnvironmentsRequest) Reset()func (*ListEnvironmentsRequest) String
func (x *ListEnvironmentsRequest) String() stringListEnvironmentsResponse
type ListEnvironmentsResponse struct {
// The list of environments. There will be a maximum number of items
// returned based on the page_size field in the request. The list may in some
// cases be empty or contain fewer entries than page_size even if this isn't
// the last page.
Environments []*Environment `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Environments.ListEnvironments][google.cloud.dialogflow.cx.v3.Environments.ListEnvironments].
func (*ListEnvironmentsResponse) Descriptor
func (*ListEnvironmentsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListEnvironmentsResponse.ProtoReflect.Descriptor instead.
func (*ListEnvironmentsResponse) GetEnvironments
func (x *ListEnvironmentsResponse) GetEnvironments() []*Environmentfunc (*ListEnvironmentsResponse) GetNextPageToken
func (x *ListEnvironmentsResponse) GetNextPageToken() stringfunc (*ListEnvironmentsResponse) ProtoMessage
func (*ListEnvironmentsResponse) ProtoMessage()func (*ListEnvironmentsResponse) ProtoReflect
func (x *ListEnvironmentsResponse) ProtoReflect() protoreflect.Messagefunc (*ListEnvironmentsResponse) Reset
func (x *ListEnvironmentsResponse) Reset()func (*ListEnvironmentsResponse) String
func (x *ListEnvironmentsResponse) String() stringListExamplesRequest
type ListExamplesRequest struct {
// Required. The playbook to list the examples from.
// Format:
// `projects/The request message for [Examples.ListExamples][google.cloud.dialogflow.cx.v3.Examples.ListExamples].
func (*ListExamplesRequest) Descriptor
func (*ListExamplesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListExamplesRequest.ProtoReflect.Descriptor instead.
func (*ListExamplesRequest) GetLanguageCode
func (x *ListExamplesRequest) GetLanguageCode() stringfunc (*ListExamplesRequest) GetPageSize
func (x *ListExamplesRequest) GetPageSize() int32func (*ListExamplesRequest) GetPageToken
func (x *ListExamplesRequest) GetPageToken() stringfunc (*ListExamplesRequest) GetParent
func (x *ListExamplesRequest) GetParent() stringfunc (*ListExamplesRequest) ProtoMessage
func (*ListExamplesRequest) ProtoMessage()func (*ListExamplesRequest) ProtoReflect
func (x *ListExamplesRequest) ProtoReflect() protoreflect.Messagefunc (*ListExamplesRequest) Reset
func (x *ListExamplesRequest) Reset()func (*ListExamplesRequest) String
func (x *ListExamplesRequest) String() stringListExamplesResponse
type ListExamplesResponse struct {
// The list of examples. There will be a maximum number of items returned
// based on the
// [page_size][google.cloud.dialogflow.cx.v3.ListExamplesRequest.page_size]
// field in the request.
Examples []*Example `protobuf:"bytes,1,rep,name=examples,proto3" json:"examples,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Examples.ListExamples][google.cloud.dialogflow.cx.v3.Examples.ListExamples].
func (*ListExamplesResponse) Descriptor
func (*ListExamplesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListExamplesResponse.ProtoReflect.Descriptor instead.
func (*ListExamplesResponse) GetExamples
func (x *ListExamplesResponse) GetExamples() []*Examplefunc (*ListExamplesResponse) GetNextPageToken
func (x *ListExamplesResponse) GetNextPageToken() stringfunc (*ListExamplesResponse) ProtoMessage
func (*ListExamplesResponse) ProtoMessage()func (*ListExamplesResponse) ProtoReflect
func (x *ListExamplesResponse) ProtoReflect() protoreflect.Messagefunc (*ListExamplesResponse) Reset
func (x *ListExamplesResponse) Reset()func (*ListExamplesResponse) String
func (x *ListExamplesResponse) String() stringListExperimentsRequest
type ListExperimentsRequest struct {
// Required. The [Environment][google.cloud.dialogflow.cx.v3.Environment] to
// list all environments for. Format:
// `projects/The request message for [Experiments.ListExperiments][google.cloud.dialogflow.cx.v3.Experiments.ListExperiments].
func (*ListExperimentsRequest) Descriptor
func (*ListExperimentsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListExperimentsRequest.ProtoReflect.Descriptor instead.
func (*ListExperimentsRequest) GetPageSize
func (x *ListExperimentsRequest) GetPageSize() int32func (*ListExperimentsRequest) GetPageToken
func (x *ListExperimentsRequest) GetPageToken() stringfunc (*ListExperimentsRequest) GetParent
func (x *ListExperimentsRequest) GetParent() stringfunc (*ListExperimentsRequest) ProtoMessage
func (*ListExperimentsRequest) ProtoMessage()func (*ListExperimentsRequest) ProtoReflect
func (x *ListExperimentsRequest) ProtoReflect() protoreflect.Messagefunc (*ListExperimentsRequest) Reset
func (x *ListExperimentsRequest) Reset()func (*ListExperimentsRequest) String
func (x *ListExperimentsRequest) String() stringListExperimentsResponse
type ListExperimentsResponse struct {
// The list of experiments. There will be a maximum number of items
// returned based on the page_size field in the request. The list may in some
// cases be empty or contain fewer entries than page_size even if this isn't
// the last page.
Experiments []*Experiment `protobuf:"bytes,1,rep,name=experiments,proto3" json:"experiments,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Experiments.ListExperiments][google.cloud.dialogflow.cx.v3.Experiments.ListExperiments].
func (*ListExperimentsResponse) Descriptor
func (*ListExperimentsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListExperimentsResponse.ProtoReflect.Descriptor instead.
func (*ListExperimentsResponse) GetExperiments
func (x *ListExperimentsResponse) GetExperiments() []*Experimentfunc (*ListExperimentsResponse) GetNextPageToken
func (x *ListExperimentsResponse) GetNextPageToken() stringfunc (*ListExperimentsResponse) ProtoMessage
func (*ListExperimentsResponse) ProtoMessage()func (*ListExperimentsResponse) ProtoReflect
func (x *ListExperimentsResponse) ProtoReflect() protoreflect.Messagefunc (*ListExperimentsResponse) Reset
func (x *ListExperimentsResponse) Reset()func (*ListExperimentsResponse) String
func (x *ListExperimentsResponse) String() stringListFlowsRequest
type ListFlowsRequest struct {
// Required. The agent containing the flows.
// Format: `projects/The request message for [Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows].
func (*ListFlowsRequest) Descriptor
func (*ListFlowsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListFlowsRequest.ProtoReflect.Descriptor instead.
func (*ListFlowsRequest) GetLanguageCode
func (x *ListFlowsRequest) GetLanguageCode() stringfunc (*ListFlowsRequest) GetPageSize
func (x *ListFlowsRequest) GetPageSize() int32func (*ListFlowsRequest) GetPageToken
func (x *ListFlowsRequest) GetPageToken() stringfunc (*ListFlowsRequest) GetParent
func (x *ListFlowsRequest) GetParent() stringfunc (*ListFlowsRequest) ProtoMessage
func (*ListFlowsRequest) ProtoMessage()func (*ListFlowsRequest) ProtoReflect
func (x *ListFlowsRequest) ProtoReflect() protoreflect.Messagefunc (*ListFlowsRequest) Reset
func (x *ListFlowsRequest) Reset()func (*ListFlowsRequest) String
func (x *ListFlowsRequest) String() stringListFlowsResponse
type ListFlowsResponse struct {
// The list of flows. There will be a maximum number of items returned based
// on the page_size field in the request.
Flows []*Flow `protobuf:"bytes,1,rep,name=flows,proto3" json:"flows,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows].
func (*ListFlowsResponse) Descriptor
func (*ListFlowsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListFlowsResponse.ProtoReflect.Descriptor instead.
func (*ListFlowsResponse) GetFlows
func (x *ListFlowsResponse) GetFlows() []*Flowfunc (*ListFlowsResponse) GetNextPageToken
func (x *ListFlowsResponse) GetNextPageToken() stringfunc (*ListFlowsResponse) ProtoMessage
func (*ListFlowsResponse) ProtoMessage()func (*ListFlowsResponse) ProtoReflect
func (x *ListFlowsResponse) ProtoReflect() protoreflect.Messagefunc (*ListFlowsResponse) Reset
func (x *ListFlowsResponse) Reset()func (*ListFlowsResponse) String
func (x *ListFlowsResponse) String() stringListGeneratorsRequest
type ListGeneratorsRequest struct {
// Required. The agent to list all generators for.
// Format: `projects/The request message for [Generators.ListGenerators][google.cloud.dialogflow.cx.v3.Generators.ListGenerators].
func (*ListGeneratorsRequest) Descriptor
func (*ListGeneratorsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListGeneratorsRequest.ProtoReflect.Descriptor instead.
func (*ListGeneratorsRequest) GetLanguageCode
func (x *ListGeneratorsRequest) GetLanguageCode() stringfunc (*ListGeneratorsRequest) GetPageSize
func (x *ListGeneratorsRequest) GetPageSize() int32func (*ListGeneratorsRequest) GetPageToken
func (x *ListGeneratorsRequest) GetPageToken() stringfunc (*ListGeneratorsRequest) GetParent
func (x *ListGeneratorsRequest) GetParent() stringfunc (*ListGeneratorsRequest) ProtoMessage
func (*ListGeneratorsRequest) ProtoMessage()func (*ListGeneratorsRequest) ProtoReflect
func (x *ListGeneratorsRequest) ProtoReflect() protoreflect.Messagefunc (*ListGeneratorsRequest) Reset
func (x *ListGeneratorsRequest) Reset()func (*ListGeneratorsRequest) String
func (x *ListGeneratorsRequest) String() stringListGeneratorsResponse
type ListGeneratorsResponse struct {
// The list of generators. There will be a maximum number of items returned
// based on the page_size field in the request.
Generators []*Generator `protobuf:"bytes,1,rep,name=generators,proto3" json:"generators,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Generators.ListGenerators][google.cloud.dialogflow.cx.v3.Generators.ListGenerators].
func (*ListGeneratorsResponse) Descriptor
func (*ListGeneratorsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListGeneratorsResponse.ProtoReflect.Descriptor instead.
func (*ListGeneratorsResponse) GetGenerators
func (x *ListGeneratorsResponse) GetGenerators() []*Generatorfunc (*ListGeneratorsResponse) GetNextPageToken
func (x *ListGeneratorsResponse) GetNextPageToken() stringfunc (*ListGeneratorsResponse) ProtoMessage
func (*ListGeneratorsResponse) ProtoMessage()func (*ListGeneratorsResponse) ProtoReflect
func (x *ListGeneratorsResponse) ProtoReflect() protoreflect.Messagefunc (*ListGeneratorsResponse) Reset
func (x *ListGeneratorsResponse) Reset()func (*ListGeneratorsResponse) String
func (x *ListGeneratorsResponse) String() stringListIntentsRequest
type ListIntentsRequest struct {
// Required. The agent to list all intents for.
// Format: `projects/The request message for [Intents.ListIntents][google.cloud.dialogflow.cx.v3.Intents.ListIntents].
func (*ListIntentsRequest) Descriptor
func (*ListIntentsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListIntentsRequest.ProtoReflect.Descriptor instead.
func (*ListIntentsRequest) GetIntentView
func (x *ListIntentsRequest) GetIntentView() IntentViewfunc (*ListIntentsRequest) GetLanguageCode
func (x *ListIntentsRequest) GetLanguageCode() stringfunc (*ListIntentsRequest) GetPageSize
func (x *ListIntentsRequest) GetPageSize() int32func (*ListIntentsRequest) GetPageToken
func (x *ListIntentsRequest) GetPageToken() stringfunc (*ListIntentsRequest) GetParent
func (x *ListIntentsRequest) GetParent() stringfunc (*ListIntentsRequest) ProtoMessage
func (*ListIntentsRequest) ProtoMessage()func (*ListIntentsRequest) ProtoReflect
func (x *ListIntentsRequest) ProtoReflect() protoreflect.Messagefunc (*ListIntentsRequest) Reset
func (x *ListIntentsRequest) Reset()func (*ListIntentsRequest) String
func (x *ListIntentsRequest) String() stringListIntentsResponse
type ListIntentsResponse struct {
// The list of intents. There will be a maximum number of items returned based
// on the page_size field in the request.
Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Intents.ListIntents][google.cloud.dialogflow.cx.v3.Intents.ListIntents].
func (*ListIntentsResponse) Descriptor
func (*ListIntentsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListIntentsResponse.ProtoReflect.Descriptor instead.
func (*ListIntentsResponse) GetIntents
func (x *ListIntentsResponse) GetIntents() []*Intentfunc (*ListIntentsResponse) GetNextPageToken
func (x *ListIntentsResponse) GetNextPageToken() stringfunc (*ListIntentsResponse) ProtoMessage
func (*ListIntentsResponse) ProtoMessage()func (*ListIntentsResponse) ProtoReflect
func (x *ListIntentsResponse) ProtoReflect() protoreflect.Messagefunc (*ListIntentsResponse) Reset
func (x *ListIntentsResponse) Reset()func (*ListIntentsResponse) String
func (x *ListIntentsResponse) String() stringListPagesRequest
type ListPagesRequest struct {
// Required. The flow to list all pages for.
// Format:
// `projects/The request message for [Pages.ListPages][google.cloud.dialogflow.cx.v3.Pages.ListPages].
func (*ListPagesRequest) Descriptor
func (*ListPagesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListPagesRequest.ProtoReflect.Descriptor instead.
func (*ListPagesRequest) GetLanguageCode
func (x *ListPagesRequest) GetLanguageCode() stringfunc (*ListPagesRequest) GetPageSize
func (x *ListPagesRequest) GetPageSize() int32func (*ListPagesRequest) GetPageToken
func (x *ListPagesRequest) GetPageToken() stringfunc (*ListPagesRequest) GetParent
func (x *ListPagesRequest) GetParent() stringfunc (*ListPagesRequest) ProtoMessage
func (*ListPagesRequest) ProtoMessage()func (*ListPagesRequest) ProtoReflect
func (x *ListPagesRequest) ProtoReflect() protoreflect.Messagefunc (*ListPagesRequest) Reset
func (x *ListPagesRequest) Reset()func (*ListPagesRequest) String
func (x *ListPagesRequest) String() stringListPagesResponse
type ListPagesResponse struct {
// The list of pages. There will be a maximum number of items returned based
// on the page_size field in the request.
Pages []*Page `protobuf:"bytes,1,rep,name=pages,proto3" json:"pages,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Pages.ListPages][google.cloud.dialogflow.cx.v3.Pages.ListPages].
func (*ListPagesResponse) Descriptor
func (*ListPagesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListPagesResponse.ProtoReflect.Descriptor instead.
func (*ListPagesResponse) GetNextPageToken
func (x *ListPagesResponse) GetNextPageToken() stringfunc (*ListPagesResponse) GetPages
func (x *ListPagesResponse) GetPages() []*Pagefunc (*ListPagesResponse) ProtoMessage
func (*ListPagesResponse) ProtoMessage()func (*ListPagesResponse) ProtoReflect
func (x *ListPagesResponse) ProtoReflect() protoreflect.Messagefunc (*ListPagesResponse) Reset
func (x *ListPagesResponse) Reset()func (*ListPagesResponse) String
func (x *ListPagesResponse) String() stringListPlaybookVersionsRequest
type ListPlaybookVersionsRequest struct {
// Required. The playbook to list versions for.
// Format:
// `projects/The request message for [Playbooks.ListPlaybookVersions][google.cloud.dialogflow.cx.v3.Playbooks.ListPlaybookVersions].
func (*ListPlaybookVersionsRequest) Descriptor
func (*ListPlaybookVersionsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListPlaybookVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListPlaybookVersionsRequest) GetPageSize
func (x *ListPlaybookVersionsRequest) GetPageSize() int32func (*ListPlaybookVersionsRequest) GetPageToken
func (x *ListPlaybookVersionsRequest) GetPageToken() stringfunc (*ListPlaybookVersionsRequest) GetParent
func (x *ListPlaybookVersionsRequest) GetParent() stringfunc (*ListPlaybookVersionsRequest) ProtoMessage
func (*ListPlaybookVersionsRequest) ProtoMessage()func (*ListPlaybookVersionsRequest) ProtoReflect
func (x *ListPlaybookVersionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListPlaybookVersionsRequest) Reset
func (x *ListPlaybookVersionsRequest) Reset()func (*ListPlaybookVersionsRequest) String
func (x *ListPlaybookVersionsRequest) String() stringListPlaybookVersionsResponse
type ListPlaybookVersionsResponse struct {
// The list of playbook version. There will be a maximum number of items
// returned based on the page_size field in the request.
PlaybookVersions []*PlaybookVersion `protobuf:"bytes,1,rep,name=playbook_versions,json=playbookVersions,proto3" json:"playbook_versions,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Playbooks.ListPlaybookVersions][google.cloud.dialogflow.cx.v3.Playbooks.ListPlaybookVersions].
func (*ListPlaybookVersionsResponse) Descriptor
func (*ListPlaybookVersionsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListPlaybookVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListPlaybookVersionsResponse) GetNextPageToken
func (x *ListPlaybookVersionsResponse) GetNextPageToken() stringfunc (*ListPlaybookVersionsResponse) GetPlaybookVersions
func (x *ListPlaybookVersionsResponse) GetPlaybookVersions() []*PlaybookVersionfunc (*ListPlaybookVersionsResponse) ProtoMessage
func (*ListPlaybookVersionsResponse) ProtoMessage()func (*ListPlaybookVersionsResponse) ProtoReflect
func (x *ListPlaybookVersionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListPlaybookVersionsResponse) Reset
func (x *ListPlaybookVersionsResponse) Reset()func (*ListPlaybookVersionsResponse) String
func (x *ListPlaybookVersionsResponse) String() stringListPlaybooksRequest
type ListPlaybooksRequest struct {
// Required. The agent to list playbooks from.
// Format: `projects/The request message for [Playbooks.ListPlaybooks][google.cloud.dialogflow.cx.v3.Playbooks.ListPlaybooks].
func (*ListPlaybooksRequest) Descriptor
func (*ListPlaybooksRequest) Descriptor() ([]byte, []int)Deprecated: Use ListPlaybooksRequest.ProtoReflect.Descriptor instead.
func (*ListPlaybooksRequest) GetPageSize
func (x *ListPlaybooksRequest) GetPageSize() int32func (*ListPlaybooksRequest) GetPageToken
func (x *ListPlaybooksRequest) GetPageToken() stringfunc (*ListPlaybooksRequest) GetParent
func (x *ListPlaybooksRequest) GetParent() stringfunc (*ListPlaybooksRequest) ProtoMessage
func (*ListPlaybooksRequest) ProtoMessage()func (*ListPlaybooksRequest) ProtoReflect
func (x *ListPlaybooksRequest) ProtoReflect() protoreflect.Messagefunc (*ListPlaybooksRequest) Reset
func (x *ListPlaybooksRequest) Reset()func (*ListPlaybooksRequest) String
func (x *ListPlaybooksRequest) String() stringListPlaybooksResponse
type ListPlaybooksResponse struct {
// The list of playbooks. There will be a maximum number of items returned
// based on the page_size field in the request.
Playbooks []*Playbook `protobuf:"bytes,1,rep,name=playbooks,proto3" json:"playbooks,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Playbooks.ListPlaybooks][google.cloud.dialogflow.cx.v3.Playbooks.ListPlaybooks].
func (*ListPlaybooksResponse) Descriptor
func (*ListPlaybooksResponse) Descriptor() ([]byte, []int)Deprecated: Use ListPlaybooksResponse.ProtoReflect.Descriptor instead.
func (*ListPlaybooksResponse) GetNextPageToken
func (x *ListPlaybooksResponse) GetNextPageToken() stringfunc (*ListPlaybooksResponse) GetPlaybooks
func (x *ListPlaybooksResponse) GetPlaybooks() []*Playbookfunc (*ListPlaybooksResponse) ProtoMessage
func (*ListPlaybooksResponse) ProtoMessage()func (*ListPlaybooksResponse) ProtoReflect
func (x *ListPlaybooksResponse) ProtoReflect() protoreflect.Messagefunc (*ListPlaybooksResponse) Reset
func (x *ListPlaybooksResponse) Reset()func (*ListPlaybooksResponse) String
func (x *ListPlaybooksResponse) String() stringListSecuritySettingsRequest
type ListSecuritySettingsRequest struct {
// Required. The location to list all security settings for.
// Format: `projects/The request message for [SecuritySettings.ListSecuritySettings][].
func (*ListSecuritySettingsRequest) Descriptor
func (*ListSecuritySettingsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListSecuritySettingsRequest.ProtoReflect.Descriptor instead.
func (*ListSecuritySettingsRequest) GetPageSize
func (x *ListSecuritySettingsRequest) GetPageSize() int32func (*ListSecuritySettingsRequest) GetPageToken
func (x *ListSecuritySettingsRequest) GetPageToken() stringfunc (*ListSecuritySettingsRequest) GetParent
func (x *ListSecuritySettingsRequest) GetParent() stringfunc (*ListSecuritySettingsRequest) ProtoMessage
func (*ListSecuritySettingsRequest) ProtoMessage()func (*ListSecuritySettingsRequest) ProtoReflect
func (x *ListSecuritySettingsRequest) ProtoReflect() protoreflect.Messagefunc (*ListSecuritySettingsRequest) Reset
func (x *ListSecuritySettingsRequest) Reset()func (*ListSecuritySettingsRequest) String
func (x *ListSecuritySettingsRequest) String() stringListSecuritySettingsResponse
type ListSecuritySettingsResponse struct {
// The list of security settings.
SecuritySettings []*SecuritySettings `protobuf:"bytes,1,rep,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [SecuritySettings.ListSecuritySettings][].
func (*ListSecuritySettingsResponse) Descriptor
func (*ListSecuritySettingsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListSecuritySettingsResponse.ProtoReflect.Descriptor instead.
func (*ListSecuritySettingsResponse) GetNextPageToken
func (x *ListSecuritySettingsResponse) GetNextPageToken() stringfunc (*ListSecuritySettingsResponse) GetSecuritySettings
func (x *ListSecuritySettingsResponse) GetSecuritySettings() []*SecuritySettingsfunc (*ListSecuritySettingsResponse) ProtoMessage
func (*ListSecuritySettingsResponse) ProtoMessage()func (*ListSecuritySettingsResponse) ProtoReflect
func (x *ListSecuritySettingsResponse) ProtoReflect() protoreflect.Messagefunc (*ListSecuritySettingsResponse) Reset
func (x *ListSecuritySettingsResponse) Reset()func (*ListSecuritySettingsResponse) String
func (x *ListSecuritySettingsResponse) String() stringListSessionEntityTypesRequest
type ListSessionEntityTypesRequest struct {
// Required. The session to list all session entity types from.
// Format:
// `projects/The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes].
func (*ListSessionEntityTypesRequest) Descriptor
func (*ListSessionEntityTypesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListSessionEntityTypesRequest.ProtoReflect.Descriptor instead.
func (*ListSessionEntityTypesRequest) GetPageSize
func (x *ListSessionEntityTypesRequest) GetPageSize() int32func (*ListSessionEntityTypesRequest) GetPageToken
func (x *ListSessionEntityTypesRequest) GetPageToken() stringfunc (*ListSessionEntityTypesRequest) GetParent
func (x *ListSessionEntityTypesRequest) GetParent() stringfunc (*ListSessionEntityTypesRequest) ProtoMessage
func (*ListSessionEntityTypesRequest) ProtoMessage()func (*ListSessionEntityTypesRequest) ProtoReflect
func (x *ListSessionEntityTypesRequest) ProtoReflect() protoreflect.Messagefunc (*ListSessionEntityTypesRequest) Reset
func (x *ListSessionEntityTypesRequest) Reset()func (*ListSessionEntityTypesRequest) String
func (x *ListSessionEntityTypesRequest) String() stringListSessionEntityTypesResponse
type ListSessionEntityTypesResponse struct {
// The list of session entity types. There will be a maximum number of items
// returned based on the page_size field in the request.
SessionEntityTypes []*SessionEntityType `protobuf:"bytes,1,rep,name=session_entity_types,json=sessionEntityTypes,proto3" json:"session_entity_types,omitempty"`
// Token to retrieve the next page of results, or empty if there are no
// more results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes].
func (*ListSessionEntityTypesResponse) Descriptor
func (*ListSessionEntityTypesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListSessionEntityTypesResponse.ProtoReflect.Descriptor instead.
func (*ListSessionEntityTypesResponse) GetNextPageToken
func (x *ListSessionEntityTypesResponse) GetNextPageToken() stringfunc (*ListSessionEntityTypesResponse) GetSessionEntityTypes
func (x *ListSessionEntityTypesResponse) GetSessionEntityTypes() []*SessionEntityTypefunc (*ListSessionEntityTypesResponse) ProtoMessage
func (*ListSessionEntityTypesResponse) ProtoMessage()func (*ListSessionEntityTypesResponse) ProtoReflect
func (x *ListSessionEntityTypesResponse) ProtoReflect() protoreflect.Messagefunc (*ListSessionEntityTypesResponse) Reset
func (x *ListSessionEntityTypesResponse) Reset()func (*ListSessionEntityTypesResponse) String
func (x *ListSessionEntityTypesResponse) String() stringListTestCaseResultsRequest
type ListTestCaseResultsRequest struct {
// Required. The test case to list results for.
// Format:
// `projects/The request message for [TestCases.ListTestCaseResults][google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults].
func (*ListTestCaseResultsRequest) Descriptor
func (*ListTestCaseResultsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListTestCaseResultsRequest.ProtoReflect.Descriptor instead.
func (*ListTestCaseResultsRequest) GetFilter
func (x *ListTestCaseResultsRequest) GetFilter() stringfunc (*ListTestCaseResultsRequest) GetPageSize
func (x *ListTestCaseResultsRequest) GetPageSize() int32func (*ListTestCaseResultsRequest) GetPageToken
func (x *ListTestCaseResultsRequest) GetPageToken() stringfunc (*ListTestCaseResultsRequest) GetParent
func (x *ListTestCaseResultsRequest) GetParent() stringfunc (*ListTestCaseResultsRequest) ProtoMessage
func (*ListTestCaseResultsRequest) ProtoMessage()func (*ListTestCaseResultsRequest) ProtoReflect
func (x *ListTestCaseResultsRequest) ProtoReflect() protoreflect.Messagefunc (*ListTestCaseResultsRequest) Reset
func (x *ListTestCaseResultsRequest) Reset()func (*ListTestCaseResultsRequest) String
func (x *ListTestCaseResultsRequest) String() stringListTestCaseResultsResponse
type ListTestCaseResultsResponse struct {
// The list of test case results.
TestCaseResults []*TestCaseResult `protobuf:"bytes,1,rep,name=test_case_results,json=testCaseResults,proto3" json:"test_case_results,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [TestCases.ListTestCaseResults][google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults].
func (*ListTestCaseResultsResponse) Descriptor
func (*ListTestCaseResultsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListTestCaseResultsResponse.ProtoReflect.Descriptor instead.
func (*ListTestCaseResultsResponse) GetNextPageToken
func (x *ListTestCaseResultsResponse) GetNextPageToken() stringfunc (*ListTestCaseResultsResponse) GetTestCaseResults
func (x *ListTestCaseResultsResponse) GetTestCaseResults() []*TestCaseResultfunc (*ListTestCaseResultsResponse) ProtoMessage
func (*ListTestCaseResultsResponse) ProtoMessage()func (*ListTestCaseResultsResponse) ProtoReflect
func (x *ListTestCaseResultsResponse) ProtoReflect() protoreflect.Messagefunc (*ListTestCaseResultsResponse) Reset
func (x *ListTestCaseResultsResponse) Reset()func (*ListTestCaseResultsResponse) String
func (x *ListTestCaseResultsResponse) String() stringListTestCasesRequest
type ListTestCasesRequest struct {
// Required. The agent to list all pages for.
// Format: `projects/The request message for [TestCases.ListTestCases][google.cloud.dialogflow.cx.v3.TestCases.ListTestCases].
func (*ListTestCasesRequest) Descriptor
func (*ListTestCasesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListTestCasesRequest.ProtoReflect.Descriptor instead.
func (*ListTestCasesRequest) GetPageSize
func (x *ListTestCasesRequest) GetPageSize() int32func (*ListTestCasesRequest) GetPageToken
func (x *ListTestCasesRequest) GetPageToken() stringfunc (*ListTestCasesRequest) GetParent
func (x *ListTestCasesRequest) GetParent() stringfunc (*ListTestCasesRequest) GetView
func (x *ListTestCasesRequest) GetView() ListTestCasesRequest_TestCaseViewfunc (*ListTestCasesRequest) ProtoMessage
func (*ListTestCasesRequest) ProtoMessage()func (*ListTestCasesRequest) ProtoReflect
func (x *ListTestCasesRequest) ProtoReflect() protoreflect.Messagefunc (*ListTestCasesRequest) Reset
func (x *ListTestCasesRequest) Reset()func (*ListTestCasesRequest) String
func (x *ListTestCasesRequest) String() stringListTestCasesRequest_TestCaseView
type ListTestCasesRequest_TestCaseView int32Specifies how much test case information to include in the response.
ListTestCasesRequest_TEST_CASE_VIEW_UNSPECIFIED, ListTestCasesRequest_BASIC, ListTestCasesRequest_FULL
const (
// The default / unset value.
// The API will default to the BASIC view.
ListTestCasesRequest_TEST_CASE_VIEW_UNSPECIFIED ListTestCasesRequest_TestCaseView = 0
// Include basic metadata about the test case, but not the conversation
// turns. This is the default value.
ListTestCasesRequest_BASIC ListTestCasesRequest_TestCaseView = 1
// Include everything.
ListTestCasesRequest_FULL ListTestCasesRequest_TestCaseView = 2
)func (ListTestCasesRequest_TestCaseView) Descriptor
func (ListTestCasesRequest_TestCaseView) Descriptor() protoreflect.EnumDescriptorfunc (ListTestCasesRequest_TestCaseView) Enum
func (x ListTestCasesRequest_TestCaseView) Enum() *ListTestCasesRequest_TestCaseViewfunc (ListTestCasesRequest_TestCaseView) EnumDescriptor
func (ListTestCasesRequest_TestCaseView) EnumDescriptor() ([]byte, []int)Deprecated: Use ListTestCasesRequest_TestCaseView.Descriptor instead.
func (ListTestCasesRequest_TestCaseView) Number
func (x ListTestCasesRequest_TestCaseView) Number() protoreflect.EnumNumberfunc (ListTestCasesRequest_TestCaseView) String
func (x ListTestCasesRequest_TestCaseView) String() stringfunc (ListTestCasesRequest_TestCaseView) Type
func (ListTestCasesRequest_TestCaseView) Type() protoreflect.EnumTypeListTestCasesResponse
type ListTestCasesResponse struct {
// The list of test cases. There will be a maximum number of items returned
// based on the page_size field in the request.
TestCases []*TestCase `protobuf:"bytes,1,rep,name=test_cases,json=testCases,proto3" json:"test_cases,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [TestCases.ListTestCases][google.cloud.dialogflow.cx.v3.TestCases.ListTestCases].
func (*ListTestCasesResponse) Descriptor
func (*ListTestCasesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListTestCasesResponse.ProtoReflect.Descriptor instead.
func (*ListTestCasesResponse) GetNextPageToken
func (x *ListTestCasesResponse) GetNextPageToken() stringfunc (*ListTestCasesResponse) GetTestCases
func (x *ListTestCasesResponse) GetTestCases() []*TestCasefunc (*ListTestCasesResponse) ProtoMessage
func (*ListTestCasesResponse) ProtoMessage()func (*ListTestCasesResponse) ProtoReflect
func (x *ListTestCasesResponse) ProtoReflect() protoreflect.Messagefunc (*ListTestCasesResponse) Reset
func (x *ListTestCasesResponse) Reset()func (*ListTestCasesResponse) String
func (x *ListTestCasesResponse) String() stringListToolVersionsRequest
type ListToolVersionsRequest struct {
// Required. The parent of the tool versions.
// Format:
// `projects/The request message for [Tools.ListToolVersions][google.cloud.dialogflow.cx.v3.Tools.ListToolVersions].
func (*ListToolVersionsRequest) Descriptor
func (*ListToolVersionsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListToolVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListToolVersionsRequest) GetPageSize
func (x *ListToolVersionsRequest) GetPageSize() int32func (*ListToolVersionsRequest) GetPageToken
func (x *ListToolVersionsRequest) GetPageToken() stringfunc (*ListToolVersionsRequest) GetParent
func (x *ListToolVersionsRequest) GetParent() stringfunc (*ListToolVersionsRequest) ProtoMessage
func (*ListToolVersionsRequest) ProtoMessage()func (*ListToolVersionsRequest) ProtoReflect
func (x *ListToolVersionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListToolVersionsRequest) Reset
func (x *ListToolVersionsRequest) Reset()func (*ListToolVersionsRequest) String
func (x *ListToolVersionsRequest) String() stringListToolVersionsResponse
type ListToolVersionsResponse struct {
// The list of tool versions. There will be a maximum number of items
// returned based on the page_size field in the request.
ToolVersions []*ToolVersion `protobuf:"bytes,1,rep,name=tool_versions,json=toolVersions,proto3" json:"tool_versions,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Tools.ListToolVersions][google.cloud.dialogflow.cx.v3.Tools.ListToolVersions].
func (*ListToolVersionsResponse) Descriptor
func (*ListToolVersionsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListToolVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListToolVersionsResponse) GetNextPageToken
func (x *ListToolVersionsResponse) GetNextPageToken() stringfunc (*ListToolVersionsResponse) GetToolVersions
func (x *ListToolVersionsResponse) GetToolVersions() []*ToolVersionfunc (*ListToolVersionsResponse) ProtoMessage
func (*ListToolVersionsResponse) ProtoMessage()func (*ListToolVersionsResponse) ProtoReflect
func (x *ListToolVersionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListToolVersionsResponse) Reset
func (x *ListToolVersionsResponse) Reset()func (*ListToolVersionsResponse) String
func (x *ListToolVersionsResponse) String() stringListToolsRequest
type ListToolsRequest struct {
// Required. The agent to list the Tools from.
// Format: `projects/The request message for [Tools.ListTools][google.cloud.dialogflow.cx.v3.Tools.ListTools].
func (*ListToolsRequest) Descriptor
func (*ListToolsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListToolsRequest.ProtoReflect.Descriptor instead.
func (*ListToolsRequest) GetPageSize
func (x *ListToolsRequest) GetPageSize() int32func (*ListToolsRequest) GetPageToken
func (x *ListToolsRequest) GetPageToken() stringfunc (*ListToolsRequest) GetParent
func (x *ListToolsRequest) GetParent() stringfunc (*ListToolsRequest) ProtoMessage
func (*ListToolsRequest) ProtoMessage()func (*ListToolsRequest) ProtoReflect
func (x *ListToolsRequest) ProtoReflect() protoreflect.Messagefunc (*ListToolsRequest) Reset
func (x *ListToolsRequest) Reset()func (*ListToolsRequest) String
func (x *ListToolsRequest) String() stringListToolsResponse
type ListToolsResponse struct {
// The list of Tools. There will be a maximum number of items returned
// based on the page_size field in the request.
Tools []*Tool `protobuf:"bytes,1,rep,name=tools,proto3" json:"tools,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Tools.ListTools][google.cloud.dialogflow.cx.v3.Tools.ListTools].
func (*ListToolsResponse) Descriptor
func (*ListToolsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListToolsResponse.ProtoReflect.Descriptor instead.
func (*ListToolsResponse) GetNextPageToken
func (x *ListToolsResponse) GetNextPageToken() stringfunc (*ListToolsResponse) GetTools
func (x *ListToolsResponse) GetTools() []*Toolfunc (*ListToolsResponse) ProtoMessage
func (*ListToolsResponse) ProtoMessage()func (*ListToolsResponse) ProtoReflect
func (x *ListToolsResponse) ProtoReflect() protoreflect.Messagefunc (*ListToolsResponse) Reset
func (x *ListToolsResponse) Reset()func (*ListToolsResponse) String
func (x *ListToolsResponse) String() stringListTransitionRouteGroupsRequest
type ListTransitionRouteGroupsRequest struct {
// Required. The flow to list all transition route groups for.
// Format:
// `projects/The request message for [TransitionRouteGroups.ListTransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups].
func (*ListTransitionRouteGroupsRequest) Descriptor
func (*ListTransitionRouteGroupsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListTransitionRouteGroupsRequest.ProtoReflect.Descriptor instead.
func (*ListTransitionRouteGroupsRequest) GetLanguageCode
func (x *ListTransitionRouteGroupsRequest) GetLanguageCode() stringfunc (*ListTransitionRouteGroupsRequest) GetPageSize
func (x *ListTransitionRouteGroupsRequest) GetPageSize() int32func (*ListTransitionRouteGroupsRequest) GetPageToken
func (x *ListTransitionRouteGroupsRequest) GetPageToken() stringfunc (*ListTransitionRouteGroupsRequest) GetParent
func (x *ListTransitionRouteGroupsRequest) GetParent() stringfunc (*ListTransitionRouteGroupsRequest) ProtoMessage
func (*ListTransitionRouteGroupsRequest) ProtoMessage()func (*ListTransitionRouteGroupsRequest) ProtoReflect
func (x *ListTransitionRouteGroupsRequest) ProtoReflect() protoreflect.Messagefunc (*ListTransitionRouteGroupsRequest) Reset
func (x *ListTransitionRouteGroupsRequest) Reset()func (*ListTransitionRouteGroupsRequest) String
func (x *ListTransitionRouteGroupsRequest) String() stringListTransitionRouteGroupsResponse
type ListTransitionRouteGroupsResponse struct {
// The list of transition route groups. There will be a maximum number of
// items returned based on the page_size field in the request. The list may in
// some cases be empty or contain fewer entries than page_size even if this
// isn't the last page.
TransitionRouteGroups []*TransitionRouteGroup `protobuf:"bytes,1,rep,name=transition_route_groups,json=transitionRouteGroups,proto3" json:"transition_route_groups,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [TransitionRouteGroups.ListTransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups].
func (*ListTransitionRouteGroupsResponse) Descriptor
func (*ListTransitionRouteGroupsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListTransitionRouteGroupsResponse.ProtoReflect.Descriptor instead.
func (*ListTransitionRouteGroupsResponse) GetNextPageToken
func (x *ListTransitionRouteGroupsResponse) GetNextPageToken() stringfunc (*ListTransitionRouteGroupsResponse) GetTransitionRouteGroups
func (x *ListTransitionRouteGroupsResponse) GetTransitionRouteGroups() []*TransitionRouteGroupfunc (*ListTransitionRouteGroupsResponse) ProtoMessage
func (*ListTransitionRouteGroupsResponse) ProtoMessage()func (*ListTransitionRouteGroupsResponse) ProtoReflect
func (x *ListTransitionRouteGroupsResponse) ProtoReflect() protoreflect.Messagefunc (*ListTransitionRouteGroupsResponse) Reset
func (x *ListTransitionRouteGroupsResponse) Reset()func (*ListTransitionRouteGroupsResponse) String
func (x *ListTransitionRouteGroupsResponse) String() stringListVersionsRequest
type ListVersionsRequest struct {
// Required. The [Flow][google.cloud.dialogflow.cx.v3.Flow] to list all
// versions for. Format:
// `projects/The request message for [Versions.ListVersions][google.cloud.dialogflow.cx.v3.Versions.ListVersions].
func (*ListVersionsRequest) Descriptor
func (*ListVersionsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListVersionsRequest) GetPageSize
func (x *ListVersionsRequest) GetPageSize() int32func (*ListVersionsRequest) GetPageToken
func (x *ListVersionsRequest) GetPageToken() stringfunc (*ListVersionsRequest) GetParent
func (x *ListVersionsRequest) GetParent() stringfunc (*ListVersionsRequest) ProtoMessage
func (*ListVersionsRequest) ProtoMessage()func (*ListVersionsRequest) ProtoReflect
func (x *ListVersionsRequest) ProtoReflect() protoreflect.Messagefunc (*ListVersionsRequest) Reset
func (x *ListVersionsRequest) Reset()func (*ListVersionsRequest) String
func (x *ListVersionsRequest) String() stringListVersionsResponse
type ListVersionsResponse struct {
// A list of versions. There will be a maximum number of items returned based
// on the page_size field in the request. The list may in some cases be empty
// or contain fewer entries than page_size even if this isn't the last page.
Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Versions.ListVersions][google.cloud.dialogflow.cx.v3.Versions.ListVersions].
func (*ListVersionsResponse) Descriptor
func (*ListVersionsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListVersionsResponse) GetNextPageToken
func (x *ListVersionsResponse) GetNextPageToken() stringfunc (*ListVersionsResponse) GetVersions
func (x *ListVersionsResponse) GetVersions() []*Versionfunc (*ListVersionsResponse) ProtoMessage
func (*ListVersionsResponse) ProtoMessage()func (*ListVersionsResponse) ProtoReflect
func (x *ListVersionsResponse) ProtoReflect() protoreflect.Messagefunc (*ListVersionsResponse) Reset
func (x *ListVersionsResponse) Reset()func (*ListVersionsResponse) String
func (x *ListVersionsResponse) String() stringListWebhooksRequest
type ListWebhooksRequest struct {
// Required. The agent to list all webhooks for.
// Format: `projects/The request message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks].
func (*ListWebhooksRequest) Descriptor
func (*ListWebhooksRequest) Descriptor() ([]byte, []int)Deprecated: Use ListWebhooksRequest.ProtoReflect.Descriptor instead.
func (*ListWebhooksRequest) GetPageSize
func (x *ListWebhooksRequest) GetPageSize() int32func (*ListWebhooksRequest) GetPageToken
func (x *ListWebhooksRequest) GetPageToken() stringfunc (*ListWebhooksRequest) GetParent
func (x *ListWebhooksRequest) GetParent() stringfunc (*ListWebhooksRequest) ProtoMessage
func (*ListWebhooksRequest) ProtoMessage()func (*ListWebhooksRequest) ProtoReflect
func (x *ListWebhooksRequest) ProtoReflect() protoreflect.Messagefunc (*ListWebhooksRequest) Reset
func (x *ListWebhooksRequest) Reset()func (*ListWebhooksRequest) String
func (x *ListWebhooksRequest) String() stringListWebhooksResponse
type ListWebhooksResponse struct {
// The list of webhooks. There will be a maximum number of items returned
// based on the page_size field in the request.
Webhooks []*Webhook `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks].
func (*ListWebhooksResponse) Descriptor
func (*ListWebhooksResponse) Descriptor() ([]byte, []int)Deprecated: Use ListWebhooksResponse.ProtoReflect.Descriptor instead.
func (*ListWebhooksResponse) GetNextPageToken
func (x *ListWebhooksResponse) GetNextPageToken() stringfunc (*ListWebhooksResponse) GetWebhooks
func (x *ListWebhooksResponse) GetWebhooks() []*Webhookfunc (*ListWebhooksResponse) ProtoMessage
func (*ListWebhooksResponse) ProtoMessage()func (*ListWebhooksResponse) ProtoReflect
func (x *ListWebhooksResponse) ProtoReflect() protoreflect.Messagefunc (*ListWebhooksResponse) Reset
func (x *ListWebhooksResponse) Reset()func (*ListWebhooksResponse) String
func (x *ListWebhooksResponse) String() stringLlmModelSettings
type LlmModelSettings struct {
// The selected LLM model.
Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
// The custom prompt to use.
PromptText string `protobuf:"bytes,2,opt,name=prompt_text,json=promptText,proto3" json:"prompt_text,omitempty"`
// contains filtered or unexported fields
}Settings for LLM models.
func (*LlmModelSettings) Descriptor
func (*LlmModelSettings) Descriptor() ([]byte, []int)Deprecated: Use LlmModelSettings.ProtoReflect.Descriptor instead.
func (*LlmModelSettings) GetModel
func (x *LlmModelSettings) GetModel() stringfunc (*LlmModelSettings) GetPromptText
func (x *LlmModelSettings) GetPromptText() stringfunc (*LlmModelSettings) ProtoMessage
func (*LlmModelSettings) ProtoMessage()func (*LlmModelSettings) ProtoReflect
func (x *LlmModelSettings) ProtoReflect() protoreflect.Messagefunc (*LlmModelSettings) Reset
func (x *LlmModelSettings) Reset()func (*LlmModelSettings) String
func (x *LlmModelSettings) String() stringLoadVersionRequest
type LoadVersionRequest struct {
// Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded
// to draft flow. Format:
// `projects/The request message for [Versions.LoadVersion][google.cloud.dialogflow.cx.v3.Versions.LoadVersion].
func (*LoadVersionRequest) Descriptor
func (*LoadVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use LoadVersionRequest.ProtoReflect.Descriptor instead.
func (*LoadVersionRequest) GetAllowOverrideAgentResources
func (x *LoadVersionRequest) GetAllowOverrideAgentResources() boolfunc (*LoadVersionRequest) GetName
func (x *LoadVersionRequest) GetName() stringfunc (*LoadVersionRequest) ProtoMessage
func (*LoadVersionRequest) ProtoMessage()func (*LoadVersionRequest) ProtoReflect
func (x *LoadVersionRequest) ProtoReflect() protoreflect.Messagefunc (*LoadVersionRequest) Reset
func (x *LoadVersionRequest) Reset()func (*LoadVersionRequest) String
func (x *LoadVersionRequest) String() stringLookupEnvironmentHistoryRequest
type LookupEnvironmentHistoryRequest struct {
// Required. Resource name of the environment to look up the history for.
// Format:
// `projects/The request message for [Environments.LookupEnvironmentHistory][google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory].
func (*LookupEnvironmentHistoryRequest) Descriptor
func (*LookupEnvironmentHistoryRequest) Descriptor() ([]byte, []int)Deprecated: Use LookupEnvironmentHistoryRequest.ProtoReflect.Descriptor instead.
func (*LookupEnvironmentHistoryRequest) GetName
func (x *LookupEnvironmentHistoryRequest) GetName() stringfunc (*LookupEnvironmentHistoryRequest) GetPageSize
func (x *LookupEnvironmentHistoryRequest) GetPageSize() int32func (*LookupEnvironmentHistoryRequest) GetPageToken
func (x *LookupEnvironmentHistoryRequest) GetPageToken() stringfunc (*LookupEnvironmentHistoryRequest) ProtoMessage
func (*LookupEnvironmentHistoryRequest) ProtoMessage()func (*LookupEnvironmentHistoryRequest) ProtoReflect
func (x *LookupEnvironmentHistoryRequest) ProtoReflect() protoreflect.Messagefunc (*LookupEnvironmentHistoryRequest) Reset
func (x *LookupEnvironmentHistoryRequest) Reset()func (*LookupEnvironmentHistoryRequest) String
func (x *LookupEnvironmentHistoryRequest) String() stringLookupEnvironmentHistoryResponse
type LookupEnvironmentHistoryResponse struct {
// Represents a list of snapshots for an environment. Time of the snapshots is
// stored in
// [`update_time`][google.cloud.dialogflow.cx.v3.Environment.update_time].
Environments []*Environment `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}The response message for [Environments.LookupEnvironmentHistory][google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory].
func (*LookupEnvironmentHistoryResponse) Descriptor
func (*LookupEnvironmentHistoryResponse) Descriptor() ([]byte, []int)Deprecated: Use LookupEnvironmentHistoryResponse.ProtoReflect.Descriptor instead.
func (*LookupEnvironmentHistoryResponse) GetEnvironments
func (x *LookupEnvironmentHistoryResponse) GetEnvironments() []*Environmentfunc (*LookupEnvironmentHistoryResponse) GetNextPageToken
func (x *LookupEnvironmentHistoryResponse) GetNextPageToken() stringfunc (*LookupEnvironmentHistoryResponse) ProtoMessage
func (*LookupEnvironmentHistoryResponse) ProtoMessage()func (*LookupEnvironmentHistoryResponse) ProtoReflect
func (x *LookupEnvironmentHistoryResponse) ProtoReflect() protoreflect.Messagefunc (*LookupEnvironmentHistoryResponse) Reset
func (x *LookupEnvironmentHistoryResponse) Reset()func (*LookupEnvironmentHistoryResponse) String
func (x *LookupEnvironmentHistoryResponse) String() stringMatch
type Match struct {
// The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query.
// Some, not all fields are filled in this message, including but not limited
// to: `name` and `display_name`. Only filled for
// [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type.
Intent *Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
// The event that matched the query. Filled for
// [`EVENT`][google.cloud.dialogflow.cx.v3.Match.MatchType],
// [`NO_MATCH`][google.cloud.dialogflow.cx.v3.Match.MatchType] and
// [`NO_INPUT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match types.
Event string `protobuf:"bytes,6,opt,name=event,proto3" json:"event,omitempty"`
// The collection of parameters extracted from the query.
//
// 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"`
// Final text input which was matched during MatchIntent. This value can be
// different from original input sent in request because of spelling
// correction or other processing.
ResolvedInput string `protobuf:"bytes,3,opt,name=resolved_input,json=resolvedInput,proto3" json:"resolved_input,omitempty"`
// Type of this [Match][google.cloud.dialogflow.cx.v3.Match].
MatchType Match_MatchType `protobuf:"varint,4,opt,name=match_type,json=matchType,proto3,enum=google.cloud.dialogflow.cx.v3.Match_MatchType" json:"match_type,omitempty"`
// The confidence of this match. Values range from 0.0 (completely uncertain)
// to 1.0 (completely certain).
// This value is for informational purpose only and is only used to help match
// the best intent within the classification threshold. This value may change
// for the same end-user expression at any time due to a model retraining or
// change in implementation.
Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"`
// contains filtered or unexported fields
}Represents one match result of [MatchIntent][].
func (*Match) Descriptor
Deprecated: Use Match.ProtoReflect.Descriptor instead.
func (*Match) GetConfidence
func (*Match) GetEvent
func (*Match) GetIntent
func (*Match) GetMatchType
func (x *Match) GetMatchType() Match_MatchTypefunc (*Match) GetParameters
func (*Match) GetResolvedInput
func (*Match) ProtoMessage
func (*Match) ProtoMessage()func (*Match) ProtoReflect
func (x *Match) ProtoReflect() protoreflect.Messagefunc (*Match) Reset
func (x *Match) Reset()func (*Match) String
MatchIntentRequest
type MatchIntentRequest struct {
// Required. The name of the session this query is sent to.
// Format:
// `projects/Request of [MatchIntent][].
func (*MatchIntentRequest) Descriptor
func (*MatchIntentRequest) Descriptor() ([]byte, []int)Deprecated: Use MatchIntentRequest.ProtoReflect.Descriptor instead.
func (*MatchIntentRequest) GetPersistParameterChanges
func (x *MatchIntentRequest) GetPersistParameterChanges() boolfunc (*MatchIntentRequest) GetQueryInput
func (x *MatchIntentRequest) GetQueryInput() *QueryInputfunc (*MatchIntentRequest) GetQueryParams
func (x *MatchIntentRequest) GetQueryParams() *QueryParametersfunc (*MatchIntentRequest) GetSession
func (x *MatchIntentRequest) GetSession() stringfunc (*MatchIntentRequest) ProtoMessage
func (*MatchIntentRequest) ProtoMessage()func (*MatchIntentRequest) ProtoReflect
func (x *MatchIntentRequest) ProtoReflect() protoreflect.Messagefunc (*MatchIntentRequest) Reset
func (x *MatchIntentRequest) Reset()func (*MatchIntentRequest) String
func (x *MatchIntentRequest) String() stringMatchIntentResponse
type MatchIntentResponse struct {
// The original conversational query.
//
// Types that are valid to be assigned to Query:
//
// *MatchIntentResponse_Text
// *MatchIntentResponse_TriggerIntent
// *MatchIntentResponse_Transcript
// *MatchIntentResponse_TriggerEvent
Query isMatchIntentResponse_Query `protobuf_oneof:"query"`
// Match results, if more than one, ordered descendingly by the confidence
// we have that the particular intent matches the query.
Matches []*Match `protobuf:"bytes,4,rep,name=matches,proto3" json:"matches,omitempty"`
// The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all
// fields are filled in this message, including but not limited to `name` and
// `display_name`.
CurrentPage *Page `protobuf:"bytes,5,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"`
// contains filtered or unexported fields
}Response of [MatchIntent][].
func (*MatchIntentResponse) Descriptor
func (*MatchIntentResponse) Descriptor() ([]byte, []int)Deprecated: Use MatchIntentResponse.ProtoReflect.Descriptor instead.
func (*MatchIntentResponse) GetCurrentPage
func (x *MatchIntentResponse) GetCurrentPage() *Pagefunc (*MatchIntentResponse) GetMatches
func (x *MatchIntentResponse) GetMatches() []*Matchfunc (*MatchIntentResponse) GetQuery
func (x *MatchIntentResponse) GetQuery() isMatchIntentResponse_Queryfunc (*MatchIntentResponse) GetText
func (x *MatchIntentResponse) GetText() stringfunc (*MatchIntentResponse) GetTranscript
func (x *MatchIntentResponse) GetTranscript() stringfunc (*MatchIntentResponse) GetTriggerEvent
func (x *MatchIntentResponse) GetTriggerEvent() stringfunc (*MatchIntentResponse) GetTriggerIntent
func (x *MatchIntentResponse) GetTriggerIntent() stringfunc (*MatchIntentResponse) ProtoMessage
func (*MatchIntentResponse) ProtoMessage()func (*MatchIntentResponse) ProtoReflect
func (x *MatchIntentResponse) ProtoReflect() protoreflect.Messagefunc (*MatchIntentResponse) Reset
func (x *MatchIntentResponse) Reset()func (*MatchIntentResponse) String
func (x *MatchIntentResponse) String() stringMatchIntentResponse_Text
type MatchIntentResponse_Text struct {
// If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
// provided as input, this field will contain a copy of the text.
Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}MatchIntentResponse_Transcript
type MatchIntentResponse_Transcript struct {
// If [natural language speech
// audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
// this field will contain the transcript for the audio.
Transcript string `protobuf:"bytes,3,opt,name=transcript,proto3,oneof"`
}MatchIntentResponse_TriggerEvent
type MatchIntentResponse_TriggerEvent struct {
// If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
// input, this field will contain a copy of the event name.
TriggerEvent string `protobuf:"bytes,6,opt,name=trigger_event,json=triggerEvent,proto3,oneof"`
}MatchIntentResponse_TriggerIntent
type MatchIntentResponse_TriggerIntent struct {
// If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
// input, this field will contain a copy of the intent identifier. Format:
// `projects/Match_MatchType
type Match_MatchType int32Type of a Match.
Match_MATCH_TYPE_UNSPECIFIED, Match_INTENT, Match_DIRECT_INTENT, Match_PARAMETER_FILLING, Match_NO_MATCH, Match_NO_INPUT, Match_EVENT, Match_KNOWLEDGE_CONNECTOR, Match_PLAYBOOK
const (
// Not specified. Should never be used.
Match_MATCH_TYPE_UNSPECIFIED Match_MatchType = 0
// The query was matched to an intent.
Match_INTENT Match_MatchType = 1
// The query directly triggered an intent.
Match_DIRECT_INTENT Match_MatchType = 2
// The query was used for parameter filling.
Match_PARAMETER_FILLING Match_MatchType = 3
// No match was found for the query.
Match_NO_MATCH Match_MatchType = 4
// Indicates an empty query.
Match_NO_INPUT Match_MatchType = 5
// The query directly triggered an event.
Match_EVENT Match_MatchType = 6
// The query was matched to a Knowledge Connector answer.
Match_KNOWLEDGE_CONNECTOR Match_MatchType = 8
// The query was handled by a
// [`Playbook`][google.cloud.dialogflow.cx.v3.Playbook].
Match_PLAYBOOK Match_MatchType = 9
)func (Match_MatchType) Descriptor
func (Match_MatchType) Descriptor() protoreflect.EnumDescriptorfunc (Match_MatchType) Enum
func (x Match_MatchType) Enum() *Match_MatchTypefunc (Match_MatchType) EnumDescriptor
func (Match_MatchType) EnumDescriptor() ([]byte, []int)Deprecated: Use Match_MatchType.Descriptor instead.
func (Match_MatchType) Number
func (x Match_MatchType) Number() protoreflect.EnumNumberfunc (Match_MatchType) String
func (x Match_MatchType) String() stringfunc (Match_MatchType) Type
func (Match_MatchType) Type() protoreflect.EnumTypeNluSettings
type NluSettings struct {
// Indicates the type of NLU model.
ModelType NluSettings_ModelType `protobuf:"varint,1,opt,name=model_type,json=modelType,proto3,enum=google.cloud.dialogflow.cx.v3.NluSettings_ModelType" json:"model_type,omitempty"`
// 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 no-match event 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. You can set a separate classification
// threshold for the flow in each language enabled for the agent.
ClassificationThreshold float32 `protobuf:"fixed32,3,opt,name=classification_threshold,json=classificationThreshold,proto3" json:"classification_threshold,omitempty"`
// Indicates NLU model training mode.
ModelTrainingMode NluSettings_ModelTrainingMode `protobuf:"varint,4,opt,name=model_training_mode,json=modelTrainingMode,proto3,enum=google.cloud.dialogflow.cx.v3.NluSettings_ModelTrainingMode" json:"model_training_mode,omitempty"`
// contains filtered or unexported fields
}Settings related to NLU.
func (*NluSettings) Descriptor
func (*NluSettings) Descriptor() ([]byte, []int)Deprecated: Use NluSettings.ProtoReflect.Descriptor instead.
func (*NluSettings) GetClassificationThreshold
func (x *NluSettings) GetClassificationThreshold() float32func (*NluSettings) GetModelTrainingMode
func (x *NluSettings) GetModelTrainingMode() NluSettings_ModelTrainingModefunc (*NluSettings) GetModelType
func (x *NluSettings) GetModelType() NluSettings_ModelTypefunc (*NluSettings) ProtoMessage
func (*NluSettings) ProtoMessage()func (*NluSettings) ProtoReflect
func (x *NluSettings) ProtoReflect() protoreflect.Messagefunc (*NluSettings) Reset
func (x *NluSettings) Reset()func (*NluSettings) String
func (x *NluSettings) String() stringNluSettings_ModelTrainingMode
type NluSettings_ModelTrainingMode int32NLU model training mode.
NluSettings_MODEL_TRAINING_MODE_UNSPECIFIED, NluSettings_MODEL_TRAINING_MODE_AUTOMATIC, NluSettings_MODEL_TRAINING_MODE_MANUAL
const (
// Not specified. `MODEL_TRAINING_MODE_AUTOMATIC` will be used.
NluSettings_MODEL_TRAINING_MODE_UNSPECIFIED NluSettings_ModelTrainingMode = 0
// NLU model training is automatically triggered when a flow gets modified.
// User can also manually trigger model training in this mode.
NluSettings_MODEL_TRAINING_MODE_AUTOMATIC NluSettings_ModelTrainingMode = 1
// User needs to manually trigger NLU model training. Best for large flows
// whose models take long time to train.
NluSettings_MODEL_TRAINING_MODE_MANUAL NluSettings_ModelTrainingMode = 2
)func (NluSettings_ModelTrainingMode) Descriptor
func (NluSettings_ModelTrainingMode) Descriptor() protoreflect.EnumDescriptorfunc (NluSettings_ModelTrainingMode) Enum
func (x NluSettings_ModelTrainingMode) Enum() *NluSettings_ModelTrainingModefunc (NluSettings_ModelTrainingMode) EnumDescriptor
func (NluSettings_ModelTrainingMode) EnumDescriptor() ([]byte, []int)Deprecated: Use NluSettings_ModelTrainingMode.Descriptor instead.
func (NluSettings_ModelTrainingMode) Number
func (x NluSettings_ModelTrainingMode) Number() protoreflect.EnumNumberfunc (NluSettings_ModelTrainingMode) String
func (x NluSettings_ModelTrainingMode) String() stringfunc (NluSettings_ModelTrainingMode) Type
func (NluSettings_ModelTrainingMode) Type() protoreflect.EnumTypeNluSettings_ModelType
type NluSettings_ModelType int32NLU model type.
NluSettings_MODEL_TYPE_UNSPECIFIED, NluSettings_MODEL_TYPE_STANDARD, NluSettings_MODEL_TYPE_ADVANCED
const (
// Not specified. `MODEL_TYPE_STANDARD` will be used.
NluSettings_MODEL_TYPE_UNSPECIFIED NluSettings_ModelType = 0
// Use standard NLU model.
NluSettings_MODEL_TYPE_STANDARD NluSettings_ModelType = 1
// Use advanced NLU model.
NluSettings_MODEL_TYPE_ADVANCED NluSettings_ModelType = 3
)func (NluSettings_ModelType) Descriptor
func (NluSettings_ModelType) Descriptor() protoreflect.EnumDescriptorfunc (NluSettings_ModelType) Enum
func (x NluSettings_ModelType) Enum() *NluSettings_ModelTypefunc (NluSettings_ModelType) EnumDescriptor
func (NluSettings_ModelType) EnumDescriptor() ([]byte, []int)Deprecated: Use NluSettings_ModelType.Descriptor instead.
func (NluSettings_ModelType) Number
func (x NluSettings_ModelType) Number() protoreflect.EnumNumberfunc (NluSettings_ModelType) String
func (x NluSettings_ModelType) String() stringfunc (NluSettings_ModelType) Type
func (NluSettings_ModelType) Type() protoreflect.EnumTypeOutputAudioConfig
type OutputAudioConfig struct {
// Required. Audio encoding of the synthesized audio content.
AudioEncoding OutputAudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.cx.v3.OutputAudioEncoding" json:"audio_encoding,omitempty"`
// Optional. The synthesis sample rate (in hertz) for this audio. If not
// provided, then the synthesizer will use the default sample rate based on
// the audio encoding. If this is different from the voice's natural sample
// rate, then the synthesizer will honor this request by converting to the
// desired sample rate (which might result in worse audio quality).
SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
// Optional. Configuration of how speech should be synthesized.
// If not specified,
// [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]
// is applied.
SynthesizeSpeechConfig *SynthesizeSpeechConfig `protobuf:"bytes,3,opt,name=synthesize_speech_config,json=synthesizeSpeechConfig,proto3" json:"synthesize_speech_config,omitempty"`
// contains filtered or unexported fields
}Instructs the speech synthesizer how to generate the output audio content.
func (*OutputAudioConfig) Descriptor
func (*OutputAudioConfig) Descriptor() ([]byte, []int)Deprecated: Use OutputAudioConfig.ProtoReflect.Descriptor instead.
func (*OutputAudioConfig) GetAudioEncoding
func (x *OutputAudioConfig) GetAudioEncoding() OutputAudioEncodingfunc (*OutputAudioConfig) GetSampleRateHertz
func (x *OutputAudioConfig) GetSampleRateHertz() int32func (*OutputAudioConfig) GetSynthesizeSpeechConfig
func (x *OutputAudioConfig) GetSynthesizeSpeechConfig() *SynthesizeSpeechConfigfunc (*OutputAudioConfig) ProtoMessage
func (*OutputAudioConfig) ProtoMessage()func (*OutputAudioConfig) ProtoReflect
func (x *OutputAudioConfig) ProtoReflect() protoreflect.Messagefunc (*OutputAudioConfig) Reset
func (x *OutputAudioConfig) Reset()func (*OutputAudioConfig) String
func (x *OutputAudioConfig) String() stringOutputAudioEncoding
type OutputAudioEncoding int32Audio encoding of the output audio format in Text-To-Speech.
OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_UNSPECIFIED, OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_LINEAR_16, OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3, OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3_64_KBPS, OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_OGG_OPUS, OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MULAW, OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_ALAW
const (
// Not specified.
OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_UNSPECIFIED OutputAudioEncoding = 0
// Uncompressed 16-bit signed little-endian samples (Linear PCM).
// Audio content returned as LINEAR16 also contains a WAV header.
// LINT: LEGACY_NAMES
OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_LINEAR_16 OutputAudioEncoding = 1
// MP3 audio at 64kbps.
//
// Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/audio_config.proto.
OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3 OutputAudioEncoding = 2
// MP3 audio at 64kbps.
// LINT: LEGACY_NAMES
OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3_64_KBPS OutputAudioEncoding = 4
// Opus encoded audio wrapped in an ogg container. The result will be a
// file which can be played natively on Android, and in browsers (at least
// Chrome and Firefox). The quality of the encoding is considerably higher
// than MP3 while using approximately the same bitrate.
OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_OGG_OPUS OutputAudioEncoding = 3
// 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.
OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MULAW OutputAudioEncoding = 5
// 8-bit samples that compand 13-bit audio samples using G.711 PCMU/a-law.
OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_ALAW OutputAudioEncoding = 6
)func (OutputAudioEncoding) Descriptor
func (OutputAudioEncoding) Descriptor() protoreflect.EnumDescriptorfunc (OutputAudioEncoding) Enum
func (x OutputAudioEncoding) Enum() *OutputAudioEncodingfunc (OutputAudioEncoding) EnumDescriptor
func (OutputAudioEncoding) EnumDescriptor() ([]byte, []int)Deprecated: Use OutputAudioEncoding.Descriptor instead.
func (OutputAudioEncoding) Number
func (x OutputAudioEncoding) Number() protoreflect.EnumNumberfunc (OutputAudioEncoding) String
func (x OutputAudioEncoding) String() stringfunc (OutputAudioEncoding) Type
func (OutputAudioEncoding) Type() protoreflect.EnumTypeOutputState
type OutputState int32Output state.
OutputState_OUTPUT_STATE_UNSPECIFIED, OutputState_OUTPUT_STATE_OK, OutputState_OUTPUT_STATE_CANCELLED, OutputState_OUTPUT_STATE_FAILED, OutputState_OUTPUT_STATE_ESCALATED, OutputState_OUTPUT_STATE_PENDING
const (
// Unspecified output.
OutputState_OUTPUT_STATE_UNSPECIFIED OutputState = 0
// Succeeded.
OutputState_OUTPUT_STATE_OK OutputState = 1
// Cancelled.
OutputState_OUTPUT_STATE_CANCELLED OutputState = 2
// Failed.
OutputState_OUTPUT_STATE_FAILED OutputState = 3
// Escalated.
OutputState_OUTPUT_STATE_ESCALATED OutputState = 4
// Pending.
OutputState_OUTPUT_STATE_PENDING OutputState = 5
)func (OutputState) Descriptor
func (OutputState) Descriptor() protoreflect.EnumDescriptorfunc (OutputState) Enum
func (x OutputState) Enum() *OutputStatefunc (OutputState) EnumDescriptor
func (OutputState) EnumDescriptor() ([]byte, []int)Deprecated: Use OutputState.Descriptor instead.
func (OutputState) Number
func (x OutputState) Number() protoreflect.EnumNumberfunc (OutputState) String
func (x OutputState) String() stringfunc (OutputState) Type
func (OutputState) Type() protoreflect.EnumTypePage
type Page struct {
// The unique identifier of the page.
// Required for the
// [Pages.UpdatePage][google.cloud.dialogflow.cx.v3.Pages.UpdatePage] method.
// [Pages.CreatePage][google.cloud.dialogflow.cx.v3.Pages.CreatePage]
// populates the name automatically.
// Format:
// `projects/A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages.
For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page.
You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page.
For more information, see the Page guide.
func (*Page) Descriptor
Deprecated: Use Page.ProtoReflect.Descriptor instead.
func (*Page) GetAdvancedSettings
func (x *Page) GetAdvancedSettings() *AdvancedSettingsfunc (*Page) GetDescription
func (*Page) GetDisplayName
func (*Page) GetEntryFulfillment
func (x *Page) GetEntryFulfillment() *Fulfillmentfunc (*Page) GetEventHandlers
func (x *Page) GetEventHandlers() []*EventHandlerfunc (*Page) GetForm
func (*Page) GetKnowledgeConnectorSettings
func (x *Page) GetKnowledgeConnectorSettings() *KnowledgeConnectorSettingsfunc (*Page) GetName
func (*Page) GetTransitionRouteGroups
func (*Page) GetTransitionRoutes
func (x *Page) GetTransitionRoutes() []*TransitionRoutefunc (*Page) ProtoMessage
func (*Page) ProtoMessage()func (*Page) ProtoReflect
func (x *Page) ProtoReflect() protoreflect.Messagefunc (*Page) Reset
func (x *Page) Reset()func (*Page) String
PageInfo
type PageInfo struct {
// Always present for
// [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for
// [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
// unique identifier of the current page. Format:
// `projects/Represents page information communicated to and from the webhook.
func (*PageInfo) Descriptor
Deprecated: Use PageInfo.ProtoReflect.Descriptor instead.
func (*PageInfo) GetCurrentPage
func (*PageInfo) GetDisplayName
func (*PageInfo) GetFormInfo
func (x *PageInfo) GetFormInfo() *PageInfo_FormInfofunc (*PageInfo) ProtoMessage
func (*PageInfo) ProtoMessage()func (*PageInfo) ProtoReflect
func (x *PageInfo) ProtoReflect() protoreflect.Messagefunc (*PageInfo) Reset
func (x *PageInfo) Reset()func (*PageInfo) String
PageInfo_FormInfo
type PageInfo_FormInfo struct {
// Optional for both
// [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and
// [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
// parameters contained in the form. Note that the webhook cannot add or
// remove any form parameter.
ParameterInfo []*PageInfo_FormInfo_ParameterInfo `protobuf:"bytes,2,rep,name=parameter_info,json=parameterInfo,proto3" json:"parameter_info,omitempty"`
// contains filtered or unexported fields
}Represents form information.
func (*PageInfo_FormInfo) Descriptor
func (*PageInfo_FormInfo) Descriptor() ([]byte, []int)Deprecated: Use PageInfo_FormInfo.ProtoReflect.Descriptor instead.
func (*PageInfo_FormInfo) GetParameterInfo
func (x *PageInfo_FormInfo) GetParameterInfo() []*PageInfo_FormInfo_ParameterInfofunc (*PageInfo_FormInfo) ProtoMessage
func (*PageInfo_FormInfo) ProtoMessage()func (*PageInfo_FormInfo) ProtoReflect
func (x *PageInfo_FormInfo) ProtoReflect() protoreflect.Messagefunc (*PageInfo_FormInfo) Reset
func (x *PageInfo_FormInfo) Reset()func (*PageInfo_FormInfo) String
func (x *PageInfo_FormInfo) String() stringPageInfo_FormInfo_ParameterInfo
type PageInfo_FormInfo_ParameterInfo struct {
// Always present for
// [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
// Required for
// [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
// The human-readable name of the parameter, unique within the form. This
// field cannot be modified by the webhook.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional for both
// [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and
// [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
// Indicates whether the parameter is required. Optional parameters will
// not trigger prompts; however, they are filled if the user specifies
// them. Required parameters must be filled before form filling concludes.
Required bool `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
// Always present for
// [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest].
// Required for
// [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
// state of the parameter. This field can be set to
// [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID]
// by the webhook to invalidate the parameter; other values set by the
// webhook will be ignored.
State PageInfo_FormInfo_ParameterInfo_ParameterState `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.dialogflow.cx.v3.PageInfo_FormInfo_ParameterInfo_ParameterState" json:"state,omitempty"`
// Optional for both
// [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and
// [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
// value of the parameter. This field can be set by the webhook to change
// the parameter value.
Value *structpb.Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
// Optional for
// [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored
// for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
// Indicates if the parameter value was just collected on the last
// conversation turn.
JustCollected bool `protobuf:"varint,5,opt,name=just_collected,json=justCollected,proto3" json:"just_collected,omitempty"`
// contains filtered or unexported fields
}Represents parameter information.
func (*PageInfo_FormInfo_ParameterInfo) Descriptor
func (*PageInfo_FormInfo_ParameterInfo) Descriptor() ([]byte, []int)Deprecated: Use PageInfo_FormInfo_ParameterInfo.ProtoReflect.Descriptor instead.
func (*PageInfo_FormInfo_ParameterInfo) GetDisplayName
func (x *PageInfo_FormInfo_ParameterInfo) GetDisplayName() stringfunc (*PageInfo_FormInfo_ParameterInfo) GetJustCollected
func (x *PageInfo_FormInfo_ParameterInfo) GetJustCollected() boolfunc (*PageInfo_FormInfo_ParameterInfo) GetRequired
func (x *PageInfo_FormInfo_ParameterInfo) GetRequired() boolfunc (*PageInfo_FormInfo_ParameterInfo) GetState
func (x *PageInfo_FormInfo_ParameterInfo) GetState() PageInfo_FormInfo_ParameterInfo_ParameterStatefunc (*PageInfo_FormInfo_ParameterInfo) GetValue
func (x *PageInfo_FormInfo_ParameterInfo) GetValue() *structpb.Valuefunc (*PageInfo_FormInfo_ParameterInfo) ProtoMessage
func (*PageInfo_FormInfo_ParameterInfo) ProtoMessage()func (*PageInfo_FormInfo_ParameterInfo) ProtoReflect
func (x *PageInfo_FormInfo_ParameterInfo) ProtoReflect() protoreflect.Messagefunc (*PageInfo_FormInfo_ParameterInfo) Reset
func (x *PageInfo_FormInfo_ParameterInfo) Reset()func (*PageInfo_FormInfo_ParameterInfo) String
func (x *PageInfo_FormInfo_ParameterInfo) String() stringPageInfo_FormInfo_ParameterInfo_ParameterState
type PageInfo_FormInfo_ParameterInfo_ParameterState int32Represents the state of a parameter.
PageInfo_FormInfo_ParameterInfo_PARAMETER_STATE_UNSPECIFIED, PageInfo_FormInfo_ParameterInfo_EMPTY, PageInfo_FormInfo_ParameterInfo_INVALID, PageInfo_FormInfo_ParameterInfo_FILLED
const (
// Not specified. This value should be never used.
PageInfo_FormInfo_ParameterInfo_PARAMETER_STATE_UNSPECIFIED PageInfo_FormInfo_ParameterInfo_ParameterState = 0
// Indicates that the parameter does not have a value.
PageInfo_FormInfo_ParameterInfo_EMPTY PageInfo_FormInfo_ParameterInfo_ParameterState = 1
// Indicates that the parameter value is invalid. This field can be used
// by the webhook to invalidate the parameter and ask the server to
// collect it from the user again.
PageInfo_FormInfo_ParameterInfo_INVALID PageInfo_FormInfo_ParameterInfo_ParameterState = 2
// Indicates that the parameter has a value.
PageInfo_FormInfo_ParameterInfo_FILLED PageInfo_FormInfo_ParameterInfo_ParameterState = 3
)func (PageInfo_FormInfo_ParameterInfo_ParameterState) Descriptor
func (PageInfo_FormInfo_ParameterInfo_ParameterState) Descriptor() protoreflect.EnumDescriptorfunc (PageInfo_FormInfo_ParameterInfo_ParameterState) Enum
func (x PageInfo_FormInfo_ParameterInfo_ParameterState) Enum() *PageInfo_FormInfo_ParameterInfo_ParameterStatefunc (PageInfo_FormInfo_ParameterInfo_ParameterState) EnumDescriptor
func (PageInfo_FormInfo_ParameterInfo_ParameterState) EnumDescriptor() ([]byte, []int)Deprecated: Use PageInfo_FormInfo_ParameterInfo_ParameterState.Descriptor instead.
func (PageInfo_FormInfo_ParameterInfo_ParameterState) Number
func (x PageInfo_FormInfo_ParameterInfo_ParameterState) Number() protoreflect.EnumNumberfunc (PageInfo_FormInfo_ParameterInfo_ParameterState) String
func (x PageInfo_FormInfo_ParameterInfo_ParameterState) String() stringfunc (PageInfo_FormInfo_ParameterInfo_ParameterState) Type
PagesClient
type PagesClient interface {
// Returns the list of all pages in the specified flow.
ListPages(ctx context.Context, in *ListPagesRequest, opts ...grpc.CallOption) (*ListPagesResponse, error)
// Retrieves the specified page.
GetPage(ctx context.Context, in *GetPageRequest, opts ...grpc.CallOption) (*Page, error)
// Creates a page in the specified flow.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
CreatePage(ctx context.Context, in *CreatePageRequest, opts ...grpc.CallOption) (*Page, error)
// Updates the specified page.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
UpdatePage(ctx context.Context, in *UpdatePageRequest, opts ...grpc.CallOption) (*Page, error)
// Deletes the specified page.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
DeletePage(ctx context.Context, in *DeletePageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}PagesClient is the client API for Pages 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 NewPagesClient
func NewPagesClient(cc grpc.ClientConnInterface) PagesClientPagesServer
type PagesServer interface {
// Returns the list of all pages in the specified flow.
ListPages(context.Context, *ListPagesRequest) (*ListPagesResponse, error)
// Retrieves the specified page.
GetPage(context.Context, *GetPageRequest) (*Page, error)
// Creates a page in the specified flow.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
CreatePage(context.Context, *CreatePageRequest) (*Page, error)
// Updates the specified page.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
UpdatePage(context.Context, *UpdatePageRequest) (*Page, error)
// Deletes the specified page.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
DeletePage(context.Context, *DeletePageRequest) (*emptypb.Empty, error)
}PagesServer is the server API for Pages service. All implementations should embed UnimplementedPagesServer for forward compatibility
ParameterDefinition
type ParameterDefinition struct {
// Required. Name of parameter.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Type of parameter.
//
// Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/parameter_definition.proto.
Type ParameterDefinition_ParameterType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.dialogflow.cx.v3.ParameterDefinition_ParameterType" json:"type,omitempty"`
// Optional. Type schema of parameter.
TypeSchema *TypeSchema `protobuf:"bytes,4,opt,name=type_schema,json=typeSchema,proto3" json:"type_schema,omitempty"`
// Human-readable description of the parameter. Limited to 300 characters.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}Defines the properties of a parameter. Used to define parameters used in the agent and the input / output parameters for each fulfillment.
func (*ParameterDefinition) Descriptor
func (*ParameterDefinition) Descriptor() ([]byte, []int)Deprecated: Use ParameterDefinition.ProtoReflect.Descriptor instead.
func (*ParameterDefinition) GetDescription
func (x *ParameterDefinition) GetDescription() stringfunc (*ParameterDefinition) GetName
func (x *ParameterDefinition) GetName() stringfunc (*ParameterDefinition) GetType
func (x *ParameterDefinition) GetType() ParameterDefinition_ParameterTypeDeprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/parameter_definition.proto.
func (*ParameterDefinition) GetTypeSchema
func (x *ParameterDefinition) GetTypeSchema() *TypeSchemafunc (*ParameterDefinition) ProtoMessage
func (*ParameterDefinition) ProtoMessage()func (*ParameterDefinition) ProtoReflect
func (x *ParameterDefinition) ProtoReflect() protoreflect.Messagefunc (*ParameterDefinition) Reset
func (x *ParameterDefinition) Reset()func (*ParameterDefinition) String
func (x *ParameterDefinition) String() stringParameterDefinition_ParameterType
type ParameterDefinition_ParameterType int32Parameter types are used for validation. These types are consistent with [google.protobuf.Value][google.protobuf.Value].
ParameterDefinition_PARAMETER_TYPE_UNSPECIFIED, ParameterDefinition_STRING, ParameterDefinition_NUMBER, ParameterDefinition_BOOLEAN, ParameterDefinition_NULL, ParameterDefinition_OBJECT, ParameterDefinition_LIST
const (
// Not specified. No validation will be performed.
ParameterDefinition_PARAMETER_TYPE_UNSPECIFIED ParameterDefinition_ParameterType = 0
// Represents any string value.
ParameterDefinition_STRING ParameterDefinition_ParameterType = 1
// Represents any number value.
ParameterDefinition_NUMBER ParameterDefinition_ParameterType = 2
// Represents a boolean value.
ParameterDefinition_BOOLEAN ParameterDefinition_ParameterType = 3
// Represents a null value.
ParameterDefinition_NULL ParameterDefinition_ParameterType = 4
// Represents any object value.
ParameterDefinition_OBJECT ParameterDefinition_ParameterType = 5
// Represents a repeated value.
ParameterDefinition_LIST ParameterDefinition_ParameterType = 6
)func (ParameterDefinition_ParameterType) Descriptor
func (ParameterDefinition_ParameterType) Descriptor() protoreflect.EnumDescriptorfunc (ParameterDefinition_ParameterType) Enum
func (x ParameterDefinition_ParameterType) Enum() *ParameterDefinition_ParameterTypefunc (ParameterDefinition_ParameterType) EnumDescriptor
func (ParameterDefinition_ParameterType) EnumDescriptor() ([]byte, []int)Deprecated: Use ParameterDefinition_ParameterType.Descriptor instead.
func (ParameterDefinition_ParameterType) Number
func (x ParameterDefinition_ParameterType) Number() protoreflect.EnumNumberfunc (ParameterDefinition_ParameterType) String
func (x ParameterDefinition_ParameterType) String() stringfunc (ParameterDefinition_ParameterType) Type
func (ParameterDefinition_ParameterType) Type() protoreflect.EnumTypePhrase
type Phrase struct {
// Required. Text input which can be used for prompt or banned phrases.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}Text input which can be used for prompt or banned phrases.
func (*Phrase) Descriptor
Deprecated: Use Phrase.ProtoReflect.Descriptor instead.
func (*Phrase) GetText
func (*Phrase) ProtoMessage
func (*Phrase) ProtoMessage()func (*Phrase) ProtoReflect
func (x *Phrase) ProtoReflect() protoreflect.Messagefunc (*Phrase) Reset
func (x *Phrase) Reset()func (*Phrase) String
Playbook
type Playbook struct {
// The unique identifier of the playbook.
// Format:
// `projects/Playbook is the basic building block to instruct the LLM how to execute a certain task.
A playbook consists of a goal to accomplish, an optional list of step by step instructions (the step instruction may refers to name of the custom or default plugin tools to use) to perform the task, a list of contextual input data to be passed in at the beginning of the invoked, and a list of output parameters to store the playbook result.
func (*Playbook) Descriptor
Deprecated: Use Playbook.ProtoReflect.Descriptor instead.
func (*Playbook) GetCodeBlock
func (*Playbook) GetCreateTime
func (x *Playbook) GetCreateTime() *timestamppb.Timestampfunc (*Playbook) GetDisplayName
func (*Playbook) GetGoal
func (*Playbook) GetHandlers
func (*Playbook) GetInlineActions
func (*Playbook) GetInputParameterDefinitions
func (x *Playbook) GetInputParameterDefinitions() []*ParameterDefinitionfunc (*Playbook) GetInstruction
func (x *Playbook) GetInstruction() *Playbook_Instructionfunc (*Playbook) GetLlmModelSettings
func (x *Playbook) GetLlmModelSettings() *LlmModelSettingsfunc (*Playbook) GetName
func (*Playbook) GetOutputParameterDefinitions
func (x *Playbook) GetOutputParameterDefinitions() []*ParameterDefinitionfunc (*Playbook) GetPlaybookType
func (x *Playbook) GetPlaybookType() Playbook_PlaybookTypefunc (*Playbook) GetReferencedFlows
func (*Playbook) GetReferencedPlaybooks
func (*Playbook) GetReferencedTools
func (*Playbook) GetTokenCount
func (*Playbook) GetUpdateTime
func (x *Playbook) GetUpdateTime() *timestamppb.Timestampfunc (*Playbook) ProtoMessage
func (*Playbook) ProtoMessage()func (*Playbook) ProtoReflect
func (x *Playbook) ProtoReflect() protoreflect.Messagefunc (*Playbook) Reset
func (x *Playbook) Reset()func (*Playbook) String
PlaybookImportStrategy
type PlaybookImportStrategy struct {
// Optional. Specifies the import strategy used when resolving conflicts with
// the main playbook. If not specified, 'CREATE_NEW' is assumed.
MainPlaybookImportStrategy ImportStrategy `protobuf:"varint,4,opt,name=main_playbook_import_strategy,json=mainPlaybookImportStrategy,proto3,enum=google.cloud.dialogflow.cx.v3.ImportStrategy" json:"main_playbook_import_strategy,omitempty"`
// Optional. Specifies the import strategy used when resolving referenced
// playbook/flow conflicts. If not specified, 'CREATE_NEW' is assumed.
NestedResourceImportStrategy ImportStrategy `protobuf:"varint,5,opt,name=nested_resource_import_strategy,json=nestedResourceImportStrategy,proto3,enum=google.cloud.dialogflow.cx.v3.ImportStrategy" json:"nested_resource_import_strategy,omitempty"`
// Optional. Specifies the import strategy used when resolving tool conflicts.
// If not specified, 'CREATE_NEW' is assumed. This will be applied after the
// main playbook and nested resource import strategies, meaning if the
// playbook that references the tool is skipped, the tool will also be
// skipped.
ToolImportStrategy ImportStrategy `protobuf:"varint,6,opt,name=tool_import_strategy,json=toolImportStrategy,proto3,enum=google.cloud.dialogflow.cx.v3.ImportStrategy" json:"tool_import_strategy,omitempty"`
// contains filtered or unexported fields
}The playbook import strategy used for resource conflict resolution associated with an [ImportPlaybookRequest][google.cloud.dialogflow.cx.v3.ImportPlaybookRequest].
func (*PlaybookImportStrategy) Descriptor
func (*PlaybookImportStrategy) Descriptor() ([]byte, []int)Deprecated: Use PlaybookImportStrategy.ProtoReflect.Descriptor instead.
func (*PlaybookImportStrategy) GetMainPlaybookImportStrategy
func (x *PlaybookImportStrategy) GetMainPlaybookImportStrategy() ImportStrategyfunc (*PlaybookImportStrategy) GetNestedResourceImportStrategy
func (x *PlaybookImportStrategy) GetNestedResourceImportStrategy() ImportStrategyfunc (*PlaybookImportStrategy) GetToolImportStrategy
func (x *PlaybookImportStrategy) GetToolImportStrategy() ImportStrategyfunc (*PlaybookImportStrategy) ProtoMessage
func (*PlaybookImportStrategy) ProtoMessage()func (*PlaybookImportStrategy) ProtoReflect
func (x *PlaybookImportStrategy) ProtoReflect() protoreflect.Messagefunc (*PlaybookImportStrategy) Reset
func (x *PlaybookImportStrategy) Reset()func (*PlaybookImportStrategy) String
func (x *PlaybookImportStrategy) String() stringPlaybookInput
type PlaybookInput struct {
// Optional. Summary string of the preceding conversation for the child
// playbook invocation.
PrecedingConversationSummary string `protobuf:"bytes,1,opt,name=preceding_conversation_summary,json=precedingConversationSummary,proto3" json:"preceding_conversation_summary,omitempty"`
// contains filtered or unexported fields
}Input of the playbook.
func (*PlaybookInput) Descriptor
func (*PlaybookInput) Descriptor() ([]byte, []int)Deprecated: Use PlaybookInput.ProtoReflect.Descriptor instead.
func (*PlaybookInput) GetPrecedingConversationSummary
func (x *PlaybookInput) GetPrecedingConversationSummary() stringfunc (*PlaybookInput) ProtoMessage
func (*PlaybookInput) ProtoMessage()func (*PlaybookInput) ProtoReflect
func (x *PlaybookInput) ProtoReflect() protoreflect.Messagefunc (*PlaybookInput) Reset
func (x *PlaybookInput) Reset()func (*PlaybookInput) String
func (x *PlaybookInput) String() stringPlaybookInvocation
type PlaybookInvocation struct {
// Required. The unique identifier of the playbook.
// Format:
// `projects/Stores metadata of the invocation of a child playbook.
func (*PlaybookInvocation) Descriptor
func (*PlaybookInvocation) Descriptor() ([]byte, []int)Deprecated: Use PlaybookInvocation.ProtoReflect.Descriptor instead.
func (*PlaybookInvocation) GetDisplayName
func (x *PlaybookInvocation) GetDisplayName() stringfunc (*PlaybookInvocation) GetPlaybook
func (x *PlaybookInvocation) GetPlaybook() stringfunc (*PlaybookInvocation) GetPlaybookInput
func (x *PlaybookInvocation) GetPlaybookInput() *PlaybookInputfunc (*PlaybookInvocation) GetPlaybookOutput
func (x *PlaybookInvocation) GetPlaybookOutput() *PlaybookOutputfunc (*PlaybookInvocation) GetPlaybookState
func (x *PlaybookInvocation) GetPlaybookState() OutputStatefunc (*PlaybookInvocation) ProtoMessage
func (*PlaybookInvocation) ProtoMessage()func (*PlaybookInvocation) ProtoReflect
func (x *PlaybookInvocation) ProtoReflect() protoreflect.Messagefunc (*PlaybookInvocation) Reset
func (x *PlaybookInvocation) Reset()func (*PlaybookInvocation) String
func (x *PlaybookInvocation) String() stringPlaybookOutput
type PlaybookOutput struct {
// Optional. Summary string of the execution result of the child playbook.
ExecutionSummary string `protobuf:"bytes,1,opt,name=execution_summary,json=executionSummary,proto3" json:"execution_summary,omitempty"`
// contains filtered or unexported fields
}Output of the playbook.
func (*PlaybookOutput) Descriptor
func (*PlaybookOutput) Descriptor() ([]byte, []int)Deprecated: Use PlaybookOutput.ProtoReflect.Descriptor instead.
func (*PlaybookOutput) GetExecutionSummary
func (x *PlaybookOutput) GetExecutionSummary() stringfunc (*PlaybookOutput) ProtoMessage
func (*PlaybookOutput) ProtoMessage()func (*PlaybookOutput) ProtoReflect
func (x *PlaybookOutput) ProtoReflect() protoreflect.Messagefunc (*PlaybookOutput) Reset
func (x *PlaybookOutput) Reset()func (*PlaybookOutput) String
func (x *PlaybookOutput) String() stringPlaybookTraceMetadata
type PlaybookTraceMetadata struct {
// Required. The unique identifier of the playbook.
// Format:
// `projects/Metadata of the playbook trace.
func (*PlaybookTraceMetadata) Descriptor
func (*PlaybookTraceMetadata) Descriptor() ([]byte, []int)Deprecated: Use PlaybookTraceMetadata.ProtoReflect.Descriptor instead.
func (*PlaybookTraceMetadata) GetDisplayName
func (x *PlaybookTraceMetadata) GetDisplayName() stringfunc (*PlaybookTraceMetadata) GetPlaybook
func (x *PlaybookTraceMetadata) GetPlaybook() stringfunc (*PlaybookTraceMetadata) ProtoMessage
func (*PlaybookTraceMetadata) ProtoMessage()func (*PlaybookTraceMetadata) ProtoReflect
func (x *PlaybookTraceMetadata) ProtoReflect() protoreflect.Messagefunc (*PlaybookTraceMetadata) Reset
func (x *PlaybookTraceMetadata) Reset()func (*PlaybookTraceMetadata) String
func (x *PlaybookTraceMetadata) String() stringPlaybookTransition
type PlaybookTransition struct {
// Required. The unique identifier of the playbook.
// Format:
// `projects/Stores metadata of the transition to another target playbook. Playbook transition actions exit the caller playbook and enter the target playbook.
func (*PlaybookTransition) Descriptor
func (*PlaybookTransition) Descriptor() ([]byte, []int)Deprecated: Use PlaybookTransition.ProtoReflect.Descriptor instead.
func (*PlaybookTransition) GetDisplayName
func (x *PlaybookTransition) GetDisplayName() stringfunc (*PlaybookTransition) GetPlaybook
func (x *PlaybookTransition) GetPlaybook() stringfunc (*PlaybookTransition) ProtoMessage
func (*PlaybookTransition) ProtoMessage()func (*PlaybookTransition) ProtoReflect
func (x *PlaybookTransition) ProtoReflect() protoreflect.Messagefunc (*PlaybookTransition) Reset
func (x *PlaybookTransition) Reset()func (*PlaybookTransition) String
func (x *PlaybookTransition) String() stringPlaybookVersion
type PlaybookVersion struct {
// The unique identifier of the playbook version.
// Format:
// `projects/Playbook version is a snapshot of the playbook at certain timestamp.
func (*PlaybookVersion) Descriptor
func (*PlaybookVersion) Descriptor() ([]byte, []int)Deprecated: Use PlaybookVersion.ProtoReflect.Descriptor instead.
func (*PlaybookVersion) GetDescription
func (x *PlaybookVersion) GetDescription() stringfunc (*PlaybookVersion) GetExamples
func (x *PlaybookVersion) GetExamples() []*Examplefunc (*PlaybookVersion) GetName
func (x *PlaybookVersion) GetName() stringfunc (*PlaybookVersion) GetPlaybook
func (x *PlaybookVersion) GetPlaybook() *Playbookfunc (*PlaybookVersion) GetUpdateTime
func (x *PlaybookVersion) GetUpdateTime() *timestamppb.Timestampfunc (*PlaybookVersion) ProtoMessage
func (*PlaybookVersion) ProtoMessage()func (*PlaybookVersion) ProtoReflect
func (x *PlaybookVersion) ProtoReflect() protoreflect.Messagefunc (*PlaybookVersion) Reset
func (x *PlaybookVersion) Reset()func (*PlaybookVersion) String
func (x *PlaybookVersion) String() stringPlaybook_Instruction
type Playbook_Instruction struct {
// General guidelines for the playbook. These are unstructured instructions
// that are not directly part of the goal, e.g. "Always be polite". It's
// valid for this text to be long and used instead of steps altogether.
Guidelines string `protobuf:"bytes,1,opt,name=guidelines,proto3" json:"guidelines,omitempty"`
// Ordered list of step by step execution instructions to accomplish
// target goal.
Steps []*Playbook_Step `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"`
// contains filtered or unexported fields
}Message of the Instruction of the playbook.
func (*Playbook_Instruction) Descriptor
func (*Playbook_Instruction) Descriptor() ([]byte, []int)Deprecated: Use Playbook_Instruction.ProtoReflect.Descriptor instead.
func (*Playbook_Instruction) GetGuidelines
func (x *Playbook_Instruction) GetGuidelines() stringfunc (*Playbook_Instruction) GetSteps
func (x *Playbook_Instruction) GetSteps() []*Playbook_Stepfunc (*Playbook_Instruction) ProtoMessage
func (*Playbook_Instruction) ProtoMessage()func (*Playbook_Instruction) ProtoReflect
func (x *Playbook_Instruction) ProtoReflect() protoreflect.Messagefunc (*Playbook_Instruction) Reset
func (x *Playbook_Instruction) Reset()func (*Playbook_Instruction) String
func (x *Playbook_Instruction) String() stringPlaybook_PlaybookType
type Playbook_PlaybookType int32Type of the playbook.
Playbook_PLAYBOOK_TYPE_UNSPECIFIED, Playbook_TASK, Playbook_ROUTINE
const (
// Unspecified type. Default to TASK.
Playbook_PLAYBOOK_TYPE_UNSPECIFIED Playbook_PlaybookType = 0
// Task playbook.
Playbook_TASK Playbook_PlaybookType = 1
// Routine playbook.
Playbook_ROUTINE Playbook_PlaybookType = 3
)func (Playbook_PlaybookType) Descriptor
func (Playbook_PlaybookType) Descriptor() protoreflect.EnumDescriptorfunc (Playbook_PlaybookType) Enum
func (x Playbook_PlaybookType) Enum() *Playbook_PlaybookTypefunc (Playbook_PlaybookType) EnumDescriptor
func (Playbook_PlaybookType) EnumDescriptor() ([]byte, []int)Deprecated: Use Playbook_PlaybookType.Descriptor instead.
func (Playbook_PlaybookType) Number
func (x Playbook_PlaybookType) Number() protoreflect.EnumNumberfunc (Playbook_PlaybookType) String
func (x Playbook_PlaybookType) String() stringfunc (Playbook_PlaybookType) Type
func (Playbook_PlaybookType) Type() protoreflect.EnumTypePlaybook_Step
type Playbook_Step struct {
// Instruction on how to execute current step.
//
// Types that are valid to be assigned to Instruction:
//
// *Playbook_Step_Text
Instruction isPlaybook_Step_Instruction `protobuf_oneof:"instruction"`
// Sub-processing needed to execute the current step.
Steps []*Playbook_Step `protobuf:"bytes,2,rep,name=steps,proto3" json:"steps,omitempty"`
// contains filtered or unexported fields
}Message of single step execution.
func (*Playbook_Step) Descriptor
func (*Playbook_Step) Descriptor() ([]byte, []int)Deprecated: Use Playbook_Step.ProtoReflect.Descriptor instead.
func (*Playbook_Step) GetInstruction
func (x *Playbook_Step) GetInstruction() isPlaybook_Step_Instructionfunc (*Playbook_Step) GetSteps
func (x *Playbook_Step) GetSteps() []*Playbook_Stepfunc (*Playbook_Step) GetText
func (x *Playbook_Step) GetText() stringfunc (*Playbook_Step) ProtoMessage
func (*Playbook_Step) ProtoMessage()func (*Playbook_Step) ProtoReflect
func (x *Playbook_Step) ProtoReflect() protoreflect.Messagefunc (*Playbook_Step) Reset
func (x *Playbook_Step) Reset()func (*Playbook_Step) String
func (x *Playbook_Step) String() stringPlaybook_Step_Text
type Playbook_Step_Text struct {
// Step instruction in text format.
Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}PlaybooksClient
type PlaybooksClient interface {
// Creates a playbook in a specified agent.
CreatePlaybook(ctx context.Context, in *CreatePlaybookRequest, opts ...grpc.CallOption) (*Playbook, error)
// Deletes a specified playbook.
DeletePlaybook(ctx context.Context, in *DeletePlaybookRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Returns a list of playbooks in the specified agent.
ListPlaybooks(ctx context.Context, in *ListPlaybooksRequest, opts ...grpc.CallOption) (*ListPlaybooksResponse, error)
// Retrieves the specified Playbook.
GetPlaybook(ctx context.Context, in *GetPlaybookRequest, opts ...grpc.CallOption) (*Playbook, error)
// Exports the specified playbook to a binary file.
//
// Note that resources (e.g. examples, tools) that the playbook
// references will also be exported.
ExportPlaybook(ctx context.Context, in *ExportPlaybookRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Imports the specified playbook to the specified agent from a binary file.
ImportPlaybook(ctx context.Context, in *ImportPlaybookRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the specified Playbook.
UpdatePlaybook(ctx context.Context, in *UpdatePlaybookRequest, opts ...grpc.CallOption) (*Playbook, error)
// Creates a version for the specified Playbook.
CreatePlaybookVersion(ctx context.Context, in *CreatePlaybookVersionRequest, opts ...grpc.CallOption) (*PlaybookVersion, error)
// Retrieves the specified version of the Playbook.
GetPlaybookVersion(ctx context.Context, in *GetPlaybookVersionRequest, opts ...grpc.CallOption) (*PlaybookVersion, error)
// Retrieves the specified version of the Playbook and stores it as the
// current playbook draft, returning the playbook with resources updated.
RestorePlaybookVersion(ctx context.Context, in *RestorePlaybookVersionRequest, opts ...grpc.CallOption) (*RestorePlaybookVersionResponse, error)
// Lists versions for the specified Playbook.
ListPlaybookVersions(ctx context.Context, in *ListPlaybookVersionsRequest, opts ...grpc.CallOption) (*ListPlaybookVersionsResponse, error)
// Deletes the specified version of the Playbook.
DeletePlaybookVersion(ctx context.Context, in *DeletePlaybookVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}PlaybooksClient is the client API for Playbooks 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 NewPlaybooksClient
func NewPlaybooksClient(cc grpc.ClientConnInterface) PlaybooksClientPlaybooksServer
type PlaybooksServer interface {
// Creates a playbook in a specified agent.
CreatePlaybook(context.Context, *CreatePlaybookRequest) (*Playbook, error)
// Deletes a specified playbook.
DeletePlaybook(context.Context, *DeletePlaybookRequest) (*emptypb.Empty, error)
// Returns a list of playbooks in the specified agent.
ListPlaybooks(context.Context, *ListPlaybooksRequest) (*ListPlaybooksResponse, error)
// Retrieves the specified Playbook.
GetPlaybook(context.Context, *GetPlaybookRequest) (*Playbook, error)
// Exports the specified playbook to a binary file.
//
// Note that resources (e.g. examples, tools) that the playbook
// references will also be exported.
ExportPlaybook(context.Context, *ExportPlaybookRequest) (*longrunningpb.Operation, error)
// Imports the specified playbook to the specified agent from a binary file.
ImportPlaybook(context.Context, *ImportPlaybookRequest) (*longrunningpb.Operation, error)
// Updates the specified Playbook.
UpdatePlaybook(context.Context, *UpdatePlaybookRequest) (*Playbook, error)
// Creates a version for the specified Playbook.
CreatePlaybookVersion(context.Context, *CreatePlaybookVersionRequest) (*PlaybookVersion, error)
// Retrieves the specified version of the Playbook.
GetPlaybookVersion(context.Context, *GetPlaybookVersionRequest) (*PlaybookVersion, error)
// Retrieves the specified version of the Playbook and stores it as the
// current playbook draft, returning the playbook with resources updated.
RestorePlaybookVersion(context.Context, *RestorePlaybookVersionRequest) (*RestorePlaybookVersionResponse, error)
// Lists versions for the specified Playbook.
ListPlaybookVersions(context.Context, *ListPlaybookVersionsRequest) (*ListPlaybookVersionsResponse, error)
// Deletes the specified version of the Playbook.
DeletePlaybookVersion(context.Context, *DeletePlaybookVersionRequest) (*emptypb.Empty, error)
}PlaybooksServer is the server API for Playbooks service. All implementations should embed UnimplementedPlaybooksServer for forward compatibility
QueryInput
type QueryInput struct {
// Required. The input specification.
//
// Types that are valid to be assigned to Input:
//
// *QueryInput_Text
// *QueryInput_Intent
// *QueryInput_Audio
// *QueryInput_Event
// *QueryInput_Dtmf
// *QueryInput_ToolCallResult
Input isQueryInput_Input `protobuf_oneof:"input"`
// Required. The language of the input. See [Language
// Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
// for a list of the currently supported language codes. Note that queries in
// the same session do not necessarily need to specify the same language.
LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// contains filtered or unexported fields
}Represents the query input. It can contain one of:
A conversational query in the form of text.
An intent query that specifies which intent to trigger.
Natural language speech audio to be processed.
An event to be triggered.
DTMF digits to invoke an intent and fill in parameter value.
The results of a tool executed by the client.
func (*QueryInput) Descriptor
func (*QueryInput) Descriptor() ([]byte, []int)Deprecated: Use QueryInput.ProtoReflect.Descriptor instead.
func (*QueryInput) GetAudio
func (x *QueryInput) GetAudio() *AudioInputfunc (*QueryInput) GetDtmf
func (x *QueryInput) GetDtmf() *DtmfInputfunc (*QueryInput) GetEvent
func (x *QueryInput) GetEvent() *EventInputfunc (*QueryInput) GetInput
func (x *QueryInput) GetInput() isQueryInput_Inputfunc (*QueryInput) GetIntent
func (x *QueryInput) GetIntent() *IntentInputfunc (*QueryInput) GetLanguageCode
func (x *QueryInput) GetLanguageCode() stringfunc (*QueryInput) GetText
func (x *QueryInput) GetText() *TextInputfunc (*QueryInput) GetToolCallResult
func (x *QueryInput) GetToolCallResult() *ToolCallResultfunc (*QueryInput) ProtoMessage
func (*QueryInput) ProtoMessage()func (*QueryInput) ProtoReflect
func (x *QueryInput) ProtoReflect() protoreflect.Messagefunc (*QueryInput) Reset
func (x *QueryInput) Reset()func (*QueryInput) String
func (x *QueryInput) String() stringQueryInput_Audio
type QueryInput_Audio struct {
// The natural language speech audio to be processed.
Audio *AudioInput `protobuf:"bytes,5,opt,name=audio,proto3,oneof"`
}QueryInput_Dtmf
type QueryInput_Dtmf struct {
// The DTMF event to be handled.
Dtmf *DtmfInput `protobuf:"bytes,7,opt,name=dtmf,proto3,oneof"`
}QueryInput_Event
type QueryInput_Event struct {
// The event to be triggered.
Event *EventInput `protobuf:"bytes,6,opt,name=event,proto3,oneof"`
}QueryInput_Intent
type QueryInput_Intent struct {
// The intent to be triggered.
Intent *IntentInput `protobuf:"bytes,3,opt,name=intent,proto3,oneof"`
}QueryInput_Text
type QueryInput_Text struct {
// The natural language text to be processed.
Text *TextInput `protobuf:"bytes,2,opt,name=text,proto3,oneof"`
}QueryInput_ToolCallResult
type QueryInput_ToolCallResult struct {
// The results of a tool executed by the client.
ToolCallResult *ToolCallResult `protobuf:"bytes,11,opt,name=tool_call_result,json=toolCallResult,proto3,oneof"`
}QueryParameters
type QueryParameters struct {
// The time zone of this conversational query from the [time zone
// database](https://www.iana.org/time-zones), e.g., America/New_York,
// Europe/Paris. If not provided, the time zone specified in the agent is
// used.
TimeZone string `protobuf:"bytes,1,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
// The geo location of this conversational query.
GeoLocation *latlng.LatLng `protobuf:"bytes,2,opt,name=geo_location,json=geoLocation,proto3" json:"geo_location,omitempty"`
// Additional session entity types to replace or extend developer entity types
// with. The entity synonyms apply to all languages and persist for the
// session of this query.
SessionEntityTypes []*SessionEntityType `protobuf:"bytes,3,rep,name=session_entity_types,json=sessionEntityTypes,proto3" json:"session_entity_types,omitempty"`
// This field can be used to pass custom data into the webhook associated with
// the agent. Arbitrary JSON objects are supported.
// Some integrations that query a Dialogflow agent may provide additional
// information in the payload.
// In particular, for the Dialogflow Phone Gateway integration, this field has
// the form:
// ```
//
// {
// "telephony": {
// "caller_id": "+18558363987"
// }
// }
//
// ```
Payload *structpb.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
// Additional parameters to be put into [session
// parameters][SessionInfo.parameters]. To remove a
// parameter from the session, clients should explicitly set the parameter
// value to null.
//
// You can reference the session parameters in the agent with the following
// format: $session.params.parameter-id.
//
// 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,5,opt,name=parameters,proto3" json:"parameters,omitempty"`
// Scope for the parameters. If not specified, parameters will be treated as
// session parameters. Parameters with custom scope will not be put into
// [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
//
// You can reference the parameters with custom scope in the agent with the
// following format: $parameter-scope.params.parameter-id.
ParameterScope string `protobuf:"bytes,12,opt,name=parameter_scope,json=parameterScope,proto3" json:"parameter_scope,omitempty"`
// The unique identifier of the [page][google.cloud.dialogflow.cx.v3.Page] to
// override the [current page][QueryResult.current_page] in the session.
// Format:
// `projects/Represents the parameters of a conversational query.
func (*QueryParameters) Descriptor
func (*QueryParameters) Descriptor() ([]byte, []int)Deprecated: Use QueryParameters.ProtoReflect.Descriptor instead.
func (*QueryParameters) GetAnalyzeQueryTextSentiment
func (x *QueryParameters) GetAnalyzeQueryTextSentiment() boolfunc (*QueryParameters) GetChannel
func (x *QueryParameters) GetChannel() stringfunc (*QueryParameters) GetCurrentPage
func (x *QueryParameters) GetCurrentPage() stringfunc (*QueryParameters) GetCurrentPlaybook
func (x *QueryParameters) GetCurrentPlaybook() stringfunc (*QueryParameters) GetDisableWebhook
func (x *QueryParameters) GetDisableWebhook() boolfunc (*QueryParameters) GetEndUserMetadata
func (x *QueryParameters) GetEndUserMetadata() *structpb.Structfunc (*QueryParameters) GetFlowVersions
func (x *QueryParameters) GetFlowVersions() []stringfunc (*QueryParameters) GetGeoLocation
func (x *QueryParameters) GetGeoLocation() *latlng.LatLngfunc (*QueryParameters) GetLlmModelSettings
func (x *QueryParameters) GetLlmModelSettings() *LlmModelSettingsfunc (*QueryParameters) GetParameterScope
func (x *QueryParameters) GetParameterScope() stringfunc (*QueryParameters) GetParameters
func (x *QueryParameters) GetParameters() *structpb.Structfunc (*QueryParameters) GetPayload
func (x *QueryParameters) GetPayload() *structpb.Structfunc (*QueryParameters) GetPopulateDataStoreConnectionSignals
func (x *QueryParameters) GetPopulateDataStoreConnectionSignals() boolDeprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/session.proto.
func (*QueryParameters) GetSearchConfig
func (x *QueryParameters) GetSearchConfig() *SearchConfigfunc (*QueryParameters) GetSessionEntityTypes
func (x *QueryParameters) GetSessionEntityTypes() []*SessionEntityTypefunc (*QueryParameters) GetSessionTtl
func (x *QueryParameters) GetSessionTtl() *durationpb.Durationfunc (*QueryParameters) GetTimeZone
func (x *QueryParameters) GetTimeZone() stringfunc (*QueryParameters) GetWebhookHeaders
func (x *QueryParameters) GetWebhookHeaders() map[string]stringfunc (*QueryParameters) ProtoMessage
func (*QueryParameters) ProtoMessage()func (*QueryParameters) ProtoReflect
func (x *QueryParameters) ProtoReflect() protoreflect.Messagefunc (*QueryParameters) Reset
func (x *QueryParameters) Reset()func (*QueryParameters) String
func (x *QueryParameters) String() stringQueryResult
type QueryResult struct {
// The original conversational query.
//
// Types that are valid to be assigned to Query:
//
// *QueryResult_Text
// *QueryResult_TriggerIntent
// *QueryResult_Transcript
// *QueryResult_TriggerEvent
// *QueryResult_Dtmf
Query isQueryResult_Query `protobuf_oneof:"query"`
// The language that was triggered during intent detection.
// See [Language
// Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
// for a list of the currently supported language codes.
LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// The collected [session
// parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
//
// Depending on your protocol or client library language, this is a
// map, associative array, symbol table, dictionary, or JSON object
// composed of a collection of (MapKey, MapValue) pairs:
//
// * MapKey type: string
// * MapKey value: parameter name
// * MapValue type: If parameter's entity type is a composite entity then use
// map, otherwise, depending on the parameter value type, it could be one of
// string, number, boolean, null, list or map.
// * MapValue value: If parameter's entity type is a composite entity then use
// map from composite entity property names to property values, otherwise,
// use parameter value.
Parameters *structpb.Struct `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty"`
// The list of rich messages returned to the client. Responses vary from
// simple text messages to more sophisticated, structured payloads used
// to drive complex logic.
ResponseMessages []*ResponseMessage `protobuf:"bytes,4,rep,name=response_messages,json=responseMessages,proto3" json:"response_messages,omitempty"`
// The list of webhook call status in the order of call sequence.
WebhookStatuses []*status.Status `protobuf:"bytes,13,rep,name=webhook_statuses,json=webhookStatuses,proto3" json:"webhook_statuses,omitempty"`
// The list of webhook payload in
// [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload],
// in the order of call sequence. If some webhook call fails or doesn't return
// any payload, an empty `Struct` would be used instead.
WebhookPayloads []*structpb.Struct `protobuf:"bytes,6,rep,name=webhook_payloads,json=webhookPayloads,proto3" json:"webhook_payloads,omitempty"`
// The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all
// fields are filled in this message, including but not limited to `name` and
// `display_name`.
CurrentPage *Page `protobuf:"bytes,7,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"`
// The current [Flow][google.cloud.dialogflow.cx.v3.Flow]. Some, not all
// fields are filled in this message, including but not limited to `name` and
// `display_name`.
CurrentFlow *Flow `protobuf:"bytes,31,opt,name=current_flow,json=currentFlow,proto3" json:"current_flow,omitempty"`
// The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the
// conversational query. Some, not all fields are filled in this message,
// including but not limited to: `name` and `display_name`. This field is
// deprecated, please use
// [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match]
// instead.
//
// Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/session.proto.
Intent *Intent `protobuf:"bytes,8,opt,name=intent,proto3" json:"intent,omitempty"`
// The intent detection confidence. Values range from 0.0 (completely
// uncertain) to 1.0 (completely certain).
// This value is for informational purpose only and is only used to
// help match the best intent within the classification threshold.
// This value may change for the same end-user expression at any time due to a
// model retraining or change in implementation.
// This field is deprecated, please use
// [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match]
// instead.
//
// Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/session.proto.
IntentDetectionConfidence float32 `protobuf:"fixed32,9,opt,name=intent_detection_confidence,json=intentDetectionConfidence,proto3" json:"intent_detection_confidence,omitempty"`
// Intent match result, could be an intent or an event.
Match *Match `protobuf:"bytes,15,opt,name=match,proto3" json:"match,omitempty"`
// The free-form diagnostic info. For example, this field could contain
// webhook call latency. The fields of this data can change without notice,
// so you should not write code that depends on its structure.
//
// One of the fields is called "Alternative Matched Intents", which may
// aid with debugging. The following describes these intent results:
//
// - The list is empty if no intent was matched to end-user input.
// - Only intents that are referenced in the currently active flow are
// included.
// - The matched intent is included.
// - Other intents that could have matched end-user input, but did not match
// because they are referenced by intent routes that are out of
// [scope](https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope),
// are included.
// - Other intents referenced by intent routes in scope that matched end-user
// input, but had a lower confidence score.
DiagnosticInfo *structpb.Struct `protobuf:"bytes,10,opt,name=diagnostic_info,json=diagnosticInfo,proto3" json:"diagnostic_info,omitempty"`
// The sentiment analyss result, which depends on
// [`analyze_query_text_sentiment`]
// [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment],
// specified in the request.
SentimentAnalysisResult *SentimentAnalysisResult `protobuf:"bytes,17,opt,name=sentiment_analysis_result,json=sentimentAnalysisResult,proto3" json:"sentiment_analysis_result,omitempty"`
// Returns the current advanced settings including IVR settings. Even though
// the operations configured by these settings are performed by Dialogflow,
// the client may need to perform special logic at the moment. For example, if
// Dialogflow exports audio to Google Cloud Storage, then the client may need
// to wait for the resulting object to appear in the bucket before proceeding.
AdvancedSettings *AdvancedSettings `protobuf:"bytes,21,opt,name=advanced_settings,json=advancedSettings,proto3" json:"advanced_settings,omitempty"`
// Indicates whether the Thumbs up/Thumbs down rating controls are need to be
// shown for the response in the Dialogflow Messenger widget.
AllowAnswerFeedback bool `protobuf:"varint,32,opt,name=allow_answer_feedback,json=allowAnswerFeedback,proto3" json:"allow_answer_feedback,omitempty"`
// Optional. Data store connection feature output signals.
// Filled only when data stores are involved in serving the query.
DataStoreConnectionSignals *DataStoreConnectionSignals `protobuf:"bytes,35,opt,name=data_store_connection_signals,json=dataStoreConnectionSignals,proto3" json:"data_store_connection_signals,omitempty"`
// Optional. Contains the sequence of trace blocks from the current
// conversation turn. Trace blocks are ordered chronologically and contain
// detailed traces of runtime behavior such as tool calls, LLM calls, flow and
// playbook invocations, agent utterances and user utterances.
TraceBlocks []*TraceBlock `protobuf:"bytes,37,rep,name=trace_blocks,json=traceBlocks,proto3" json:"trace_blocks,omitempty"`
// contains filtered or unexported fields
}Represents the result of a conversational query.
func (*QueryResult) Descriptor
func (*QueryResult) Descriptor() ([]byte, []int)Deprecated: Use QueryResult.ProtoReflect.Descriptor instead.
func (*QueryResult) GetAdvancedSettings
func (x *QueryResult) GetAdvancedSettings() *AdvancedSettingsfunc (*QueryResult) GetAllowAnswerFeedback
func (x *QueryResult) GetAllowAnswerFeedback() boolfunc (*QueryResult) GetCurrentFlow
func (x *QueryResult) GetCurrentFlow() *Flowfunc (*QueryResult) GetCurrentPage
func (x *QueryResult) GetCurrentPage() *Pagefunc (*QueryResult) GetDataStoreConnectionSignals
func (x *QueryResult) GetDataStoreConnectionSignals() *DataStoreConnectionSignalsfunc (*QueryResult) GetDiagnosticInfo
func (x *QueryResult) GetDiagnosticInfo() *structpb.Structfunc (*QueryResult) GetDtmf
func (x *QueryResult) GetDtmf() *DtmfInputfunc (*QueryResult) GetIntent
func (x *QueryResult) GetIntent() *IntentDeprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/session.proto.
func (*QueryResult) GetIntentDetectionConfidence
func (x *QueryResult) GetIntentDetectionConfidence() float32Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/session.proto.
func (*QueryResult) GetLanguageCode
func (x *QueryResult) GetLanguageCode() stringfunc (*QueryResult) GetMatch
func (x *QueryResult) GetMatch() *Matchfunc (*QueryResult) GetParameters
func (x *QueryResult) GetParameters() *structpb.Structfunc (*QueryResult) GetQuery
func (x *QueryResult) GetQuery() isQueryResult_Queryfunc (*QueryResult) GetResponseMessages
func (x *QueryResult) GetResponseMessages() []*ResponseMessagefunc (*QueryResult) GetSentimentAnalysisResult
func (x *QueryResult) GetSentimentAnalysisResult() *SentimentAnalysisResultfunc (*QueryResult) GetText
func (x *QueryResult) GetText() stringfunc (*QueryResult) GetTraceBlocks
func (x *QueryResult) GetTraceBlocks() []*TraceBlockfunc (*QueryResult) GetTranscript
func (x *QueryResult) GetTranscript() stringfunc (*QueryResult) GetTriggerEvent
func (x *QueryResult) GetTriggerEvent() stringfunc (*QueryResult) GetTriggerIntent
func (x *QueryResult) GetTriggerIntent() stringfunc (*QueryResult) GetWebhookPayloads
func (x *QueryResult) GetWebhookPayloads() []*structpb.Structfunc (*QueryResult) GetWebhookStatuses
func (x *QueryResult) GetWebhookStatuses() []*status.Statusfunc (*QueryResult) ProtoMessage
func (*QueryResult) ProtoMessage()func (*QueryResult) ProtoReflect
func (x *QueryResult) ProtoReflect() protoreflect.Messagefunc (*QueryResult) Reset
func (x *QueryResult) Reset()func (*QueryResult) String
func (x *QueryResult) String() stringQueryResult_Dtmf
type QueryResult_Dtmf struct {
// If a [DTMF][google.cloud.dialogflow.cx.v3.DtmfInput] was provided as
// input, this field will contain a copy of the
// [DtmfInput][google.cloud.dialogflow.cx.v3.DtmfInput].
Dtmf *DtmfInput `protobuf:"bytes,23,opt,name=dtmf,proto3,oneof"`
}QueryResult_Text
type QueryResult_Text struct {
// If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
// provided as input, this field will contain a copy of the text.
Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}QueryResult_Transcript
type QueryResult_Transcript struct {
// If [natural language speech
// audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
// this field will contain the transcript for the audio.
Transcript string `protobuf:"bytes,12,opt,name=transcript,proto3,oneof"`
}QueryResult_TriggerEvent
type QueryResult_TriggerEvent struct {
// If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
// input, this field will contain the name of the event.
TriggerEvent string `protobuf:"bytes,14,opt,name=trigger_event,json=triggerEvent,proto3,oneof"`
}QueryResult_TriggerIntent
type QueryResult_TriggerIntent struct {
// If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
// input, this field will contain a copy of the intent identifier. Format:
// `projects/ResourceName
type ResourceName struct {
// Name.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Display name.
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}Resource name and display name.
func (*ResourceName) Descriptor
func (*ResourceName) Descriptor() ([]byte, []int)Deprecated: Use ResourceName.ProtoReflect.Descriptor instead.
func (*ResourceName) GetDisplayName
func (x *ResourceName) GetDisplayName() stringfunc (*ResourceName) GetName
func (x *ResourceName) GetName() stringfunc (*ResourceName) ProtoMessage
func (*ResourceName) ProtoMessage()func (*ResourceName) ProtoReflect
func (x *ResourceName) ProtoReflect() protoreflect.Messagefunc (*ResourceName) Reset
func (x *ResourceName) Reset()func (*ResourceName) String
func (x *ResourceName) String() stringResponseMessage
type ResponseMessage struct {
// Required. The rich response message.
//
// Types that are valid to be assigned to Message:
//
// *ResponseMessage_Text_
// *ResponseMessage_Payload
// *ResponseMessage_ConversationSuccess_
// *ResponseMessage_OutputAudioText_
// *ResponseMessage_LiveAgentHandoff_
// *ResponseMessage_EndInteraction_
// *ResponseMessage_PlayAudio_
// *ResponseMessage_MixedAudio_
// *ResponseMessage_TelephonyTransferCall_
// *ResponseMessage_KnowledgeInfoCard_
// *ResponseMessage_ToolCall
Message isResponseMessage_Message `protobuf_oneof:"message"`
// Response type.
ResponseType ResponseMessage_ResponseType `protobuf:"varint,4,opt,name=response_type,json=responseType,proto3,enum=google.cloud.dialogflow.cx.v3.ResponseMessage_ResponseType" json:"response_type,omitempty"`
// The channel which the response is associated with. Clients can specify the
// channel via
// [QueryParameters.channel][google.cloud.dialogflow.cx.v3.QueryParameters.channel],
// and only associated channel response will be returned.
Channel string `protobuf:"bytes,19,opt,name=channel,proto3" json:"channel,omitempty"`
// contains filtered or unexported fields
}Represents a response message that can be returned by a conversational agent.
Response messages are also used for output audio synthesis. The approach is as follows:
- If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis.
- If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design.
- Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis.
This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.
func (*ResponseMessage) Descriptor
func (*ResponseMessage) Descriptor() ([]byte, []int)Deprecated: Use ResponseMessage.ProtoReflect.Descriptor instead.
func (*ResponseMessage) GetChannel
func (x *ResponseMessage) GetChannel() stringfunc (*ResponseMessage) GetConversationSuccess
func (x *ResponseMessage) GetConversationSuccess() *ResponseMessage_ConversationSuccessfunc (*ResponseMessage) GetEndInteraction
func (x *ResponseMessage) GetEndInteraction() *ResponseMessage_EndInteractionfunc (*ResponseMessage) GetKnowledgeInfoCard
func (x *ResponseMessage) GetKnowledgeInfoCard() *ResponseMessage_KnowledgeInfoCardfunc (*ResponseMessage) GetLiveAgentHandoff
func (x *ResponseMessage) GetLiveAgentHandoff() *ResponseMessage_LiveAgentHandofffunc (*ResponseMessage) GetMessage
func (x *ResponseMessage) GetMessage() isResponseMessage_Messagefunc (*ResponseMessage) GetMixedAudio
func (x *ResponseMessage) GetMixedAudio() *ResponseMessage_MixedAudiofunc (*ResponseMessage) GetOutputAudioText
func (x *ResponseMessage) GetOutputAudioText() *ResponseMessage_OutputAudioTextfunc (*ResponseMessage) GetPayload
func (x *ResponseMessage) GetPayload() *structpb.Structfunc (*ResponseMessage) GetPlayAudio
func (x *ResponseMessage) GetPlayAudio() *ResponseMessage_PlayAudiofunc (*ResponseMessage) GetResponseType
func (x *ResponseMessage) GetResponseType() ResponseMessage_ResponseTypefunc (*ResponseMessage) GetTelephonyTransferCall
func (x *ResponseMessage) GetTelephonyTransferCall() *ResponseMessage_TelephonyTransferCallfunc (*ResponseMessage) GetText
func (x *ResponseMessage) GetText() *ResponseMessage_Textfunc (*ResponseMessage) GetToolCall
func (x *ResponseMessage) GetToolCall() *ToolCallfunc (*ResponseMessage) ProtoMessage
func (*ResponseMessage) ProtoMessage()func (*ResponseMessage) ProtoReflect
func (x *ResponseMessage) ProtoReflect() protoreflect.Messagefunc (*ResponseMessage) Reset
func (x *ResponseMessage) Reset()func (*ResponseMessage) String
func (x *ResponseMessage) String() stringResponseMessage_ConversationSuccess
type ResponseMessage_ConversationSuccess struct {
// Custom metadata. Dialogflow doesn't impose any structure on this.
Metadata *structpb.Struct `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.
Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return [ConversationSuccess][google.cloud.dialogflow.cx.v3.ResponseMessage.ConversationSuccess].
You may set this, for example:
In the [entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] of a [Page][google.cloud.dialogflow.cx.v3.Page] if
entering the page indicates that the conversation succeeded. - In a webhook response when you determine that you handled the customer issue.
func (*ResponseMessage_ConversationSuccess) Descriptor
func (*ResponseMessage_ConversationSuccess) Descriptor() ([]byte, []int)Deprecated: Use ResponseMessage_ConversationSuccess.ProtoReflect.Descriptor instead.
func (*ResponseMessage_ConversationSuccess) GetMetadata
func (x *ResponseMessage_ConversationSuccess) GetMetadata() *structpb.Structfunc (*ResponseMessage_ConversationSuccess) ProtoMessage
func (*ResponseMessage_ConversationSuccess) ProtoMessage()func (*ResponseMessage_ConversationSuccess) ProtoReflect
func (x *ResponseMessage_ConversationSuccess) ProtoReflect() protoreflect.Messagefunc (*ResponseMessage_ConversationSuccess) Reset
func (x *ResponseMessage_ConversationSuccess) Reset()func (*ResponseMessage_ConversationSuccess) String
func (x *ResponseMessage_ConversationSuccess) String() stringResponseMessage_ConversationSuccess_
type ResponseMessage_ConversationSuccess_ struct {
// Indicates that the conversation succeeded.
ConversationSuccess *ResponseMessage_ConversationSuccess `protobuf:"bytes,9,opt,name=conversation_success,json=conversationSuccess,proto3,oneof"`
}ResponseMessage_EndInteraction
type ResponseMessage_EndInteraction struct {
// contains filtered or unexported fields
}Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user.
func (*ResponseMessage_EndInteraction) Descriptor
func (*ResponseMessage_EndInteraction) Descriptor() ([]byte, []int)Deprecated: Use ResponseMessage_EndInteraction.ProtoReflect.Descriptor instead.
func (*ResponseMessage_EndInteraction) ProtoMessage
func (*ResponseMessage_EndInteraction) ProtoMessage()func (*ResponseMessage_EndInteraction) ProtoReflect
func (x *ResponseMessage_EndInteraction) ProtoReflect() protoreflect.Messagefunc (*ResponseMessage_EndInteraction) Reset
func (x *ResponseMessage_EndInteraction) Reset()func (*ResponseMessage_EndInteraction) String
func (x *ResponseMessage_EndInteraction) String() stringResponseMessage_EndInteraction_
type ResponseMessage_EndInteraction_ struct {
// Output only. A signal that indicates the interaction with the Dialogflow
// agent has ended. This message is generated by Dialogflow only when the
// conversation reaches `END_SESSION` page. It is not supposed to be defined
// by the user.
//
// It's guaranteed that there is at most one such message in each response.
EndInteraction *ResponseMessage_EndInteraction `protobuf:"bytes,11,opt,name=end_interaction,json=endInteraction,proto3,oneof"`
}ResponseMessage_KnowledgeInfoCard
type ResponseMessage_KnowledgeInfoCard struct {
// contains filtered or unexported fields
}Represents info card response. If the response contains generative knowledge prediction, Dialogflow will return a payload with Infobot Messenger compatible info card.
Otherwise, the info card response is skipped.
func (*ResponseMessage_KnowledgeInfoCard) Descriptor
func (*ResponseMessage_KnowledgeInfoCard) Descriptor() ([]byte, []int)Deprecated: Use ResponseMessage_KnowledgeInfoCard.ProtoReflect.Descriptor instead.
func (*ResponseMessage_KnowledgeInfoCard) ProtoMessage
func (*ResponseMessage_KnowledgeInfoCard) ProtoMessage()func (*ResponseMessage_KnowledgeInfoCard) ProtoReflect
func (x *ResponseMessage_KnowledgeInfoCard) ProtoReflect() protoreflect.Messagefunc (*ResponseMessage_KnowledgeInfoCard) Reset
func (x *ResponseMessage_KnowledgeInfoCard) Reset()func (*ResponseMessage_KnowledgeInfoCard) String
func (x *ResponseMessage_KnowledgeInfoCard) String() stringResponseMessage_KnowledgeInfoCard_
type ResponseMessage_KnowledgeInfoCard_ struct {
// Represents info card for knowledge answers, to be better rendered in
// Dialogflow Messenger.
KnowledgeInfoCard *ResponseMessage_KnowledgeInfoCard `protobuf:"bytes,20,opt,name=knowledge_info_card,json=knowledgeInfoCard,proto3,oneof"`
}ResponseMessage_LiveAgentHandoff
type ResponseMessage_LiveAgentHandoff struct {
// Custom metadata for your handoff procedure. Dialogflow doesn't impose
// any structure on this.
Metadata *structpb.Struct `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}Indicates that the conversation should be handed off to a live agent.
Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.
You may set this, for example:
In the [entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] of a [Page][google.cloud.dialogflow.cx.v3.Page] if
entering the page indicates something went extremely wrong in the conversation. - In a webhook response when you determine that the customer issue can only be handled by a human.
func (*ResponseMessage_LiveAgentHandoff) Descriptor
func (*ResponseMessage_LiveAgentHandoff) Descriptor() ([]byte, []int)Deprecated: Use ResponseMessage_LiveAgentHandoff.ProtoReflect.Descriptor instead.
func (*ResponseMessage_LiveAgentHandoff) GetMetadata
func (x *ResponseMessage_LiveAgentHandoff) GetMetadata() *structpb.Structfunc (*ResponseMessage_LiveAgentHandoff) ProtoMessage
func (*ResponseMessage_LiveAgentHandoff) ProtoMessage()func (*ResponseMessage_LiveAgentHandoff) ProtoReflect
func (x *ResponseMessage_LiveAgentHandoff) ProtoReflect() protoreflect.Messagefunc (*ResponseMessage_LiveAgentHandoff) Reset
func (x *ResponseMessage_LiveAgentHandoff) Reset()func (*ResponseMessage_LiveAgentHandoff) String
func (x *ResponseMessage_LiveAgentHandoff) String() stringResponseMessage_LiveAgentHandoff_
type ResponseMessage_LiveAgentHandoff_ struct {
// Hands off conversation to a human agent.
LiveAgentHandoff *ResponseMessage_LiveAgentHandoff `protobuf:"bytes,10,opt,name=live_agent_handoff,json=liveAgentHandoff,proto3,oneof"`
}ResponseMessage_MixedAudio
type ResponseMessage_MixedAudio struct {
// Segments this audio response is composed of.
Segments []*ResponseMessage_MixedAudio_Segment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"`
// contains filtered or unexported fields
}Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via [play_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.play_audio]. This message is generated by Dialogflow only and not supposed to be defined by the user.
func (*ResponseMessage_MixedAudio) Descriptor
func (*ResponseMessage_MixedAudio) Descriptor() ([]byte, []int)Deprecated: Use ResponseMessage_MixedAudio.ProtoReflect.Descriptor instead.
func (*ResponseMessage_MixedAudio) GetSegments
func (x *ResponseMessage_MixedAudio) GetSegments() []*ResponseMessage_MixedAudio_Segmentfunc (*ResponseMessage_MixedAudio) ProtoMessage
func (*ResponseMessage_MixedAudio) ProtoMessage()func (*ResponseMessage_MixedAudio) ProtoReflect
func (x *ResponseMessage_MixedAudio) ProtoReflect() protoreflect.Messagefunc (*ResponseMessage_MixedAudio) Reset
func (x *ResponseMessage_MixedAudio) Reset()func (*ResponseMessage_MixedAudio) String
func (x *ResponseMessage_MixedAudio) String() stringResponseMessage_MixedAudio_
type ResponseMessage_MixedAudio_ struct {
// Output only. An audio response message composed of both the synthesized
// Dialogflow agent responses and responses defined via
// [play_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.play_audio].
// This message is generated by Dialogflow only and not supposed to be
// defined by the user.
MixedAudio *ResponseMessage_MixedAudio `protobuf:"bytes,13,opt,name=mixed_audio,json=mixedAudio,proto3,oneof"`
}ResponseMessage_MixedAudio_Segment
type ResponseMessage_MixedAudio_Segment struct {
// Content of the segment.
//
// Types that are valid to be assigned to Content:
//
// *ResponseMessage_MixedAudio_Segment_Audio
// *ResponseMessage_MixedAudio_Segment_Uri
Content isResponseMessage_MixedAudio_Segment_Content `protobuf_oneof:"content"`
// Output only. Whether the playback of this segment can be interrupted by
// the end user's speech and the client should then start the next
// Dialogflow request.
AllowPlaybackInterruption bool `protobuf:"varint,3,opt,name=allow_playback_interruption,json=allowPlaybackInterruption,proto3" json:"allow_playback_interruption,omitempty"`
// contains filtered or unexported fields
}Represents one segment of audio.
func (*ResponseMessage_MixedAudio_Segment) Descriptor
func (*ResponseMessage_MixedAudio_Segment) Descriptor() ([]byte, []int)Deprecated: Use ResponseMessage_MixedAudio_Segment.ProtoReflect.Descriptor instead.
func (*ResponseMessage_MixedAudio_Segment) GetAllowPlaybackInterruption
func (x *ResponseMessage_MixedAudio_Segment) GetAllowPlaybackInterruption() boolfunc (*ResponseMessage_MixedAudio_Segment) GetAudio
func (x *ResponseMessage_MixedAudio_Segment) GetAudio() []bytefunc (*ResponseMessage_MixedAudio_Segment) GetContent
func (x *ResponseMessage_MixedAudio_Segment) GetContent() isResponseMessage_MixedAudio_Segment_Contentfunc (*ResponseMessage_MixedAudio_Segment) GetUri
func (x *ResponseMessage_MixedAudio_Segment) GetUri() stringfunc (*ResponseMessage_MixedAudio_Segment) ProtoMessage
func (*ResponseMessage_MixedAudio_Segment) ProtoMessage()func (*ResponseMessage_MixedAudio_Segment) ProtoReflect
func (x *ResponseMessage_MixedAudio_Segment) ProtoReflect() protoreflect.Messagefunc (*ResponseMessage_MixedAudio_Segment) Reset
func (x *ResponseMessage_MixedAudio_Segment) Reset()func (*ResponseMessage_MixedAudio_Segment) String
func (x *ResponseMessage_MixedAudio_Segment) String() stringResponseMessage_MixedAudio_Segment_Audio
type ResponseMessage_MixedAudio_Segment_Audio struct {
// Raw audio synthesized from the Dialogflow agent's response using
// the output config specified in the request.
Audio []byte `protobuf:"bytes,1,opt,name=audio,proto3,oneof"`
}ResponseMessage_MixedAudio_Segment_Uri
type ResponseMessage_MixedAudio_Segment_Uri struct {
// Client-specific URI that points to an audio clip accessible to the
// client. Dialogflow does not impose any validation on it.
Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"`
}ResponseMessage_OutputAudioText
type ResponseMessage_OutputAudioText struct {
// The source, which is either plain text or SSML.
//
// Types that are valid to be assigned to Source:
//
// *ResponseMessage_OutputAudioText_Text
// *ResponseMessage_OutputAudioText_Ssml
Source isResponseMessage_OutputAudioText_Source `protobuf_oneof:"source"`
// Output only. Whether the playback of this message can be interrupted by
// the end user's speech and the client can then starts the next Dialogflow
// request.
AllowPlaybackInterruption bool `protobuf:"varint,3,opt,name=allow_playback_interruption,json=allowPlaybackInterruption,proto3" json:"allow_playback_interruption,omitempty"`
// contains filtered or unexported fields
}A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
func (*ResponseMessage_OutputAudioText) Descriptor
func (*ResponseMessage_OutputAudioText) Descriptor() ([]byte, []int)Deprecated: Use ResponseMessage_OutputAudioText.ProtoReflect.Descriptor instead.
func (*ResponseMessage_OutputAudioText) GetAllowPlaybackInterruption
func (x *ResponseMessage_OutputAudioText) GetAllowPlaybackInterruption() boolfunc (*ResponseMessage_OutputAudioText) GetSource
func (x *ResponseMessage_OutputAudioText) GetSource() isResponseMessage_OutputAudioText_Sourcefunc (*ResponseMessage_OutputAudioText) GetSsml
func (x *ResponseMessage_OutputAudioText) GetSsml() stringfunc (*ResponseMessage_OutputAudioText) GetText
func (x *ResponseMessage_OutputAudioText) GetText() stringfunc (*ResponseMessage_OutputAudioText) ProtoMessage
func (*ResponseMessage_OutputAudioText) ProtoMessage()func (*ResponseMessage_OutputAudioText) ProtoReflect
func (x *ResponseMessage_OutputAudioText) ProtoReflect() protoreflect.Messagefunc (*ResponseMessage_OutputAudioText) Reset
func (x *ResponseMessage_OutputAudioText) Reset()func (*ResponseMessage_OutputAudioText) String
func (x *ResponseMessage_OutputAudioText) String() stringResponseMessage_OutputAudioText_
type ResponseMessage_OutputAudioText_ struct {
// A text or ssml response that is preferentially used for TTS output audio
// synthesis, as described in the comment on the ResponseMessage message.
OutputAudioText *ResponseMessage_OutputAudioText `protobuf:"bytes,8,opt,name=output_audio_text,json=outputAudioText,proto3,oneof"`
}ResponseMessage_OutputAudioText_Ssml
type ResponseMessage_OutputAudioText_Ssml struct {
// The SSML text to be synthesized. For more information, see
// [SSML](/speech/text-to-speech/docs/ssml).
Ssml string `protobuf:"bytes,2,opt,name=ssml,proto3,oneof"`
}ResponseMessage_OutputAudioText_Text
type ResponseMessage_OutputAudioText_Text struct {
// The raw text to be synthesized.
Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}ResponseMessage_Payload
type ResponseMessage_Payload struct {
// Returns a response containing a custom, platform-specific payload.
Payload *structpb.Struct `protobuf:"bytes,2,opt,name=payload,proto3,oneof"`
}ResponseMessage_PlayAudio
type ResponseMessage_PlayAudio struct {
// Required. URI of the audio clip. Dialogflow does not impose any
// validation on this value. It is specific to the client that reads it.
AudioUri string `protobuf:"bytes,1,opt,name=audio_uri,json=audioUri,proto3" json:"audio_uri,omitempty"`
// Output only. Whether the playback of this message can be interrupted by
// the end user's speech and the client can then starts the next Dialogflow
// request.
AllowPlaybackInterruption bool `protobuf:"varint,2,opt,name=allow_playback_interruption,json=allowPlaybackInterruption,proto3" json:"allow_playback_interruption,omitempty"`
// contains filtered or unexported fields
}Specifies an audio clip to be played by the client as part of the response.
func (*ResponseMessage_PlayAudio) Descriptor
func (*ResponseMessage_PlayAudio) Descriptor() ([]byte, []int)Deprecated: Use ResponseMessage_PlayAudio.ProtoReflect.Descriptor instead.
func (*ResponseMessage_PlayAudio) GetAllowPlaybackInterruption
func (x *ResponseMessage_PlayAudio) GetAllowPlaybackInterruption() boolfunc (*ResponseMessage_PlayAudio) GetAudioUri
func (x *ResponseMessage_PlayAudio) GetAudioUri() stringfunc (*ResponseMessage_PlayAudio) ProtoMessage
func (*ResponseMessage_PlayAudio) ProtoMessage()func (*ResponseMessage_PlayAudio) ProtoReflect
func (x *ResponseMessage_PlayAudio) ProtoReflect() protoreflect.Messagefunc (*ResponseMessage_PlayAudio) Reset
func (x *ResponseMessage_PlayAudio) Reset()func (*ResponseMessage_PlayAudio) String
func (x *ResponseMessage_PlayAudio) String() stringResponseMessage_PlayAudio_
type ResponseMessage_PlayAudio_ struct {
// Signal that the client should play an audio clip hosted at a
// client-specific URI. Dialogflow uses this to construct
// [mixed_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.mixed_audio].
// However, Dialogflow itself does not try to read or process the URI in any
// way.
PlayAudio *ResponseMessage_PlayAudio `protobuf:"bytes,12,opt,name=play_audio,json=playAudio,proto3,oneof"`
}ResponseMessage_ResponseType
type ResponseMessage_ResponseType int32Represents different response types.
ResponseMessage_RESPONSE_TYPE_UNSPECIFIED, ResponseMessage_ENTRY_PROMPT, ResponseMessage_PARAMETER_PROMPT, ResponseMessage_HANDLER_PROMPT
const (
// Not specified.
ResponseMessage_RESPONSE_TYPE_UNSPECIFIED ResponseMessage_ResponseType = 0
// The response is from an [entry
// prompt][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] in the
// page.
ResponseMessage_ENTRY_PROMPT ResponseMessage_ResponseType = 1
// The response is from [form-filling
// prompt][google.cloud.dialogflow.cx.v3.Form.Parameter.fill_behavior] in
// the page.
ResponseMessage_PARAMETER_PROMPT ResponseMessage_ResponseType = 2
// The response is from a [transition
// route][google.cloud.dialogflow.cx.v3.TransitionRoute] or an [event
// handler][EventHandler] in the page or flow or transition route group.
ResponseMessage_HANDLER_PROMPT ResponseMessage_ResponseType = 3
)func (ResponseMessage_ResponseType) Descriptor
func (ResponseMessage_ResponseType) Descriptor() protoreflect.EnumDescriptorfunc (ResponseMessage_ResponseType) Enum
func (x ResponseMessage_ResponseType) Enum() *ResponseMessage_ResponseTypefunc (ResponseMessage_ResponseType) EnumDescriptor
func (ResponseMessage_ResponseType) EnumDescriptor() ([]byte, []int)Deprecated: Use ResponseMessage_ResponseType.Descriptor instead.
func (ResponseMessage_ResponseType) Number
func (x ResponseMessage_ResponseType) Number() protoreflect.EnumNumberfunc (ResponseMessage_ResponseType) String
func (x ResponseMessage_ResponseType) String() stringfunc (ResponseMessage_ResponseType) Type
func (ResponseMessage_ResponseType) Type() protoreflect.EnumTypeResponseMessage_TelephonyTransferCall
type ResponseMessage_TelephonyTransferCall struct {
// Endpoint to transfer the call to.
//
// Types that are valid to be assigned to Endpoint:
//
// *ResponseMessage_TelephonyTransferCall_PhoneNumber
Endpoint isResponseMessage_TelephonyTransferCall_Endpoint `protobuf_oneof:"endpoint"`
// contains filtered or unexported fields
}Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.
func (*ResponseMessage_TelephonyTransferCall) Descriptor
func (*ResponseMessage_TelephonyTransferCall) Descriptor() ([]byte, []int)Deprecated: Use ResponseMessage_TelephonyTransferCall.ProtoReflect.Descriptor instead.
func (*ResponseMessage_TelephonyTransferCall) GetEndpoint
func (x *ResponseMessage_TelephonyTransferCall) GetEndpoint() isResponseMessage_TelephonyTransferCall_Endpointfunc (*ResponseMessage_TelephonyTransferCall) GetPhoneNumber
func (x *ResponseMessage_TelephonyTransferCall) GetPhoneNumber() stringfunc (*ResponseMessage_TelephonyTransferCall) ProtoMessage
func (*ResponseMessage_TelephonyTransferCall) ProtoMessage()func (*ResponseMessage_TelephonyTransferCall) ProtoReflect
func (x *ResponseMessage_TelephonyTransferCall) ProtoReflect() protoreflect.Messagefunc (*ResponseMessage_TelephonyTransferCall) Reset
func (x *ResponseMessage_TelephonyTransferCall) Reset()func (*ResponseMessage_TelephonyTransferCall) String
func (x *ResponseMessage_TelephonyTransferCall) String() stringResponseMessage_TelephonyTransferCall_
type ResponseMessage_TelephonyTransferCall_ struct {
// A signal that the client should transfer the phone call connected to
// this agent to a third-party endpoint.
TelephonyTransferCall *ResponseMessage_TelephonyTransferCall `protobuf:"bytes,18,opt,name=telephony_transfer_call,json=telephonyTransferCall,proto3,oneof"`
}ResponseMessage_TelephonyTransferCall_PhoneNumber
type ResponseMessage_TelephonyTransferCall_PhoneNumber struct {
// Transfer the call to a phone number
// in [E.164 format](https://en.wikipedia.org/wiki/E.164).
PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3,oneof"`
}ResponseMessage_Text
type ResponseMessage_Text struct {
// Required. A collection of text response variants. If multiple variants
// are defined, only one text response variant is returned at runtime.
Text []string `protobuf:"bytes,1,rep,name=text,proto3" json:"text,omitempty"`
// Output only. Whether the playback of this message can be interrupted by
// the end user's speech and the client can then starts the next Dialogflow
// request.
AllowPlaybackInterruption bool `protobuf:"varint,2,opt,name=allow_playback_interruption,json=allowPlaybackInterruption,proto3" json:"allow_playback_interruption,omitempty"`
// contains filtered or unexported fields
}The text response message.
func (*ResponseMessage_Text) Descriptor
func (*ResponseMessage_Text) Descriptor() ([]byte, []int)Deprecated: Use ResponseMessage_Text.ProtoReflect.Descriptor instead.
func (*ResponseMessage_Text) GetAllowPlaybackInterruption
func (x *ResponseMessage_Text) GetAllowPlaybackInterruption() boolfunc (*ResponseMessage_Text) GetText
func (x *ResponseMessage_Text) GetText() []stringfunc (*ResponseMessage_Text) ProtoMessage
func (*ResponseMessage_Text) ProtoMessage()func (*ResponseMessage_Text) ProtoReflect
func (x *ResponseMessage_Text) ProtoReflect() protoreflect.Messagefunc (*ResponseMessage_Text) Reset
func (x *ResponseMessage_Text) Reset()func (*ResponseMessage_Text) String
func (x *ResponseMessage_Text) String() stringResponseMessage_Text_
type ResponseMessage_Text_ struct {
// Returns a text response.
Text *ResponseMessage_Text `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}ResponseMessage_ToolCall
type ResponseMessage_ToolCall struct {
// Returns the definition of a tool call that should be executed by the
// client.
ToolCall *ToolCall `protobuf:"bytes,22,opt,name=tool_call,json=toolCall,proto3,oneof"`
}RestoreAgentRequest
type RestoreAgentRequest struct {
// Required. The name of the agent to restore into.
// Format: `projects/The request message for [Agents.RestoreAgent][google.cloud.dialogflow.cx.v3.Agents.RestoreAgent].
func (*RestoreAgentRequest) Descriptor
func (*RestoreAgentRequest) Descriptor() ([]byte, []int)Deprecated: Use RestoreAgentRequest.ProtoReflect.Descriptor instead.
func (*RestoreAgentRequest) GetAgent
func (x *RestoreAgentRequest) GetAgent() isRestoreAgentRequest_Agentfunc (*RestoreAgentRequest) GetAgentContent
func (x *RestoreAgentRequest) GetAgentContent() []bytefunc (*RestoreAgentRequest) GetAgentUri
func (x *RestoreAgentRequest) GetAgentUri() stringfunc (*RestoreAgentRequest) GetGitSource
func (x *RestoreAgentRequest) GetGitSource() *RestoreAgentRequest_GitSourcefunc (*RestoreAgentRequest) GetName
func (x *RestoreAgentRequest) GetName() stringfunc (*RestoreAgentRequest) GetRestoreOption
func (x *RestoreAgentRequest) GetRestoreOption() RestoreAgentRequest_RestoreOptionfunc (*RestoreAgentRequest) ProtoMessage
func (*RestoreAgentRequest) ProtoMessage()func (*RestoreAgentRequest) ProtoReflect
func (x *RestoreAgentRequest) ProtoReflect() protoreflect.Messagefunc (*RestoreAgentRequest) Reset
func (x *RestoreAgentRequest) Reset()func (*RestoreAgentRequest) String
func (x *RestoreAgentRequest) String() stringRestoreAgentRequest_AgentContent
type RestoreAgentRequest_AgentContent struct {
// Uncompressed raw byte content for agent.
AgentContent []byte `protobuf:"bytes,3,opt,name=agent_content,json=agentContent,proto3,oneof"`
}RestoreAgentRequest_AgentUri
type RestoreAgentRequest_AgentUri struct {
// The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
// to restore agent from. The format of this URI must be
// `gs://RestoreAgentRequest_GitSource
type RestoreAgentRequest_GitSource struct {
// tracking branch for the git pull
TrackingBranch string `protobuf:"bytes,1,opt,name=tracking_branch,json=trackingBranch,proto3" json:"tracking_branch,omitempty"`
// contains filtered or unexported fields
}Settings for restoring from a git branch
func (*RestoreAgentRequest_GitSource) Descriptor
func (*RestoreAgentRequest_GitSource) Descriptor() ([]byte, []int)Deprecated: Use RestoreAgentRequest_GitSource.ProtoReflect.Descriptor instead.
func (*RestoreAgentRequest_GitSource) GetTrackingBranch
func (x *RestoreAgentRequest_GitSource) GetTrackingBranch() stringfunc (*RestoreAgentRequest_GitSource) ProtoMessage
func (*RestoreAgentRequest_GitSource) ProtoMessage()func (*RestoreAgentRequest_GitSource) ProtoReflect
func (x *RestoreAgentRequest_GitSource) ProtoReflect() protoreflect.Messagefunc (*RestoreAgentRequest_GitSource) Reset
func (x *RestoreAgentRequest_GitSource) Reset()func (*RestoreAgentRequest_GitSource) String
func (x *RestoreAgentRequest_GitSource) String() stringRestoreAgentRequest_GitSource_
type RestoreAgentRequest_GitSource_ struct {
// Setting for restoring from a git branch
GitSource *RestoreAgentRequest_GitSource `protobuf:"bytes,6,opt,name=git_source,json=gitSource,proto3,oneof"`
}RestoreAgentRequest_RestoreOption
type RestoreAgentRequest_RestoreOption int32Restore option.
RestoreAgentRequest_RESTORE_OPTION_UNSPECIFIED, RestoreAgentRequest_KEEP, RestoreAgentRequest_FALLBACK
const (
// Unspecified. Treated as KEEP.
RestoreAgentRequest_RESTORE_OPTION_UNSPECIFIED RestoreAgentRequest_RestoreOption = 0
// Always respect the settings from the exported agent file. It may cause
// a restoration failure if some settings (e.g. model type) are not
// supported in the target agent.
RestoreAgentRequest_KEEP RestoreAgentRequest_RestoreOption = 1
// Fallback to default settings if some settings are not supported in the
// target agent.
RestoreAgentRequest_FALLBACK RestoreAgentRequest_RestoreOption = 2
)func (RestoreAgentRequest_RestoreOption) Descriptor
func (RestoreAgentRequest_RestoreOption) Descriptor() protoreflect.EnumDescriptorfunc (RestoreAgentRequest_RestoreOption) Enum
func (x RestoreAgentRequest_RestoreOption) Enum() *RestoreAgentRequest_RestoreOptionfunc (RestoreAgentRequest_RestoreOption) EnumDescriptor
func (RestoreAgentRequest_RestoreOption) EnumDescriptor() ([]byte, []int)Deprecated: Use RestoreAgentRequest_RestoreOption.Descriptor instead.
func (RestoreAgentRequest_RestoreOption) Number
func (x RestoreAgentRequest_RestoreOption) Number() protoreflect.EnumNumberfunc (RestoreAgentRequest_RestoreOption) String
func (x RestoreAgentRequest_RestoreOption) String() stringfunc (RestoreAgentRequest_RestoreOption) Type
func (RestoreAgentRequest_RestoreOption) Type() protoreflect.EnumTypeRestorePlaybookVersionRequest
type RestorePlaybookVersionRequest struct {
// Required. The name of the playbook version.
// Format:
// `projects/The request message for [Playbooks.RestorePlaybookVersion][google.cloud.dialogflow.cx.v3.Playbooks.RestorePlaybookVersion].
func (*RestorePlaybookVersionRequest) Descriptor
func (*RestorePlaybookVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use RestorePlaybookVersionRequest.ProtoReflect.Descriptor instead.
func (*RestorePlaybookVersionRequest) GetName
func (x *RestorePlaybookVersionRequest) GetName() stringfunc (*RestorePlaybookVersionRequest) ProtoMessage
func (*RestorePlaybookVersionRequest) ProtoMessage()func (*RestorePlaybookVersionRequest) ProtoReflect
func (x *RestorePlaybookVersionRequest) ProtoReflect() protoreflect.Messagefunc (*RestorePlaybookVersionRequest) Reset
func (x *RestorePlaybookVersionRequest) Reset()func (*RestorePlaybookVersionRequest) String
func (x *RestorePlaybookVersionRequest) String() stringRestorePlaybookVersionResponse
type RestorePlaybookVersionResponse struct {
// The updated playbook.
Playbook *Playbook `protobuf:"bytes,2,opt,name=playbook,proto3" json:"playbook,omitempty"`
// contains filtered or unexported fields
}The response message for [Playbooks.RestorePlaybookVersion][google.cloud.dialogflow.cx.v3.Playbooks.RestorePlaybookVersion].
func (*RestorePlaybookVersionResponse) Descriptor
func (*RestorePlaybookVersionResponse) Descriptor() ([]byte, []int)Deprecated: Use RestorePlaybookVersionResponse.ProtoReflect.Descriptor instead.
func (*RestorePlaybookVersionResponse) GetPlaybook
func (x *RestorePlaybookVersionResponse) GetPlaybook() *Playbookfunc (*RestorePlaybookVersionResponse) ProtoMessage
func (*RestorePlaybookVersionResponse) ProtoMessage()func (*RestorePlaybookVersionResponse) ProtoReflect
func (x *RestorePlaybookVersionResponse) ProtoReflect() protoreflect.Messagefunc (*RestorePlaybookVersionResponse) Reset
func (x *RestorePlaybookVersionResponse) Reset()func (*RestorePlaybookVersionResponse) String
func (x *RestorePlaybookVersionResponse) String() stringRestoreToolVersionRequest
type RestoreToolVersionRequest struct {
// Required. The name of the tool version.
// Format:
// `projects/The request message for [Tools.RestoreToolVersion][google.cloud.dialogflow.cx.v3.Tools.RestoreToolVersion].
func (*RestoreToolVersionRequest) Descriptor
func (*RestoreToolVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use RestoreToolVersionRequest.ProtoReflect.Descriptor instead.
func (*RestoreToolVersionRequest) GetName
func (x *RestoreToolVersionRequest) GetName() stringfunc (*RestoreToolVersionRequest) ProtoMessage
func (*RestoreToolVersionRequest) ProtoMessage()func (*RestoreToolVersionRequest) ProtoReflect
func (x *RestoreToolVersionRequest) ProtoReflect() protoreflect.Messagefunc (*RestoreToolVersionRequest) Reset
func (x *RestoreToolVersionRequest) Reset()func (*RestoreToolVersionRequest) String
func (x *RestoreToolVersionRequest) String() stringRestoreToolVersionResponse
type RestoreToolVersionResponse struct {
// The updated tool.
Tool *Tool `protobuf:"bytes,2,opt,name=tool,proto3" json:"tool,omitempty"`
// contains filtered or unexported fields
}The response message for [Tools.RestoreToolVersion][google.cloud.dialogflow.cx.v3.Tools.RestoreToolVersion].
func (*RestoreToolVersionResponse) Descriptor
func (*RestoreToolVersionResponse) Descriptor() ([]byte, []int)Deprecated: Use RestoreToolVersionResponse.ProtoReflect.Descriptor instead.
func (*RestoreToolVersionResponse) GetTool
func (x *RestoreToolVersionResponse) GetTool() *Toolfunc (*RestoreToolVersionResponse) ProtoMessage
func (*RestoreToolVersionResponse) ProtoMessage()func (*RestoreToolVersionResponse) ProtoReflect
func (x *RestoreToolVersionResponse) ProtoReflect() protoreflect.Messagefunc (*RestoreToolVersionResponse) Reset
func (x *RestoreToolVersionResponse) Reset()func (*RestoreToolVersionResponse) String
func (x *RestoreToolVersionResponse) String() stringRolloutConfig
type RolloutConfig struct {
// Steps to roll out a flow version. Steps should be sorted by percentage in
// ascending order.
RolloutSteps []*RolloutConfig_RolloutStep `protobuf:"bytes,1,rep,name=rollout_steps,json=rolloutSteps,proto3" json:"rollout_steps,omitempty"`
// The conditions that are used to evaluate the success of a rollout
// step. If not specified, all rollout steps will proceed to the next one
// unless failure conditions are met. E.g. "containment_rate > 60% AND
// callback_rate < 20%".="" see="" the="" [conditions="" reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).="" rolloutcondition="">string `protobuf:"bytes,2,opt,name=rollout_condition,json=rolloutCondition,proto3" json:"rollout_condition,omitempty"`
// The conditions that are used to evaluate the failure of a rollout
// step. If not specified, no rollout steps will fail. E.g. "containment_rate
// < 10%="" or="" average_turn_count="">< 3".="" see="" the="" [conditions="" reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).="" failurecondition="">string `protobuf:"bytes,3,opt,name=failure_condition,json=failureCondition,proto3" json:"failure_condition,omitempty"`
// contains filtered or unexported fields
}The configuration for auto rollout.
func (*RolloutConfig) Descriptor
func (*RolloutConfig) Descriptor() ([]byte, []int)Deprecated: Use RolloutConfig.ProtoReflect.Descriptor instead.
func (*RolloutConfig) GetFailureCondition
func (x *RolloutConfig) GetFailureCondition() stringfunc (*RolloutConfig) GetRolloutCondition
func (x *RolloutConfig) GetRolloutCondition() stringfunc (*RolloutConfig) GetRolloutSteps
func (x *RolloutConfig) GetRolloutSteps() []*RolloutConfig_RolloutStepfunc (*RolloutConfig) ProtoMessage
func (*RolloutConfig) ProtoMessage()func (*RolloutConfig) ProtoReflect
func (x *RolloutConfig) ProtoReflect() protoreflect.Messagefunc (*RolloutConfig) Reset
func (x *RolloutConfig) Reset()func (*RolloutConfig) String
func (x *RolloutConfig) String() stringRolloutConfig_RolloutStep
type RolloutConfig_RolloutStep struct {
// The name of the rollout step;
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// The percentage of traffic allocated to the flow version of this rollout
// step. (0%, 100%].
TrafficPercent int32 `protobuf:"varint,2,opt,name=traffic_percent,json=trafficPercent,proto3" json:"traffic_percent,omitempty"`
// The minimum time that this step should last. Should be longer than 1
// hour. If not set, the default minimum duration for each step will be 1
// hour.
MinDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=min_duration,json=minDuration,proto3" json:"min_duration,omitempty"`
// contains filtered or unexported fields
}A single rollout step with specified traffic allocation.
func (*RolloutConfig_RolloutStep) Descriptor
func (*RolloutConfig_RolloutStep) Descriptor() ([]byte, []int)Deprecated: Use RolloutConfig_RolloutStep.ProtoReflect.Descriptor instead.
func (*RolloutConfig_RolloutStep) GetDisplayName
func (x *RolloutConfig_RolloutStep) GetDisplayName() stringfunc (*RolloutConfig_RolloutStep) GetMinDuration
func (x *RolloutConfig_RolloutStep) GetMinDuration() *durationpb.Durationfunc (*RolloutConfig_RolloutStep) GetTrafficPercent
func (x *RolloutConfig_RolloutStep) GetTrafficPercent() int32func (*RolloutConfig_RolloutStep) ProtoMessage
func (*RolloutConfig_RolloutStep) ProtoMessage()func (*RolloutConfig_RolloutStep) ProtoReflect
func (x *RolloutConfig_RolloutStep) ProtoReflect() protoreflect.Messagefunc (*RolloutConfig_RolloutStep) Reset
func (x *RolloutConfig_RolloutStep) Reset()func (*RolloutConfig_RolloutStep) String
func (x *RolloutConfig_RolloutStep) String() stringRolloutState
type RolloutState struct {
// Display name of the current auto rollout step.
Step string `protobuf:"bytes,1,opt,name=step,proto3" json:"step,omitempty"`
// Index of the current step in the auto rollout steps list.
StepIndex int32 `protobuf:"varint,3,opt,name=step_index,json=stepIndex,proto3" json:"step_index,omitempty"`
// Start time of the current step.
StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// contains filtered or unexported fields
}State of the auto-rollout process.
func (*RolloutState) Descriptor
func (*RolloutState) Descriptor() ([]byte, []int)Deprecated: Use RolloutState.ProtoReflect.Descriptor instead.
func (*RolloutState) GetStartTime
func (x *RolloutState) GetStartTime() *timestamppb.Timestampfunc (*RolloutState) GetStep
func (x *RolloutState) GetStep() stringfunc (*RolloutState) GetStepIndex
func (x *RolloutState) GetStepIndex() int32func (*RolloutState) ProtoMessage
func (*RolloutState) ProtoMessage()func (*RolloutState) ProtoReflect
func (x *RolloutState) ProtoReflect() protoreflect.Messagefunc (*RolloutState) Reset
func (x *RolloutState) Reset()func (*RolloutState) String
func (x *RolloutState) String() stringRunContinuousTestMetadata
type RunContinuousTestMetadata struct {
// The test errors.
Errors []*TestError `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
// contains filtered or unexported fields
}Metadata returned for the [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest] long running operation.
func (*RunContinuousTestMetadata) Descriptor
func (*RunContinuousTestMetadata) Descriptor() ([]byte, []int)Deprecated: Use RunContinuousTestMetadata.ProtoReflect.Descriptor instead.
func (*RunContinuousTestMetadata) GetErrors
func (x *RunContinuousTestMetadata) GetErrors() []*TestErrorfunc (*RunContinuousTestMetadata) ProtoMessage
func (*RunContinuousTestMetadata) ProtoMessage()func (*RunContinuousTestMetadata) ProtoReflect
func (x *RunContinuousTestMetadata) ProtoReflect() protoreflect.Messagefunc (*RunContinuousTestMetadata) Reset
func (x *RunContinuousTestMetadata) Reset()func (*RunContinuousTestMetadata) String
func (x *RunContinuousTestMetadata) String() stringRunContinuousTestRequest
type RunContinuousTestRequest struct {
// Required. Format:
// `projects/The request message for [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest].
func (*RunContinuousTestRequest) Descriptor
func (*RunContinuousTestRequest) Descriptor() ([]byte, []int)Deprecated: Use RunContinuousTestRequest.ProtoReflect.Descriptor instead.
func (*RunContinuousTestRequest) GetEnvironment
func (x *RunContinuousTestRequest) GetEnvironment() stringfunc (*RunContinuousTestRequest) ProtoMessage
func (*RunContinuousTestRequest) ProtoMessage()func (*RunContinuousTestRequest) ProtoReflect
func (x *RunContinuousTestRequest) ProtoReflect() protoreflect.Messagefunc (*RunContinuousTestRequest) Reset
func (x *RunContinuousTestRequest) Reset()func (*RunContinuousTestRequest) String
func (x *RunContinuousTestRequest) String() stringRunContinuousTestResponse
type RunContinuousTestResponse struct {
// The result for a continuous test run.
ContinuousTestResult *ContinuousTestResult `protobuf:"bytes,1,opt,name=continuous_test_result,json=continuousTestResult,proto3" json:"continuous_test_result,omitempty"`
// contains filtered or unexported fields
}The response message for [Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest].
func (*RunContinuousTestResponse) Descriptor
func (*RunContinuousTestResponse) Descriptor() ([]byte, []int)Deprecated: Use RunContinuousTestResponse.ProtoReflect.Descriptor instead.
func (*RunContinuousTestResponse) GetContinuousTestResult
func (x *RunContinuousTestResponse) GetContinuousTestResult() *ContinuousTestResultfunc (*RunContinuousTestResponse) ProtoMessage
func (*RunContinuousTestResponse) ProtoMessage()func (*RunContinuousTestResponse) ProtoReflect
func (x *RunContinuousTestResponse) ProtoReflect() protoreflect.Messagefunc (*RunContinuousTestResponse) Reset
func (x *RunContinuousTestResponse) Reset()func (*RunContinuousTestResponse) String
func (x *RunContinuousTestResponse) String() stringRunTestCaseMetadata
type RunTestCaseMetadata struct {
// contains filtered or unexported fields
}Metadata returned for the [TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase] long running operation. This message currently has no fields.
func (*RunTestCaseMetadata) Descriptor
func (*RunTestCaseMetadata) Descriptor() ([]byte, []int)Deprecated: Use RunTestCaseMetadata.ProtoReflect.Descriptor instead.
func (*RunTestCaseMetadata) ProtoMessage
func (*RunTestCaseMetadata) ProtoMessage()func (*RunTestCaseMetadata) ProtoReflect
func (x *RunTestCaseMetadata) ProtoReflect() protoreflect.Messagefunc (*RunTestCaseMetadata) Reset
func (x *RunTestCaseMetadata) Reset()func (*RunTestCaseMetadata) String
func (x *RunTestCaseMetadata) String() stringRunTestCaseRequest
type RunTestCaseRequest struct {
// Required. Format of test case name to run:
// `projects/The request message for [TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase].
func (*RunTestCaseRequest) Descriptor
func (*RunTestCaseRequest) Descriptor() ([]byte, []int)Deprecated: Use RunTestCaseRequest.ProtoReflect.Descriptor instead.
func (*RunTestCaseRequest) GetEnvironment
func (x *RunTestCaseRequest) GetEnvironment() stringfunc (*RunTestCaseRequest) GetName
func (x *RunTestCaseRequest) GetName() stringfunc (*RunTestCaseRequest) ProtoMessage
func (*RunTestCaseRequest) ProtoMessage()func (*RunTestCaseRequest) ProtoReflect
func (x *RunTestCaseRequest) ProtoReflect() protoreflect.Messagefunc (*RunTestCaseRequest) Reset
func (x *RunTestCaseRequest) Reset()func (*RunTestCaseRequest) String
func (x *RunTestCaseRequest) String() stringRunTestCaseResponse
type RunTestCaseResponse struct {
// The result.
Result *TestCaseResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}The response message for [TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase].
func (*RunTestCaseResponse) Descriptor
func (*RunTestCaseResponse) Descriptor() ([]byte, []int)Deprecated: Use RunTestCaseResponse.ProtoReflect.Descriptor instead.
func (*RunTestCaseResponse) GetResult
func (x *RunTestCaseResponse) GetResult() *TestCaseResultfunc (*RunTestCaseResponse) ProtoMessage
func (*RunTestCaseResponse) ProtoMessage()func (*RunTestCaseResponse) ProtoReflect
func (x *RunTestCaseResponse) ProtoReflect() protoreflect.Messagefunc (*RunTestCaseResponse) Reset
func (x *RunTestCaseResponse) Reset()func (*RunTestCaseResponse) String
func (x *RunTestCaseResponse) String() stringSafetySettings
type SafetySettings struct {
// Optional. Default phrase match strategy for banned phrases.
DefaultBannedPhraseMatchStrategy SafetySettings_PhraseMatchStrategy `protobuf:"varint,4,opt,name=default_banned_phrase_match_strategy,json=defaultBannedPhraseMatchStrategy,proto3,enum=google.cloud.dialogflow.cx.v3.SafetySettings_PhraseMatchStrategy" json:"default_banned_phrase_match_strategy,omitempty"`
// Banned phrases for generated text.
BannedPhrases []*SafetySettings_Phrase `protobuf:"bytes,1,rep,name=banned_phrases,json=bannedPhrases,proto3" json:"banned_phrases,omitempty"`
// Optional. Settings for Responsible AI checks.
RaiSettings *SafetySettings_RaiSettings `protobuf:"bytes,2,opt,name=rai_settings,json=raiSettings,proto3" json:"rai_settings,omitempty"`
// Optional. Immutable. Default RAI settings to be annotated on the agent, so
// that users will be able to restore their RAI configurations to the default
// settings. Read-only field for the API proto only.
DefaultRaiSettings *SafetySettings_RaiSettings `protobuf:"bytes,3,opt,name=default_rai_settings,json=defaultRaiSettings,proto3" json:"default_rai_settings,omitempty"`
// Optional. Settings for prompt security checks.
PromptSecuritySettings *SafetySettings_PromptSecuritySettings `protobuf:"bytes,8,opt,name=prompt_security_settings,json=promptSecuritySettings,proto3" json:"prompt_security_settings,omitempty"`
// contains filtered or unexported fields
}Settings for Generative Safety.
func (*SafetySettings) Descriptor
func (*SafetySettings) Descriptor() ([]byte, []int)Deprecated: Use SafetySettings.ProtoReflect.Descriptor instead.
func (*SafetySettings) GetBannedPhrases
func (x *SafetySettings) GetBannedPhrases() []*SafetySettings_Phrasefunc (*SafetySettings) GetDefaultBannedPhraseMatchStrategy
func (x *SafetySettings) GetDefaultBannedPhraseMatchStrategy() SafetySettings_PhraseMatchStrategyfunc (*SafetySettings) GetDefaultRaiSettings
func (x *SafetySettings) GetDefaultRaiSettings() *SafetySettings_RaiSettingsfunc (*SafetySettings) GetPromptSecuritySettings
func (x *SafetySettings) GetPromptSecuritySettings() *SafetySettings_PromptSecuritySettingsfunc (*SafetySettings) GetRaiSettings
func (x *SafetySettings) GetRaiSettings() *SafetySettings_RaiSettingsfunc (*SafetySettings) ProtoMessage
func (*SafetySettings) ProtoMessage()func (*SafetySettings) ProtoReflect
func (x *SafetySettings) ProtoReflect() protoreflect.Messagefunc (*SafetySettings) Reset
func (x *SafetySettings) Reset()func (*SafetySettings) String
func (x *SafetySettings) String() stringSafetySettings_Phrase
type SafetySettings_Phrase struct {
// Required. Text input which can be used for prompt or banned phrases.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// Required. Language code of the phrase.
LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// contains filtered or unexported fields
}Text input which can be used for prompt or banned phrases.
func (*SafetySettings_Phrase) Descriptor
func (*SafetySettings_Phrase) Descriptor() ([]byte, []int)Deprecated: Use SafetySettings_Phrase.ProtoReflect.Descriptor instead.
func (*SafetySettings_Phrase) GetLanguageCode
func (x *SafetySettings_Phrase) GetLanguageCode() stringfunc (*SafetySettings_Phrase) GetText
func (x *SafetySettings_Phrase) GetText() stringfunc (*SafetySettings_Phrase) ProtoMessage
func (*SafetySettings_Phrase) ProtoMessage()func (*SafetySettings_Phrase) ProtoReflect
func (x *SafetySettings_Phrase) ProtoReflect() protoreflect.Messagefunc (*SafetySettings_Phrase) Reset
func (x *SafetySettings_Phrase) Reset()func (*SafetySettings_Phrase) String
func (x *SafetySettings_Phrase) String() stringSafetySettings_PhraseMatchStrategy
type SafetySettings_PhraseMatchStrategy int32Strategy for matching phrases.
SafetySettings_PHRASE_MATCH_STRATEGY_UNSPECIFIED, SafetySettings_PARTIAL_MATCH, SafetySettings_WORD_MATCH
const (
// Unspecified, defaults to PARTIAL_MATCH.
SafetySettings_PHRASE_MATCH_STRATEGY_UNSPECIFIED SafetySettings_PhraseMatchStrategy = 0
// Text that contains the phrase as a substring will be matched, e.g. "foo"
// will match "afoobar".
SafetySettings_PARTIAL_MATCH SafetySettings_PhraseMatchStrategy = 1
// Text that contains the tokenized words of the phrase will be matched,
// e.g. "foo" will match "a foo bar" and "foo bar", but not "foobar".
SafetySettings_WORD_MATCH SafetySettings_PhraseMatchStrategy = 2
)func (SafetySettings_PhraseMatchStrategy) Descriptor
func (SafetySettings_PhraseMatchStrategy) Descriptor() protoreflect.EnumDescriptorfunc (SafetySettings_PhraseMatchStrategy) Enum
func (x SafetySettings_PhraseMatchStrategy) Enum() *SafetySettings_PhraseMatchStrategyfunc (SafetySettings_PhraseMatchStrategy) EnumDescriptor
func (SafetySettings_PhraseMatchStrategy) EnumDescriptor() ([]byte, []int)Deprecated: Use SafetySettings_PhraseMatchStrategy.Descriptor instead.
func (SafetySettings_PhraseMatchStrategy) Number
func (x SafetySettings_PhraseMatchStrategy) Number() protoreflect.EnumNumberfunc (SafetySettings_PhraseMatchStrategy) String
func (x SafetySettings_PhraseMatchStrategy) String() stringfunc (SafetySettings_PhraseMatchStrategy) Type
func (SafetySettings_PhraseMatchStrategy) Type() protoreflect.EnumTypeSafetySettings_PromptSecuritySettings
type SafetySettings_PromptSecuritySettings struct {
// Optional. Enable prompt security checks.
EnablePromptSecurity bool `protobuf:"varint,1,opt,name=enable_prompt_security,json=enablePromptSecurity,proto3" json:"enable_prompt_security,omitempty"`
// contains filtered or unexported fields
}Settings for prompt security checks.
func (*SafetySettings_PromptSecuritySettings) Descriptor
func (*SafetySettings_PromptSecuritySettings) Descriptor() ([]byte, []int)Deprecated: Use SafetySettings_PromptSecuritySettings.ProtoReflect.Descriptor instead.
func (*SafetySettings_PromptSecuritySettings) GetEnablePromptSecurity
func (x *SafetySettings_PromptSecuritySettings) GetEnablePromptSecurity() boolfunc (*SafetySettings_PromptSecuritySettings) ProtoMessage
func (*SafetySettings_PromptSecuritySettings) ProtoMessage()func (*SafetySettings_PromptSecuritySettings) ProtoReflect
func (x *SafetySettings_PromptSecuritySettings) ProtoReflect() protoreflect.Messagefunc (*SafetySettings_PromptSecuritySettings) Reset
func (x *SafetySettings_PromptSecuritySettings) Reset()func (*SafetySettings_PromptSecuritySettings) String
func (x *SafetySettings_PromptSecuritySettings) String() stringSafetySettings_RaiSettings
type SafetySettings_RaiSettings struct {
// Optional. RAI blocking configurations.
CategoryFilters []*SafetySettings_RaiSettings_CategoryFilter `protobuf:"bytes,3,rep,name=category_filters,json=categoryFilters,proto3" json:"category_filters,omitempty"`
// contains filtered or unexported fields
}Settings for Responsible AI.
func (*SafetySettings_RaiSettings) Descriptor
func (*SafetySettings_RaiSettings) Descriptor() ([]byte, []int)Deprecated: Use SafetySettings_RaiSettings.ProtoReflect.Descriptor instead.
func (*SafetySettings_RaiSettings) GetCategoryFilters
func (x *SafetySettings_RaiSettings) GetCategoryFilters() []*SafetySettings_RaiSettings_CategoryFilterfunc (*SafetySettings_RaiSettings) ProtoMessage
func (*SafetySettings_RaiSettings) ProtoMessage()func (*SafetySettings_RaiSettings) ProtoReflect
func (x *SafetySettings_RaiSettings) ProtoReflect() protoreflect.Messagefunc (*SafetySettings_RaiSettings) Reset
func (x *SafetySettings_RaiSettings) Reset()func (*SafetySettings_RaiSettings) String
func (x *SafetySettings_RaiSettings) String() stringSafetySettings_RaiSettings_CategoryFilter
type SafetySettings_RaiSettings_CategoryFilter struct {
// RAI category to configure.
Category SafetySettings_RaiSettings_SafetyCategory `protobuf:"varint,1,opt,name=category,proto3,enum=google.cloud.dialogflow.cx.v3.SafetySettings_RaiSettings_SafetyCategory" json:"category,omitempty"`
// Blocking sensitivity level to configure for the RAI category.
FilterLevel SafetySettings_RaiSettings_SafetyFilterLevel `protobuf:"varint,2,opt,name=filter_level,json=filterLevel,proto3,enum=google.cloud.dialogflow.cx.v3.SafetySettings_RaiSettings_SafetyFilterLevel" json:"filter_level,omitempty"`
// contains filtered or unexported fields
}Configuration of the sensitivity level for blocking an RAI category.
func (*SafetySettings_RaiSettings_CategoryFilter) Descriptor
func (*SafetySettings_RaiSettings_CategoryFilter) Descriptor() ([]byte, []int)Deprecated: Use SafetySettings_RaiSettings_CategoryFilter.ProtoReflect.Descriptor instead.
func (*SafetySettings_RaiSettings_CategoryFilter) GetCategory
func (x *SafetySettings_RaiSettings_CategoryFilter) GetCategory() SafetySettings_RaiSettings_SafetyCategoryfunc (*SafetySettings_RaiSettings_CategoryFilter) GetFilterLevel
func (x *SafetySettings_RaiSettings_CategoryFilter) GetFilterLevel() SafetySettings_RaiSettings_SafetyFilterLevelfunc (*SafetySettings_RaiSettings_CategoryFilter) ProtoMessage
func (*SafetySettings_RaiSettings_CategoryFilter) ProtoMessage()func (*SafetySettings_RaiSettings_CategoryFilter) ProtoReflect
func (x *SafetySettings_RaiSettings_CategoryFilter) ProtoReflect() protoreflect.Messagefunc (*SafetySettings_RaiSettings_CategoryFilter) Reset
func (x *SafetySettings_RaiSettings_CategoryFilter) Reset()func (*SafetySettings_RaiSettings_CategoryFilter) String
func (x *SafetySettings_RaiSettings_CategoryFilter) String() stringSafetySettings_RaiSettings_SafetyCategory
type SafetySettings_RaiSettings_SafetyCategory int32RAI categories to configure.
SafetySettings_RaiSettings_SAFETY_CATEGORY_UNSPECIFIED, SafetySettings_RaiSettings_DANGEROUS_CONTENT, SafetySettings_RaiSettings_HATE_SPEECH, SafetySettings_RaiSettings_HARASSMENT, SafetySettings_RaiSettings_SEXUALLY_EXPLICIT_CONTENT
const (
// Unspecified.
SafetySettings_RaiSettings_SAFETY_CATEGORY_UNSPECIFIED SafetySettings_RaiSettings_SafetyCategory = 0
// Dangerous content.
SafetySettings_RaiSettings_DANGEROUS_CONTENT SafetySettings_RaiSettings_SafetyCategory = 1
// Hate speech.
SafetySettings_RaiSettings_HATE_SPEECH SafetySettings_RaiSettings_SafetyCategory = 2
// Harassment.
SafetySettings_RaiSettings_HARASSMENT SafetySettings_RaiSettings_SafetyCategory = 3
// Sexually explicit content.
SafetySettings_RaiSettings_SEXUALLY_EXPLICIT_CONTENT SafetySettings_RaiSettings_SafetyCategory = 4
)func (SafetySettings_RaiSettings_SafetyCategory) Descriptor
func (SafetySettings_RaiSettings_SafetyCategory) Descriptor() protoreflect.EnumDescriptorfunc (SafetySettings_RaiSettings_SafetyCategory) Enum
func (x SafetySettings_RaiSettings_SafetyCategory) Enum() *SafetySettings_RaiSettings_SafetyCategoryfunc (SafetySettings_RaiSettings_SafetyCategory) EnumDescriptor
func (SafetySettings_RaiSettings_SafetyCategory) EnumDescriptor() ([]byte, []int)Deprecated: Use SafetySettings_RaiSettings_SafetyCategory.Descriptor instead.
func (SafetySettings_RaiSettings_SafetyCategory) Number
func (x SafetySettings_RaiSettings_SafetyCategory) Number() protoreflect.EnumNumberfunc (SafetySettings_RaiSettings_SafetyCategory) String
func (x SafetySettings_RaiSettings_SafetyCategory) String() stringfunc (SafetySettings_RaiSettings_SafetyCategory) Type
func (SafetySettings_RaiSettings_SafetyCategory) Type() protoreflect.EnumTypeSafetySettings_RaiSettings_SafetyFilterLevel
type SafetySettings_RaiSettings_SafetyFilterLevel int32Sensitivity level for RAI categories.
SafetySettings_RaiSettings_SAFETY_FILTER_LEVEL_UNSPECIFIED, SafetySettings_RaiSettings_BLOCK_NONE, SafetySettings_RaiSettings_BLOCK_FEW, SafetySettings_RaiSettings_BLOCK_SOME, SafetySettings_RaiSettings_BLOCK_MOST
const (
// Unspecified -- uses default sensitivity levels.
SafetySettings_RaiSettings_SAFETY_FILTER_LEVEL_UNSPECIFIED SafetySettings_RaiSettings_SafetyFilterLevel = 0
// Block no text -- effectively disables the category.
SafetySettings_RaiSettings_BLOCK_NONE SafetySettings_RaiSettings_SafetyFilterLevel = 1
// Block a few suspicious texts.
SafetySettings_RaiSettings_BLOCK_FEW SafetySettings_RaiSettings_SafetyFilterLevel = 2
// Block some suspicious texts.
SafetySettings_RaiSettings_BLOCK_SOME SafetySettings_RaiSettings_SafetyFilterLevel = 3
// Block most suspicious texts.
SafetySettings_RaiSettings_BLOCK_MOST SafetySettings_RaiSettings_SafetyFilterLevel = 4
)func (SafetySettings_RaiSettings_SafetyFilterLevel) Descriptor
func (SafetySettings_RaiSettings_SafetyFilterLevel) Descriptor() protoreflect.EnumDescriptorfunc (SafetySettings_RaiSettings_SafetyFilterLevel) Enum
func (x SafetySettings_RaiSettings_SafetyFilterLevel) Enum() *SafetySettings_RaiSettings_SafetyFilterLevelfunc (SafetySettings_RaiSettings_SafetyFilterLevel) EnumDescriptor
func (SafetySettings_RaiSettings_SafetyFilterLevel) EnumDescriptor() ([]byte, []int)Deprecated: Use SafetySettings_RaiSettings_SafetyFilterLevel.Descriptor instead.
func (SafetySettings_RaiSettings_SafetyFilterLevel) Number
func (x SafetySettings_RaiSettings_SafetyFilterLevel) Number() protoreflect.EnumNumberfunc (SafetySettings_RaiSettings_SafetyFilterLevel) String
func (x SafetySettings_RaiSettings_SafetyFilterLevel) String() stringfunc (SafetySettings_RaiSettings_SafetyFilterLevel) Type
func (SafetySettings_RaiSettings_SafetyFilterLevel) Type() protoreflect.EnumTypeSearchConfig
type SearchConfig struct {
// Optional. Boosting configuration for the datastores.
//
// Maps from datastore name to their boost configuration. Do not specify more
// than one BoostSpecs for each datastore name. If multiple BoostSpecs are
// provided for the same datastore name, the behavior is undefined.
BoostSpecs []*BoostSpecs `protobuf:"bytes,1,rep,name=boost_specs,json=boostSpecs,proto3" json:"boost_specs,omitempty"`
// Optional. Filter configuration for the datastores.
//
// Maps from datastore name to the filter expression for that datastore. Do
// not specify more than one FilterSpecs for each datastore name. If multiple
// FilterSpecs are provided for the same datastore name, the behavior is
// undefined.
FilterSpecs []*FilterSpecs `protobuf:"bytes,2,rep,name=filter_specs,json=filterSpecs,proto3" json:"filter_specs,omitempty"`
// contains filtered or unexported fields
}Search configuration for UCS search queries.
func (*SearchConfig) Descriptor
func (*SearchConfig) Descriptor() ([]byte, []int)Deprecated: Use SearchConfig.ProtoReflect.Descriptor instead.
func (*SearchConfig) GetBoostSpecs
func (x *SearchConfig) GetBoostSpecs() []*BoostSpecsfunc (*SearchConfig) GetFilterSpecs
func (x *SearchConfig) GetFilterSpecs() []*FilterSpecsfunc (*SearchConfig) ProtoMessage
func (*SearchConfig) ProtoMessage()func (*SearchConfig) ProtoReflect
func (x *SearchConfig) ProtoReflect() protoreflect.Messagefunc (*SearchConfig) Reset
func (x *SearchConfig) Reset()func (*SearchConfig) String
func (x *SearchConfig) String() stringSecuritySettings
type SecuritySettings struct {
// Resource name of the settings.
// Required for the
// [SecuritySettingsService.UpdateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings]
// method.
// [SecuritySettingsService.CreateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings]
// populates the name automatically. Format:
// `projects/Represents the settings related to security issues, such as data redaction and data retention. It may take hours for updates on the settings to propagate to all the related components and take effect.
func (*SecuritySettings) Descriptor
func (*SecuritySettings) Descriptor() ([]byte, []int)Deprecated: Use SecuritySettings.ProtoReflect.Descriptor instead.
func (*SecuritySettings) GetAudioExportSettings
func (x *SecuritySettings) GetAudioExportSettings() *SecuritySettings_AudioExportSettingsfunc (*SecuritySettings) GetDataRetention
func (x *SecuritySettings) GetDataRetention() isSecuritySettings_DataRetentionfunc (*SecuritySettings) GetDeidentifyTemplate
func (x *SecuritySettings) GetDeidentifyTemplate() stringfunc (*SecuritySettings) GetDisplayName
func (x *SecuritySettings) GetDisplayName() stringfunc (*SecuritySettings) GetInsightsExportSettings
func (x *SecuritySettings) GetInsightsExportSettings() *SecuritySettings_InsightsExportSettingsfunc (*SecuritySettings) GetInspectTemplate
func (x *SecuritySettings) GetInspectTemplate() stringfunc (*SecuritySettings) GetName
func (x *SecuritySettings) GetName() stringfunc (*SecuritySettings) GetPurgeDataTypes
func (x *SecuritySettings) GetPurgeDataTypes() []SecuritySettings_PurgeDataTypefunc (*SecuritySettings) GetRedactionScope
func (x *SecuritySettings) GetRedactionScope() SecuritySettings_RedactionScopefunc (*SecuritySettings) GetRedactionStrategy
func (x *SecuritySettings) GetRedactionStrategy() SecuritySettings_RedactionStrategyfunc (*SecuritySettings) GetRetentionStrategy
func (x *SecuritySettings) GetRetentionStrategy() SecuritySettings_RetentionStrategyfunc (*SecuritySettings) GetRetentionWindowDays
func (x *SecuritySettings) GetRetentionWindowDays() int32func (*SecuritySettings) ProtoMessage
func (*SecuritySettings) ProtoMessage()func (*SecuritySettings) ProtoReflect
func (x *SecuritySettings) ProtoReflect() protoreflect.Messagefunc (*SecuritySettings) Reset
func (x *SecuritySettings) Reset()func (*SecuritySettings) String
func (x *SecuritySettings) String() stringSecuritySettingsServiceClient
type SecuritySettingsServiceClient interface {
// Create security settings in the specified location.
CreateSecuritySettings(ctx context.Context, in *CreateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error)
// Retrieves the specified
// [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. The
// returned settings may be stale by up to 1 minute.
GetSecuritySettings(ctx context.Context, in *GetSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error)
// Updates the specified
// [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].
UpdateSecuritySettings(ctx context.Context, in *UpdateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error)
// Returns the list of all security settings in the specified location.
ListSecuritySettings(ctx context.Context, in *ListSecuritySettingsRequest, opts ...grpc.CallOption) (*ListSecuritySettingsResponse, error)
// Deletes the specified
// [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].
DeleteSecuritySettings(ctx context.Context, in *DeleteSecuritySettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}SecuritySettingsServiceClient is the client API for SecuritySettingsService 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 NewSecuritySettingsServiceClient
func NewSecuritySettingsServiceClient(cc grpc.ClientConnInterface) SecuritySettingsServiceClientSecuritySettingsServiceServer
type SecuritySettingsServiceServer interface {
// Create security settings in the specified location.
CreateSecuritySettings(context.Context, *CreateSecuritySettingsRequest) (*SecuritySettings, error)
// Retrieves the specified
// [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings]. The
// returned settings may be stale by up to 1 minute.
GetSecuritySettings(context.Context, *GetSecuritySettingsRequest) (*SecuritySettings, error)
// Updates the specified
// [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].
UpdateSecuritySettings(context.Context, *UpdateSecuritySettingsRequest) (*SecuritySettings, error)
// Returns the list of all security settings in the specified location.
ListSecuritySettings(context.Context, *ListSecuritySettingsRequest) (*ListSecuritySettingsResponse, error)
// Deletes the specified
// [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].
DeleteSecuritySettings(context.Context, *DeleteSecuritySettingsRequest) (*emptypb.Empty, error)
}SecuritySettingsServiceServer is the server API for SecuritySettingsService service. All implementations should embed UnimplementedSecuritySettingsServiceServer for forward compatibility
SecuritySettings_AudioExportSettings
type SecuritySettings_AudioExportSettings struct {
// Cloud Storage bucket to export audio record to.
// Setting this field would grant the Storage Object Creator role to
// the Dialogflow Service Agent.
// API caller that tries to modify this field should have the permission of
// storage.buckets.setIamPolicy.
GcsBucket string `protobuf:"bytes,1,opt,name=gcs_bucket,json=gcsBucket,proto3" json:"gcs_bucket,omitempty"`
// Filename pattern for exported audio.
// {conversation} and {timestamp} are placeholders that will be replaced
// with the conversation ID and epoch micros of the conversation.
// For example, "{conversation}/recording_{timestamp}.mulaw".
AudioExportPattern string `protobuf:"bytes,2,opt,name=audio_export_pattern,json=audioExportPattern,proto3" json:"audio_export_pattern,omitempty"`
// Enable audio redaction if it is true.
// Note that this only redacts end-user audio data;
// Synthesised audio from the virtual agent is not redacted.
EnableAudioRedaction bool `protobuf:"varint,3,opt,name=enable_audio_redaction,json=enableAudioRedaction,proto3" json:"enable_audio_redaction,omitempty"`
// File format for exported audio file. Currently only in telephony
// recordings.
AudioFormat SecuritySettings_AudioExportSettings_AudioFormat `protobuf:"varint,4,opt,name=audio_format,json=audioFormat,proto3,enum=google.cloud.dialogflow.cx.v3.SecuritySettings_AudioExportSettings_AudioFormat" json:"audio_format,omitempty"`
// Whether to store TTS audio. By default, TTS audio from the virtual agent
// is not exported.
StoreTtsAudio bool `protobuf:"varint,6,opt,name=store_tts_audio,json=storeTtsAudio,proto3" json:"store_tts_audio,omitempty"`
// contains filtered or unexported fields
}Settings for exporting audio.
func (*SecuritySettings_AudioExportSettings) Descriptor
func (*SecuritySettings_AudioExportSettings) Descriptor() ([]byte, []int)Deprecated: Use SecuritySettings_AudioExportSettings.ProtoReflect.Descriptor instead.
func (*SecuritySettings_AudioExportSettings) GetAudioExportPattern
func (x *SecuritySettings_AudioExportSettings) GetAudioExportPattern() stringfunc (*SecuritySettings_AudioExportSettings) GetAudioFormat
func (x *SecuritySettings_AudioExportSettings) GetAudioFormat() SecuritySettings_AudioExportSettings_AudioFormatfunc (*SecuritySettings_AudioExportSettings) GetEnableAudioRedaction
func (x *SecuritySettings_AudioExportSettings) GetEnableAudioRedaction() boolfunc (*SecuritySettings_AudioExportSettings) GetGcsBucket
func (x *SecuritySettings_AudioExportSettings) GetGcsBucket() stringfunc (*SecuritySettings_AudioExportSettings) GetStoreTtsAudio
func (x *SecuritySettings_AudioExportSettings) GetStoreTtsAudio() boolfunc (*SecuritySettings_AudioExportSettings) ProtoMessage
func (*SecuritySettings_AudioExportSettings) ProtoMessage()func (*SecuritySettings_AudioExportSettings) ProtoReflect
func (x *SecuritySettings_AudioExportSettings) ProtoReflect() protoreflect.Messagefunc (*SecuritySettings_AudioExportSettings) Reset
func (x *SecuritySettings_AudioExportSettings) Reset()func (*SecuritySettings_AudioExportSettings) String
func (x *SecuritySettings_AudioExportSettings) String() stringSecuritySettings_AudioExportSettings_AudioFormat
type SecuritySettings_AudioExportSettings_AudioFormat int32File format for exported audio file. Currently only in telephony recordings.
SecuritySettings_AudioExportSettings_AUDIO_FORMAT_UNSPECIFIED, SecuritySettings_AudioExportSettings_MULAW, SecuritySettings_AudioExportSettings_MP3, SecuritySettings_AudioExportSettings_OGG
const (
// Unspecified. Do not use.
SecuritySettings_AudioExportSettings_AUDIO_FORMAT_UNSPECIFIED SecuritySettings_AudioExportSettings_AudioFormat = 0
// G.711 mu-law PCM with 8kHz sample rate.
SecuritySettings_AudioExportSettings_MULAW SecuritySettings_AudioExportSettings_AudioFormat = 1
// MP3 file format.
SecuritySettings_AudioExportSettings_MP3 SecuritySettings_AudioExportSettings_AudioFormat = 2
// OGG Vorbis.
SecuritySettings_AudioExportSettings_OGG SecuritySettings_AudioExportSettings_AudioFormat = 3
)func (SecuritySettings_AudioExportSettings_AudioFormat) Descriptor
func (SecuritySettings_AudioExportSettings_AudioFormat) Descriptor() protoreflect.EnumDescriptorfunc (SecuritySettings_AudioExportSettings_AudioFormat) Enum
func (x SecuritySettings_AudioExportSettings_AudioFormat) Enum() *SecuritySettings_AudioExportSettings_AudioFormatfunc (SecuritySettings_AudioExportSettings_AudioFormat) EnumDescriptor
func (SecuritySettings_AudioExportSettings_AudioFormat) EnumDescriptor() ([]byte, []int)Deprecated: Use SecuritySettings_AudioExportSettings_AudioFormat.Descriptor instead.
func (SecuritySettings_AudioExportSettings_AudioFormat) Number
func (x SecuritySettings_AudioExportSettings_AudioFormat) Number() protoreflect.EnumNumberfunc (SecuritySettings_AudioExportSettings_AudioFormat) String
func (x SecuritySettings_AudioExportSettings_AudioFormat) String() stringfunc (SecuritySettings_AudioExportSettings_AudioFormat) Type
SecuritySettings_InsightsExportSettings
type SecuritySettings_InsightsExportSettings struct {
// If enabled, we will automatically exports
// conversations to Insights and Insights runs its analyzers.
EnableInsightsExport bool `protobuf:"varint,1,opt,name=enable_insights_export,json=enableInsightsExport,proto3" json:"enable_insights_export,omitempty"`
// contains filtered or unexported fields
}Settings for exporting conversations to Insights.
func (*SecuritySettings_InsightsExportSettings) Descriptor
func (*SecuritySettings_InsightsExportSettings) Descriptor() ([]byte, []int)Deprecated: Use SecuritySettings_InsightsExportSettings.ProtoReflect.Descriptor instead.
func (*SecuritySettings_InsightsExportSettings) GetEnableInsightsExport
func (x *SecuritySettings_InsightsExportSettings) GetEnableInsightsExport() boolfunc (*SecuritySettings_InsightsExportSettings) ProtoMessage
func (*SecuritySettings_InsightsExportSettings) ProtoMessage()func (*SecuritySettings_InsightsExportSettings) ProtoReflect
func (x *SecuritySettings_InsightsExportSettings) ProtoReflect() protoreflect.Messagefunc (*SecuritySettings_InsightsExportSettings) Reset
func (x *SecuritySettings_InsightsExportSettings) Reset()func (*SecuritySettings_InsightsExportSettings) String
func (x *SecuritySettings_InsightsExportSettings) String() stringSecuritySettings_PurgeDataType
type SecuritySettings_PurgeDataType int32Type of data we purge after retention settings triggers purge.
SecuritySettings_PURGE_DATA_TYPE_UNSPECIFIED, SecuritySettings_DIALOGFLOW_HISTORY
const (
// Unspecified. Do not use.
SecuritySettings_PURGE_DATA_TYPE_UNSPECIFIED SecuritySettings_PurgeDataType = 0
// Dialogflow history. This does not include Cloud logging, which is
// owned by the user - not Dialogflow.
SecuritySettings_DIALOGFLOW_HISTORY SecuritySettings_PurgeDataType = 1
)func (SecuritySettings_PurgeDataType) Descriptor
func (SecuritySettings_PurgeDataType) Descriptor() protoreflect.EnumDescriptorfunc (SecuritySettings_PurgeDataType) Enum
func (x SecuritySettings_PurgeDataType) Enum() *SecuritySettings_PurgeDataTypefunc (SecuritySettings_PurgeDataType) EnumDescriptor
func (SecuritySettings_PurgeDataType) EnumDescriptor() ([]byte, []int)Deprecated: Use SecuritySettings_PurgeDataType.Descriptor instead.
func (SecuritySettings_PurgeDataType) Number
func (x SecuritySettings_PurgeDataType) Number() protoreflect.EnumNumberfunc (SecuritySettings_PurgeDataType) String
func (x SecuritySettings_PurgeDataType) String() stringfunc (SecuritySettings_PurgeDataType) Type
func (SecuritySettings_PurgeDataType) Type() protoreflect.EnumTypeSecuritySettings_RedactionScope
type SecuritySettings_RedactionScope int32Defines what types of data to redact.
SecuritySettings_REDACTION_SCOPE_UNSPECIFIED, SecuritySettings_REDACT_DISK_STORAGE
const (
// Don't redact any kind of data.
SecuritySettings_REDACTION_SCOPE_UNSPECIFIED SecuritySettings_RedactionScope = 0
// On data to be written to disk or similar devices that are capable of
// holding data even if power is disconnected. This includes data that are
// temporarily saved on disk.
SecuritySettings_REDACT_DISK_STORAGE SecuritySettings_RedactionScope = 2
)func (SecuritySettings_RedactionScope) Descriptor
func (SecuritySettings_RedactionScope) Descriptor() protoreflect.EnumDescriptorfunc (SecuritySettings_RedactionScope) Enum
func (x SecuritySettings_RedactionScope) Enum() *SecuritySettings_RedactionScopefunc (SecuritySettings_RedactionScope) EnumDescriptor
func (SecuritySettings_RedactionScope) EnumDescriptor() ([]byte, []int)Deprecated: Use SecuritySettings_RedactionScope.Descriptor instead.
func (SecuritySettings_RedactionScope) Number
func (x SecuritySettings_RedactionScope) Number() protoreflect.EnumNumberfunc (SecuritySettings_RedactionScope) String
func (x SecuritySettings_RedactionScope) String() stringfunc (SecuritySettings_RedactionScope) Type
func (SecuritySettings_RedactionScope) Type() protoreflect.EnumTypeSecuritySettings_RedactionStrategy
type SecuritySettings_RedactionStrategy int32Defines how we redact data.
SecuritySettings_REDACTION_STRATEGY_UNSPECIFIED, SecuritySettings_REDACT_WITH_SERVICE
const (
// Do not redact.
SecuritySettings_REDACTION_STRATEGY_UNSPECIFIED SecuritySettings_RedactionStrategy = 0
// Call redaction service to clean up the data to be persisted.
SecuritySettings_REDACT_WITH_SERVICE SecuritySettings_RedactionStrategy = 1
)func (SecuritySettings_RedactionStrategy) Descriptor
func (SecuritySettings_RedactionStrategy) Descriptor() protoreflect.EnumDescriptorfunc (SecuritySettings_RedactionStrategy) Enum
func (x SecuritySettings_RedactionStrategy) Enum() *SecuritySettings_RedactionStrategyfunc (SecuritySettings_RedactionStrategy) EnumDescriptor
func (SecuritySettings_RedactionStrategy) EnumDescriptor() ([]byte, []int)Deprecated: Use SecuritySettings_RedactionStrategy.Descriptor instead.
func (SecuritySettings_RedactionStrategy) Number
func (x SecuritySettings_RedactionStrategy) Number() protoreflect.EnumNumberfunc (SecuritySettings_RedactionStrategy) String
func (x SecuritySettings_RedactionStrategy) String() stringfunc (SecuritySettings_RedactionStrategy) Type
func (SecuritySettings_RedactionStrategy) Type() protoreflect.EnumTypeSecuritySettings_RetentionStrategy
type SecuritySettings_RetentionStrategy int32Defines how long we retain persisted data that contains sensitive info.
SecuritySettings_RETENTION_STRATEGY_UNSPECIFIED, SecuritySettings_REMOVE_AFTER_CONVERSATION
const (
// Retains the persisted data with Dialogflow's internal default 365d TTLs.
SecuritySettings_RETENTION_STRATEGY_UNSPECIFIED SecuritySettings_RetentionStrategy = 0
// Removes data when the conversation ends. If there is no [Conversation][]
// explicitly established, a default conversation ends when the
// corresponding Dialogflow session ends.
SecuritySettings_REMOVE_AFTER_CONVERSATION SecuritySettings_RetentionStrategy = 1
)func (SecuritySettings_RetentionStrategy) Descriptor
func (SecuritySettings_RetentionStrategy) Descriptor() protoreflect.EnumDescriptorfunc (SecuritySettings_RetentionStrategy) Enum
func (x SecuritySettings_RetentionStrategy) Enum() *SecuritySettings_RetentionStrategyfunc (SecuritySettings_RetentionStrategy) EnumDescriptor
func (SecuritySettings_RetentionStrategy) EnumDescriptor() ([]byte, []int)Deprecated: Use SecuritySettings_RetentionStrategy.Descriptor instead.
func (SecuritySettings_RetentionStrategy) Number
func (x SecuritySettings_RetentionStrategy) Number() protoreflect.EnumNumberfunc (SecuritySettings_RetentionStrategy) String
func (x SecuritySettings_RetentionStrategy) String() stringfunc (SecuritySettings_RetentionStrategy) Type
func (SecuritySettings_RetentionStrategy) Type() protoreflect.EnumTypeSecuritySettings_RetentionStrategy_
type SecuritySettings_RetentionStrategy_ struct {
// Specifies the retention behavior defined by
// [SecuritySettings.RetentionStrategy][google.cloud.dialogflow.cx.v3.SecuritySettings.RetentionStrategy].
RetentionStrategy SecuritySettings_RetentionStrategy `protobuf:"varint,7,opt,name=retention_strategy,json=retentionStrategy,proto3,enum=google.cloud.dialogflow.cx.v3.SecuritySettings_RetentionStrategy,oneof"`
}SecuritySettings_RetentionWindowDays
type SecuritySettings_RetentionWindowDays struct {
// Retains the data for the specified number of days.
// User must set a value lower than Dialogflow's default 365d TTL (30 days
// for Agent Assist traffic), higher value will be ignored and use default.
// Setting a value higher than that has no effect. A missing value or
// setting to 0 also means we use default TTL.
// When data retention configuration is changed, it only applies to the data
// created after the change; the TTL of existing data created before the
// change stays intact.
RetentionWindowDays int32 `protobuf:"varint,6,opt,name=retention_window_days,json=retentionWindowDays,proto3,oneof"`
}SentimentAnalysisResult
type SentimentAnalysisResult struct {
// Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
//
// sentiment).
Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"`
// A non-negative number in the [0, +inf) range, which represents the absolute
// magnitude of sentiment, regardless of score (positive or negative).
Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude,proto3" json:"magnitude,omitempty"`
// contains filtered or unexported fields
}The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral.
func (*SentimentAnalysisResult) Descriptor
func (*SentimentAnalysisResult) Descriptor() ([]byte, []int)Deprecated: Use SentimentAnalysisResult.ProtoReflect.Descriptor instead.
func (*SentimentAnalysisResult) GetMagnitude
func (x *SentimentAnalysisResult) GetMagnitude() float32func (*SentimentAnalysisResult) GetScore
func (x *SentimentAnalysisResult) GetScore() float32func (*SentimentAnalysisResult) ProtoMessage
func (*SentimentAnalysisResult) ProtoMessage()func (*SentimentAnalysisResult) ProtoReflect
func (x *SentimentAnalysisResult) ProtoReflect() protoreflect.Messagefunc (*SentimentAnalysisResult) Reset
func (x *SentimentAnalysisResult) Reset()func (*SentimentAnalysisResult) String
func (x *SentimentAnalysisResult) String() stringSessionEntityType
type SessionEntityType struct {
// Required. The unique identifier of the session entity type.
// Format:
// `projects/Session entity types are referred to as User entity types and are entities that are built for an individual user such as favorites, preferences, playlists, and so on.
You can redefine a session entity type at the session level to extend or replace a [custom entity type][google.cloud.dialogflow.cx.v3.EntityType] at the user session level (we refer to the entity types defined at the agent level as "custom entity types").
Note: session entity types apply to all queries, regardless of the language.
For more information about entity types, see the Dialogflow documentation.
func (*SessionEntityType) Descriptor
func (*SessionEntityType) Descriptor() ([]byte, []int)Deprecated: Use SessionEntityType.ProtoReflect.Descriptor instead.
func (*SessionEntityType) GetEntities
func (x *SessionEntityType) GetEntities() []*EntityType_Entityfunc (*SessionEntityType) GetEntityOverrideMode
func (x *SessionEntityType) GetEntityOverrideMode() SessionEntityType_EntityOverrideModefunc (*SessionEntityType) GetName
func (x *SessionEntityType) GetName() stringfunc (*SessionEntityType) ProtoMessage
func (*SessionEntityType) ProtoMessage()func (*SessionEntityType) ProtoReflect
func (x *SessionEntityType) ProtoReflect() protoreflect.Messagefunc (*SessionEntityType) Reset
func (x *SessionEntityType) Reset()func (*SessionEntityType) String
func (x *SessionEntityType) String() stringSessionEntityType_EntityOverrideMode
type SessionEntityType_EntityOverrideMode int32The types of modifications for the session entity type.
SessionEntityType_ENTITY_OVERRIDE_MODE_UNSPECIFIED, SessionEntityType_ENTITY_OVERRIDE_MODE_OVERRIDE, SessionEntityType_ENTITY_OVERRIDE_MODE_SUPPLEMENT
const (
// Not specified. This value should be never used.
SessionEntityType_ENTITY_OVERRIDE_MODE_UNSPECIFIED SessionEntityType_EntityOverrideMode = 0
// The collection of session entities overrides the collection of entities
// in the corresponding custom entity type.
SessionEntityType_ENTITY_OVERRIDE_MODE_OVERRIDE SessionEntityType_EntityOverrideMode = 1
// The collection of session entities extends the collection of entities in
// the corresponding custom entity type.
//
// Note: Even in this override mode calls to `ListSessionEntityTypes`,
// `GetSessionEntityType`, `CreateSessionEntityType` and
// `UpdateSessionEntityType` only return the additional entities added in
// this session entity type. If you want to get the supplemented list,
// please call
// [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType]
// on the custom entity type and merge.
SessionEntityType_ENTITY_OVERRIDE_MODE_SUPPLEMENT SessionEntityType_EntityOverrideMode = 2
)func (SessionEntityType_EntityOverrideMode) Descriptor
func (SessionEntityType_EntityOverrideMode) Descriptor() protoreflect.EnumDescriptorfunc (SessionEntityType_EntityOverrideMode) Enum
func (x SessionEntityType_EntityOverrideMode) Enum() *SessionEntityType_EntityOverrideModefunc (SessionEntityType_EntityOverrideMode) EnumDescriptor
func (SessionEntityType_EntityOverrideMode) EnumDescriptor() ([]byte, []int)Deprecated: Use SessionEntityType_EntityOverrideMode.Descriptor instead.
func (SessionEntityType_EntityOverrideMode) Number
func (x SessionEntityType_EntityOverrideMode) Number() protoreflect.EnumNumberfunc (SessionEntityType_EntityOverrideMode) String
func (x SessionEntityType_EntityOverrideMode) String() stringfunc (SessionEntityType_EntityOverrideMode) Type
func (SessionEntityType_EntityOverrideMode) Type() protoreflect.EnumTypeSessionEntityTypesClient
type SessionEntityTypesClient interface {
// Returns the list of all session entity types in the specified session.
ListSessionEntityTypes(ctx context.Context, in *ListSessionEntityTypesRequest, opts ...grpc.CallOption) (*ListSessionEntityTypesResponse, error)
// Retrieves the specified session entity type.
GetSessionEntityType(ctx context.Context, in *GetSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error)
// Creates a session entity type.
CreateSessionEntityType(ctx context.Context, in *CreateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error)
// Updates the specified session entity type.
UpdateSessionEntityType(ctx context.Context, in *UpdateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error)
// Deletes the specified session entity type.
DeleteSessionEntityType(ctx context.Context, in *DeleteSessionEntityTypeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}SessionEntityTypesClient is the client API for SessionEntityTypes service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSessionEntityTypesClient
func NewSessionEntityTypesClient(cc grpc.ClientConnInterface) SessionEntityTypesClientSessionEntityTypesServer
type SessionEntityTypesServer interface {
// Returns the list of all session entity types in the specified session.
ListSessionEntityTypes(context.Context, *ListSessionEntityTypesRequest) (*ListSessionEntityTypesResponse, error)
// Retrieves the specified session entity type.
GetSessionEntityType(context.Context, *GetSessionEntityTypeRequest) (*SessionEntityType, error)
// Creates a session entity type.
CreateSessionEntityType(context.Context, *CreateSessionEntityTypeRequest) (*SessionEntityType, error)
// Updates the specified session entity type.
UpdateSessionEntityType(context.Context, *UpdateSessionEntityTypeRequest) (*SessionEntityType, error)
// Deletes the specified session entity type.
DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*emptypb.Empty, error)
}SessionEntityTypesServer is the server API for SessionEntityTypes service. All implementations should embed UnimplementedSessionEntityTypesServer for forward compatibility
SessionInfo
type SessionInfo struct {
// Always present for
// [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for
// [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The
// unique identifier of the
// [session][google.cloud.dialogflow.cx.v3.DetectIntentRequest.session]. This
// field can be used by the webhook to identify a session.
// Format:
// `projects/Represents session information communicated to and from the webhook.
func (*SessionInfo) Descriptor
func (*SessionInfo) Descriptor() ([]byte, []int)Deprecated: Use SessionInfo.ProtoReflect.Descriptor instead.
func (*SessionInfo) GetParameters
func (x *SessionInfo) GetParameters() map[string]*structpb.Valuefunc (*SessionInfo) GetSession
func (x *SessionInfo) GetSession() stringfunc (*SessionInfo) ProtoMessage
func (*SessionInfo) ProtoMessage()func (*SessionInfo) ProtoReflect
func (x *SessionInfo) ProtoReflect() protoreflect.Messagefunc (*SessionInfo) Reset
func (x *SessionInfo) Reset()func (*SessionInfo) String
func (x *SessionInfo) String() stringSessionsClient
type SessionsClient interface {
// Processes a natural language query and returns structured, actionable data
// as a result. This method is not idempotent, because it may cause session
// entity types to be updated, which in turn might affect results of future
// queries.
//
// Note: Always use agent versions for production traffic.
// See [Versions and
// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
DetectIntent(ctx context.Context, in *DetectIntentRequest, opts ...grpc.CallOption) (*DetectIntentResponse, error)
// Processes a natural language query and returns structured, actionable data
// as a result through server-side streaming. Server-side streaming allows
// Dialogflow to send [partial
// responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response)
// earlier in a single request.
ServerStreamingDetectIntent(ctx context.Context, in *DetectIntentRequest, opts ...grpc.CallOption) (Sessions_ServerStreamingDetectIntentClient, error)
// Processes a natural language query in audio format in a streaming fashion
// and returns structured, actionable data as a result. This method is only
// available via the gRPC API (not REST).
//
// Note: Always use agent versions for production traffic.
// See [Versions and
// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
StreamingDetectIntent(ctx context.Context, opts ...grpc.CallOption) (Sessions_StreamingDetectIntentClient, error)
// Returns preliminary intent match results, doesn't change the session
// status.
MatchIntent(ctx context.Context, in *MatchIntentRequest, opts ...grpc.CallOption) (*MatchIntentResponse, error)
// Fulfills a matched intent returned by
// [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be
// called after
// [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with
// input from
// [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse].
// Otherwise, the behavior is undefined.
FulfillIntent(ctx context.Context, in *FulfillIntentRequest, opts ...grpc.CallOption) (*FulfillIntentResponse, error)
// Updates the feedback received from the user for a single turn of the bot
// response.
SubmitAnswerFeedback(ctx context.Context, in *SubmitAnswerFeedbackRequest, opts ...grpc.CallOption) (*AnswerFeedback, error)
}SessionsClient is the client API for Sessions 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 NewSessionsClient
func NewSessionsClient(cc grpc.ClientConnInterface) SessionsClientSessionsServer
type SessionsServer interface {
// Processes a natural language query and returns structured, actionable data
// as a result. This method is not idempotent, because it may cause session
// entity types to be updated, which in turn might affect results of future
// queries.
//
// Note: Always use agent versions for production traffic.
// See [Versions and
// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
DetectIntent(context.Context, *DetectIntentRequest) (*DetectIntentResponse, error)
// Processes a natural language query and returns structured, actionable data
// as a result through server-side streaming. Server-side streaming allows
// Dialogflow to send [partial
// responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response)
// earlier in a single request.
ServerStreamingDetectIntent(*DetectIntentRequest, Sessions_ServerStreamingDetectIntentServer) error
// Processes a natural language query in audio format in a streaming fashion
// and returns structured, actionable data as a result. This method is only
// available via the gRPC API (not REST).
//
// Note: Always use agent versions for production traffic.
// See [Versions and
// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
StreamingDetectIntent(Sessions_StreamingDetectIntentServer) error
// Returns preliminary intent match results, doesn't change the session
// status.
MatchIntent(context.Context, *MatchIntentRequest) (*MatchIntentResponse, error)
// Fulfills a matched intent returned by
// [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent]. Must be
// called after
// [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with
// input from
// [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse].
// Otherwise, the behavior is undefined.
FulfillIntent(context.Context, *FulfillIntentRequest) (*FulfillIntentResponse, error)
// Updates the feedback received from the user for a single turn of the bot
// response.
SubmitAnswerFeedback(context.Context, *SubmitAnswerFeedbackRequest) (*AnswerFeedback, error)
}SessionsServer is the server API for Sessions service. All implementations should embed UnimplementedSessionsServer for forward compatibility
Sessions_ServerStreamingDetectIntentClient
type Sessions_ServerStreamingDetectIntentClient interface {
Recv() (*DetectIntentResponse, error)
grpc.ClientStream
}Sessions_ServerStreamingDetectIntentServer
type Sessions_ServerStreamingDetectIntentServer interface {
Send(*DetectIntentResponse) error
grpc.ServerStream
}Sessions_StreamingDetectIntentClient
type Sessions_StreamingDetectIntentClient interface {
Send(*StreamingDetectIntentRequest) error
Recv() (*StreamingDetectIntentResponse, error)
grpc.ClientStream
}Sessions_StreamingDetectIntentServer
type Sessions_StreamingDetectIntentServer interface {
Send(*StreamingDetectIntentResponse) error
Recv() (*StreamingDetectIntentRequest, error)
grpc.ServerStream
}SpeechModelVariant
type SpeechModelVariant int32Variant of the specified [Speech model][google.cloud.dialogflow.cx.v3.InputAudioConfig.model] to use.
See the Cloud Speech documentation for which models have different variants. For example, the "phone_call" model has both a standard and an enhanced variant. When you use an enhanced model, you will generally receive higher quality results than for a standard model.
SpeechModelVariant_SPEECH_MODEL_VARIANT_UNSPECIFIED, SpeechModelVariant_USE_BEST_AVAILABLE, SpeechModelVariant_USE_STANDARD, SpeechModelVariant_USE_ENHANCED
const (
// No model variant specified. In this case Dialogflow defaults to
// USE_BEST_AVAILABLE.
SpeechModelVariant_SPEECH_MODEL_VARIANT_UNSPECIFIED SpeechModelVariant = 0
// Use the best available variant of the [Speech
// model][InputAudioConfig.model] that the caller is eligible for.
SpeechModelVariant_USE_BEST_AVAILABLE SpeechModelVariant = 1
// Use standard model variant even if an enhanced model is available. See the
// [Cloud Speech
// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
// for details about enhanced models.
SpeechModelVariant_USE_STANDARD SpeechModelVariant = 2
// Use an enhanced model variant:
//
// - If an enhanced variant does not exist for the given
// [model][google.cloud.dialogflow.cx.v3.InputAudioConfig.model] and request
// language, Dialogflow falls back to the standard variant.
//
// The [Cloud Speech
// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
// describes which models have enhanced variants.
SpeechModelVariant_USE_ENHANCED SpeechModelVariant = 3
)func (SpeechModelVariant) Descriptor
func (SpeechModelVariant) Descriptor() protoreflect.EnumDescriptorfunc (SpeechModelVariant) Enum
func (x SpeechModelVariant) Enum() *SpeechModelVariantfunc (SpeechModelVariant) EnumDescriptor
func (SpeechModelVariant) EnumDescriptor() ([]byte, []int)Deprecated: Use SpeechModelVariant.Descriptor instead.
func (SpeechModelVariant) Number
func (x SpeechModelVariant) Number() protoreflect.EnumNumberfunc (SpeechModelVariant) String
func (x SpeechModelVariant) String() stringfunc (SpeechModelVariant) Type
func (SpeechModelVariant) Type() protoreflect.EnumTypeSpeechProcessingMetadata
type SpeechProcessingMetadata struct {
// Output only. The display name of the speech processing.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}Metadata of the speech-to-text and text-to-speech processing.
func (*SpeechProcessingMetadata) Descriptor
func (*SpeechProcessingMetadata) Descriptor() ([]byte, []int)Deprecated: Use SpeechProcessingMetadata.ProtoReflect.Descriptor instead.
func (*SpeechProcessingMetadata) GetDisplayName
func (x *SpeechProcessingMetadata) GetDisplayName() stringfunc (*SpeechProcessingMetadata) ProtoMessage
func (*SpeechProcessingMetadata) ProtoMessage()func (*SpeechProcessingMetadata) ProtoReflect
func (x *SpeechProcessingMetadata) ProtoReflect() protoreflect.Messagefunc (*SpeechProcessingMetadata) Reset
func (x *SpeechProcessingMetadata) Reset()func (*SpeechProcessingMetadata) String
func (x *SpeechProcessingMetadata) String() stringSpeechToTextSettings
type SpeechToTextSettings struct {
// Whether to use speech adaptation for speech recognition.
EnableSpeechAdaptation bool `protobuf:"varint,1,opt,name=enable_speech_adaptation,json=enableSpeechAdaptation,proto3" json:"enable_speech_adaptation,omitempty"`
// contains filtered or unexported fields
}Settings related to speech recognition.
func (*SpeechToTextSettings) Descriptor
func (*SpeechToTextSettings) Descriptor() ([]byte, []int)Deprecated: Use SpeechToTextSettings.ProtoReflect.Descriptor instead.
func (*SpeechToTextSettings) GetEnableSpeechAdaptation
func (x *SpeechToTextSettings) GetEnableSpeechAdaptation() boolfunc (*SpeechToTextSettings) ProtoMessage
func (*SpeechToTextSettings) ProtoMessage()func (*SpeechToTextSettings) ProtoReflect
func (x *SpeechToTextSettings) ProtoReflect() protoreflect.Messagefunc (*SpeechToTextSettings) Reset
func (x *SpeechToTextSettings) Reset()func (*SpeechToTextSettings) String
func (x *SpeechToTextSettings) String() stringSpeechWordInfo
type SpeechWordInfo struct {
// The word this info is for.
Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"`
// Time offset relative to the beginning of the audio that corresponds to the
// start of the spoken word. This is an experimental feature and the accuracy
// of the time offset can vary.
StartOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"`
// Time offset relative to the beginning of the audio that corresponds to the
// end of the spoken word. This is an experimental feature and the accuracy of
// the time offset can vary.
EndOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"`
// The Speech confidence between 0.0 and 1.0 for this word. A higher number
// indicates an estimated greater likelihood that the recognized word is
// correct. The default of 0.0 is a sentinel value indicating that confidence
// was not set.
//
// This field is not guaranteed to be fully stable over time for the same
// audio input. Users should also not rely on it to always be provided.
Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
// contains filtered or unexported fields
}Information for a word recognized by the speech recognizer.
func (*SpeechWordInfo) Descriptor
func (*SpeechWordInfo) Descriptor() ([]byte, []int)Deprecated: Use SpeechWordInfo.ProtoReflect.Descriptor instead.
func (*SpeechWordInfo) GetConfidence
func (x *SpeechWordInfo) GetConfidence() float32func (*SpeechWordInfo) GetEndOffset
func (x *SpeechWordInfo) GetEndOffset() *durationpb.Durationfunc (*SpeechWordInfo) GetStartOffset
func (x *SpeechWordInfo) GetStartOffset() *durationpb.Durationfunc (*SpeechWordInfo) GetWord
func (x *SpeechWordInfo) GetWord() stringfunc (*SpeechWordInfo) ProtoMessage
func (*SpeechWordInfo) ProtoMessage()func (*SpeechWordInfo) ProtoReflect
func (x *SpeechWordInfo) ProtoReflect() protoreflect.Messagefunc (*SpeechWordInfo) Reset
func (x *SpeechWordInfo) Reset()func (*SpeechWordInfo) String
func (x *SpeechWordInfo) String() stringSsmlVoiceGender
type SsmlVoiceGender int32Gender of the voice as described in SSML voice element.
SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED, SsmlVoiceGender_SSML_VOICE_GENDER_MALE, SsmlVoiceGender_SSML_VOICE_GENDER_FEMALE, SsmlVoiceGender_SSML_VOICE_GENDER_NEUTRAL
const (
// An unspecified gender, which means that the client doesn't care which
// gender the selected voice will have.
SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED SsmlVoiceGender = 0
// A male voice.
SsmlVoiceGender_SSML_VOICE_GENDER_MALE SsmlVoiceGender = 1
// A female voice.
SsmlVoiceGender_SSML_VOICE_GENDER_FEMALE SsmlVoiceGender = 2
// A gender-neutral voice.
SsmlVoiceGender_SSML_VOICE_GENDER_NEUTRAL SsmlVoiceGender = 3
)func (SsmlVoiceGender) Descriptor
func (SsmlVoiceGender) Descriptor() protoreflect.EnumDescriptorfunc (SsmlVoiceGender) Enum
func (x SsmlVoiceGender) Enum() *SsmlVoiceGenderfunc (SsmlVoiceGender) EnumDescriptor
func (SsmlVoiceGender) EnumDescriptor() ([]byte, []int)Deprecated: Use SsmlVoiceGender.Descriptor instead.
func (SsmlVoiceGender) Number
func (x SsmlVoiceGender) Number() protoreflect.EnumNumberfunc (SsmlVoiceGender) String
func (x SsmlVoiceGender) String() stringfunc (SsmlVoiceGender) Type
func (SsmlVoiceGender) Type() protoreflect.EnumTypeStartExperimentRequest
type StartExperimentRequest struct {
// Required. Resource name of the experiment to start.
// Format:
// `projects/The request message for [Experiments.StartExperiment][google.cloud.dialogflow.cx.v3.Experiments.StartExperiment].
func (*StartExperimentRequest) Descriptor
func (*StartExperimentRequest) Descriptor() ([]byte, []int)Deprecated: Use StartExperimentRequest.ProtoReflect.Descriptor instead.
func (*StartExperimentRequest) GetName
func (x *StartExperimentRequest) GetName() stringfunc (*StartExperimentRequest) ProtoMessage
func (*StartExperimentRequest) ProtoMessage()func (*StartExperimentRequest) ProtoReflect
func (x *StartExperimentRequest) ProtoReflect() protoreflect.Messagefunc (*StartExperimentRequest) Reset
func (x *StartExperimentRequest) Reset()func (*StartExperimentRequest) String
func (x *StartExperimentRequest) String() stringStopExperimentRequest
type StopExperimentRequest struct {
// Required. Resource name of the experiment to stop.
// Format:
// `projects/The request message for [Experiments.StopExperiment][google.cloud.dialogflow.cx.v3.Experiments.StopExperiment].
func (*StopExperimentRequest) Descriptor
func (*StopExperimentRequest) Descriptor() ([]byte, []int)Deprecated: Use StopExperimentRequest.ProtoReflect.Descriptor instead.
func (*StopExperimentRequest) GetName
func (x *StopExperimentRequest) GetName() stringfunc (*StopExperimentRequest) ProtoMessage
func (*StopExperimentRequest) ProtoMessage()func (*StopExperimentRequest) ProtoReflect
func (x *StopExperimentRequest) ProtoReflect() protoreflect.Messagefunc (*StopExperimentRequest) Reset
func (x *StopExperimentRequest) Reset()func (*StopExperimentRequest) String
func (x *StopExperimentRequest) String() stringStreamingDetectIntentRequest
type StreamingDetectIntentRequest struct {
// The name of the session this query is sent to.
// Format:
// `projects/The top-level message sent by the client to the [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent] method.
Multiple request messages should be sent in order:
- The first message must contain [session][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.session], [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] plus optionally [query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params]. If the client wants to receive an audio response, it should also contain [output_audio_config][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.output_audio_config].
If [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] was set to
[query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], all subsequent messages must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3.AudioInput.audio] to continue with Speech recognition. If you decide to rather detect an intent from text input after you already started Speech recognition, please send a message with [query_input.text][google.cloud.dialogflow.cx.v3.QueryInput.text].
However, note that:
- Dialogflow will bill you for the audio duration so far.
- Dialogflow discards all Speech recognition results in favor of the input text.
- Dialogflow will use the language code from the first message.
After you sent all input, you must half-close or abort the request stream.
func (*StreamingDetectIntentRequest) Descriptor
func (*StreamingDetectIntentRequest) Descriptor() ([]byte, []int)Deprecated: Use StreamingDetectIntentRequest.ProtoReflect.Descriptor instead.
func (*StreamingDetectIntentRequest) GetEnableDebuggingInfo
func (x *StreamingDetectIntentRequest) GetEnableDebuggingInfo() boolfunc (*StreamingDetectIntentRequest) GetEnablePartialResponse
func (x *StreamingDetectIntentRequest) GetEnablePartialResponse() boolfunc (*StreamingDetectIntentRequest) GetOutputAudioConfig
func (x *StreamingDetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfigfunc (*StreamingDetectIntentRequest) GetQueryInput
func (x *StreamingDetectIntentRequest) GetQueryInput() *QueryInputfunc (*StreamingDetectIntentRequest) GetQueryParams
func (x *StreamingDetectIntentRequest) GetQueryParams() *QueryParametersfunc (*StreamingDetectIntentRequest) GetResponseView
func (x *StreamingDetectIntentRequest) GetResponseView() DetectIntentResponseViewfunc (*StreamingDetectIntentRequest) GetSession
func (x *StreamingDetectIntentRequest) GetSession() stringfunc (*StreamingDetectIntentRequest) ProtoMessage
func (*StreamingDetectIntentRequest) ProtoMessage()func (*StreamingDetectIntentRequest) ProtoReflect
func (x *StreamingDetectIntentRequest) ProtoReflect() protoreflect.Messagefunc (*StreamingDetectIntentRequest) Reset
func (x *StreamingDetectIntentRequest) Reset()func (*StreamingDetectIntentRequest) String
func (x *StreamingDetectIntentRequest) String() stringStreamingDetectIntentResponse
type StreamingDetectIntentResponse struct {
// The output response.
//
// Types that are valid to be assigned to Response:
//
// *StreamingDetectIntentResponse_RecognitionResult
// *StreamingDetectIntentResponse_DetectIntentResponse
Response isStreamingDetectIntentResponse_Response `protobuf_oneof:"response"`
// Debugging info that would get populated when
// `StreamingDetectIntentRequest.enable_debugging_info` is set to true.
DebuggingInfo *CloudConversationDebuggingInfo `protobuf:"bytes,4,opt,name=debugging_info,json=debuggingInfo,proto3" json:"debugging_info,omitempty"`
// contains filtered or unexported fields
}The top-level message returned from the [StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent] method.
Multiple response messages can be returned in order:
If the
StreamingDetectIntentRequest.query_input.audiofield was set, the first M messages containrecognition_result. Eachrecognition_resultrepresents a more complete transcript of what the user said. The lastrecognition_resulthasis_finalset totrue.If the
StreamingDetectIntentRequest.enable_partial_responsefield was true, thedetect_intent_responsefield is populated for each of the following N responses, where 0 <= N <= 5. These responses set the [DetectIntentResponse.response_type][google.cloud.dialogflow.cx.v3.DetectIntentResponse.response_type] field toPARTIAL.
For the last response message, the detect_intent_response is fully
populated, and
[DetectIntentResponse.response_type][google.cloud.dialogflow.cx.v3.DetectIntentResponse.response_type]
is set to FINAL.
func (*StreamingDetectIntentResponse) Descriptor
func (*StreamingDetectIntentResponse) Descriptor() ([]byte, []int)Deprecated: Use StreamingDetectIntentResponse.ProtoReflect.Descriptor instead.
func (*StreamingDetectIntentResponse) GetDebuggingInfo
func (x *StreamingDetectIntentResponse) GetDebuggingInfo() *CloudConversationDebuggingInfofunc (*StreamingDetectIntentResponse) GetDetectIntentResponse
func (x *StreamingDetectIntentResponse) GetDetectIntentResponse() *DetectIntentResponsefunc (*StreamingDetectIntentResponse) GetRecognitionResult
func (x *StreamingDetectIntentResponse) GetRecognitionResult() *StreamingRecognitionResultfunc (*StreamingDetectIntentResponse) GetResponse
func (x *StreamingDetectIntentResponse) GetResponse() isStreamingDetectIntentResponse_Responsefunc (*StreamingDetectIntentResponse) ProtoMessage
func (*StreamingDetectIntentResponse) ProtoMessage()func (*StreamingDetectIntentResponse) ProtoReflect
func (x *StreamingDetectIntentResponse) ProtoReflect() protoreflect.Messagefunc (*StreamingDetectIntentResponse) Reset
func (x *StreamingDetectIntentResponse) Reset()func (*StreamingDetectIntentResponse) String
func (x *StreamingDetectIntentResponse) String() stringStreamingDetectIntentResponse_DetectIntentResponse
type StreamingDetectIntentResponse_DetectIntentResponse struct {
// The response from detect intent.
DetectIntentResponse *DetectIntentResponse `protobuf:"bytes,2,opt,name=detect_intent_response,json=detectIntentResponse,proto3,oneof"`
}StreamingDetectIntentResponse_RecognitionResult
type StreamingDetectIntentResponse_RecognitionResult struct {
// The result of speech recognition.
RecognitionResult *StreamingRecognitionResult `protobuf:"bytes,1,opt,name=recognition_result,json=recognitionResult,proto3,oneof"`
}StreamingRecognitionResult
type StreamingRecognitionResult struct {
// Type of the result message.
MessageType StreamingRecognitionResult_MessageType `protobuf:"varint,1,opt,name=message_type,json=messageType,proto3,enum=google.cloud.dialogflow.cx.v3.StreamingRecognitionResult_MessageType" json:"message_type,omitempty"`
// Transcript text representing the words that the user spoke.
// Populated if and only if `message_type` = `TRANSCRIPT`.
Transcript string `protobuf:"bytes,2,opt,name=transcript,proto3" json:"transcript,omitempty"`
// If `false`, the `StreamingRecognitionResult` represents an
// interim result that may change. If `true`, the recognizer will not return
// any further hypotheses about this piece of the audio. May only be populated
// for `message_type` = `TRANSCRIPT`.
IsFinal bool `protobuf:"varint,3,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"`
// The Speech confidence between 0.0 and 1.0 for the current portion of audio.
// A higher number indicates an estimated greater likelihood that the
// recognized words are correct. The default of 0.0 is a sentinel value
// indicating that confidence was not set.
//
// This field is typically only provided if `is_final` is true and you should
// not rely on it being accurate or even set.
Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
// An estimate of the likelihood that the speech recognizer will
// not change its guess about this interim recognition result:
// - If the value is unspecified or 0.0, Dialogflow didn't compute the
// stability. In particular, Dialogflow will only provide stability for
// `TRANSCRIPT` results with `is_final = false`.
// - Otherwise, the value is in (0.0, 1.0] where 0.0 means completely
// unstable and 1.0 means completely stable.
Stability float32 `protobuf:"fixed32,6,opt,name=stability,proto3" json:"stability,omitempty"`
// Word-specific information for the words recognized by Speech in
// [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript].
// Populated if and only if `message_type` = `TRANSCRIPT` and
// [InputAudioConfig.enable_word_info] is set.
SpeechWordInfo []*SpeechWordInfo `protobuf:"bytes,7,rep,name=speech_word_info,json=speechWordInfo,proto3" json:"speech_word_info,omitempty"`
// Time offset of the end of this Speech recognition result relative to the
// beginning of the audio. Only populated for `message_type` =
// `TRANSCRIPT`.
SpeechEndOffset *durationpb.Duration `protobuf:"bytes,8,opt,name=speech_end_offset,json=speechEndOffset,proto3" json:"speech_end_offset,omitempty"`
// Detected language code for the transcript.
LanguageCode string `protobuf:"bytes,10,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// contains filtered or unexported fields
}Contains a speech recognition result corresponding to a portion of the audio that is currently being processed or an indication that this is the end of the single requested utterance.
While end-user audio is being processed, Dialogflow sends a series of
results. Each result may contain a transcript value. A transcript
represents a portion of the utterance. While the recognizer is processing
audio, transcript values may be interim values or finalized values.
Once a transcript is finalized, the is_final value is set to true and
processing continues for the next transcript.
If StreamingDetectIntentRequest.query_input.audio.config.single_utterance
was true, and the recognizer has completed processing audio,
the message_type value is set to `END_OF_SINGLE_UTTERANCE and the
following (last) result contains the last finalized transcript.
The complete end-user utterance is determined by concatenating the finalized transcript values received for the series of results.
In the following example, single utterance is enabled. In the case where single utterance is not enabled, result 7 would not occur.
Num | transcript | message_type | is_final
--- | ----------------------- | ----------------------- | --------
1 | "tube" | TRANSCRIPT | false
2 | "to be a" | TRANSCRIPT | false
3 | "to be" | TRANSCRIPT | false
4 | "to be or not to be" | TRANSCRIPT | true
5 | "that's" | TRANSCRIPT | false
6 | "that is | TRANSCRIPT | false
7 | unset | END_OF_SINGLE_UTTERANCE | unset
8 | " that is the question" | TRANSCRIPT | true
Concatenating the finalized transcripts with is_final set to true,
the complete utterance becomes "to be or not to be that is the question".
func (*StreamingRecognitionResult) Descriptor
func (*StreamingRecognitionResult) Descriptor() ([]byte, []int)Deprecated: Use StreamingRecognitionResult.ProtoReflect.Descriptor instead.
func (*StreamingRecognitionResult) GetConfidence
func (x *StreamingRecognitionResult) GetConfidence() float32func (*StreamingRecognitionResult) GetIsFinal
func (x *StreamingRecognitionResult) GetIsFinal() boolfunc (*StreamingRecognitionResult) GetLanguageCode
func (x *StreamingRecognitionResult) GetLanguageCode() stringfunc (*StreamingRecognitionResult) GetMessageType
func (x *StreamingRecognitionResult) GetMessageType() StreamingRecognitionResult_MessageTypefunc (*StreamingRecognitionResult) GetSpeechEndOffset
func (x *StreamingRecognitionResult) GetSpeechEndOffset() *durationpb.Durationfunc (*StreamingRecognitionResult) GetSpeechWordInfo
func (x *StreamingRecognitionResult) GetSpeechWordInfo() []*SpeechWordInfofunc (*StreamingRecognitionResult) GetStability
func (x *StreamingRecognitionResult) GetStability() float32func (*StreamingRecognitionResult) GetTranscript
func (x *StreamingRecognitionResult) GetTranscript() stringfunc (*StreamingRecognitionResult) ProtoMessage
func (*StreamingRecognitionResult) ProtoMessage()func (*StreamingRecognitionResult) ProtoReflect
func (x *StreamingRecognitionResult) ProtoReflect() protoreflect.Messagefunc (*StreamingRecognitionResult) Reset
func (x *StreamingRecognitionResult) Reset()func (*StreamingRecognitionResult) String
func (x *StreamingRecognitionResult) String() stringStreamingRecognitionResult_MessageType
type StreamingRecognitionResult_MessageType int32Type of the response message.
StreamingRecognitionResult_MESSAGE_TYPE_UNSPECIFIED, StreamingRecognitionResult_TRANSCRIPT, StreamingRecognitionResult_END_OF_SINGLE_UTTERANCE
const (
// Not specified. Should never be used.
StreamingRecognitionResult_MESSAGE_TYPE_UNSPECIFIED StreamingRecognitionResult_MessageType = 0
// Message contains a (possibly partial) transcript.
StreamingRecognitionResult_TRANSCRIPT StreamingRecognitionResult_MessageType = 1
// This event indicates that the server has detected the end of the user's
// speech utterance and expects no additional speech. Therefore, the server
// will not process additional audio (although it may subsequently return
// additional results). The client should stop sending additional audio
// data, half-close the gRPC connection, and wait for any additional results
// until the server closes the gRPC connection. This message is only sent if
// [`single_utterance`][google.cloud.dialogflow.cx.v3.InputAudioConfig.single_utterance]
// was set to `true`, and is not used otherwise.
StreamingRecognitionResult_END_OF_SINGLE_UTTERANCE StreamingRecognitionResult_MessageType = 2
)func (StreamingRecognitionResult_MessageType) Descriptor
func (StreamingRecognitionResult_MessageType) Descriptor() protoreflect.EnumDescriptorfunc (StreamingRecognitionResult_MessageType) Enum
func (StreamingRecognitionResult_MessageType) EnumDescriptor
func (StreamingRecognitionResult_MessageType) EnumDescriptor() ([]byte, []int)Deprecated: Use StreamingRecognitionResult_MessageType.Descriptor instead.
func (StreamingRecognitionResult_MessageType) Number
func (x StreamingRecognitionResult_MessageType) Number() protoreflect.EnumNumberfunc (StreamingRecognitionResult_MessageType) String
func (x StreamingRecognitionResult_MessageType) String() stringfunc (StreamingRecognitionResult_MessageType) Type
func (StreamingRecognitionResult_MessageType) Type() protoreflect.EnumTypeSubmitAnswerFeedbackRequest
type SubmitAnswerFeedbackRequest struct {
// Required. The name of the session the feedback was sent to.
Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
// Required. ID of the response to update its feedback. This is the same as
// DetectIntentResponse.response_id.
ResponseId string `protobuf:"bytes,2,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"`
// Required. Feedback provided for a bot answer.
AnswerFeedback *AnswerFeedback `protobuf:"bytes,3,opt,name=answer_feedback,json=answerFeedback,proto3" json:"answer_feedback,omitempty"`
// Optional. The mask to control which fields to update. If the mask is not
// present, all fields will be 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 to set the feedback for a bot answer.
func (*SubmitAnswerFeedbackRequest) Descriptor
func (*SubmitAnswerFeedbackRequest) Descriptor() ([]byte, []int)Deprecated: Use SubmitAnswerFeedbackRequest.ProtoReflect.Descriptor instead.
func (*SubmitAnswerFeedbackRequest) GetAnswerFeedback
func (x *SubmitAnswerFeedbackRequest) GetAnswerFeedback() *AnswerFeedbackfunc (*SubmitAnswerFeedbackRequest) GetResponseId
func (x *SubmitAnswerFeedbackRequest) GetResponseId() stringfunc (*SubmitAnswerFeedbackRequest) GetSession
func (x *SubmitAnswerFeedbackRequest) GetSession() stringfunc (*SubmitAnswerFeedbackRequest) GetUpdateMask
func (x *SubmitAnswerFeedbackRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*SubmitAnswerFeedbackRequest) ProtoMessage
func (*SubmitAnswerFeedbackRequest) ProtoMessage()func (*SubmitAnswerFeedbackRequest) ProtoReflect
func (x *SubmitAnswerFeedbackRequest) ProtoReflect() protoreflect.Messagefunc (*SubmitAnswerFeedbackRequest) Reset
func (x *SubmitAnswerFeedbackRequest) Reset()func (*SubmitAnswerFeedbackRequest) String
func (x *SubmitAnswerFeedbackRequest) String() stringSynthesizeSpeechConfig
type SynthesizeSpeechConfig struct {
// Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
// native speed supported by the specific voice. 2.0 is twice as fast, and
// 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any
// other values < 0.25="" or=""> 4.0 will return an error.
SpeakingRate float64 `protobuf:"fixed64,1,opt,name=speaking_rate,json=speakingRate,proto3" json:"speaking_rate,omitempty"`
// Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20
// semitones from the original pitch. -20 means decrease 20 semitones from the
// original pitch.
Pitch float64 `protobuf:"fixed64,2,opt,name=pitch,proto3" json:"pitch,omitempty"`
// Optional. Volume gain (in dB) of the normal native volume supported by the
// specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of
// 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB)
// will play at approximately half the amplitude of the normal native signal
// amplitude. A value of +6.0 (dB) will play at approximately twice the
// amplitude of the normal native signal amplitude. We strongly recommend not
// to exceed +10 (dB) as there's usually no effective increase in loudness for
// any value greater than that.
VolumeGainDb float64 `protobuf:"fixed64,3,opt,name=volume_gain_db,json=volumeGainDb,proto3" json:"volume_gain_db,omitempty"`
// Optional. An identifier which selects 'audio effects' profiles that are
// applied on (post synthesized) text to speech. Effects are applied on top of
// each other in the order they are given.
EffectsProfileId []string `protobuf:"bytes,5,rep,name=effects_profile_id,json=effectsProfileId,proto3" json:"effects_profile_id,omitempty"`
// Optional. The desired voice of the synthesized audio.
Voice *VoiceSelectionParams `protobuf:"bytes,4,opt,name=voice,proto3" json:"voice,omitempty"`
// contains filtered or unexported fields
}Configuration of how speech should be synthesized.
func (*SynthesizeSpeechConfig) Descriptor
func (*SynthesizeSpeechConfig) Descriptor() ([]byte, []int)Deprecated: Use SynthesizeSpeechConfig.ProtoReflect.Descriptor instead.
func (*SynthesizeSpeechConfig) GetEffectsProfileId
func (x *SynthesizeSpeechConfig) GetEffectsProfileId() []stringfunc (*SynthesizeSpeechConfig) GetPitch
func (x *SynthesizeSpeechConfig) GetPitch() float64func (*SynthesizeSpeechConfig) GetSpeakingRate
func (x *SynthesizeSpeechConfig) GetSpeakingRate() float64func (*SynthesizeSpeechConfig) GetVoice
func (x *SynthesizeSpeechConfig) GetVoice() *VoiceSelectionParamsfunc (*SynthesizeSpeechConfig) GetVolumeGainDb
func (x *SynthesizeSpeechConfig) GetVolumeGainDb() float64func (*SynthesizeSpeechConfig) ProtoMessage
func (*SynthesizeSpeechConfig) ProtoMessage()func (*SynthesizeSpeechConfig) ProtoReflect
func (x *SynthesizeSpeechConfig) ProtoReflect() protoreflect.Messagefunc (*SynthesizeSpeechConfig) Reset
func (x *SynthesizeSpeechConfig) Reset()func (*SynthesizeSpeechConfig) String
func (x *SynthesizeSpeechConfig) String() stringTestCase
type TestCase struct {
// The unique identifier of the test case.
// [TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase]
// will populate the name automatically. Otherwise use format:
// `projects/Represents a test case.
func (*TestCase) Descriptor
Deprecated: Use TestCase.ProtoReflect.Descriptor instead.
func (*TestCase) GetCreationTime
func (x *TestCase) GetCreationTime() *timestamppb.Timestampfunc (*TestCase) GetDisplayName
func (*TestCase) GetLastTestResult
func (x *TestCase) GetLastTestResult() *TestCaseResultfunc (*TestCase) GetName
func (*TestCase) GetNotes
func (*TestCase) GetTags
func (*TestCase) GetTestCaseConversationTurns
func (x *TestCase) GetTestCaseConversationTurns() []*ConversationTurnfunc (*TestCase) GetTestConfig
func (x *TestCase) GetTestConfig() *TestConfigfunc (*TestCase) ProtoMessage
func (*TestCase) ProtoMessage()func (*TestCase) ProtoReflect
func (x *TestCase) ProtoReflect() protoreflect.Messagefunc (*TestCase) Reset
func (x *TestCase) Reset()func (*TestCase) String
TestCaseError
type TestCaseError struct {
// The test case.
TestCase *TestCase `protobuf:"bytes,1,opt,name=test_case,json=testCase,proto3" json:"test_case,omitempty"`
// The status associated with the test case.
Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}Error info for importing a test.
func (*TestCaseError) Descriptor
func (*TestCaseError) Descriptor() ([]byte, []int)Deprecated: Use TestCaseError.ProtoReflect.Descriptor instead.
func (*TestCaseError) GetStatus
func (x *TestCaseError) GetStatus() *status.Statusfunc (*TestCaseError) GetTestCase
func (x *TestCaseError) GetTestCase() *TestCasefunc (*TestCaseError) ProtoMessage
func (*TestCaseError) ProtoMessage()func (*TestCaseError) ProtoReflect
func (x *TestCaseError) ProtoReflect() protoreflect.Messagefunc (*TestCaseError) Reset
func (x *TestCaseError) Reset()func (*TestCaseError) String
func (x *TestCaseError) String() stringTestCaseResult
type TestCaseResult struct {
// The resource name for the test case result. Format:
// `projects/Represents a result from running a test case in an agent environment.
func (*TestCaseResult) Descriptor
func (*TestCaseResult) Descriptor() ([]byte, []int)Deprecated: Use TestCaseResult.ProtoReflect.Descriptor instead.
func (*TestCaseResult) GetConversationTurns
func (x *TestCaseResult) GetConversationTurns() []*ConversationTurnfunc (*TestCaseResult) GetEnvironment
func (x *TestCaseResult) GetEnvironment() stringfunc (*TestCaseResult) GetName
func (x *TestCaseResult) GetName() stringfunc (*TestCaseResult) GetTestResult
func (x *TestCaseResult) GetTestResult() TestResultfunc (*TestCaseResult) GetTestTime
func (x *TestCaseResult) GetTestTime() *timestamppb.Timestampfunc (*TestCaseResult) ProtoMessage
func (*TestCaseResult) ProtoMessage()func (*TestCaseResult) ProtoReflect
func (x *TestCaseResult) ProtoReflect() protoreflect.Messagefunc (*TestCaseResult) Reset
func (x *TestCaseResult) Reset()func (*TestCaseResult) String
func (x *TestCaseResult) String() stringTestCasesClient
type TestCasesClient interface {
// Fetches a list of test cases for a given agent.
ListTestCases(ctx context.Context, in *ListTestCasesRequest, opts ...grpc.CallOption) (*ListTestCasesResponse, error)
// Batch deletes test cases.
BatchDeleteTestCases(ctx context.Context, in *BatchDeleteTestCasesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Gets a test case.
GetTestCase(ctx context.Context, in *GetTestCaseRequest, opts ...grpc.CallOption) (*TestCase, error)
// Creates a test case for the given agent.
CreateTestCase(ctx context.Context, in *CreateTestCaseRequest, opts ...grpc.CallOption) (*TestCase, error)
// Updates the specified test case.
UpdateTestCase(ctx context.Context, in *UpdateTestCaseRequest, opts ...grpc.CallOption) (*TestCase, error)
// Kicks off a test case run.
//
// 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`:
// [RunTestCaseMetadata][google.cloud.dialogflow.cx.v3.RunTestCaseMetadata]
// - `response`:
// [RunTestCaseResponse][google.cloud.dialogflow.cx.v3.RunTestCaseResponse]
RunTestCase(ctx context.Context, in *RunTestCaseRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Kicks off a batch run of test cases.
//
// 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`:
// [BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata]
// - `response`:
// [BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse]
BatchRunTestCases(ctx context.Context, in *BatchRunTestCasesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Calculates the test coverage for an agent.
CalculateCoverage(ctx context.Context, in *CalculateCoverageRequest, opts ...grpc.CallOption) (*CalculateCoverageResponse, error)
// Imports the test cases from a Cloud Storage bucket or a local file. It
// always creates new test cases and won't overwrite any existing ones. The
// provided ID in the imported test case is neglected.
//
// 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`:
// [ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata]
// - `response`:
// [ImportTestCasesResponse][google.cloud.dialogflow.cx.v3.ImportTestCasesResponse]
ImportTestCases(ctx context.Context, in *ImportTestCasesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Exports the test cases under the agent to a Cloud Storage bucket or a local
// file. Filter can be applied to export a subset of test cases.
//
// 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`:
// [ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata]
// - `response`:
// [ExportTestCasesResponse][google.cloud.dialogflow.cx.v3.ExportTestCasesResponse]
ExportTestCases(ctx context.Context, in *ExportTestCasesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Fetches the list of run results for the given test case. A maximum of 100
// results are kept for each test case.
ListTestCaseResults(ctx context.Context, in *ListTestCaseResultsRequest, opts ...grpc.CallOption) (*ListTestCaseResultsResponse, error)
// Gets a test case result.
GetTestCaseResult(ctx context.Context, in *GetTestCaseResultRequest, opts ...grpc.CallOption) (*TestCaseResult, error)
}TestCasesClient is the client API for TestCases 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 NewTestCasesClient
func NewTestCasesClient(cc grpc.ClientConnInterface) TestCasesClientTestCasesServer
type TestCasesServer interface {
// Fetches a list of test cases for a given agent.
ListTestCases(context.Context, *ListTestCasesRequest) (*ListTestCasesResponse, error)
// Batch deletes test cases.
BatchDeleteTestCases(context.Context, *BatchDeleteTestCasesRequest) (*emptypb.Empty, error)
// Gets a test case.
GetTestCase(context.Context, *GetTestCaseRequest) (*TestCase, error)
// Creates a test case for the given agent.
CreateTestCase(context.Context, *CreateTestCaseRequest) (*TestCase, error)
// Updates the specified test case.
UpdateTestCase(context.Context, *UpdateTestCaseRequest) (*TestCase, error)
// Kicks off a test case run.
//
// 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`:
// [RunTestCaseMetadata][google.cloud.dialogflow.cx.v3.RunTestCaseMetadata]
// - `response`:
// [RunTestCaseResponse][google.cloud.dialogflow.cx.v3.RunTestCaseResponse]
RunTestCase(context.Context, *RunTestCaseRequest) (*longrunningpb.Operation, error)
// Kicks off a batch run of test cases.
//
// 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`:
// [BatchRunTestCasesMetadata][google.cloud.dialogflow.cx.v3.BatchRunTestCasesMetadata]
// - `response`:
// [BatchRunTestCasesResponse][google.cloud.dialogflow.cx.v3.BatchRunTestCasesResponse]
BatchRunTestCases(context.Context, *BatchRunTestCasesRequest) (*longrunningpb.Operation, error)
// Calculates the test coverage for an agent.
CalculateCoverage(context.Context, *CalculateCoverageRequest) (*CalculateCoverageResponse, error)
// Imports the test cases from a Cloud Storage bucket or a local file. It
// always creates new test cases and won't overwrite any existing ones. The
// provided ID in the imported test case is neglected.
//
// 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`:
// [ImportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ImportTestCasesMetadata]
// - `response`:
// [ImportTestCasesResponse][google.cloud.dialogflow.cx.v3.ImportTestCasesResponse]
ImportTestCases(context.Context, *ImportTestCasesRequest) (*longrunningpb.Operation, error)
// Exports the test cases under the agent to a Cloud Storage bucket or a local
// file. Filter can be applied to export a subset of test cases.
//
// 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`:
// [ExportTestCasesMetadata][google.cloud.dialogflow.cx.v3.ExportTestCasesMetadata]
// - `response`:
// [ExportTestCasesResponse][google.cloud.dialogflow.cx.v3.ExportTestCasesResponse]
ExportTestCases(context.Context, *ExportTestCasesRequest) (*longrunningpb.Operation, error)
// Fetches the list of run results for the given test case. A maximum of 100
// results are kept for each test case.
ListTestCaseResults(context.Context, *ListTestCaseResultsRequest) (*ListTestCaseResultsResponse, error)
// Gets a test case result.
GetTestCaseResult(context.Context, *GetTestCaseResultRequest) (*TestCaseResult, error)
}TestCasesServer is the server API for TestCases service. All implementations should embed UnimplementedTestCasesServer for forward compatibility
TestConfig
type TestConfig struct {
// Session parameters to be compared when calculating differences.
TrackingParameters []string `protobuf:"bytes,1,rep,name=tracking_parameters,json=trackingParameters,proto3" json:"tracking_parameters,omitempty"`
// Flow name to start the test case with.
// Format:
// `projects/Represents configurations for a test case.
func (*TestConfig) Descriptor
func (*TestConfig) Descriptor() ([]byte, []int)Deprecated: Use TestConfig.ProtoReflect.Descriptor instead.
func (*TestConfig) GetFlow
func (x *TestConfig) GetFlow() stringfunc (*TestConfig) GetPage
func (x *TestConfig) GetPage() stringfunc (*TestConfig) GetTrackingParameters
func (x *TestConfig) GetTrackingParameters() []stringfunc (*TestConfig) ProtoMessage
func (*TestConfig) ProtoMessage()func (*TestConfig) ProtoReflect
func (x *TestConfig) ProtoReflect() protoreflect.Messagefunc (*TestConfig) Reset
func (x *TestConfig) Reset()func (*TestConfig) String
func (x *TestConfig) String() stringTestError
type TestError struct {
// The test case resource name.
TestCase string `protobuf:"bytes,1,opt,name=test_case,json=testCase,proto3" json:"test_case,omitempty"`
// The status associated with the test.
Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
// The timestamp when the test was completed.
TestTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=test_time,json=testTime,proto3" json:"test_time,omitempty"`
// contains filtered or unexported fields
}Error info for running a test.
func (*TestError) Descriptor
Deprecated: Use TestError.ProtoReflect.Descriptor instead.
func (*TestError) GetStatus
func (*TestError) GetTestCase
func (*TestError) GetTestTime
func (x *TestError) GetTestTime() *timestamppb.Timestampfunc (*TestError) ProtoMessage
func (*TestError) ProtoMessage()func (*TestError) ProtoReflect
func (x *TestError) ProtoReflect() protoreflect.Messagefunc (*TestError) Reset
func (x *TestError) Reset()func (*TestError) String
TestResult
type TestResult int32The test result for a test case and an agent environment.
TestResult_TEST_RESULT_UNSPECIFIED, TestResult_PASSED, TestResult_FAILED
const (
// Not specified. Should never be used.
TestResult_TEST_RESULT_UNSPECIFIED TestResult = 0
// The test passed.
TestResult_PASSED TestResult = 1
// The test did not pass.
TestResult_FAILED TestResult = 2
)func (TestResult) Descriptor
func (TestResult) Descriptor() protoreflect.EnumDescriptorfunc (TestResult) Enum
func (x TestResult) Enum() *TestResultfunc (TestResult) EnumDescriptor
func (TestResult) EnumDescriptor() ([]byte, []int)Deprecated: Use TestResult.Descriptor instead.
func (TestResult) Number
func (x TestResult) Number() protoreflect.EnumNumberfunc (TestResult) String
func (x TestResult) String() stringfunc (TestResult) Type
func (TestResult) Type() protoreflect.EnumTypeTestRunDifference
type TestRunDifference struct {
// The type of diff.
Type TestRunDifference_DiffType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.dialogflow.cx.v3.TestRunDifference_DiffType" json:"type,omitempty"`
// A human readable description of the diff, showing the actual output vs
// expected output.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}The description of differences between original and replayed agent output.
func (*TestRunDifference) Descriptor
func (*TestRunDifference) Descriptor() ([]byte, []int)Deprecated: Use TestRunDifference.ProtoReflect.Descriptor instead.
func (*TestRunDifference) GetDescription
func (x *TestRunDifference) GetDescription() stringfunc (*TestRunDifference) GetType
func (x *TestRunDifference) GetType() TestRunDifference_DiffTypefunc (*TestRunDifference) ProtoMessage
func (*TestRunDifference) ProtoMessage()func (*TestRunDifference) ProtoReflect
func (x *TestRunDifference) ProtoReflect() protoreflect.Messagefunc (*TestRunDifference) Reset
func (x *TestRunDifference) Reset()func (*TestRunDifference) String
func (x *TestRunDifference) String() stringTestRunDifference_DiffType
type TestRunDifference_DiffType int32What part of the message replay differs from the test case.
TestRunDifference_DIFF_TYPE_UNSPECIFIED, TestRunDifference_INTENT, TestRunDifference_PAGE, TestRunDifference_PARAMETERS, TestRunDifference_UTTERANCE, TestRunDifference_FLOW
const (
// Should never be used.
TestRunDifference_DIFF_TYPE_UNSPECIFIED TestRunDifference_DiffType = 0
// The intent.
TestRunDifference_INTENT TestRunDifference_DiffType = 1
// The page.
TestRunDifference_PAGE TestRunDifference_DiffType = 2
// The parameters.
TestRunDifference_PARAMETERS TestRunDifference_DiffType = 3
// The message utterance.
TestRunDifference_UTTERANCE TestRunDifference_DiffType = 4
// The flow.
TestRunDifference_FLOW TestRunDifference_DiffType = 5
)func (TestRunDifference_DiffType) Descriptor
func (TestRunDifference_DiffType) Descriptor() protoreflect.EnumDescriptorfunc (TestRunDifference_DiffType) Enum
func (x TestRunDifference_DiffType) Enum() *TestRunDifference_DiffTypefunc (TestRunDifference_DiffType) EnumDescriptor
func (TestRunDifference_DiffType) EnumDescriptor() ([]byte, []int)Deprecated: Use TestRunDifference_DiffType.Descriptor instead.
func (TestRunDifference_DiffType) Number
func (x TestRunDifference_DiffType) Number() protoreflect.EnumNumberfunc (TestRunDifference_DiffType) String
func (x TestRunDifference_DiffType) String() stringfunc (TestRunDifference_DiffType) Type
func (TestRunDifference_DiffType) Type() protoreflect.EnumTypeTextInput
type TextInput struct {
// Required. The UTF-8 encoded natural language text to be processed.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}Represents the natural language text to be processed.
func (*TextInput) Descriptor
Deprecated: Use TextInput.ProtoReflect.Descriptor instead.
func (*TextInput) GetText
func (*TextInput) ProtoMessage
func (*TextInput) ProtoMessage()func (*TextInput) ProtoReflect
func (x *TextInput) ProtoReflect() protoreflect.Messagefunc (*TextInput) Reset
func (x *TextInput) Reset()func (*TextInput) String
TextToSpeechSettings
type TextToSpeechSettings struct {
// Configuration of how speech should be synthesized, mapping from language
// (https://cloud.google.com/dialogflow/cx/docs/reference/language) to
// SynthesizeSpeechConfig.
//
// These settings affect:
//
// - The [phone
// gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
// synthesize configuration set via
// [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings].
//
// - How speech is synthesized when invoking
// [session][google.cloud.dialogflow.cx.v3.Sessions] APIs.
// [Agent.text_to_speech_settings][google.cloud.dialogflow.cx.v3.Agent.text_to_speech_settings]
// only applies if
// [OutputAudioConfig.synthesize_speech_config][google.cloud.dialogflow.cx.v3.OutputAudioConfig.synthesize_speech_config]
// is not specified.
SynthesizeSpeechConfigs map[string]*SynthesizeSpeechConfig `protobuf:"bytes,1,rep,name=synthesize_speech_configs,json=synthesizeSpeechConfigs,proto3" json:"synthesize_speech_configs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// contains filtered or unexported fields
}Settings related to speech synthesizing.
func (*TextToSpeechSettings) Descriptor
func (*TextToSpeechSettings) Descriptor() ([]byte, []int)Deprecated: Use TextToSpeechSettings.ProtoReflect.Descriptor instead.
func (*TextToSpeechSettings) GetSynthesizeSpeechConfigs
func (x *TextToSpeechSettings) GetSynthesizeSpeechConfigs() map[string]*SynthesizeSpeechConfigfunc (*TextToSpeechSettings) ProtoMessage
func (*TextToSpeechSettings) ProtoMessage()func (*TextToSpeechSettings) ProtoReflect
func (x *TextToSpeechSettings) ProtoReflect() protoreflect.Messagefunc (*TextToSpeechSettings) Reset
func (x *TextToSpeechSettings) Reset()func (*TextToSpeechSettings) String
func (x *TextToSpeechSettings) String() stringTool
type Tool struct {
// The unique identifier of the Tool.
// Format:
// `projects/A tool provides a list of actions which are available to the [Playbook][google.cloud.dialogflow.cx.v3.Playbook] to attain its goal. A Tool consists of a description of the tool's usage and a specification of the tool which contains the schema and authentication information.
func (*Tool) Descriptor
Deprecated: Use Tool.ProtoReflect.Descriptor instead.
func (*Tool) GetDataStoreSpec
func (x *Tool) GetDataStoreSpec() *Tool_DataStoreToolfunc (*Tool) GetDescription
func (*Tool) GetDisplayName
func (*Tool) GetFunctionSpec
func (x *Tool) GetFunctionSpec() *Tool_FunctionToolfunc (*Tool) GetName
func (*Tool) GetOpenApiSpec
func (x *Tool) GetOpenApiSpec() *Tool_OpenApiToolfunc (*Tool) GetSpecification
func (x *Tool) GetSpecification() isTool_Specificationfunc (*Tool) GetToolType
func (x *Tool) GetToolType() Tool_ToolTypefunc (*Tool) ProtoMessage
func (*Tool) ProtoMessage()func (*Tool) ProtoReflect
func (x *Tool) ProtoReflect() protoreflect.Messagefunc (*Tool) Reset
func (x *Tool) Reset()func (*Tool) String
ToolCall
type ToolCall struct {
// Required. The [tool][google.cloud.dialogflow.cx.v3.Tool] associated with
// this call. Format:
// `projects/Represents a call of a specific tool's action with the specified inputs.
func (*ToolCall) Descriptor
Deprecated: Use ToolCall.ProtoReflect.Descriptor instead.
func (*ToolCall) GetAction
func (*ToolCall) GetInputParameters
func (*ToolCall) GetTool
func (*ToolCall) ProtoMessage
func (*ToolCall) ProtoMessage()func (*ToolCall) ProtoReflect
func (x *ToolCall) ProtoReflect() protoreflect.Messagefunc (*ToolCall) Reset
func (x *ToolCall) Reset()func (*ToolCall) String
ToolCallResult
type ToolCallResult struct {
// Required. The [tool][google.cloud.dialogflow.cx.v3.Tool] associated with
// this call. Format:
// `projects/The result of calling a tool's action that has been executed by the client.
func (*ToolCallResult) Descriptor
func (*ToolCallResult) Descriptor() ([]byte, []int)Deprecated: Use ToolCallResult.ProtoReflect.Descriptor instead.
func (*ToolCallResult) GetAction
func (x *ToolCallResult) GetAction() stringfunc (*ToolCallResult) GetError
func (x *ToolCallResult) GetError() *ToolCallResult_Errorfunc (*ToolCallResult) GetOutputParameters
func (x *ToolCallResult) GetOutputParameters() *structpb.Structfunc (*ToolCallResult) GetResult
func (x *ToolCallResult) GetResult() isToolCallResult_Resultfunc (*ToolCallResult) GetTool
func (x *ToolCallResult) GetTool() stringfunc (*ToolCallResult) ProtoMessage
func (*ToolCallResult) ProtoMessage()func (*ToolCallResult) ProtoReflect
func (x *ToolCallResult) ProtoReflect() protoreflect.Messagefunc (*ToolCallResult) Reset
func (x *ToolCallResult) Reset()func (*ToolCallResult) String
func (x *ToolCallResult) String() stringToolCallResult_Error
type ToolCallResult_Error struct {
// Optional. The error message of the function.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}An error produced by the tool call.
func (*ToolCallResult_Error) Descriptor
func (*ToolCallResult_Error) Descriptor() ([]byte, []int)Deprecated: Use ToolCallResult_Error.ProtoReflect.Descriptor instead.
func (*ToolCallResult_Error) GetMessage
func (x *ToolCallResult_Error) GetMessage() stringfunc (*ToolCallResult_Error) ProtoMessage
func (*ToolCallResult_Error) ProtoMessage()func (*ToolCallResult_Error) ProtoReflect
func (x *ToolCallResult_Error) ProtoReflect() protoreflect.Messagefunc (*ToolCallResult_Error) Reset
func (x *ToolCallResult_Error) Reset()func (*ToolCallResult_Error) String
func (x *ToolCallResult_Error) String() stringToolCallResult_Error_
type ToolCallResult_Error_ struct {
// The tool call's error.
Error *ToolCallResult_Error `protobuf:"bytes,3,opt,name=error,proto3,oneof"`
}ToolCallResult_OutputParameters
type ToolCallResult_OutputParameters struct {
// The tool call's output parameters.
OutputParameters *structpb.Struct `protobuf:"bytes,4,opt,name=output_parameters,json=outputParameters,proto3,oneof"`
}ToolUse
type ToolUse struct {
// Required. The [tool][google.cloud.dialogflow.cx.v3.Tool] that should be
// used. Format:
// `projects/Stores metadata of the invocation of an action supported by a tool.
func (*ToolUse) Descriptor
Deprecated: Use ToolUse.ProtoReflect.Descriptor instead.
func (*ToolUse) GetAction
func (*ToolUse) GetDisplayName
func (*ToolUse) GetInputActionParameters
func (*ToolUse) GetOutputActionParameters
func (*ToolUse) GetTool
func (*ToolUse) ProtoMessage
func (*ToolUse) ProtoMessage()func (*ToolUse) ProtoReflect
func (x *ToolUse) ProtoReflect() protoreflect.Messagefunc (*ToolUse) Reset
func (x *ToolUse) Reset()func (*ToolUse) String
ToolVersion
type ToolVersion struct {
// Identifier. The unique identifier of the tool version.
//
// Format:
//
// `projects/Tool version is a snapshot of the tool at certain timestamp.
func (*ToolVersion) Descriptor
func (*ToolVersion) Descriptor() ([]byte, []int)Deprecated: Use ToolVersion.ProtoReflect.Descriptor instead.
func (*ToolVersion) GetCreateTime
func (x *ToolVersion) GetCreateTime() *timestamppb.Timestampfunc (*ToolVersion) GetDisplayName
func (x *ToolVersion) GetDisplayName() stringfunc (*ToolVersion) GetName
func (x *ToolVersion) GetName() stringfunc (*ToolVersion) GetTool
func (x *ToolVersion) GetTool() *Toolfunc (*ToolVersion) GetUpdateTime
func (x *ToolVersion) GetUpdateTime() *timestamppb.Timestampfunc (*ToolVersion) ProtoMessage
func (*ToolVersion) ProtoMessage()func (*ToolVersion) ProtoReflect
func (x *ToolVersion) ProtoReflect() protoreflect.Messagefunc (*ToolVersion) Reset
func (x *ToolVersion) Reset()func (*ToolVersion) String
func (x *ToolVersion) String() stringTool_Authentication
type Tool_Authentication struct {
// The auth configuration.
//
// Types that are valid to be assigned to AuthConfig:
//
// *Tool_Authentication_ApiKeyConfig_
// *Tool_Authentication_OauthConfig
// *Tool_Authentication_ServiceAgentAuthConfig_
// *Tool_Authentication_BearerTokenConfig_
// *Tool_Authentication_ServiceAccountAuthConfig_
AuthConfig isTool_Authentication_AuthConfig `protobuf_oneof:"auth_config"`
// contains filtered or unexported fields
}Authentication information required for API calls
func (*Tool_Authentication) Descriptor
func (*Tool_Authentication) Descriptor() ([]byte, []int)Deprecated: Use Tool_Authentication.ProtoReflect.Descriptor instead.
func (*Tool_Authentication) GetApiKeyConfig
func (x *Tool_Authentication) GetApiKeyConfig() *Tool_Authentication_ApiKeyConfigfunc (*Tool_Authentication) GetAuthConfig
func (x *Tool_Authentication) GetAuthConfig() isTool_Authentication_AuthConfigfunc (*Tool_Authentication) GetBearerTokenConfig
func (x *Tool_Authentication) GetBearerTokenConfig() *Tool_Authentication_BearerTokenConfigfunc (*Tool_Authentication) GetOauthConfig
func (x *Tool_Authentication) GetOauthConfig() *Tool_Authentication_OAuthConfigfunc (*Tool_Authentication) GetServiceAccountAuthConfig
func (x *Tool_Authentication) GetServiceAccountAuthConfig() *Tool_Authentication_ServiceAccountAuthConfigfunc (*Tool_Authentication) GetServiceAgentAuthConfig
func (x *Tool_Authentication) GetServiceAgentAuthConfig() *Tool_Authentication_ServiceAgentAuthConfigfunc (*Tool_Authentication) ProtoMessage
func (*Tool_Authentication) ProtoMessage()func (*Tool_Authentication) ProtoReflect
func (x *Tool_Authentication) ProtoReflect() protoreflect.Messagefunc (*Tool_Authentication) Reset
func (x *Tool_Authentication) Reset()func (*Tool_Authentication) String
func (x *Tool_Authentication) String() stringTool_Authentication_ApiKeyConfig
type Tool_Authentication_ApiKeyConfig struct {
// Required. The parameter name or the header name of the API key.
// E.g., If the API request is "https://example.com/act?X-Api-Key=Config for authentication with API key.
func (*Tool_Authentication_ApiKeyConfig) Descriptor
func (*Tool_Authentication_ApiKeyConfig) Descriptor() ([]byte, []int)Deprecated: Use Tool_Authentication_ApiKeyConfig.ProtoReflect.Descriptor instead.
func (*Tool_Authentication_ApiKeyConfig) GetApiKey
func (x *Tool_Authentication_ApiKeyConfig) GetApiKey() stringfunc (*Tool_Authentication_ApiKeyConfig) GetKeyName
func (x *Tool_Authentication_ApiKeyConfig) GetKeyName() stringfunc (*Tool_Authentication_ApiKeyConfig) GetRequestLocation
func (x *Tool_Authentication_ApiKeyConfig) GetRequestLocation() Tool_Authentication_RequestLocationfunc (*Tool_Authentication_ApiKeyConfig) GetSecretVersionForApiKey
func (x *Tool_Authentication_ApiKeyConfig) GetSecretVersionForApiKey() stringfunc (*Tool_Authentication_ApiKeyConfig) ProtoMessage
func (*Tool_Authentication_ApiKeyConfig) ProtoMessage()func (*Tool_Authentication_ApiKeyConfig) ProtoReflect
func (x *Tool_Authentication_ApiKeyConfig) ProtoReflect() protoreflect.Messagefunc (*Tool_Authentication_ApiKeyConfig) Reset
func (x *Tool_Authentication_ApiKeyConfig) Reset()func (*Tool_Authentication_ApiKeyConfig) String
func (x *Tool_Authentication_ApiKeyConfig) String() stringTool_Authentication_ApiKeyConfig_
type Tool_Authentication_ApiKeyConfig_ struct {
// Config for API key auth.
ApiKeyConfig *Tool_Authentication_ApiKeyConfig `protobuf:"bytes,1,opt,name=api_key_config,json=apiKeyConfig,proto3,oneof"`
}Tool_Authentication_BearerTokenConfig
type Tool_Authentication_BearerTokenConfig struct {
// Optional. The text token appended to the text `Bearer` to the request
// Authorization header.
// [Session parameters
// reference](https://cloud.google.com/dialogflow/cx/docs/concept/parameter#session-ref)
// can be used to pass the token dynamically, e.g.
// `$session.params.parameter-id`.
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
// Optional. The name of the SecretManager secret version resource storing
// the Bearer token. If this field is set, the `token` field will be
// ignored. Format:
// `projects/{project}/secrets/{secret}/versions/{version}`
SecretVersionForToken string `protobuf:"bytes,2,opt,name=secret_version_for_token,json=secretVersionForToken,proto3" json:"secret_version_for_token,omitempty"`
// contains filtered or unexported fields
}Config for authentication using bearer token.
func (*Tool_Authentication_BearerTokenConfig) Descriptor
func (*Tool_Authentication_BearerTokenConfig) Descriptor() ([]byte, []int)Deprecated: Use Tool_Authentication_BearerTokenConfig.ProtoReflect.Descriptor instead.
func (*Tool_Authentication_BearerTokenConfig) GetSecretVersionForToken
func (x *Tool_Authentication_BearerTokenConfig) GetSecretVersionForToken() stringfunc (*Tool_Authentication_BearerTokenConfig) GetToken
func (x *Tool_Authentication_BearerTokenConfig) GetToken() stringfunc (*Tool_Authentication_BearerTokenConfig) ProtoMessage
func (*Tool_Authentication_BearerTokenConfig) ProtoMessage()func (*Tool_Authentication_BearerTokenConfig) ProtoReflect
func (x *Tool_Authentication_BearerTokenConfig) ProtoReflect() protoreflect.Messagefunc (*Tool_Authentication_BearerTokenConfig) Reset
func (x *Tool_Authentication_BearerTokenConfig) Reset()func (*Tool_Authentication_BearerTokenConfig) String
func (x *Tool_Authentication_BearerTokenConfig) String() stringTool_Authentication_BearerTokenConfig_
type Tool_Authentication_BearerTokenConfig_ struct {
// Config for bearer token auth.
BearerTokenConfig *Tool_Authentication_BearerTokenConfig `protobuf:"bytes,4,opt,name=bearer_token_config,json=bearerTokenConfig,proto3,oneof"`
}Tool_Authentication_OAuthConfig
type Tool_Authentication_OAuthConfig struct {
// Required. OAuth grant types.
OauthGrantType Tool_Authentication_OAuthConfig_OauthGrantType `protobuf:"varint,1,opt,name=oauth_grant_type,json=oauthGrantType,proto3,enum=google.cloud.dialogflow.cx.v3.Tool_Authentication_OAuthConfig_OauthGrantType" json:"oauth_grant_type,omitempty"`
// Required. The client ID from the OAuth provider.
ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
// Optional. The client secret from the OAuth provider. If the
// `secret_version_for_client_secret` field is set, this field will be
// ignored.
ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
// Optional. The name of the SecretManager secret version resource storing
// the client secret. If this field is set, the `client_secret` field will
// be ignored. Format:
// `projects/{project}/secrets/{secret}/versions/{version}`
SecretVersionForClientSecret string `protobuf:"bytes,6,opt,name=secret_version_for_client_secret,json=secretVersionForClientSecret,proto3" json:"secret_version_for_client_secret,omitempty"`
// Required. The token endpoint in the OAuth provider to exchange for an
// access token.
TokenEndpoint string `protobuf:"bytes,4,opt,name=token_endpoint,json=tokenEndpoint,proto3" json:"token_endpoint,omitempty"`
// Optional. The OAuth scopes to grant.
Scopes []string `protobuf:"bytes,5,rep,name=scopes,proto3" json:"scopes,omitempty"`
// contains filtered or unexported fields
}Config for authentication with OAuth.
func (*Tool_Authentication_OAuthConfig) Descriptor
func (*Tool_Authentication_OAuthConfig) Descriptor() ([]byte, []int)Deprecated: Use Tool_Authentication_OAuthConfig.ProtoReflect.Descriptor instead.
func (*Tool_Authentication_OAuthConfig) GetClientId
func (x *Tool_Authentication_OAuthConfig) GetClientId() stringfunc (*Tool_Authentication_OAuthConfig) GetClientSecret
func (x *Tool_Authentication_OAuthConfig) GetClientSecret() stringfunc (*Tool_Authentication_OAuthConfig) GetOauthGrantType
func (x *Tool_Authentication_OAuthConfig) GetOauthGrantType() Tool_Authentication_OAuthConfig_OauthGrantTypefunc (*Tool_Authentication_OAuthConfig) GetScopes
func (x *Tool_Authentication_OAuthConfig) GetScopes() []stringfunc (*Tool_Authentication_OAuthConfig) GetSecretVersionForClientSecret
func (x *Tool_Authentication_OAuthConfig) GetSecretVersionForClientSecret() stringfunc (*Tool_Authentication_OAuthConfig) GetTokenEndpoint
func (x *Tool_Authentication_OAuthConfig) GetTokenEndpoint() stringfunc (*Tool_Authentication_OAuthConfig) ProtoMessage
func (*Tool_Authentication_OAuthConfig) ProtoMessage()func (*Tool_Authentication_OAuthConfig) ProtoReflect
func (x *Tool_Authentication_OAuthConfig) ProtoReflect() protoreflect.Messagefunc (*Tool_Authentication_OAuthConfig) Reset
func (x *Tool_Authentication_OAuthConfig) Reset()func (*Tool_Authentication_OAuthConfig) String
func (x *Tool_Authentication_OAuthConfig) String() stringTool_Authentication_OAuthConfig_OauthGrantType
type Tool_Authentication_OAuthConfig_OauthGrantType int32OAuth grant types. Only client credential grant is supported.
Tool_Authentication_OAuthConfig_OAUTH_GRANT_TYPE_UNSPECIFIED, Tool_Authentication_OAuthConfig_CLIENT_CREDENTIAL
const (
// Default value. This value is unused.
Tool_Authentication_OAuthConfig_OAUTH_GRANT_TYPE_UNSPECIFIED Tool_Authentication_OAuthConfig_OauthGrantType = 0
// Represents the [client credential
// flow](https://oauth.net/2/grant-types/client-credentials).
Tool_Authentication_OAuthConfig_CLIENT_CREDENTIAL Tool_Authentication_OAuthConfig_OauthGrantType = 1
)func (Tool_Authentication_OAuthConfig_OauthGrantType) Descriptor
func (Tool_Authentication_OAuthConfig_OauthGrantType) Descriptor() protoreflect.EnumDescriptorfunc (Tool_Authentication_OAuthConfig_OauthGrantType) Enum
func (x Tool_Authentication_OAuthConfig_OauthGrantType) Enum() *Tool_Authentication_OAuthConfig_OauthGrantTypefunc (Tool_Authentication_OAuthConfig_OauthGrantType) EnumDescriptor
func (Tool_Authentication_OAuthConfig_OauthGrantType) EnumDescriptor() ([]byte, []int)Deprecated: Use Tool_Authentication_OAuthConfig_OauthGrantType.Descriptor instead.
func (Tool_Authentication_OAuthConfig_OauthGrantType) Number
func (x Tool_Authentication_OAuthConfig_OauthGrantType) Number() protoreflect.EnumNumberfunc (Tool_Authentication_OAuthConfig_OauthGrantType) String
func (x Tool_Authentication_OAuthConfig_OauthGrantType) String() stringfunc (Tool_Authentication_OAuthConfig_OauthGrantType) Type
Tool_Authentication_OauthConfig
type Tool_Authentication_OauthConfig struct {
// Config for OAuth.
OauthConfig *Tool_Authentication_OAuthConfig `protobuf:"bytes,2,opt,name=oauth_config,json=oauthConfig,proto3,oneof"`
}Tool_Authentication_RequestLocation
type Tool_Authentication_RequestLocation int32The location of the API key in the request.
Tool_Authentication_REQUEST_LOCATION_UNSPECIFIED, Tool_Authentication_HEADER, Tool_Authentication_QUERY_STRING
const (
// Default value. This value is unused.
Tool_Authentication_REQUEST_LOCATION_UNSPECIFIED Tool_Authentication_RequestLocation = 0
// Represents the key in http header.
Tool_Authentication_HEADER Tool_Authentication_RequestLocation = 1
// Represents the key in query string.
Tool_Authentication_QUERY_STRING Tool_Authentication_RequestLocation = 2
)func (Tool_Authentication_RequestLocation) Descriptor
func (Tool_Authentication_RequestLocation) Descriptor() protoreflect.EnumDescriptorfunc (Tool_Authentication_RequestLocation) Enum
func (x Tool_Authentication_RequestLocation) Enum() *Tool_Authentication_RequestLocationfunc (Tool_Authentication_RequestLocation) EnumDescriptor
func (Tool_Authentication_RequestLocation) EnumDescriptor() ([]byte, []int)Deprecated: Use Tool_Authentication_RequestLocation.Descriptor instead.
func (Tool_Authentication_RequestLocation) Number
func (x Tool_Authentication_RequestLocation) Number() protoreflect.EnumNumberfunc (Tool_Authentication_RequestLocation) String
func (x Tool_Authentication_RequestLocation) String() stringfunc (Tool_Authentication_RequestLocation) Type
func (Tool_Authentication_RequestLocation) Type() protoreflect.EnumTypeTool_Authentication_ServiceAccountAuthConfig
type Tool_Authentication_ServiceAccountAuthConfig struct {
// Required. The email address of the service account used to authenticate
// the tool call. Dialogflow uses this service account to exchange an
// access token and the access token is then sent in the `Authorization`
// header of the tool request.
//
// The service account must have the
// `roles/iam.serviceAccountTokenCreator` role granted to the
// [Dialogflow service
// agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
ServiceAccount string `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// contains filtered or unexported fields
}Configuration for authentication using a service account.
func (*Tool_Authentication_ServiceAccountAuthConfig) Descriptor
func (*Tool_Authentication_ServiceAccountAuthConfig) Descriptor() ([]byte, []int)Deprecated: Use Tool_Authentication_ServiceAccountAuthConfig.ProtoReflect.Descriptor instead.
func (*Tool_Authentication_ServiceAccountAuthConfig) GetServiceAccount
func (x *Tool_Authentication_ServiceAccountAuthConfig) GetServiceAccount() stringfunc (*Tool_Authentication_ServiceAccountAuthConfig) ProtoMessage
func (*Tool_Authentication_ServiceAccountAuthConfig) ProtoMessage()func (*Tool_Authentication_ServiceAccountAuthConfig) ProtoReflect
func (x *Tool_Authentication_ServiceAccountAuthConfig) ProtoReflect() protoreflect.Messagefunc (*Tool_Authentication_ServiceAccountAuthConfig) Reset
func (x *Tool_Authentication_ServiceAccountAuthConfig) Reset()func (*Tool_Authentication_ServiceAccountAuthConfig) String
func (x *Tool_Authentication_ServiceAccountAuthConfig) String() stringTool_Authentication_ServiceAccountAuthConfig_
type Tool_Authentication_ServiceAccountAuthConfig_ struct {
// Configuration for service account authentication.
ServiceAccountAuthConfig *Tool_Authentication_ServiceAccountAuthConfig `protobuf:"bytes,5,opt,name=service_account_auth_config,json=serviceAccountAuthConfig,proto3,oneof"`
}Tool_Authentication_ServiceAgentAuthConfig
type Tool_Authentication_ServiceAgentAuthConfig struct {
// Optional. Indicate the auth token type generated from the [Diglogflow
// service
// agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
// The generated token is sent in the Authorization header.
ServiceAgentAuth Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth `protobuf:"varint,1,opt,name=service_agent_auth,json=serviceAgentAuth,proto3,enum=google.cloud.dialogflow.cx.v3.Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth" json:"service_agent_auth,omitempty"`
// contains filtered or unexported fields
}Config for auth using Diglogflow service agent.
func (*Tool_Authentication_ServiceAgentAuthConfig) Descriptor
func (*Tool_Authentication_ServiceAgentAuthConfig) Descriptor() ([]byte, []int)Deprecated: Use Tool_Authentication_ServiceAgentAuthConfig.ProtoReflect.Descriptor instead.
func (*Tool_Authentication_ServiceAgentAuthConfig) GetServiceAgentAuth
func (x *Tool_Authentication_ServiceAgentAuthConfig) GetServiceAgentAuth() Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuthfunc (*Tool_Authentication_ServiceAgentAuthConfig) ProtoMessage
func (*Tool_Authentication_ServiceAgentAuthConfig) ProtoMessage()func (*Tool_Authentication_ServiceAgentAuthConfig) ProtoReflect
func (x *Tool_Authentication_ServiceAgentAuthConfig) ProtoReflect() protoreflect.Messagefunc (*Tool_Authentication_ServiceAgentAuthConfig) Reset
func (x *Tool_Authentication_ServiceAgentAuthConfig) Reset()func (*Tool_Authentication_ServiceAgentAuthConfig) String
func (x *Tool_Authentication_ServiceAgentAuthConfig) String() stringTool_Authentication_ServiceAgentAuthConfig_
type Tool_Authentication_ServiceAgentAuthConfig_ struct {
// Config for [Diglogflow service
// agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent)
// auth.
ServiceAgentAuthConfig *Tool_Authentication_ServiceAgentAuthConfig `protobuf:"bytes,3,opt,name=service_agent_auth_config,json=serviceAgentAuthConfig,proto3,oneof"`
}Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth
type Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth int32Indicate the auth token type generated from the Diglogflow service agent.
Tool_Authentication_ServiceAgentAuthConfig_SERVICE_AGENT_AUTH_UNSPECIFIED, Tool_Authentication_ServiceAgentAuthConfig_ID_TOKEN, Tool_Authentication_ServiceAgentAuthConfig_ACCESS_TOKEN
const (
// Service agent auth type unspecified. Default to ID_TOKEN.
Tool_Authentication_ServiceAgentAuthConfig_SERVICE_AGENT_AUTH_UNSPECIFIED Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth = 0
// Use [ID
// token](https://cloud.google.com/docs/authentication/token-types#id)
// generated from service agent. This can be used to access Cloud
// Function and Cloud Run after you grant Invoker role to
// `service-func (Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth) Descriptor
func (Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth) Descriptor() protoreflect.EnumDescriptorfunc (Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth) Enum
func (x Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth) Enum() *Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuthfunc (Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth) EnumDescriptor
func (Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth) EnumDescriptor() ([]byte, []int)Deprecated: Use Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth.Descriptor instead.
func (Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth) Number
func (x Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth) Number() protoreflect.EnumNumberfunc (Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth) String
func (x Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth) String() stringfunc (Tool_Authentication_ServiceAgentAuthConfig_ServiceAgentAuth) Type
Tool_DataStoreSpec
type Tool_DataStoreSpec struct {
// Data store search tool specification.
DataStoreSpec *Tool_DataStoreTool `protobuf:"bytes,8,opt,name=data_store_spec,json=dataStoreSpec,proto3,oneof"`
}Tool_DataStoreTool
type Tool_DataStoreTool struct {
// Required. List of data stores to search.
DataStoreConnections []*DataStoreConnection `protobuf:"bytes,1,rep,name=data_store_connections,json=dataStoreConnections,proto3" json:"data_store_connections,omitempty"`
// Required. Fallback prompt configurations to use.
FallbackPrompt *Tool_DataStoreTool_FallbackPrompt `protobuf:"bytes,3,opt,name=fallback_prompt,json=fallbackPrompt,proto3" json:"fallback_prompt,omitempty"`
// contains filtered or unexported fields
}A DataStoreTool is a way to provide specifications needed to search a list of data stores.
func (*Tool_DataStoreTool) Descriptor
func (*Tool_DataStoreTool) Descriptor() ([]byte, []int)Deprecated: Use Tool_DataStoreTool.ProtoReflect.Descriptor instead.
func (*Tool_DataStoreTool) GetDataStoreConnections
func (x *Tool_DataStoreTool) GetDataStoreConnections() []*DataStoreConnectionfunc (*Tool_DataStoreTool) GetFallbackPrompt
func (x *Tool_DataStoreTool) GetFallbackPrompt() *Tool_DataStoreTool_FallbackPromptfunc (*Tool_DataStoreTool) ProtoMessage
func (*Tool_DataStoreTool) ProtoMessage()func (*Tool_DataStoreTool) ProtoReflect
func (x *Tool_DataStoreTool) ProtoReflect() protoreflect.Messagefunc (*Tool_DataStoreTool) Reset
func (x *Tool_DataStoreTool) Reset()func (*Tool_DataStoreTool) String
func (x *Tool_DataStoreTool) String() stringTool_DataStoreTool_FallbackPrompt
type Tool_DataStoreTool_FallbackPrompt struct {
// contains filtered or unexported fields
}A FallbackPrompt is a way to provide specifications for the Data Store fallback prompt when generating responses.
func (*Tool_DataStoreTool_FallbackPrompt) Descriptor
func (*Tool_DataStoreTool_FallbackPrompt) Descriptor() ([]byte, []int)Deprecated: Use Tool_DataStoreTool_FallbackPrompt.ProtoReflect.Descriptor instead.
func (*Tool_DataStoreTool_FallbackPrompt) ProtoMessage
func (*Tool_DataStoreTool_FallbackPrompt) ProtoMessage()func (*Tool_DataStoreTool_FallbackPrompt) ProtoReflect
func (x *Tool_DataStoreTool_FallbackPrompt) ProtoReflect() protoreflect.Messagefunc (*Tool_DataStoreTool_FallbackPrompt) Reset
func (x *Tool_DataStoreTool_FallbackPrompt) Reset()func (*Tool_DataStoreTool_FallbackPrompt) String
func (x *Tool_DataStoreTool_FallbackPrompt) String() stringTool_FunctionSpec
type Tool_FunctionSpec struct {
// Client side executed function specification.
FunctionSpec *Tool_FunctionTool `protobuf:"bytes,13,opt,name=function_spec,json=functionSpec,proto3,oneof"`
}Tool_FunctionTool
type Tool_FunctionTool struct {
// Optional. The JSON schema is encapsulated in a
// [google.protobuf.Struct][google.protobuf.Struct] to describe the input of
// the function. This input is a JSON object that contains the function's
// parameters as properties of the object.
InputSchema *structpb.Struct `protobuf:"bytes,1,opt,name=input_schema,json=inputSchema,proto3" json:"input_schema,omitempty"`
// Optional. The JSON schema is encapsulated in a
// [google.protobuf.Struct][google.protobuf.Struct] to describe the output
// of the function. This output is a JSON object that contains the
// function's parameters as properties of the object.
OutputSchema *structpb.Struct `protobuf:"bytes,2,opt,name=output_schema,json=outputSchema,proto3" json:"output_schema,omitempty"`
// contains filtered or unexported fields
}A Function tool describes the functions to be invoked on the client side.
func (*Tool_FunctionTool) Descriptor
func (*Tool_FunctionTool) Descriptor() ([]byte, []int)Deprecated: Use Tool_FunctionTool.ProtoReflect.Descriptor instead.
func (*Tool_FunctionTool) GetInputSchema
func (x *Tool_FunctionTool) GetInputSchema() *structpb.Structfunc (*Tool_FunctionTool) GetOutputSchema
func (x *Tool_FunctionTool) GetOutputSchema() *structpb.Structfunc (*Tool_FunctionTool) ProtoMessage
func (*Tool_FunctionTool) ProtoMessage()func (*Tool_FunctionTool) ProtoReflect
func (x *Tool_FunctionTool) ProtoReflect() protoreflect.Messagefunc (*Tool_FunctionTool) Reset
func (x *Tool_FunctionTool) Reset()func (*Tool_FunctionTool) String
func (x *Tool_FunctionTool) String() stringTool_OpenApiSpec
type Tool_OpenApiSpec struct {
// OpenAPI specification of the Tool.
OpenApiSpec *Tool_OpenApiTool `protobuf:"bytes,4,opt,name=open_api_spec,json=openApiSpec,proto3,oneof"`
}Tool_OpenApiTool
type Tool_OpenApiTool struct {
// Schema representation.
//
// Types that are valid to be assigned to Schema:
//
// *Tool_OpenApiTool_TextSchema
Schema isTool_OpenApiTool_Schema `protobuf_oneof:"schema"`
// Optional. Authentication information required by the API.
Authentication *Tool_Authentication `protobuf:"bytes,2,opt,name=authentication,proto3" json:"authentication,omitempty"`
// Optional. TLS configuration for the HTTPS verification.
TlsConfig *Tool_TLSConfig `protobuf:"bytes,3,opt,name=tls_config,json=tlsConfig,proto3" json:"tls_config,omitempty"`
// Optional. Service Directory configuration.
ServiceDirectoryConfig *Tool_ServiceDirectoryConfig `protobuf:"bytes,4,opt,name=service_directory_config,json=serviceDirectoryConfig,proto3" json:"service_directory_config,omitempty"`
// contains filtered or unexported fields
}An OpenAPI tool is a way to provide the Tool specifications in the Open API schema format.
func (*Tool_OpenApiTool) Descriptor
func (*Tool_OpenApiTool) Descriptor() ([]byte, []int)Deprecated: Use Tool_OpenApiTool.ProtoReflect.Descriptor instead.
func (*Tool_OpenApiTool) GetAuthentication
func (x *Tool_OpenApiTool) GetAuthentication() *Tool_Authenticationfunc (*Tool_OpenApiTool) GetSchema
func (x *Tool_OpenApiTool) GetSchema() isTool_OpenApiTool_Schemafunc (*Tool_OpenApiTool) GetServiceDirectoryConfig
func (x *Tool_OpenApiTool) GetServiceDirectoryConfig() *Tool_ServiceDirectoryConfigfunc (*Tool_OpenApiTool) GetTextSchema
func (x *Tool_OpenApiTool) GetTextSchema() stringfunc (*Tool_OpenApiTool) GetTlsConfig
func (x *Tool_OpenApiTool) GetTlsConfig() *Tool_TLSConfigfunc (*Tool_OpenApiTool) ProtoMessage
func (*Tool_OpenApiTool) ProtoMessage()func (*Tool_OpenApiTool) ProtoReflect
func (x *Tool_OpenApiTool) ProtoReflect() protoreflect.Messagefunc (*Tool_OpenApiTool) Reset
func (x *Tool_OpenApiTool) Reset()func (*Tool_OpenApiTool) String
func (x *Tool_OpenApiTool) String() stringTool_OpenApiTool_TextSchema
type Tool_OpenApiTool_TextSchema struct {
// Required. The OpenAPI schema specified as a text.
TextSchema string `protobuf:"bytes,1,opt,name=text_schema,json=textSchema,proto3,oneof"`
}Tool_ServiceDirectoryConfig
type Tool_ServiceDirectoryConfig struct {
// Required. The name of [Service
// Directory](https://cloud.google.com/service-directory) service.
// Format:
// `projects/Configuration for tools using Service Directory.
func (*Tool_ServiceDirectoryConfig) Descriptor
func (*Tool_ServiceDirectoryConfig) Descriptor() ([]byte, []int)Deprecated: Use Tool_ServiceDirectoryConfig.ProtoReflect.Descriptor instead.
func (*Tool_ServiceDirectoryConfig) GetService
func (x *Tool_ServiceDirectoryConfig) GetService() stringfunc (*Tool_ServiceDirectoryConfig) ProtoMessage
func (*Tool_ServiceDirectoryConfig) ProtoMessage()func (*Tool_ServiceDirectoryConfig) ProtoReflect
func (x *Tool_ServiceDirectoryConfig) ProtoReflect() protoreflect.Messagefunc (*Tool_ServiceDirectoryConfig) Reset
func (x *Tool_ServiceDirectoryConfig) Reset()func (*Tool_ServiceDirectoryConfig) String
func (x *Tool_ServiceDirectoryConfig) String() stringTool_TLSConfig
type Tool_TLSConfig struct {
// Required. Specifies a list of allowed custom CA certificates for HTTPS
// verification.
CaCerts []*Tool_TLSConfig_CACert `protobuf:"bytes,1,rep,name=ca_certs,json=caCerts,proto3" json:"ca_certs,omitempty"`
// contains filtered or unexported fields
}The TLS configuration.
func (*Tool_TLSConfig) Descriptor
func (*Tool_TLSConfig) Descriptor() ([]byte, []int)Deprecated: Use Tool_TLSConfig.ProtoReflect.Descriptor instead.
func (*Tool_TLSConfig) GetCaCerts
func (x *Tool_TLSConfig) GetCaCerts() []*Tool_TLSConfig_CACertfunc (*Tool_TLSConfig) ProtoMessage
func (*Tool_TLSConfig) ProtoMessage()func (*Tool_TLSConfig) ProtoReflect
func (x *Tool_TLSConfig) ProtoReflect() protoreflect.Messagefunc (*Tool_TLSConfig) Reset
func (x *Tool_TLSConfig) Reset()func (*Tool_TLSConfig) String
func (x *Tool_TLSConfig) String() stringTool_TLSConfig_CACert
type Tool_TLSConfig_CACert struct {
// Required. The name of the allowed custom CA certificates. This
// can be used to disambiguate the custom CA certificates.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Required. The allowed custom CA certificates (in DER format) for
// HTTPS verification. This overrides the default SSL trust store. If this
// is empty or unspecified, Dialogflow will use Google's default trust
// store to verify certificates. N.B. Make sure the HTTPS server
// certificates are signed with "subject alt name". For instance a
// certificate can be self-signed using the following command:
//
// ```
//
// openssl x509 -req -days 200 -in example.com.csr \
// -signkey example.com.key \
// -out example.com.crt \
// -extfile <(printf "\nsubjectaltname='DNS:www.example.com' ")="" ```="" cert="">byte `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"`
// contains filtered or unexported fields
}The CA certificate.
func (*Tool_TLSConfig_CACert) Descriptor
func (*Tool_TLSConfig_CACert) Descriptor() ([]byte, []int)Deprecated: Use Tool_TLSConfig_CACert.ProtoReflect.Descriptor instead.
func (*Tool_TLSConfig_CACert) GetCert
func (x *Tool_TLSConfig_CACert) GetCert() []bytefunc (*Tool_TLSConfig_CACert) GetDisplayName
func (x *Tool_TLSConfig_CACert) GetDisplayName() stringfunc (*Tool_TLSConfig_CACert) ProtoMessage
func (*Tool_TLSConfig_CACert) ProtoMessage()func (*Tool_TLSConfig_CACert) ProtoReflect
func (x *Tool_TLSConfig_CACert) ProtoReflect() protoreflect.Messagefunc (*Tool_TLSConfig_CACert) Reset
func (x *Tool_TLSConfig_CACert) Reset()func (*Tool_TLSConfig_CACert) String
func (x *Tool_TLSConfig_CACert) String() stringTool_ToolType
type Tool_ToolType int32Represents the type of the tool.
Tool_TOOL_TYPE_UNSPECIFIED, Tool_CUSTOMIZED_TOOL, Tool_BUILTIN_TOOL
const (
// Default value. This value is unused.
Tool_TOOL_TYPE_UNSPECIFIED Tool_ToolType = 0
// Customer provided tool.
Tool_CUSTOMIZED_TOOL Tool_ToolType = 1
// First party built-in tool created by Dialogflow which cannot be modified.
Tool_BUILTIN_TOOL Tool_ToolType = 2
)func (Tool_ToolType) Descriptor
func (Tool_ToolType) Descriptor() protoreflect.EnumDescriptorfunc (Tool_ToolType) Enum
func (x Tool_ToolType) Enum() *Tool_ToolTypefunc (Tool_ToolType) EnumDescriptor
func (Tool_ToolType) EnumDescriptor() ([]byte, []int)Deprecated: Use Tool_ToolType.Descriptor instead.
func (Tool_ToolType) Number
func (x Tool_ToolType) Number() protoreflect.EnumNumberfunc (Tool_ToolType) String
func (x Tool_ToolType) String() stringfunc (Tool_ToolType) Type
func (Tool_ToolType) Type() protoreflect.EnumTypeToolsClient
type ToolsClient interface {
// Creates a [Tool][google.cloud.dialogflow.cx.v3.Tool] in the specified
// agent.
CreateTool(ctx context.Context, in *CreateToolRequest, opts ...grpc.CallOption) (*Tool, error)
// Returns a list of [Tools][google.cloud.dialogflow.cx.v3.Tool] in the
// specified agent.
ListTools(ctx context.Context, in *ListToolsRequest, opts ...grpc.CallOption) (*ListToolsResponse, error)
// Retrieves the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
GetTool(ctx context.Context, in *GetToolRequest, opts ...grpc.CallOption) (*Tool, error)
// Update the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
UpdateTool(ctx context.Context, in *UpdateToolRequest, opts ...grpc.CallOption) (*Tool, error)
// Deletes a specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
DeleteTool(ctx context.Context, in *DeleteToolRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// List versions of the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
ListToolVersions(ctx context.Context, in *ListToolVersionsRequest, opts ...grpc.CallOption) (*ListToolVersionsResponse, error)
// Creates a version for the specified
// [Tool][google.cloud.dialogflow.cx.v3.Tool].
CreateToolVersion(ctx context.Context, in *CreateToolVersionRequest, opts ...grpc.CallOption) (*ToolVersion, error)
// Retrieves the specified version of the
// [Tool][google.cloud.dialogflow.cx.v3.Tool].
GetToolVersion(ctx context.Context, in *GetToolVersionRequest, opts ...grpc.CallOption) (*ToolVersion, error)
// Deletes the specified version of the
// [Tool][google.cloud.dialogflow.cx.v3.Tool].
DeleteToolVersion(ctx context.Context, in *DeleteToolVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Retrieves the specified version of the Tool and stores it as the
// current tool draft, returning the tool with resources updated.
RestoreToolVersion(ctx context.Context, in *RestoreToolVersionRequest, opts ...grpc.CallOption) (*RestoreToolVersionResponse, error)
}ToolsClient is the client API for Tools 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 NewToolsClient
func NewToolsClient(cc grpc.ClientConnInterface) ToolsClientToolsServer
type ToolsServer interface {
// Creates a [Tool][google.cloud.dialogflow.cx.v3.Tool] in the specified
// agent.
CreateTool(context.Context, *CreateToolRequest) (*Tool, error)
// Returns a list of [Tools][google.cloud.dialogflow.cx.v3.Tool] in the
// specified agent.
ListTools(context.Context, *ListToolsRequest) (*ListToolsResponse, error)
// Retrieves the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
GetTool(context.Context, *GetToolRequest) (*Tool, error)
// Update the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
UpdateTool(context.Context, *UpdateToolRequest) (*Tool, error)
// Deletes a specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
DeleteTool(context.Context, *DeleteToolRequest) (*emptypb.Empty, error)
// List versions of the specified [Tool][google.cloud.dialogflow.cx.v3.Tool].
ListToolVersions(context.Context, *ListToolVersionsRequest) (*ListToolVersionsResponse, error)
// Creates a version for the specified
// [Tool][google.cloud.dialogflow.cx.v3.Tool].
CreateToolVersion(context.Context, *CreateToolVersionRequest) (*ToolVersion, error)
// Retrieves the specified version of the
// [Tool][google.cloud.dialogflow.cx.v3.Tool].
GetToolVersion(context.Context, *GetToolVersionRequest) (*ToolVersion, error)
// Deletes the specified version of the
// [Tool][google.cloud.dialogflow.cx.v3.Tool].
DeleteToolVersion(context.Context, *DeleteToolVersionRequest) (*emptypb.Empty, error)
// Retrieves the specified version of the Tool and stores it as the
// current tool draft, returning the tool with resources updated.
RestoreToolVersion(context.Context, *RestoreToolVersionRequest) (*RestoreToolVersionResponse, error)
}ToolsServer is the server API for Tools service. All implementations should embed UnimplementedToolsServer for forward compatibility
TraceBlock
type TraceBlock struct {
// Metadata of the trace.
//
// Types that are valid to be assigned to TraceMetadata:
//
// *TraceBlock_PlaybookTraceMetadata
// *TraceBlock_FlowTraceMetadata
// *TraceBlock_SpeechProcessingMetadata
TraceMetadata isTraceBlock_TraceMetadata `protobuf_oneof:"trace_metadata"`
// The actions performed by the agent and the user during this session.
Actions []*Action `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"`
// Output only. Timestamp of the start of the trace block.
StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. Timestamp of the end of the trace block.
CompleteTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=complete_time,json=completeTime,proto3" json:"complete_time,omitempty"`
// Optional. A list of input parameters of the trace block.
InputParameters *structpb.Struct `protobuf:"bytes,9,opt,name=input_parameters,json=inputParameters,proto3" json:"input_parameters,omitempty"`
// Optional. A list of output parameters of the trace block.
OutputParameters *structpb.Struct `protobuf:"bytes,6,opt,name=output_parameters,json=outputParameters,proto3" json:"output_parameters,omitempty"`
// Optional. Output only. The end state of the trace block.
EndState OutputState `protobuf:"varint,7,opt,name=end_state,json=endState,proto3,enum=google.cloud.dialogflow.cx.v3.OutputState" json:"end_state,omitempty"`
// contains filtered or unexported fields
}The trace block tracks a sequence of actions taken by the agent in a flow or a playbook.
func (*TraceBlock) Descriptor
func (*TraceBlock) Descriptor() ([]byte, []int)Deprecated: Use TraceBlock.ProtoReflect.Descriptor instead.
func (*TraceBlock) GetActions
func (x *TraceBlock) GetActions() []*Actionfunc (*TraceBlock) GetCompleteTime
func (x *TraceBlock) GetCompleteTime() *timestamppb.Timestampfunc (*TraceBlock) GetEndState
func (x *TraceBlock) GetEndState() OutputStatefunc (*TraceBlock) GetFlowTraceMetadata
func (x *TraceBlock) GetFlowTraceMetadata() *FlowTraceMetadatafunc (*TraceBlock) GetInputParameters
func (x *TraceBlock) GetInputParameters() *structpb.Structfunc (*TraceBlock) GetOutputParameters
func (x *TraceBlock) GetOutputParameters() *structpb.Structfunc (*TraceBlock) GetPlaybookTraceMetadata
func (x *TraceBlock) GetPlaybookTraceMetadata() *PlaybookTraceMetadatafunc (*TraceBlock) GetSpeechProcessingMetadata
func (x *TraceBlock) GetSpeechProcessingMetadata() *SpeechProcessingMetadatafunc (*TraceBlock) GetStartTime
func (x *TraceBlock) GetStartTime() *timestamppb.Timestampfunc (*TraceBlock) GetTraceMetadata
func (x *TraceBlock) GetTraceMetadata() isTraceBlock_TraceMetadatafunc (*TraceBlock) ProtoMessage
func (*TraceBlock) ProtoMessage()func (*TraceBlock) ProtoReflect
func (x *TraceBlock) ProtoReflect() protoreflect.Messagefunc (*TraceBlock) Reset
func (x *TraceBlock) Reset()func (*TraceBlock) String
func (x *TraceBlock) String() stringTraceBlock_FlowTraceMetadata
type TraceBlock_FlowTraceMetadata struct {
// Metadata of the flow trace.
FlowTraceMetadata *FlowTraceMetadata `protobuf:"bytes,2,opt,name=flow_trace_metadata,json=flowTraceMetadata,proto3,oneof"`
}TraceBlock_PlaybookTraceMetadata
type TraceBlock_PlaybookTraceMetadata struct {
// Metadata of the playbook trace.
PlaybookTraceMetadata *PlaybookTraceMetadata `protobuf:"bytes,1,opt,name=playbook_trace_metadata,json=playbookTraceMetadata,proto3,oneof"`
}TraceBlock_SpeechProcessingMetadata
type TraceBlock_SpeechProcessingMetadata struct {
// Metadata of the speech-to-text and speech-to-text processing.
SpeechProcessingMetadata *SpeechProcessingMetadata `protobuf:"bytes,8,opt,name=speech_processing_metadata,json=speechProcessingMetadata,proto3,oneof"`
}TrainFlowRequest
type TrainFlowRequest struct {
// Required. The flow to train.
// Format:
// `projects/The request message for [Flows.TrainFlow][google.cloud.dialogflow.cx.v3.Flows.TrainFlow].
func (*TrainFlowRequest) Descriptor
func (*TrainFlowRequest) Descriptor() ([]byte, []int)Deprecated: Use TrainFlowRequest.ProtoReflect.Descriptor instead.
func (*TrainFlowRequest) GetName
func (x *TrainFlowRequest) GetName() stringfunc (*TrainFlowRequest) ProtoMessage
func (*TrainFlowRequest) ProtoMessage()func (*TrainFlowRequest) ProtoReflect
func (x *TrainFlowRequest) ProtoReflect() protoreflect.Messagefunc (*TrainFlowRequest) Reset
func (x *TrainFlowRequest) Reset()func (*TrainFlowRequest) String
func (x *TrainFlowRequest) String() stringTransitionCoverage
type TransitionCoverage struct {
// The list of Transitions present in the agent.
Transitions []*TransitionCoverage_Transition `protobuf:"bytes,1,rep,name=transitions,proto3" json:"transitions,omitempty"`
// The percent of transitions in the agent that are covered.
CoverageScore float32 `protobuf:"fixed32,2,opt,name=coverage_score,json=coverageScore,proto3" json:"coverage_score,omitempty"`
// contains filtered or unexported fields
}Transition coverage represents the percentage of all possible page transitions (page-level transition routes and event handlers, excluding transition route groups) present within any of a parent's test cases.
func (*TransitionCoverage) Descriptor
func (*TransitionCoverage) Descriptor() ([]byte, []int)Deprecated: Use TransitionCoverage.ProtoReflect.Descriptor instead.
func (*TransitionCoverage) GetCoverageScore
func (x *TransitionCoverage) GetCoverageScore() float32func (*TransitionCoverage) GetTransitions
func (x *TransitionCoverage) GetTransitions() []*TransitionCoverage_Transitionfunc (*TransitionCoverage) ProtoMessage
func (*TransitionCoverage) ProtoMessage()func (*TransitionCoverage) ProtoReflect
func (x *TransitionCoverage) ProtoReflect() protoreflect.Messagefunc (*TransitionCoverage) Reset
func (x *TransitionCoverage) Reset()func (*TransitionCoverage) String
func (x *TransitionCoverage) String() stringTransitionCoverage_Transition
type TransitionCoverage_Transition struct {
// The start node of a transition.
Source *TransitionCoverage_TransitionNode `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
// The index of a transition in the transition list. Starting from 0.
Index int32 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"`
// The end node of a transition.
Target *TransitionCoverage_TransitionNode `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
// Whether the transition is covered by at least one of the
// agent's test cases.
Covered bool `protobuf:"varint,3,opt,name=covered,proto3" json:"covered,omitempty"`
// The detailed transition.
//
// Types that are valid to be assigned to Detail:
//
// *TransitionCoverage_Transition_TransitionRoute
// *TransitionCoverage_Transition_EventHandler
Detail isTransitionCoverage_Transition_Detail `protobuf_oneof:"detail"`
// contains filtered or unexported fields
}A transition in a page.
func (*TransitionCoverage_Transition) Descriptor
func (*TransitionCoverage_Transition) Descriptor() ([]byte, []int)Deprecated: Use TransitionCoverage_Transition.ProtoReflect.Descriptor instead.
func (*TransitionCoverage_Transition) GetCovered
func (x *TransitionCoverage_Transition) GetCovered() boolfunc (*TransitionCoverage_Transition) GetDetail
func (x *TransitionCoverage_Transition) GetDetail() isTransitionCoverage_Transition_Detailfunc (*TransitionCoverage_Transition) GetEventHandler
func (x *TransitionCoverage_Transition) GetEventHandler() *EventHandlerfunc (*TransitionCoverage_Transition) GetIndex
func (x *TransitionCoverage_Transition) GetIndex() int32func (*TransitionCoverage_Transition) GetSource
func (x *TransitionCoverage_Transition) GetSource() *TransitionCoverage_TransitionNodefunc (*TransitionCoverage_Transition) GetTarget
func (x *TransitionCoverage_Transition) GetTarget() *TransitionCoverage_TransitionNodefunc (*TransitionCoverage_Transition) GetTransitionRoute
func (x *TransitionCoverage_Transition) GetTransitionRoute() *TransitionRoutefunc (*TransitionCoverage_Transition) ProtoMessage
func (*TransitionCoverage_Transition) ProtoMessage()func (*TransitionCoverage_Transition) ProtoReflect
func (x *TransitionCoverage_Transition) ProtoReflect() protoreflect.Messagefunc (*TransitionCoverage_Transition) Reset
func (x *TransitionCoverage_Transition) Reset()func (*TransitionCoverage_Transition) String
func (x *TransitionCoverage_Transition) String() stringTransitionCoverage_TransitionNode
type TransitionCoverage_TransitionNode struct {
// A TransitionNode can be either a page or a flow.
//
// Types that are valid to be assigned to Kind:
//
// *TransitionCoverage_TransitionNode_Page
// *TransitionCoverage_TransitionNode_Flow
Kind isTransitionCoverage_TransitionNode_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}The source or target of a transition.
func (*TransitionCoverage_TransitionNode) Descriptor
func (*TransitionCoverage_TransitionNode) Descriptor() ([]byte, []int)Deprecated: Use TransitionCoverage_TransitionNode.ProtoReflect.Descriptor instead.
func (*TransitionCoverage_TransitionNode) GetFlow
func (x *TransitionCoverage_TransitionNode) GetFlow() *Flowfunc (*TransitionCoverage_TransitionNode) GetKind
func (x *TransitionCoverage_TransitionNode) GetKind() isTransitionCoverage_TransitionNode_Kindfunc (*TransitionCoverage_TransitionNode) GetPage
func (x *TransitionCoverage_TransitionNode) GetPage() *Pagefunc (*TransitionCoverage_TransitionNode) ProtoMessage
func (*TransitionCoverage_TransitionNode) ProtoMessage()func (*TransitionCoverage_TransitionNode) ProtoReflect
func (x *TransitionCoverage_TransitionNode) ProtoReflect() protoreflect.Messagefunc (*TransitionCoverage_TransitionNode) Reset
func (x *TransitionCoverage_TransitionNode) Reset()func (*TransitionCoverage_TransitionNode) String
func (x *TransitionCoverage_TransitionNode) String() stringTransitionCoverage_TransitionNode_Flow
type TransitionCoverage_TransitionNode_Flow struct {
// Indicates a transition to a [Flow][google.cloud.dialogflow.cx.v3.Flow].
// Only some fields such as name and displayname will be set.
Flow *Flow `protobuf:"bytes,2,opt,name=flow,proto3,oneof"`
}TransitionCoverage_TransitionNode_Page
type TransitionCoverage_TransitionNode_Page struct {
// Indicates a transition to a [Page][google.cloud.dialogflow.cx.v3.Page].
// Only some fields such as name and displayname will be set.
Page *Page `protobuf:"bytes,1,opt,name=page,proto3,oneof"`
}TransitionCoverage_Transition_EventHandler
type TransitionCoverage_Transition_EventHandler struct {
// Event handler.
EventHandler *EventHandler `protobuf:"bytes,6,opt,name=event_handler,json=eventHandler,proto3,oneof"`
}TransitionCoverage_Transition_TransitionRoute
type TransitionCoverage_Transition_TransitionRoute struct {
// Intent route or condition route.
TransitionRoute *TransitionRoute `protobuf:"bytes,5,opt,name=transition_route,json=transitionRoute,proto3,oneof"`
}TransitionRoute
type TransitionRoute struct {
// Output only. The unique identifier of this transition route.
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The description of the transition route. The maximum length is
// 500 characters.
Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
// The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3.Intent].
// Format:
// `projects/A transition route specifies a [intent][google.cloud.dialogflow.cx.v3.Intent] that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order:
- If there is a
[
trigger_fulfillment][google.cloud.dialogflow.cx.v3.TransitionRoute.trigger_fulfillment] associated with the transition, it will be called. - If there is a
[
target_page][google.cloud.dialogflow.cx.v3.TransitionRoute.target_page] associated with the transition, the session will transition into the specified page. - If there is a
[
target_flow][google.cloud.dialogflow.cx.v3.TransitionRoute.target_flow] associated with the transition, the session will transition into the specified flow.
func (*TransitionRoute) Descriptor
func (*TransitionRoute) Descriptor() ([]byte, []int)Deprecated: Use TransitionRoute.ProtoReflect.Descriptor instead.
func (*TransitionRoute) GetCondition
func (x *TransitionRoute) GetCondition() stringfunc (*TransitionRoute) GetDescription
func (x *TransitionRoute) GetDescription() stringfunc (*TransitionRoute) GetIntent
func (x *TransitionRoute) GetIntent() stringfunc (*TransitionRoute) GetName
func (x *TransitionRoute) GetName() stringfunc (*TransitionRoute) GetTarget
func (x *TransitionRoute) GetTarget() isTransitionRoute_Targetfunc (*TransitionRoute) GetTargetFlow
func (x *TransitionRoute) GetTargetFlow() stringfunc (*TransitionRoute) GetTargetPage
func (x *TransitionRoute) GetTargetPage() stringfunc (*TransitionRoute) GetTriggerFulfillment
func (x *TransitionRoute) GetTriggerFulfillment() *Fulfillmentfunc (*TransitionRoute) ProtoMessage
func (*TransitionRoute) ProtoMessage()func (*TransitionRoute) ProtoReflect
func (x *TransitionRoute) ProtoReflect() protoreflect.Messagefunc (*TransitionRoute) Reset
func (x *TransitionRoute) Reset()func (*TransitionRoute) String
func (x *TransitionRoute) String() stringTransitionRouteGroup
type TransitionRouteGroup struct {
// The unique identifier of the transition route group.
// [TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup]
// populates the name automatically. Format:
// `projects/A TransitionRouteGroup represents a group of
[TransitionRoutes][google.cloud.dialogflow.cx.v3.TransitionRoute] to be
used by a [Page][google.cloud.dialogflow.cx.v3.Page].
func (*TransitionRouteGroup) Descriptor
func (*TransitionRouteGroup) Descriptor() ([]byte, []int)Deprecated: Use TransitionRouteGroup.ProtoReflect.Descriptor instead.
func (*TransitionRouteGroup) GetDisplayName
func (x *TransitionRouteGroup) GetDisplayName() stringfunc (*TransitionRouteGroup) GetName
func (x *TransitionRouteGroup) GetName() stringfunc (*TransitionRouteGroup) GetTransitionRoutes
func (x *TransitionRouteGroup) GetTransitionRoutes() []*TransitionRoutefunc (*TransitionRouteGroup) ProtoMessage
func (*TransitionRouteGroup) ProtoMessage()func (*TransitionRouteGroup) ProtoReflect
func (x *TransitionRouteGroup) ProtoReflect() protoreflect.Messagefunc (*TransitionRouteGroup) Reset
func (x *TransitionRouteGroup) Reset()func (*TransitionRouteGroup) String
func (x *TransitionRouteGroup) String() stringTransitionRouteGroupCoverage
type TransitionRouteGroupCoverage struct {
// Transition route group coverages.
Coverages []*TransitionRouteGroupCoverage_Coverage `protobuf:"bytes,1,rep,name=coverages,proto3" json:"coverages,omitempty"`
// The percent of transition routes in all the transition route groups that
// are covered.
CoverageScore float32 `protobuf:"fixed32,2,opt,name=coverage_score,json=coverageScore,proto3" json:"coverage_score,omitempty"`
// contains filtered or unexported fields
}Transition route group coverage represents the percentage of all possible transition routes present within any of a parent's test cases. The results are grouped by the transition route group.
func (*TransitionRouteGroupCoverage) Descriptor
func (*TransitionRouteGroupCoverage) Descriptor() ([]byte, []int)Deprecated: Use TransitionRouteGroupCoverage.ProtoReflect.Descriptor instead.
func (*TransitionRouteGroupCoverage) GetCoverageScore
func (x *TransitionRouteGroupCoverage) GetCoverageScore() float32func (*TransitionRouteGroupCoverage) GetCoverages
func (x *TransitionRouteGroupCoverage) GetCoverages() []*TransitionRouteGroupCoverage_Coveragefunc (*TransitionRouteGroupCoverage) ProtoMessage
func (*TransitionRouteGroupCoverage) ProtoMessage()func (*TransitionRouteGroupCoverage) ProtoReflect
func (x *TransitionRouteGroupCoverage) ProtoReflect() protoreflect.Messagefunc (*TransitionRouteGroupCoverage) Reset
func (x *TransitionRouteGroupCoverage) Reset()func (*TransitionRouteGroupCoverage) String
func (x *TransitionRouteGroupCoverage) String() stringTransitionRouteGroupCoverage_Coverage
type TransitionRouteGroupCoverage_Coverage struct {
// Transition route group metadata. Only name and displayName will be set.
RouteGroup *TransitionRouteGroup `protobuf:"bytes,1,opt,name=route_group,json=routeGroup,proto3" json:"route_group,omitempty"`
// The list of transition routes and coverage in the transition route group.
Transitions []*TransitionRouteGroupCoverage_Coverage_Transition `protobuf:"bytes,2,rep,name=transitions,proto3" json:"transitions,omitempty"`
// The percent of transition routes in the transition route group that are
// covered.
CoverageScore float32 `protobuf:"fixed32,3,opt,name=coverage_score,json=coverageScore,proto3" json:"coverage_score,omitempty"`
// contains filtered or unexported fields
}Coverage result message for one transition route group.
func (*TransitionRouteGroupCoverage_Coverage) Descriptor
func (*TransitionRouteGroupCoverage_Coverage) Descriptor() ([]byte, []int)Deprecated: Use TransitionRouteGroupCoverage_Coverage.ProtoReflect.Descriptor instead.
func (*TransitionRouteGroupCoverage_Coverage) GetCoverageScore
func (x *TransitionRouteGroupCoverage_Coverage) GetCoverageScore() float32func (*TransitionRouteGroupCoverage_Coverage) GetRouteGroup
func (x *TransitionRouteGroupCoverage_Coverage) GetRouteGroup() *TransitionRouteGroupfunc (*TransitionRouteGroupCoverage_Coverage) GetTransitions
func (x *TransitionRouteGroupCoverage_Coverage) GetTransitions() []*TransitionRouteGroupCoverage_Coverage_Transitionfunc (*TransitionRouteGroupCoverage_Coverage) ProtoMessage
func (*TransitionRouteGroupCoverage_Coverage) ProtoMessage()func (*TransitionRouteGroupCoverage_Coverage) ProtoReflect
func (x *TransitionRouteGroupCoverage_Coverage) ProtoReflect() protoreflect.Messagefunc (*TransitionRouteGroupCoverage_Coverage) Reset
func (x *TransitionRouteGroupCoverage_Coverage) Reset()func (*TransitionRouteGroupCoverage_Coverage) String
func (x *TransitionRouteGroupCoverage_Coverage) String() stringTransitionRouteGroupCoverage_Coverage_Transition
type TransitionRouteGroupCoverage_Coverage_Transition struct {
// Intent route or condition route.
TransitionRoute *TransitionRoute `protobuf:"bytes,1,opt,name=transition_route,json=transitionRoute,proto3" json:"transition_route,omitempty"`
// Whether the transition route is covered by at least one of the
// agent's test cases.
Covered bool `protobuf:"varint,2,opt,name=covered,proto3" json:"covered,omitempty"`
// contains filtered or unexported fields
}A transition coverage in a transition route group.
func (*TransitionRouteGroupCoverage_Coverage_Transition) Descriptor
func (*TransitionRouteGroupCoverage_Coverage_Transition) Descriptor() ([]byte, []int)Deprecated: Use TransitionRouteGroupCoverage_Coverage_Transition.ProtoReflect.Descriptor instead.
func (*TransitionRouteGroupCoverage_Coverage_Transition) GetCovered
func (x *TransitionRouteGroupCoverage_Coverage_Transition) GetCovered() boolfunc (*TransitionRouteGroupCoverage_Coverage_Transition) GetTransitionRoute
func (x *TransitionRouteGroupCoverage_Coverage_Transition) GetTransitionRoute() *TransitionRoutefunc (*TransitionRouteGroupCoverage_Coverage_Transition) ProtoMessage
func (*TransitionRouteGroupCoverage_Coverage_Transition) ProtoMessage()func (*TransitionRouteGroupCoverage_Coverage_Transition) ProtoReflect
func (x *TransitionRouteGroupCoverage_Coverage_Transition) ProtoReflect() protoreflect.Messagefunc (*TransitionRouteGroupCoverage_Coverage_Transition) Reset
func (x *TransitionRouteGroupCoverage_Coverage_Transition) Reset()func (*TransitionRouteGroupCoverage_Coverage_Transition) String
func (x *TransitionRouteGroupCoverage_Coverage_Transition) String() stringTransitionRouteGroupsClient
type TransitionRouteGroupsClient interface {
// Returns the list of all transition route groups in the specified flow.
ListTransitionRouteGroups(ctx context.Context, in *ListTransitionRouteGroupsRequest, opts ...grpc.CallOption) (*ListTransitionRouteGroupsResponse, error)
// Retrieves the specified
// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
GetTransitionRouteGroup(ctx context.Context, in *GetTransitionRouteGroupRequest, opts ...grpc.CallOption) (*TransitionRouteGroup, error)
// Creates an
// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]
// in the specified flow.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
CreateTransitionRouteGroup(ctx context.Context, in *CreateTransitionRouteGroupRequest, opts ...grpc.CallOption) (*TransitionRouteGroup, error)
// Updates the specified
// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
UpdateTransitionRouteGroup(ctx context.Context, in *UpdateTransitionRouteGroupRequest, opts ...grpc.CallOption) (*TransitionRouteGroup, error)
// Deletes the specified
// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
DeleteTransitionRouteGroup(ctx context.Context, in *DeleteTransitionRouteGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}TransitionRouteGroupsClient is the client API for TransitionRouteGroups 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 NewTransitionRouteGroupsClient
func NewTransitionRouteGroupsClient(cc grpc.ClientConnInterface) TransitionRouteGroupsClientTransitionRouteGroupsServer
type TransitionRouteGroupsServer interface {
// Returns the list of all transition route groups in the specified flow.
ListTransitionRouteGroups(context.Context, *ListTransitionRouteGroupsRequest) (*ListTransitionRouteGroupsResponse, error)
// Retrieves the specified
// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
GetTransitionRouteGroup(context.Context, *GetTransitionRouteGroupRequest) (*TransitionRouteGroup, error)
// Creates an
// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup]
// in the specified flow.
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
CreateTransitionRouteGroup(context.Context, *CreateTransitionRouteGroupRequest) (*TransitionRouteGroup, error)
// Updates the specified
// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
UpdateTransitionRouteGroup(context.Context, *UpdateTransitionRouteGroupRequest) (*TransitionRouteGroup, error)
// Deletes the specified
// [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
//
// Note: You should always train a flow prior to sending it queries. See the
// [training
// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
DeleteTransitionRouteGroup(context.Context, *DeleteTransitionRouteGroupRequest) (*emptypb.Empty, error)
}TransitionRouteGroupsServer is the server API for TransitionRouteGroups service. All implementations should embed UnimplementedTransitionRouteGroupsServer for forward compatibility
TransitionRoute_TargetFlow
type TransitionRoute_TargetFlow struct {
// The target flow to transition to.
// Format:
// `projects/TransitionRoute_TargetPage
type TransitionRoute_TargetPage struct {
// The target page to transition to.
// Format:
// `projects/TypeSchema
type TypeSchema struct {
// The encapsulated schema.
//
// Types that are valid to be assigned to Schema:
//
// *TypeSchema_InlineSchema
// *TypeSchema_SchemaReference_
Schema isTypeSchema_Schema `protobuf_oneof:"schema"`
// contains filtered or unexported fields
}Encapsulates different type schema variations: either a reference to an a schema that's already defined by a tool, or an inline definition.
func (*TypeSchema) Descriptor
func (*TypeSchema) Descriptor() ([]byte, []int)Deprecated: Use TypeSchema.ProtoReflect.Descriptor instead.
func (*TypeSchema) GetInlineSchema
func (x *TypeSchema) GetInlineSchema() *InlineSchemafunc (*TypeSchema) GetSchema
func (x *TypeSchema) GetSchema() isTypeSchema_Schemafunc (*TypeSchema) GetSchemaReference
func (x *TypeSchema) GetSchemaReference() *TypeSchema_SchemaReferencefunc (*TypeSchema) ProtoMessage
func (*TypeSchema) ProtoMessage()func (*TypeSchema) ProtoReflect
func (x *TypeSchema) ProtoReflect() protoreflect.Messagefunc (*TypeSchema) Reset
func (x *TypeSchema) Reset()func (*TypeSchema) String
func (x *TypeSchema) String() stringTypeSchema_InlineSchema
type TypeSchema_InlineSchema struct {
// Set if this is an inline schema definition.
InlineSchema *InlineSchema `protobuf:"bytes,1,opt,name=inline_schema,json=inlineSchema,proto3,oneof"`
}TypeSchema_SchemaReference
type TypeSchema_SchemaReference struct {
// The tool that contains this schema definition.
// Format:
// `projects/A reference to the schema of an existing tool.
func (*TypeSchema_SchemaReference) Descriptor
func (*TypeSchema_SchemaReference) Descriptor() ([]byte, []int)Deprecated: Use TypeSchema_SchemaReference.ProtoReflect.Descriptor instead.
func (*TypeSchema_SchemaReference) GetSchema
func (x *TypeSchema_SchemaReference) GetSchema() stringfunc (*TypeSchema_SchemaReference) GetTool
func (x *TypeSchema_SchemaReference) GetTool() stringfunc (*TypeSchema_SchemaReference) ProtoMessage
func (*TypeSchema_SchemaReference) ProtoMessage()func (*TypeSchema_SchemaReference) ProtoReflect
func (x *TypeSchema_SchemaReference) ProtoReflect() protoreflect.Messagefunc (*TypeSchema_SchemaReference) Reset
func (x *TypeSchema_SchemaReference) Reset()func (*TypeSchema_SchemaReference) String
func (x *TypeSchema_SchemaReference) String() stringTypeSchema_SchemaReference_
type TypeSchema_SchemaReference_ struct {
// Set if this is a schema reference.
SchemaReference *TypeSchema_SchemaReference `protobuf:"bytes,2,opt,name=schema_reference,json=schemaReference,proto3,oneof"`
}UnimplementedAgentsServer
type UnimplementedAgentsServer struct {
}UnimplementedAgentsServer should be embedded to have forward compatible implementations.
func (UnimplementedAgentsServer) CreateAgent
func (UnimplementedAgentsServer) CreateAgent(context.Context, *CreateAgentRequest) (*Agent, error)func (UnimplementedAgentsServer) DeleteAgent
func (UnimplementedAgentsServer) DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error)func (UnimplementedAgentsServer) ExportAgent
func (UnimplementedAgentsServer) ExportAgent(context.Context, *ExportAgentRequest) (*longrunningpb.Operation, error)func (UnimplementedAgentsServer) GetAgent
func (UnimplementedAgentsServer) GetAgent(context.Context, *GetAgentRequest) (*Agent, error)func (UnimplementedAgentsServer) GetAgentValidationResult
func (UnimplementedAgentsServer) GetAgentValidationResult(context.Context, *GetAgentValidationResultRequest) (*AgentValidationResult, error)func (UnimplementedAgentsServer) GetGenerativeSettings
func (UnimplementedAgentsServer) GetGenerativeSettings(context.Context, *GetGenerativeSettingsRequest) (*GenerativeSettings, error)func (UnimplementedAgentsServer) ListAgents
func (UnimplementedAgentsServer) ListAgents(context.Context, *ListAgentsRequest) (*ListAgentsResponse, error)func (UnimplementedAgentsServer) RestoreAgent
func (UnimplementedAgentsServer) RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunningpb.Operation, error)func (UnimplementedAgentsServer) UpdateAgent
func (UnimplementedAgentsServer) UpdateAgent(context.Context, *UpdateAgentRequest) (*Agent, error)func (UnimplementedAgentsServer) UpdateGenerativeSettings
func (UnimplementedAgentsServer) UpdateGenerativeSettings(context.Context, *UpdateGenerativeSettingsRequest) (*GenerativeSettings, error)func (UnimplementedAgentsServer) ValidateAgent
func (UnimplementedAgentsServer) ValidateAgent(context.Context, *ValidateAgentRequest) (*AgentValidationResult, error)UnimplementedChangelogsServer
type UnimplementedChangelogsServer struct {
}UnimplementedChangelogsServer should be embedded to have forward compatible implementations.
func (UnimplementedChangelogsServer) GetChangelog
func (UnimplementedChangelogsServer) GetChangelog(context.Context, *GetChangelogRequest) (*Changelog, error)func (UnimplementedChangelogsServer) ListChangelogs
func (UnimplementedChangelogsServer) ListChangelogs(context.Context, *ListChangelogsRequest) (*ListChangelogsResponse, error)UnimplementedDeploymentsServer
type UnimplementedDeploymentsServer struct {
}UnimplementedDeploymentsServer should be embedded to have forward compatible implementations.
func (UnimplementedDeploymentsServer) GetDeployment
func (UnimplementedDeploymentsServer) GetDeployment(context.Context, *GetDeploymentRequest) (*Deployment, error)func (UnimplementedDeploymentsServer) ListDeployments
func (UnimplementedDeploymentsServer) ListDeployments(context.Context, *ListDeploymentsRequest) (*ListDeploymentsResponse, error)UnimplementedEntityTypesServer
type UnimplementedEntityTypesServer struct {
}UnimplementedEntityTypesServer should be embedded to have forward compatible implementations.
func (UnimplementedEntityTypesServer) CreateEntityType
func (UnimplementedEntityTypesServer) CreateEntityType(context.Context, *CreateEntityTypeRequest) (*EntityType, error)func (UnimplementedEntityTypesServer) DeleteEntityType
func (UnimplementedEntityTypesServer) DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*emptypb.Empty, error)func (UnimplementedEntityTypesServer) ExportEntityTypes
func (UnimplementedEntityTypesServer) ExportEntityTypes(context.Context, *ExportEntityTypesRequest) (*longrunningpb.Operation, error)func (UnimplementedEntityTypesServer) GetEntityType
func (UnimplementedEntityTypesServer) GetEntityType(context.Context, *GetEntityTypeRequest) (*EntityType, error)func (UnimplementedEntityTypesServer) ImportEntityTypes
func (UnimplementedEntityTypesServer) ImportEntityTypes(context.Context, *ImportEntityTypesRequest) (*longrunningpb.Operation, error)func (UnimplementedEntityTypesServer) ListEntityTypes
func (UnimplementedEntityTypesServer) ListEntityTypes(context.Context, *ListEntityTypesRequest) (*ListEntityTypesResponse, error)func (UnimplementedEntityTypesServer) UpdateEntityType
func (UnimplementedEntityTypesServer) UpdateEntityType(context.Context, *UpdateEntityTypeRequest) (*EntityType, error)UnimplementedEnvironmentsServer
type UnimplementedEnvironmentsServer struct {
}UnimplementedEnvironmentsServer should be embedded to have forward compatible implementations.
func (UnimplementedEnvironmentsServer) CreateEnvironment
func (UnimplementedEnvironmentsServer) CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*longrunningpb.Operation, error)func (UnimplementedEnvironmentsServer) DeleteEnvironment
func (UnimplementedEnvironmentsServer) DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*emptypb.Empty, error)func (UnimplementedEnvironmentsServer) DeployFlow
func (UnimplementedEnvironmentsServer) DeployFlow(context.Context, *DeployFlowRequest) (*longrunningpb.Operation, error)func (UnimplementedEnvironmentsServer) GetEnvironment
func (UnimplementedEnvironmentsServer) GetEnvironment(context.Context, *GetEnvironmentRequest) (*Environment, error)func (UnimplementedEnvironmentsServer) ListContinuousTestResults
func (UnimplementedEnvironmentsServer) ListContinuousTestResults(context.Context, *ListContinuousTestResultsRequest) (*ListContinuousTestResultsResponse, error)func (UnimplementedEnvironmentsServer) ListEnvironments
func (UnimplementedEnvironmentsServer) ListEnvironments(context.Context, *ListEnvironmentsRequest) (*ListEnvironmentsResponse, error)func (UnimplementedEnvironmentsServer) LookupEnvironmentHistory
func (UnimplementedEnvironmentsServer) LookupEnvironmentHistory(context.Context, *LookupEnvironmentHistoryRequest) (*LookupEnvironmentHistoryResponse, error)func (UnimplementedEnvironmentsServer) RunContinuousTest
func (UnimplementedEnvironmentsServer) RunContinuousTest(context.Context, *RunContinuousTestRequest) (*longrunningpb.Operation, error)func (UnimplementedEnvironmentsServer) UpdateEnvironment
func (UnimplementedEnvironmentsServer) UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*longrunningpb.Operation, error)UnimplementedExamplesServer
type UnimplementedExamplesServer struct {
}UnimplementedExamplesServer should be embedded to have forward compatible implementations.
func (UnimplementedExamplesServer) CreateExample
func (UnimplementedExamplesServer) CreateExample(context.Context, *CreateExampleRequest) (*Example, error)func (UnimplementedExamplesServer) DeleteExample
func (UnimplementedExamplesServer) DeleteExample(context.Context, *DeleteExampleRequest) (*emptypb.Empty, error)func (UnimplementedExamplesServer) GetExample
func (UnimplementedExamplesServer) GetExample(context.Context, *GetExampleRequest) (*Example, error)func (UnimplementedExamplesServer) ListExamples
func (UnimplementedExamplesServer) ListExamples(context.Context, *ListExamplesRequest) (*ListExamplesResponse, error)func (UnimplementedExamplesServer) UpdateExample
func (UnimplementedExamplesServer) UpdateExample(context.Context, *UpdateExampleRequest) (*Example, error)UnimplementedExperimentsServer
type UnimplementedExperimentsServer struct {
}UnimplementedExperimentsServer should be embedded to have forward compatible implementations.
func (UnimplementedExperimentsServer) CreateExperiment
func (UnimplementedExperimentsServer) CreateExperiment(context.Context, *CreateExperimentRequest) (*Experiment, error)func (UnimplementedExperimentsServer) DeleteExperiment
func (UnimplementedExperimentsServer) DeleteExperiment(context.Context, *DeleteExperimentRequest) (*emptypb.Empty, error)func (UnimplementedExperimentsServer) GetExperiment
func (UnimplementedExperimentsServer) GetExperiment(context.Context, *GetExperimentRequest) (*Experiment, error)func (UnimplementedExperimentsServer) ListExperiments
func (UnimplementedExperimentsServer) ListExperiments(context.Context, *ListExperimentsRequest) (*ListExperimentsResponse, error)func (UnimplementedExperimentsServer) StartExperiment
func (UnimplementedExperimentsServer) StartExperiment(context.Context, *StartExperimentRequest) (*Experiment, error)func (UnimplementedExperimentsServer) StopExperiment
func (UnimplementedExperimentsServer) StopExperiment(context.Context, *StopExperimentRequest) (*Experiment, error)func (UnimplementedExperimentsServer) UpdateExperiment
func (UnimplementedExperimentsServer) UpdateExperiment(context.Context, *UpdateExperimentRequest) (*Experiment, error)UnimplementedFlowsServer
type UnimplementedFlowsServer struct {
}UnimplementedFlowsServer should be embedded to have forward compatible implementations.
func (UnimplementedFlowsServer) CreateFlow
func (UnimplementedFlowsServer) CreateFlow(context.Context, *CreateFlowRequest) (*Flow, error)func (UnimplementedFlowsServer) DeleteFlow
func (UnimplementedFlowsServer) DeleteFlow(context.Context, *DeleteFlowRequest) (*emptypb.Empty, error)func (UnimplementedFlowsServer) ExportFlow
func (UnimplementedFlowsServer) ExportFlow(context.Context, *ExportFlowRequest) (*longrunningpb.Operation, error)func (UnimplementedFlowsServer) GetFlow
func (UnimplementedFlowsServer) GetFlow(context.Context, *GetFlowRequest) (*Flow, error)func (UnimplementedFlowsServer) GetFlowValidationResult
func (UnimplementedFlowsServer) GetFlowValidationResult(context.Context, *GetFlowValidationResultRequest) (*FlowValidationResult, error)func (UnimplementedFlowsServer) ImportFlow
func (UnimplementedFlowsServer) ImportFlow(context.Context, *ImportFlowRequest) (*longrunningpb.Operation, error)func (UnimplementedFlowsServer) ListFlows
func (UnimplementedFlowsServer) ListFlows(context.Context, *ListFlowsRequest) (*ListFlowsResponse, error)func (UnimplementedFlowsServer) TrainFlow
func (UnimplementedFlowsServer) TrainFlow(context.Context, *TrainFlowRequest) (*longrunningpb.Operation, error)func (UnimplementedFlowsServer) UpdateFlow
func (UnimplementedFlowsServer) UpdateFlow(context.Context, *UpdateFlowRequest) (*Flow, error)func (UnimplementedFlowsServer) ValidateFlow
func (UnimplementedFlowsServer) ValidateFlow(context.Context, *ValidateFlowRequest) (*FlowValidationResult, error)UnimplementedGeneratorsServer
type UnimplementedGeneratorsServer struct {
}UnimplementedGeneratorsServer should be embedded to have forward compatible implementations.
func (UnimplementedGeneratorsServer) CreateGenerator
func (UnimplementedGeneratorsServer) CreateGenerator(context.Context, *CreateGeneratorRequest) (*Generator, error)func (UnimplementedGeneratorsServer) DeleteGenerator
func (UnimplementedGeneratorsServer) DeleteGenerator(context.Context, *DeleteGeneratorRequest) (*emptypb.Empty, error)func (UnimplementedGeneratorsServer) GetGenerator
func (UnimplementedGeneratorsServer) GetGenerator(context.Context, *GetGeneratorRequest) (*Generator, error)func (UnimplementedGeneratorsServer) ListGenerators
func (UnimplementedGeneratorsServer) ListGenerators(context.Context, *ListGeneratorsRequest) (*ListGeneratorsResponse, error)func (UnimplementedGeneratorsServer) UpdateGenerator
func (UnimplementedGeneratorsServer) UpdateGenerator(context.Context, *UpdateGeneratorRequest) (*Generator, error)UnimplementedIntentsServer
type UnimplementedIntentsServer struct {
}UnimplementedIntentsServer should be embedded to have forward compatible implementations.
func (UnimplementedIntentsServer) CreateIntent
func (UnimplementedIntentsServer) CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error)func (UnimplementedIntentsServer) DeleteIntent
func (UnimplementedIntentsServer) DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error)func (UnimplementedIntentsServer) ExportIntents
func (UnimplementedIntentsServer) ExportIntents(context.Context, *ExportIntentsRequest) (*longrunningpb.Operation, error)func (UnimplementedIntentsServer) GetIntent
func (UnimplementedIntentsServer) GetIntent(context.Context, *GetIntentRequest) (*Intent, error)func (UnimplementedIntentsServer) ImportIntents
func (UnimplementedIntentsServer) ImportIntents(context.Context, *ImportIntentsRequest) (*longrunningpb.Operation, error)func (UnimplementedIntentsServer) ListIntents
func (UnimplementedIntentsServer) ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error)func (UnimplementedIntentsServer) UpdateIntent
func (UnimplementedIntentsServer) UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error)UnimplementedPagesServer
type UnimplementedPagesServer struct {
}UnimplementedPagesServer should be embedded to have forward compatible implementations.
func (UnimplementedPagesServer) CreatePage
func (UnimplementedPagesServer) CreatePage(context.Context, *CreatePageRequest) (*Page, error)func (UnimplementedPagesServer) DeletePage
func (UnimplementedPagesServer) DeletePage(context.Context, *DeletePageRequest) (*emptypb.Empty, error)func (UnimplementedPagesServer) GetPage
func (UnimplementedPagesServer) GetPage(context.Context, *GetPageRequest) (*Page, error)func (UnimplementedPagesServer) ListPages
func (UnimplementedPagesServer) ListPages(context.Context, *ListPagesRequest) (*ListPagesResponse, error)func (UnimplementedPagesServer) UpdatePage
func (UnimplementedPagesServer) UpdatePage(context.Context, *UpdatePageRequest) (*Page, error)UnimplementedPlaybooksServer
type UnimplementedPlaybooksServer struct {
}UnimplementedPlaybooksServer should be embedded to have forward compatible implementations.
func (UnimplementedPlaybooksServer) CreatePlaybook
func (UnimplementedPlaybooksServer) CreatePlaybook(context.Context, *CreatePlaybookRequest) (*Playbook, error)func (UnimplementedPlaybooksServer) CreatePlaybookVersion
func (UnimplementedPlaybooksServer) CreatePlaybookVersion(context.Context, *CreatePlaybookVersionRequest) (*PlaybookVersion, error)func (UnimplementedPlaybooksServer) DeletePlaybook
func (UnimplementedPlaybooksServer) DeletePlaybook(context.Context, *DeletePlaybookRequest) (*emptypb.Empty, error)func (UnimplementedPlaybooksServer) DeletePlaybookVersion
func (UnimplementedPlaybooksServer) DeletePlaybookVersion(context.Context, *DeletePlaybookVersionRequest) (*emptypb.Empty, error)func (UnimplementedPlaybooksServer) ExportPlaybook
func (UnimplementedPlaybooksServer) ExportPlaybook(context.Context, *ExportPlaybookRequest) (*longrunningpb.Operation, error)func (UnimplementedPlaybooksServer) GetPlaybook
func (UnimplementedPlaybooksServer) GetPlaybook(context.Context, *GetPlaybookRequest) (*Playbook, error)func (UnimplementedPlaybooksServer) GetPlaybookVersion
func (UnimplementedPlaybooksServer) GetPlaybookVersion(context.Context, *GetPlaybookVersionRequest) (*PlaybookVersion, error)func (UnimplementedPlaybooksServer) ImportPlaybook
func (UnimplementedPlaybooksServer) ImportPlaybook(context.Context, *ImportPlaybookRequest) (*longrunningpb.Operation, error)func (UnimplementedPlaybooksServer) ListPlaybookVersions
func (UnimplementedPlaybooksServer) ListPlaybookVersions(context.Context, *ListPlaybookVersionsRequest) (*ListPlaybookVersionsResponse, error)func (UnimplementedPlaybooksServer) ListPlaybooks
func (UnimplementedPlaybooksServer) ListPlaybooks(context.Context, *ListPlaybooksRequest) (*ListPlaybooksResponse, error)func (UnimplementedPlaybooksServer) RestorePlaybookVersion
func (UnimplementedPlaybooksServer) RestorePlaybookVersion(context.Context, *RestorePlaybookVersionRequest) (*RestorePlaybookVersionResponse, error)func (UnimplementedPlaybooksServer) UpdatePlaybook
func (UnimplementedPlaybooksServer) UpdatePlaybook(context.Context, *UpdatePlaybookRequest) (*Playbook, error)UnimplementedSecuritySettingsServiceServer
type UnimplementedSecuritySettingsServiceServer struct {
}UnimplementedSecuritySettingsServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedSecuritySettingsServiceServer) CreateSecuritySettings
func (UnimplementedSecuritySettingsServiceServer) CreateSecuritySettings(context.Context, *CreateSecuritySettingsRequest) (*SecuritySettings, error)func (UnimplementedSecuritySettingsServiceServer) DeleteSecuritySettings
func (UnimplementedSecuritySettingsServiceServer) DeleteSecuritySettings(context.Context, *DeleteSecuritySettingsRequest) (*emptypb.Empty, error)func (UnimplementedSecuritySettingsServiceServer) GetSecuritySettings
func (UnimplementedSecuritySettingsServiceServer) GetSecuritySettings(context.Context, *GetSecuritySettingsRequest) (*SecuritySettings, error)func (UnimplementedSecuritySettingsServiceServer) ListSecuritySettings
func (UnimplementedSecuritySettingsServiceServer) ListSecuritySettings(context.Context, *ListSecuritySettingsRequest) (*ListSecuritySettingsResponse, error)func (UnimplementedSecuritySettingsServiceServer) UpdateSecuritySettings
func (UnimplementedSecuritySettingsServiceServer) UpdateSecuritySettings(context.Context, *UpdateSecuritySettingsRequest) (*SecuritySettings, error)UnimplementedSessionEntityTypesServer
type UnimplementedSessionEntityTypesServer struct {
}UnimplementedSessionEntityTypesServer should be embedded to have forward compatible implementations.
func (UnimplementedSessionEntityTypesServer) CreateSessionEntityType
func (UnimplementedSessionEntityTypesServer) CreateSessionEntityType(context.Context, *CreateSessionEntityTypeRequest) (*SessionEntityType, error)func (UnimplementedSessionEntityTypesServer) DeleteSessionEntityType
func (UnimplementedSessionEntityTypesServer) DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*emptypb.Empty, error)func (UnimplementedSessionEntityTypesServer) GetSessionEntityType
func (UnimplementedSessionEntityTypesServer) GetSessionEntityType(context.Context, *GetSessionEntityTypeRequest) (*SessionEntityType, error)func (UnimplementedSessionEntityTypesServer) ListSessionEntityTypes
func (UnimplementedSessionEntityTypesServer) ListSessionEntityTypes(context.Context, *ListSessionEntityTypesRequest) (*ListSessionEntityTypesResponse, error)func (UnimplementedSessionEntityTypesServer) UpdateSessionEntityType
func (UnimplementedSessionEntityTypesServer) UpdateSessionEntityType(context.Context, *UpdateSessionEntityTypeRequest) (*SessionEntityType, error)UnimplementedSessionsServer
type UnimplementedSessionsServer struct {
}UnimplementedSessionsServer should be embedded to have forward compatible implementations.
func (UnimplementedSessionsServer) DetectIntent
func (UnimplementedSessionsServer) DetectIntent(context.Context, *DetectIntentRequest) (*DetectIntentResponse, error)func (UnimplementedSessionsServer) FulfillIntent
func (UnimplementedSessionsServer) FulfillIntent(context.Context, *FulfillIntentRequest) (*FulfillIntentResponse, error)func (UnimplementedSessionsServer) MatchIntent
func (UnimplementedSessionsServer) MatchIntent(context.Context, *MatchIntentRequest) (*MatchIntentResponse, error)func (UnimplementedSessionsServer) ServerStreamingDetectIntent
func (UnimplementedSessionsServer) ServerStreamingDetectIntent(*DetectIntentRequest, Sessions_ServerStreamingDetectIntentServer) errorfunc (UnimplementedSessionsServer) StreamingDetectIntent
func (UnimplementedSessionsServer) StreamingDetectIntent(Sessions_StreamingDetectIntentServer) errorfunc (UnimplementedSessionsServer) SubmitAnswerFeedback
func (UnimplementedSessionsServer) SubmitAnswerFeedback(context.Context, *SubmitAnswerFeedbackRequest) (*AnswerFeedback, error)UnimplementedTestCasesServer
type UnimplementedTestCasesServer struct {
}UnimplementedTestCasesServer should be embedded to have forward compatible implementations.
func (UnimplementedTestCasesServer) BatchDeleteTestCases
func (UnimplementedTestCasesServer) BatchDeleteTestCases(context.Context, *BatchDeleteTestCasesRequest) (*emptypb.Empty, error)func (UnimplementedTestCasesServer) BatchRunTestCases
func (UnimplementedTestCasesServer) BatchRunTestCases(context.Context, *BatchRunTestCasesRequest) (*longrunningpb.Operation, error)func (UnimplementedTestCasesServer) CalculateCoverage
func (UnimplementedTestCasesServer) CalculateCoverage(context.Context, *CalculateCoverageRequest) (*CalculateCoverageResponse, error)func (UnimplementedTestCasesServer) CreateTestCase
func (UnimplementedTestCasesServer) CreateTestCase(context.Context, *CreateTestCaseRequest) (*TestCase, error)func (UnimplementedTestCasesServer) ExportTestCases
func (UnimplementedTestCasesServer) ExportTestCases(context.Context, *ExportTestCasesRequest) (*longrunningpb.Operation, error)func (UnimplementedTestCasesServer) GetTestCase
func (UnimplementedTestCasesServer) GetTestCase(context.Context, *GetTestCaseRequest) (*TestCase, error)func (UnimplementedTestCasesServer) GetTestCaseResult
func (UnimplementedTestCasesServer) GetTestCaseResult(context.Context, *GetTestCaseResultRequest) (*TestCaseResult, error)func (UnimplementedTestCasesServer) ImportTestCases
func (UnimplementedTestCasesServer) ImportTestCases(context.Context, *ImportTestCasesRequest) (*longrunningpb.Operation, error)func (UnimplementedTestCasesServer) ListTestCaseResults
func (UnimplementedTestCasesServer) ListTestCaseResults(context.Context, *ListTestCaseResultsRequest) (*ListTestCaseResultsResponse, error)func (UnimplementedTestCasesServer) ListTestCases
func (UnimplementedTestCasesServer) ListTestCases(context.Context, *ListTestCasesRequest) (*ListTestCasesResponse, error)func (UnimplementedTestCasesServer) RunTestCase
func (UnimplementedTestCasesServer) RunTestCase(context.Context, *RunTestCaseRequest) (*longrunningpb.Operation, error)func (UnimplementedTestCasesServer) UpdateTestCase
func (UnimplementedTestCasesServer) UpdateTestCase(context.Context, *UpdateTestCaseRequest) (*TestCase, error)UnimplementedToolsServer
type UnimplementedToolsServer struct {
}UnimplementedToolsServer should be embedded to have forward compatible implementations.
func (UnimplementedToolsServer) CreateTool
func (UnimplementedToolsServer) CreateTool(context.Context, *CreateToolRequest) (*Tool, error)func (UnimplementedToolsServer) CreateToolVersion
func (UnimplementedToolsServer) CreateToolVersion(context.Context, *CreateToolVersionRequest) (*ToolVersion, error)func (UnimplementedToolsServer) DeleteTool
func (UnimplementedToolsServer) DeleteTool(context.Context, *DeleteToolRequest) (*emptypb.Empty, error)func (UnimplementedToolsServer) DeleteToolVersion
func (UnimplementedToolsServer) DeleteToolVersion(context.Context, *DeleteToolVersionRequest) (*emptypb.Empty, error)func (UnimplementedToolsServer) GetTool
func (UnimplementedToolsServer) GetTool(context.Context, *GetToolRequest) (*Tool, error)func (UnimplementedToolsServer) GetToolVersion
func (UnimplementedToolsServer) GetToolVersion(context.Context, *GetToolVersionRequest) (*ToolVersion, error)func (UnimplementedToolsServer) ListToolVersions
func (UnimplementedToolsServer) ListToolVersions(context.Context, *ListToolVersionsRequest) (*ListToolVersionsResponse, error)func (UnimplementedToolsServer) ListTools
func (UnimplementedToolsServer) ListTools(context.Context, *ListToolsRequest) (*ListToolsResponse, error)func (UnimplementedToolsServer) RestoreToolVersion
func (UnimplementedToolsServer) RestoreToolVersion(context.Context, *RestoreToolVersionRequest) (*RestoreToolVersionResponse, error)func (UnimplementedToolsServer) UpdateTool
func (UnimplementedToolsServer) UpdateTool(context.Context, *UpdateToolRequest) (*Tool, error)UnimplementedTransitionRouteGroupsServer
type UnimplementedTransitionRouteGroupsServer struct {
}UnimplementedTransitionRouteGroupsServer should be embedded to have forward compatible implementations.
func (UnimplementedTransitionRouteGroupsServer) CreateTransitionRouteGroup
func (UnimplementedTransitionRouteGroupsServer) CreateTransitionRouteGroup(context.Context, *CreateTransitionRouteGroupRequest) (*TransitionRouteGroup, error)func (UnimplementedTransitionRouteGroupsServer) DeleteTransitionRouteGroup
func (UnimplementedTransitionRouteGroupsServer) DeleteTransitionRouteGroup(context.Context, *DeleteTransitionRouteGroupRequest) (*emptypb.Empty, error)func (UnimplementedTransitionRouteGroupsServer) GetTransitionRouteGroup
func (UnimplementedTransitionRouteGroupsServer) GetTransitionRouteGroup(context.Context, *GetTransitionRouteGroupRequest) (*TransitionRouteGroup, error)func (UnimplementedTransitionRouteGroupsServer) ListTransitionRouteGroups
func (UnimplementedTransitionRouteGroupsServer) ListTransitionRouteGroups(context.Context, *ListTransitionRouteGroupsRequest) (*ListTransitionRouteGroupsResponse, error)func (UnimplementedTransitionRouteGroupsServer) UpdateTransitionRouteGroup
func (UnimplementedTransitionRouteGroupsServer) UpdateTransitionRouteGroup(context.Context, *UpdateTransitionRouteGroupRequest) (*TransitionRouteGroup, error)UnimplementedVersionsServer
type UnimplementedVersionsServer struct {
}UnimplementedVersionsServer should be embedded to have forward compatible implementations.
func (UnimplementedVersionsServer) CompareVersions
func (UnimplementedVersionsServer) CompareVersions(context.Context, *CompareVersionsRequest) (*CompareVersionsResponse, error)func (UnimplementedVersionsServer) CreateVersion
func (UnimplementedVersionsServer) CreateVersion(context.Context, *CreateVersionRequest) (*longrunningpb.Operation, error)func (UnimplementedVersionsServer) DeleteVersion
func (UnimplementedVersionsServer) DeleteVersion(context.Context, *DeleteVersionRequest) (*emptypb.Empty, error)func (UnimplementedVersionsServer) GetVersion
func (UnimplementedVersionsServer) GetVersion(context.Context, *GetVersionRequest) (*Version, error)func (UnimplementedVersionsServer) ListVersions
func (UnimplementedVersionsServer) ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)func (UnimplementedVersionsServer) LoadVersion
func (UnimplementedVersionsServer) LoadVersion(context.Context, *LoadVersionRequest) (*longrunningpb.Operation, error)func (UnimplementedVersionsServer) UpdateVersion
func (UnimplementedVersionsServer) UpdateVersion(context.Context, *UpdateVersionRequest) (*Version, error)UnimplementedWebhooksServer
type UnimplementedWebhooksServer struct {
}UnimplementedWebhooksServer should be embedded to have forward compatible implementations.
func (UnimplementedWebhooksServer) CreateWebhook
func (UnimplementedWebhooksServer) CreateWebhook(context.Context, *CreateWebhookRequest) (*Webhook, error)func (UnimplementedWebhooksServer) DeleteWebhook
func (UnimplementedWebhooksServer) DeleteWebhook(context.Context, *DeleteWebhookRequest) (*emptypb.Empty, error)func (UnimplementedWebhooksServer) GetWebhook
func (UnimplementedWebhooksServer) GetWebhook(context.Context, *GetWebhookRequest) (*Webhook, error)func (UnimplementedWebhooksServer) ListWebhooks
func (UnimplementedWebhooksServer) ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error)func (UnimplementedWebhooksServer) UpdateWebhook
func (UnimplementedWebhooksServer) UpdateWebhook(context.Context, *UpdateWebhookRequest) (*Webhook, error)UnsafeAgentsServer
type UnsafeAgentsServer interface {
// contains filtered or unexported methods
}UnsafeAgentsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentsServer will result in compilation errors.
UnsafeChangelogsServer
type UnsafeChangelogsServer interface {
// contains filtered or unexported methods
}UnsafeChangelogsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChangelogsServer will result in compilation errors.
UnsafeDeploymentsServer
type UnsafeDeploymentsServer interface {
// contains filtered or unexported methods
}UnsafeDeploymentsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeploymentsServer will result in compilation errors.
UnsafeEntityTypesServer
type UnsafeEntityTypesServer interface {
// contains filtered or unexported methods
}UnsafeEntityTypesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EntityTypesServer will result in compilation errors.
UnsafeEnvironmentsServer
type UnsafeEnvironmentsServer interface {
// contains filtered or unexported methods
}UnsafeEnvironmentsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EnvironmentsServer will result in compilation errors.
UnsafeExamplesServer
type UnsafeExamplesServer interface {
// contains filtered or unexported methods
}UnsafeExamplesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExamplesServer will result in compilation errors.
UnsafeExperimentsServer
type UnsafeExperimentsServer interface {
// contains filtered or unexported methods
}UnsafeExperimentsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExperimentsServer will result in compilation errors.
UnsafeFlowsServer
type UnsafeFlowsServer interface {
// contains filtered or unexported methods
}UnsafeFlowsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FlowsServer will result in compilation errors.
UnsafeGeneratorsServer
type UnsafeGeneratorsServer interface {
// contains filtered or unexported methods
}UnsafeGeneratorsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GeneratorsServer will result in compilation errors.
UnsafeIntentsServer
type UnsafeIntentsServer interface {
// contains filtered or unexported methods
}UnsafeIntentsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IntentsServer will result in compilation errors.
UnsafePagesServer
type UnsafePagesServer interface {
// contains filtered or unexported methods
}UnsafePagesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PagesServer will result in compilation errors.
UnsafePlaybooksServer
type UnsafePlaybooksServer interface {
// contains filtered or unexported methods
}UnsafePlaybooksServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PlaybooksServer will result in compilation errors.
UnsafeSecuritySettingsServiceServer
type UnsafeSecuritySettingsServiceServer interface {
// contains filtered or unexported methods
}UnsafeSecuritySettingsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecuritySettingsServiceServer will result in compilation errors.
UnsafeSessionEntityTypesServer
type UnsafeSessionEntityTypesServer interface {
// contains filtered or unexported methods
}UnsafeSessionEntityTypesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SessionEntityTypesServer will result in compilation errors.
UnsafeSessionsServer
type UnsafeSessionsServer interface {
// contains filtered or unexported methods
}UnsafeSessionsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SessionsServer will result in compilation errors.
UnsafeTestCasesServer
type UnsafeTestCasesServer interface {
// contains filtered or unexported methods
}UnsafeTestCasesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TestCasesServer will result in compilation errors.
UnsafeToolsServer
type UnsafeToolsServer interface {
// contains filtered or unexported methods
}UnsafeToolsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ToolsServer will result in compilation errors.
UnsafeTransitionRouteGroupsServer
type UnsafeTransitionRouteGroupsServer interface {
// contains filtered or unexported methods
}UnsafeTransitionRouteGroupsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TransitionRouteGroupsServer will result in compilation errors.
UnsafeVersionsServer
type UnsafeVersionsServer interface {
// contains filtered or unexported methods
}UnsafeVersionsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VersionsServer will result in compilation errors.
UnsafeWebhooksServer
type UnsafeWebhooksServer interface {
// contains filtered or unexported methods
}UnsafeWebhooksServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WebhooksServer will result in compilation errors.
UpdateAgentRequest
type UpdateAgentRequest struct {
// Required. The agent to update.
Agent *Agent `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"`
// The mask to control which fields get updated. If the mask is not present,
// all fields will be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request message for [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent].
func (*UpdateAgentRequest) Descriptor
func (*UpdateAgentRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateAgentRequest.ProtoReflect.Descriptor instead.
func (*UpdateAgentRequest) GetAgent
func (x *UpdateAgentRequest) GetAgent() *Agentfunc (*UpdateAgentRequest) GetUpdateMask
func (x *UpdateAgentRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateAgentRequest) ProtoMessage
func (*UpdateAgentRequest) ProtoMessage()func (*UpdateAgentRequest) ProtoReflect
func (x *UpdateAgentRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateAgentRequest) Reset
func (x *UpdateAgentRequest) Reset()func (*UpdateAgentRequest) String
func (x *UpdateAgentRequest) String() stringUpdateEntityTypeRequest
type UpdateEntityTypeRequest struct {
// Required. The entity type to update.
EntityType *EntityType `protobuf:"bytes,1,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"`
// The language of the following fields in `entity_type`:
//
// * `EntityType.entities.value`
// * `EntityType.entities.synonyms`
// * `EntityType.excluded_phrases.value`
//
// If not specified, the agent's default language is used.
// [Many
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
// are supported.
// Note: languages must be enabled in the agent before they can be used.
LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// The mask to control which fields get updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request message for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType].
func (*UpdateEntityTypeRequest) Descriptor
func (*UpdateEntityTypeRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*UpdateEntityTypeRequest) GetEntityType
func (x *UpdateEntityTypeRequest) GetEntityType() *EntityTypefunc (*UpdateEntityTypeRequest) GetLanguageCode
func (x *UpdateEntityTypeRequest) GetLanguageCode() stringfunc (*UpdateEntityTypeRequest) GetUpdateMask
func (x *UpdateEntityTypeRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateEntityTypeRequest) ProtoMessage
func (*UpdateEntityTypeRequest) ProtoMessage()func (*UpdateEntityTypeRequest) ProtoReflect
func (x *UpdateEntityTypeRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateEntityTypeRequest) Reset
func (x *UpdateEntityTypeRequest) Reset()func (*UpdateEntityTypeRequest) String
func (x *UpdateEntityTypeRequest) String() stringUpdateEnvironmentRequest
type UpdateEnvironmentRequest struct {
// Required. The environment to update.
Environment *Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"`
// Required. The mask to control which fields get updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request message for [Environments.UpdateEnvironment][google.cloud.dialogflow.cx.v3.Environments.UpdateEnvironment].
func (*UpdateEnvironmentRequest) Descriptor
func (*UpdateEnvironmentRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateEnvironmentRequest.ProtoReflect.Descriptor instead.
func (*UpdateEnvironmentRequest) GetEnvironment
func (x *UpdateEnvironmentRequest) GetEnvironment() *Environmentfunc (*UpdateEnvironmentRequest) GetUpdateMask
func (x *UpdateEnvironmentRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateEnvironmentRequest) ProtoMessage
func (*UpdateEnvironmentRequest) ProtoMessage()func (*UpdateEnvironmentRequest) ProtoReflect
func (x *UpdateEnvironmentRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateEnvironmentRequest) Reset
func (x *UpdateEnvironmentRequest) Reset()func (*UpdateEnvironmentRequest) String
func (x *UpdateEnvironmentRequest) String() stringUpdateExampleRequest
type UpdateExampleRequest struct {
// Required. The example to update.
Example *Example `protobuf:"bytes,1,opt,name=example,proto3" json:"example,omitempty"`
// Optional. The mask to control which fields get updated. If the mask is not
// present, all fields will be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request message for [Examples.UpdateExample][google.cloud.dialogflow.cx.v3.Examples.UpdateExample].
func (*UpdateExampleRequest) Descriptor
func (*UpdateExampleRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateExampleRequest.ProtoReflect.Descriptor instead.
func (*UpdateExampleRequest) GetExample
func (x *UpdateExampleRequest) GetExample() *Examplefunc (*UpdateExampleRequest) GetUpdateMask
func (x *UpdateExampleRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateExampleRequest) ProtoMessage
func (*UpdateExampleRequest) ProtoMessage()func (*UpdateExampleRequest) ProtoReflect
func (x *UpdateExampleRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateExampleRequest) Reset
func (x *UpdateExampleRequest) Reset()func (*UpdateExampleRequest) String
func (x *UpdateExampleRequest) String() stringUpdateExperimentRequest
type UpdateExperimentRequest struct {
// Required. The experiment to update.
Experiment *Experiment `protobuf:"bytes,1,opt,name=experiment,proto3" json:"experiment,omitempty"`
// Required. The mask to control which fields get updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request message for [Experiments.UpdateExperiment][google.cloud.dialogflow.cx.v3.Experiments.UpdateExperiment].
func (*UpdateExperimentRequest) Descriptor
func (*UpdateExperimentRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateExperimentRequest.ProtoReflect.Descriptor instead.
func (*UpdateExperimentRequest) GetExperiment
func (x *UpdateExperimentRequest) GetExperiment() *Experimentfunc (*UpdateExperimentRequest) GetUpdateMask
func (x *UpdateExperimentRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateExperimentRequest) ProtoMessage
func (*UpdateExperimentRequest) ProtoMessage()func (*UpdateExperimentRequest) ProtoReflect
func (x *UpdateExperimentRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateExperimentRequest) Reset
func (x *UpdateExperimentRequest) Reset()func (*UpdateExperimentRequest) String
func (x *UpdateExperimentRequest) String() stringUpdateFlowRequest
type UpdateFlowRequest struct {
// Required. The flow to update.
Flow *Flow `protobuf:"bytes,1,opt,name=flow,proto3" json:"flow,omitempty"`
// The mask to control which fields get updated. If the mask is not present,
// all fields will be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// The language of the following fields in `flow`:
//
// * `Flow.event_handlers.trigger_fulfillment.messages`
// * `Flow.event_handlers.trigger_fulfillment.conditional_cases`
// * `Flow.transition_routes.trigger_fulfillment.messages`
// * `Flow.transition_routes.trigger_fulfillment.conditional_cases`
//
// If not specified, the agent's default language is used.
// [Many
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
// are supported.
// Note: languages must be enabled in the agent before they can be used.
LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// contains filtered or unexported fields
}The request message for [Flows.UpdateFlow][google.cloud.dialogflow.cx.v3.Flows.UpdateFlow].
func (*UpdateFlowRequest) Descriptor
func (*UpdateFlowRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateFlowRequest.ProtoReflect.Descriptor instead.
func (*UpdateFlowRequest) GetFlow
func (x *UpdateFlowRequest) GetFlow() *Flowfunc (*UpdateFlowRequest) GetLanguageCode
func (x *UpdateFlowRequest) GetLanguageCode() stringfunc (*UpdateFlowRequest) GetUpdateMask
func (x *UpdateFlowRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateFlowRequest) ProtoMessage
func (*UpdateFlowRequest) ProtoMessage()func (*UpdateFlowRequest) ProtoReflect
func (x *UpdateFlowRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateFlowRequest) Reset
func (x *UpdateFlowRequest) Reset()func (*UpdateFlowRequest) String
func (x *UpdateFlowRequest) String() stringUpdateGenerativeSettingsRequest
type UpdateGenerativeSettingsRequest struct {
// Required. Generative settings to update.
GenerativeSettings *GenerativeSettings `protobuf:"bytes,1,opt,name=generative_settings,json=generativeSettings,proto3" json:"generative_settings,omitempty"`
// Optional. The mask to control which fields get updated. If the mask is not
// present, all fields will be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request for [UpdateGenerativeSettings][google.cloud.dialogflow.cx.v3.Agents.UpdateGenerativeSettings] RPC.
func (*UpdateGenerativeSettingsRequest) Descriptor
func (*UpdateGenerativeSettingsRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateGenerativeSettingsRequest.ProtoReflect.Descriptor instead.
func (*UpdateGenerativeSettingsRequest) GetGenerativeSettings
func (x *UpdateGenerativeSettingsRequest) GetGenerativeSettings() *GenerativeSettingsfunc (*UpdateGenerativeSettingsRequest) GetUpdateMask
func (x *UpdateGenerativeSettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateGenerativeSettingsRequest) ProtoMessage
func (*UpdateGenerativeSettingsRequest) ProtoMessage()func (*UpdateGenerativeSettingsRequest) ProtoReflect
func (x *UpdateGenerativeSettingsRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateGenerativeSettingsRequest) Reset
func (x *UpdateGenerativeSettingsRequest) Reset()func (*UpdateGenerativeSettingsRequest) String
func (x *UpdateGenerativeSettingsRequest) String() stringUpdateGeneratorRequest
type UpdateGeneratorRequest struct {
// Required. The generator to update.
Generator *Generator `protobuf:"bytes,1,opt,name=generator,proto3" json:"generator,omitempty"`
// The language to list generators for.
LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// The mask to control which fields get updated. If the mask is not present,
// all fields will be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request message for [Generators.UpdateGenerator][google.cloud.dialogflow.cx.v3.Generators.UpdateGenerator].
func (*UpdateGeneratorRequest) Descriptor
func (*UpdateGeneratorRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateGeneratorRequest.ProtoReflect.Descriptor instead.
func (*UpdateGeneratorRequest) GetGenerator
func (x *UpdateGeneratorRequest) GetGenerator() *Generatorfunc (*UpdateGeneratorRequest) GetLanguageCode
func (x *UpdateGeneratorRequest) GetLanguageCode() stringfunc (*UpdateGeneratorRequest) GetUpdateMask
func (x *UpdateGeneratorRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateGeneratorRequest) ProtoMessage
func (*UpdateGeneratorRequest) ProtoMessage()func (*UpdateGeneratorRequest) ProtoReflect
func (x *UpdateGeneratorRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateGeneratorRequest) Reset
func (x *UpdateGeneratorRequest) Reset()func (*UpdateGeneratorRequest) String
func (x *UpdateGeneratorRequest) String() stringUpdateIntentRequest
type UpdateIntentRequest struct {
// Required. The intent to update.
Intent *Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
// The language of the following fields in `intent`:
//
// * `Intent.training_phrases.parts.text`
//
// If not specified, the agent's default language is used.
// [Many
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
// are supported.
// Note: languages must be enabled in the agent before they can be used.
LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// The mask to control which fields get updated. If the mask is not present,
// all fields will be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request message for [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3.Intents.UpdateIntent].
func (*UpdateIntentRequest) Descriptor
func (*UpdateIntentRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateIntentRequest.ProtoReflect.Descriptor instead.
func (*UpdateIntentRequest) GetIntent
func (x *UpdateIntentRequest) GetIntent() *Intentfunc (*UpdateIntentRequest) GetLanguageCode
func (x *UpdateIntentRequest) GetLanguageCode() stringfunc (*UpdateIntentRequest) GetUpdateMask
func (x *UpdateIntentRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateIntentRequest) ProtoMessage
func (*UpdateIntentRequest) ProtoMessage()func (*UpdateIntentRequest) ProtoReflect
func (x *UpdateIntentRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateIntentRequest) Reset
func (x *UpdateIntentRequest) Reset()func (*UpdateIntentRequest) String
func (x *UpdateIntentRequest) String() stringUpdatePageRequest
type UpdatePageRequest struct {
// Required. The page to update.
Page *Page `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
// The language of the following fields in `page`:
//
// * `Page.entry_fulfillment.messages`
// * `Page.entry_fulfillment.conditional_cases`
// * `Page.event_handlers.trigger_fulfillment.messages`
// * `Page.event_handlers.trigger_fulfillment.conditional_cases`
// * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
// *
// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases`
// * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
// *
// `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases`
// * `Page.transition_routes.trigger_fulfillment.messages`
// * `Page.transition_routes.trigger_fulfillment.conditional_cases`
//
// If not specified, the agent's default language is used.
// [Many
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
// are supported.
// Note: languages must be enabled in the agent before they can be used.
LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// The mask to control which fields get updated. If the mask is not present,
// all fields will be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request message for [Pages.UpdatePage][google.cloud.dialogflow.cx.v3.Pages.UpdatePage].
func (*UpdatePageRequest) Descriptor
func (*UpdatePageRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdatePageRequest.ProtoReflect.Descriptor instead.
func (*UpdatePageRequest) GetLanguageCode
func (x *UpdatePageRequest) GetLanguageCode() stringfunc (*UpdatePageRequest) GetPage
func (x *UpdatePageRequest) GetPage() *Pagefunc (*UpdatePageRequest) GetUpdateMask
func (x *UpdatePageRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdatePageRequest) ProtoMessage
func (*UpdatePageRequest) ProtoMessage()func (*UpdatePageRequest) ProtoReflect
func (x *UpdatePageRequest) ProtoReflect() protoreflect.Messagefunc (*UpdatePageRequest) Reset
func (x *UpdatePageRequest) Reset()func (*UpdatePageRequest) String
func (x *UpdatePageRequest) String() stringUpdatePlaybookRequest
type UpdatePlaybookRequest struct {
// Required. The playbook to update.
Playbook *Playbook `protobuf:"bytes,1,opt,name=playbook,proto3" json:"playbook,omitempty"`
// The mask to control which fields get updated. If the mask is not present,
// all fields will be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request message for [Playbooks.UpdatePlaybook][google.cloud.dialogflow.cx.v3.Playbooks.UpdatePlaybook].
func (*UpdatePlaybookRequest) Descriptor
func (*UpdatePlaybookRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdatePlaybookRequest.ProtoReflect.Descriptor instead.
func (*UpdatePlaybookRequest) GetPlaybook
func (x *UpdatePlaybookRequest) GetPlaybook() *Playbookfunc (*UpdatePlaybookRequest) GetUpdateMask
func (x *UpdatePlaybookRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdatePlaybookRequest) ProtoMessage
func (*UpdatePlaybookRequest) ProtoMessage()func (*UpdatePlaybookRequest) ProtoReflect
func (x *UpdatePlaybookRequest) ProtoReflect() protoreflect.Messagefunc (*UpdatePlaybookRequest) Reset
func (x *UpdatePlaybookRequest) Reset()func (*UpdatePlaybookRequest) String
func (x *UpdatePlaybookRequest) String() stringUpdateSecuritySettingsRequest
type UpdateSecuritySettingsRequest struct {
// Required. [SecuritySettings] object that contains values for each of the
// fields to update.
SecuritySettings *SecuritySettings `protobuf:"bytes,1,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"`
// Required. The mask to control which fields get updated. If the mask is not
// present, all fields will be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request message for [SecuritySettingsService.UpdateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings].
func (*UpdateSecuritySettingsRequest) Descriptor
func (*UpdateSecuritySettingsRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateSecuritySettingsRequest.ProtoReflect.Descriptor instead.
func (*UpdateSecuritySettingsRequest) GetSecuritySettings
func (x *UpdateSecuritySettingsRequest) GetSecuritySettings() *SecuritySettingsfunc (*UpdateSecuritySettingsRequest) GetUpdateMask
func (x *UpdateSecuritySettingsRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateSecuritySettingsRequest) ProtoMessage
func (*UpdateSecuritySettingsRequest) ProtoMessage()func (*UpdateSecuritySettingsRequest) ProtoReflect
func (x *UpdateSecuritySettingsRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateSecuritySettingsRequest) Reset
func (x *UpdateSecuritySettingsRequest) Reset()func (*UpdateSecuritySettingsRequest) String
func (x *UpdateSecuritySettingsRequest) String() stringUpdateSessionEntityTypeRequest
type UpdateSessionEntityTypeRequest struct {
// Required. The session entity type to update.
// Format:
// `projects/The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.UpdateSessionEntityType].
func (*UpdateSessionEntityTypeRequest) Descriptor
func (*UpdateSessionEntityTypeRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateSessionEntityTypeRequest.ProtoReflect.Descriptor instead.
func (*UpdateSessionEntityTypeRequest) GetSessionEntityType
func (x *UpdateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityTypefunc (*UpdateSessionEntityTypeRequest) GetUpdateMask
func (x *UpdateSessionEntityTypeRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateSessionEntityTypeRequest) ProtoMessage
func (*UpdateSessionEntityTypeRequest) ProtoMessage()func (*UpdateSessionEntityTypeRequest) ProtoReflect
func (x *UpdateSessionEntityTypeRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateSessionEntityTypeRequest) Reset
func (x *UpdateSessionEntityTypeRequest) Reset()func (*UpdateSessionEntityTypeRequest) String
func (x *UpdateSessionEntityTypeRequest) String() stringUpdateTestCaseRequest
type UpdateTestCaseRequest struct {
// Required. The test case to update.
TestCase *TestCase `protobuf:"bytes,1,opt,name=test_case,json=testCase,proto3" json:"test_case,omitempty"`
// Required. The mask to specify which fields should be updated. The
// [`creationTime`][google.cloud.dialogflow.cx.v3.TestCase.creation_time] and
// [`lastTestResult`][google.cloud.dialogflow.cx.v3.TestCase.last_test_result]
// cannot be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request message for [TestCases.UpdateTestCase][google.cloud.dialogflow.cx.v3.TestCases.UpdateTestCase].
func (*UpdateTestCaseRequest) Descriptor
func (*UpdateTestCaseRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateTestCaseRequest.ProtoReflect.Descriptor instead.
func (*UpdateTestCaseRequest) GetTestCase
func (x *UpdateTestCaseRequest) GetTestCase() *TestCasefunc (*UpdateTestCaseRequest) GetUpdateMask
func (x *UpdateTestCaseRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateTestCaseRequest) ProtoMessage
func (*UpdateTestCaseRequest) ProtoMessage()func (*UpdateTestCaseRequest) ProtoReflect
func (x *UpdateTestCaseRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateTestCaseRequest) Reset
func (x *UpdateTestCaseRequest) Reset()func (*UpdateTestCaseRequest) String
func (x *UpdateTestCaseRequest) String() stringUpdateToolRequest
type UpdateToolRequest struct {
// Required. The Tool to be updated.
Tool *Tool `protobuf:"bytes,1,opt,name=tool,proto3" json:"tool,omitempty"`
// The mask to control which fields get updated. If the mask is not present,
// all fields will be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request message for [Tools.UpdateTool][google.cloud.dialogflow.cx.v3.Tools.UpdateTool].
func (*UpdateToolRequest) Descriptor
func (*UpdateToolRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateToolRequest.ProtoReflect.Descriptor instead.
func (*UpdateToolRequest) GetTool
func (x *UpdateToolRequest) GetTool() *Toolfunc (*UpdateToolRequest) GetUpdateMask
func (x *UpdateToolRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateToolRequest) ProtoMessage
func (*UpdateToolRequest) ProtoMessage()func (*UpdateToolRequest) ProtoReflect
func (x *UpdateToolRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateToolRequest) Reset
func (x *UpdateToolRequest) Reset()func (*UpdateToolRequest) String
func (x *UpdateToolRequest) String() stringUpdateTransitionRouteGroupRequest
type UpdateTransitionRouteGroupRequest struct {
// Required. The transition route group to update.
TransitionRouteGroup *TransitionRouteGroup `protobuf:"bytes,1,opt,name=transition_route_group,json=transitionRouteGroup,proto3" json:"transition_route_group,omitempty"`
// The mask to control which fields get updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// The language of the following fields in `TransitionRouteGroup`:
//
// * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages`
// *
// `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases`
//
// If not specified, the agent's default language is used.
// [Many
// languages](https://cloud.google.com/dialogflow/cx/docs/reference/language)
// are supported.
// Note: languages must be enabled in the agent before they can be used.
LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// contains filtered or unexported fields
}The request message for [TransitionRouteGroups.UpdateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.UpdateTransitionRouteGroup].
func (*UpdateTransitionRouteGroupRequest) Descriptor
func (*UpdateTransitionRouteGroupRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.
func (*UpdateTransitionRouteGroupRequest) GetLanguageCode
func (x *UpdateTransitionRouteGroupRequest) GetLanguageCode() stringfunc (*UpdateTransitionRouteGroupRequest) GetTransitionRouteGroup
func (x *UpdateTransitionRouteGroupRequest) GetTransitionRouteGroup() *TransitionRouteGroupfunc (*UpdateTransitionRouteGroupRequest) GetUpdateMask
func (x *UpdateTransitionRouteGroupRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateTransitionRouteGroupRequest) ProtoMessage
func (*UpdateTransitionRouteGroupRequest) ProtoMessage()func (*UpdateTransitionRouteGroupRequest) ProtoReflect
func (x *UpdateTransitionRouteGroupRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateTransitionRouteGroupRequest) Reset
func (x *UpdateTransitionRouteGroupRequest) Reset()func (*UpdateTransitionRouteGroupRequest) String
func (x *UpdateTransitionRouteGroupRequest) String() stringUpdateVersionRequest
type UpdateVersionRequest struct {
// Required. The version to update.
Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// Required. The mask to control which fields get updated. Currently only
// `description` and `display_name` can be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request message for [Versions.UpdateVersion][google.cloud.dialogflow.cx.v3.Versions.UpdateVersion].
func (*UpdateVersionRequest) Descriptor
func (*UpdateVersionRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateVersionRequest.ProtoReflect.Descriptor instead.
func (*UpdateVersionRequest) GetUpdateMask
func (x *UpdateVersionRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateVersionRequest) GetVersion
func (x *UpdateVersionRequest) GetVersion() *Versionfunc (*UpdateVersionRequest) ProtoMessage
func (*UpdateVersionRequest) ProtoMessage()func (*UpdateVersionRequest) ProtoReflect
func (x *UpdateVersionRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateVersionRequest) Reset
func (x *UpdateVersionRequest) Reset()func (*UpdateVersionRequest) String
func (x *UpdateVersionRequest) String() stringUpdateWebhookRequest
type UpdateWebhookRequest struct {
// Required. The webhook to update.
Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"`
// The mask to control which fields get updated. If the mask is not present,
// all fields will be updated.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}The request message for [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook].
func (*UpdateWebhookRequest) Descriptor
func (*UpdateWebhookRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateWebhookRequest.ProtoReflect.Descriptor instead.
func (*UpdateWebhookRequest) GetUpdateMask
func (x *UpdateWebhookRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateWebhookRequest) GetWebhook
func (x *UpdateWebhookRequest) GetWebhook() *Webhookfunc (*UpdateWebhookRequest) ProtoMessage
func (*UpdateWebhookRequest) ProtoMessage()func (*UpdateWebhookRequest) ProtoReflect
func (x *UpdateWebhookRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateWebhookRequest) Reset
func (x *UpdateWebhookRequest) Reset()func (*UpdateWebhookRequest) String
func (x *UpdateWebhookRequest) String() stringUserUtterance
type UserUtterance struct {
// Required. Message content in text.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}UserUtterance represents one message sent by the customer.
func (*UserUtterance) Descriptor
func (*UserUtterance) Descriptor() ([]byte, []int)Deprecated: Use UserUtterance.ProtoReflect.Descriptor instead.
func (*UserUtterance) GetText
func (x *UserUtterance) GetText() stringfunc (*UserUtterance) ProtoMessage
func (*UserUtterance) ProtoMessage()func (*UserUtterance) ProtoReflect
func (x *UserUtterance) ProtoReflect() protoreflect.Messagefunc (*UserUtterance) Reset
func (x *UserUtterance) Reset()func (*UserUtterance) String
func (x *UserUtterance) String() stringValidateAgentRequest
type ValidateAgentRequest struct {
// Required. The agent to validate.
// Format: `projects/The request message for [Agents.ValidateAgent][google.cloud.dialogflow.cx.v3.Agents.ValidateAgent].
func (*ValidateAgentRequest) Descriptor
func (*ValidateAgentRequest) Descriptor() ([]byte, []int)Deprecated: Use ValidateAgentRequest.ProtoReflect.Descriptor instead.
func (*ValidateAgentRequest) GetLanguageCode
func (x *ValidateAgentRequest) GetLanguageCode() stringfunc (*ValidateAgentRequest) GetName
func (x *ValidateAgentRequest) GetName() stringfunc (*ValidateAgentRequest) ProtoMessage
func (*ValidateAgentRequest) ProtoMessage()func (*ValidateAgentRequest) ProtoReflect
func (x *ValidateAgentRequest) ProtoReflect() protoreflect.Messagefunc (*ValidateAgentRequest) Reset
func (x *ValidateAgentRequest) Reset()func (*ValidateAgentRequest) String
func (x *ValidateAgentRequest) String() stringValidateFlowRequest
type ValidateFlowRequest struct {
// Required. The flow to validate.
// Format:
// `projects/The request message for [Flows.ValidateFlow][google.cloud.dialogflow.cx.v3.Flows.ValidateFlow].
func (*ValidateFlowRequest) Descriptor
func (*ValidateFlowRequest) Descriptor() ([]byte, []int)Deprecated: Use ValidateFlowRequest.ProtoReflect.Descriptor instead.
func (*ValidateFlowRequest) GetLanguageCode
func (x *ValidateFlowRequest) GetLanguageCode() stringfunc (*ValidateFlowRequest) GetName
func (x *ValidateFlowRequest) GetName() stringfunc (*ValidateFlowRequest) ProtoMessage
func (*ValidateFlowRequest) ProtoMessage()func (*ValidateFlowRequest) ProtoReflect
func (x *ValidateFlowRequest) ProtoReflect() protoreflect.Messagefunc (*ValidateFlowRequest) Reset
func (x *ValidateFlowRequest) Reset()func (*ValidateFlowRequest) String
func (x *ValidateFlowRequest) String() stringValidationMessage
type ValidationMessage struct {
// The type of the resources where the message is found.
ResourceType ValidationMessage_ResourceType `protobuf:"varint,1,opt,name=resource_type,json=resourceType,proto3,enum=google.cloud.dialogflow.cx.v3.ValidationMessage_ResourceType" json:"resource_type,omitempty"`
// The names of the resources where the message is found.
//
// Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/validation_message.proto.
Resources []string `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
// The resource names of the resources where the message is found.
ResourceNames []*ResourceName `protobuf:"bytes,6,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"`
// Indicates the severity of the message.
Severity ValidationMessage_Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=google.cloud.dialogflow.cx.v3.ValidationMessage_Severity" json:"severity,omitempty"`
// The message detail.
Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"`
// contains filtered or unexported fields
}Agent/flow validation message.
func (*ValidationMessage) Descriptor
func (*ValidationMessage) Descriptor() ([]byte, []int)Deprecated: Use ValidationMessage.ProtoReflect.Descriptor instead.
func (*ValidationMessage) GetDetail
func (x *ValidationMessage) GetDetail() stringfunc (*ValidationMessage) GetResourceNames
func (x *ValidationMessage) GetResourceNames() []*ResourceNamefunc (*ValidationMessage) GetResourceType
func (x *ValidationMessage) GetResourceType() ValidationMessage_ResourceTypefunc (*ValidationMessage) GetResources
func (x *ValidationMessage) GetResources() []stringDeprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/validation_message.proto.
func (*ValidationMessage) GetSeverity
func (x *ValidationMessage) GetSeverity() ValidationMessage_Severityfunc (*ValidationMessage) ProtoMessage
func (*ValidationMessage) ProtoMessage()func (*ValidationMessage) ProtoReflect
func (x *ValidationMessage) ProtoReflect() protoreflect.Messagefunc (*ValidationMessage) Reset
func (x *ValidationMessage) Reset()func (*ValidationMessage) String
func (x *ValidationMessage) String() stringValidationMessage_ResourceType
type ValidationMessage_ResourceType int32Resource types.
ValidationMessage_RESOURCE_TYPE_UNSPECIFIED, ValidationMessage_AGENT, ValidationMessage_INTENT, ValidationMessage_INTENT_TRAINING_PHRASE, ValidationMessage_INTENT_PARAMETER, ValidationMessage_INTENTS, ValidationMessage_INTENT_TRAINING_PHRASES, ValidationMessage_ENTITY_TYPE, ValidationMessage_ENTITY_TYPES, ValidationMessage_WEBHOOK, ValidationMessage_FLOW, ValidationMessage_PAGE, ValidationMessage_PAGES, ValidationMessage_TRANSITION_ROUTE_GROUP, ValidationMessage_AGENT_TRANSITION_ROUTE_GROUP
const (
// Unspecified.
ValidationMessage_RESOURCE_TYPE_UNSPECIFIED ValidationMessage_ResourceType = 0
// Agent.
ValidationMessage_AGENT ValidationMessage_ResourceType = 1
// Intent.
ValidationMessage_INTENT ValidationMessage_ResourceType = 2
// Intent training phrase.
ValidationMessage_INTENT_TRAINING_PHRASE ValidationMessage_ResourceType = 8
// Intent parameter.
ValidationMessage_INTENT_PARAMETER ValidationMessage_ResourceType = 9
// Multiple intents.
ValidationMessage_INTENTS ValidationMessage_ResourceType = 10
// Multiple training phrases.
ValidationMessage_INTENT_TRAINING_PHRASES ValidationMessage_ResourceType = 11
// Entity type.
ValidationMessage_ENTITY_TYPE ValidationMessage_ResourceType = 3
// Multiple entity types.
ValidationMessage_ENTITY_TYPES ValidationMessage_ResourceType = 12
// Webhook.
ValidationMessage_WEBHOOK ValidationMessage_ResourceType = 4
// Flow.
ValidationMessage_FLOW ValidationMessage_ResourceType = 5
// Page.
ValidationMessage_PAGE ValidationMessage_ResourceType = 6
// Multiple pages.
ValidationMessage_PAGES ValidationMessage_ResourceType = 13
// Transition route group.
ValidationMessage_TRANSITION_ROUTE_GROUP ValidationMessage_ResourceType = 7
// Agent transition route group.
ValidationMessage_AGENT_TRANSITION_ROUTE_GROUP ValidationMessage_ResourceType = 14
)func (ValidationMessage_ResourceType) Descriptor
func (ValidationMessage_ResourceType) Descriptor() protoreflect.EnumDescriptorfunc (ValidationMessage_ResourceType) Enum
func (x ValidationMessage_ResourceType) Enum() *ValidationMessage_ResourceTypefunc (ValidationMessage_ResourceType) EnumDescriptor
func (ValidationMessage_ResourceType) EnumDescriptor() ([]byte, []int)Deprecated: Use ValidationMessage_ResourceType.Descriptor instead.
func (ValidationMessage_ResourceType) Number
func (x ValidationMessage_ResourceType) Number() protoreflect.EnumNumberfunc (ValidationMessage_ResourceType) String
func (x ValidationMessage_ResourceType) String() stringfunc (ValidationMessage_ResourceType) Type
func (ValidationMessage_ResourceType) Type() protoreflect.EnumTypeValidationMessage_Severity
type ValidationMessage_Severity int32Severity level.
ValidationMessage_SEVERITY_UNSPECIFIED, ValidationMessage_INFO, ValidationMessage_WARNING, ValidationMessage_ERROR
const (
// Unspecified.
ValidationMessage_SEVERITY_UNSPECIFIED ValidationMessage_Severity = 0
// The agent doesn't follow Dialogflow best practices.
ValidationMessage_INFO ValidationMessage_Severity = 1
// The agent may not behave as expected.
ValidationMessage_WARNING ValidationMessage_Severity = 2
// The agent may experience failures.
ValidationMessage_ERROR ValidationMessage_Severity = 3
)func (ValidationMessage_Severity) Descriptor
func (ValidationMessage_Severity) Descriptor() protoreflect.EnumDescriptorfunc (ValidationMessage_Severity) Enum
func (x ValidationMessage_Severity) Enum() *ValidationMessage_Severityfunc (ValidationMessage_Severity) EnumDescriptor
func (ValidationMessage_Severity) EnumDescriptor() ([]byte, []int)Deprecated: Use ValidationMessage_Severity.Descriptor instead.
func (ValidationMessage_Severity) Number
func (x ValidationMessage_Severity) Number() protoreflect.EnumNumberfunc (ValidationMessage_Severity) String
func (x ValidationMessage_Severity) String() stringfunc (ValidationMessage_Severity) Type
func (ValidationMessage_Severity) Type() protoreflect.EnumTypeVariantsHistory
type VariantsHistory struct {
// The variants updated. We currently only support single variant
// experiment.
//
// Types that are valid to be assigned to Variants:
//
// *VariantsHistory_VersionVariants
Variants isVariantsHistory_Variants `protobuf_oneof:"variants"`
// Update time of the variants.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}The history of variants update.
func (*VariantsHistory) Descriptor
func (*VariantsHistory) Descriptor() ([]byte, []int)Deprecated: Use VariantsHistory.ProtoReflect.Descriptor instead.
func (*VariantsHistory) GetUpdateTime
func (x *VariantsHistory) GetUpdateTime() *timestamppb.Timestampfunc (*VariantsHistory) GetVariants
func (x *VariantsHistory) GetVariants() isVariantsHistory_Variantsfunc (*VariantsHistory) GetVersionVariants
func (x *VariantsHistory) GetVersionVariants() *VersionVariantsfunc (*VariantsHistory) ProtoMessage
func (*VariantsHistory) ProtoMessage()func (*VariantsHistory) ProtoReflect
func (x *VariantsHistory) ProtoReflect() protoreflect.Messagefunc (*VariantsHistory) Reset
func (x *VariantsHistory) Reset()func (*VariantsHistory) String
func (x *VariantsHistory) String() stringVariantsHistory_VersionVariants
type VariantsHistory_VersionVariants struct {
// The flow versions as the variants.
VersionVariants *VersionVariants `protobuf:"bytes,1,opt,name=version_variants,json=versionVariants,proto3,oneof"`
}Version
type Version struct {
// Format:
// projects/Represents a version of a flow.
func (*Version) Descriptor
Deprecated: Use Version.ProtoReflect.Descriptor instead.
func (*Version) GetCreateTime
func (x *Version) GetCreateTime() *timestamppb.Timestampfunc (*Version) GetDescription
func (*Version) GetDisplayName
func (*Version) GetName
func (*Version) GetNluSettings
func (x *Version) GetNluSettings() *NluSettingsfunc (*Version) GetState
func (x *Version) GetState() Version_Statefunc (*Version) ProtoMessage
func (*Version) ProtoMessage()func (*Version) ProtoReflect
func (x *Version) ProtoReflect() protoreflect.Messagefunc (*Version) Reset
func (x *Version) Reset()func (*Version) String
VersionVariants
type VersionVariants struct {
// A list of flow version variants.
Variants []*VersionVariants_Variant `protobuf:"bytes,1,rep,name=variants,proto3" json:"variants,omitempty"`
// contains filtered or unexported fields
}A list of flow version variants.
func (*VersionVariants) Descriptor
func (*VersionVariants) Descriptor() ([]byte, []int)Deprecated: Use VersionVariants.ProtoReflect.Descriptor instead.
func (*VersionVariants) GetVariants
func (x *VersionVariants) GetVariants() []*VersionVariants_Variantfunc (*VersionVariants) ProtoMessage
func (*VersionVariants) ProtoMessage()func (*VersionVariants) ProtoReflect
func (x *VersionVariants) ProtoReflect() protoreflect.Messagefunc (*VersionVariants) Reset
func (x *VersionVariants) Reset()func (*VersionVariants) String
func (x *VersionVariants) String() stringVersionVariants_Variant
type VersionVariants_Variant struct {
// The name of the flow version.
// Format:
// `projects/A single flow version with specified traffic allocation.
func (*VersionVariants_Variant) Descriptor
func (*VersionVariants_Variant) Descriptor() ([]byte, []int)Deprecated: Use VersionVariants_Variant.ProtoReflect.Descriptor instead.
func (*VersionVariants_Variant) GetIsControlGroup
func (x *VersionVariants_Variant) GetIsControlGroup() boolfunc (*VersionVariants_Variant) GetTrafficAllocation
func (x *VersionVariants_Variant) GetTrafficAllocation() float32func (*VersionVariants_Variant) GetVersion
func (x *VersionVariants_Variant) GetVersion() stringfunc (*VersionVariants_Variant) ProtoMessage
func (*VersionVariants_Variant) ProtoMessage()func (*VersionVariants_Variant) ProtoReflect
func (x *VersionVariants_Variant) ProtoReflect() protoreflect.Messagefunc (*VersionVariants_Variant) Reset
func (x *VersionVariants_Variant) Reset()func (*VersionVariants_Variant) String
func (x *VersionVariants_Variant) String() stringVersion_State
type Version_State int32The state of the version.
Version_STATE_UNSPECIFIED, Version_RUNNING, Version_SUCCEEDED, Version_FAILED
const (
// Not specified. This value is not used.
Version_STATE_UNSPECIFIED Version_State = 0
// Version is not ready to serve (e.g. training is running).
Version_RUNNING Version_State = 1
// Training has succeeded and this version is ready to serve.
Version_SUCCEEDED Version_State = 2
// Version training failed.
Version_FAILED Version_State = 3
)func (Version_State) Descriptor
func (Version_State) Descriptor() protoreflect.EnumDescriptorfunc (Version_State) Enum
func (x Version_State) Enum() *Version_Statefunc (Version_State) EnumDescriptor
func (Version_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Version_State.Descriptor instead.
func (Version_State) Number
func (x Version_State) Number() protoreflect.EnumNumberfunc (Version_State) String
func (x Version_State) String() stringfunc (Version_State) Type
func (Version_State) Type() protoreflect.EnumTypeVersionsClient
type VersionsClient interface {
// Returns the list of all versions in the specified
// [Flow][google.cloud.dialogflow.cx.v3.Flow].
ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error)
// Retrieves the specified [Version][google.cloud.dialogflow.cx.v3.Version].
GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error)
// Creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified
// [Flow][google.cloud.dialogflow.cx.v3.Flow].
//
// 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`:
// [CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata]
// - `response`: [Version][google.cloud.dialogflow.cx.v3.Version]
CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the specified [Version][google.cloud.dialogflow.cx.v3.Version].
UpdateVersion(ctx context.Context, in *UpdateVersionRequest, opts ...grpc.CallOption) (*Version, error)
// Deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version].
DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Loads resources in the specified version to the draft flow.
//
// 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`: 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)
LoadVersion(ctx context.Context, in *LoadVersionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Compares the specified base version with target version.
CompareVersions(ctx context.Context, in *CompareVersionsRequest, opts ...grpc.CallOption) (*CompareVersionsResponse, error)
}VersionsClient is the client API for Versions 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 NewVersionsClient
func NewVersionsClient(cc grpc.ClientConnInterface) VersionsClientVersionsServer
type VersionsServer interface {
// Returns the list of all versions in the specified
// [Flow][google.cloud.dialogflow.cx.v3.Flow].
ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
// Retrieves the specified [Version][google.cloud.dialogflow.cx.v3.Version].
GetVersion(context.Context, *GetVersionRequest) (*Version, error)
// Creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified
// [Flow][google.cloud.dialogflow.cx.v3.Flow].
//
// 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`:
// [CreateVersionOperationMetadata][google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata]
// - `response`: [Version][google.cloud.dialogflow.cx.v3.Version]
CreateVersion(context.Context, *CreateVersionRequest) (*longrunningpb.Operation, error)
// Updates the specified [Version][google.cloud.dialogflow.cx.v3.Version].
UpdateVersion(context.Context, *UpdateVersionRequest) (*Version, error)
// Deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version].
DeleteVersion(context.Context, *DeleteVersionRequest) (*emptypb.Empty, error)
// Loads resources in the specified version to the draft flow.
//
// 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`: 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)
LoadVersion(context.Context, *LoadVersionRequest) (*longrunningpb.Operation, error)
// Compares the specified base version with target version.
CompareVersions(context.Context, *CompareVersionsRequest) (*CompareVersionsResponse, error)
}VersionsServer is the server API for Versions service. All implementations should embed UnimplementedVersionsServer for forward compatibility
VoiceSelectionParams
type VoiceSelectionParams struct {
// Optional. The name of the voice. If not set, the service will choose a
// voice based on the other parameters such as language_code and
// [ssml_gender][google.cloud.dialogflow.cx.v3.VoiceSelectionParams.ssml_gender].
//
// For the list of available voices, please refer to [Supported voices and
// languages](https://cloud.google.com/text-to-speech/docs/voices).
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The preferred gender of the voice. If not set, the service will
// choose a voice based on the other parameters such as language_code and
// [name][google.cloud.dialogflow.cx.v3.VoiceSelectionParams.name]. Note that
// this is only a preference, not requirement. If a voice of the appropriate
// gender is not available, the synthesizer substitutes a voice with a
// different gender rather than failing the request.
SsmlGender SsmlVoiceGender `protobuf:"varint,2,opt,name=ssml_gender,json=ssmlGender,proto3,enum=google.cloud.dialogflow.cx.v3.SsmlVoiceGender" json:"ssml_gender,omitempty"`
// contains filtered or unexported fields
}Description of which voice to use for speech synthesis.
func (*VoiceSelectionParams) Descriptor
func (*VoiceSelectionParams) Descriptor() ([]byte, []int)Deprecated: Use VoiceSelectionParams.ProtoReflect.Descriptor instead.
func (*VoiceSelectionParams) GetName
func (x *VoiceSelectionParams) GetName() stringfunc (*VoiceSelectionParams) GetSsmlGender
func (x *VoiceSelectionParams) GetSsmlGender() SsmlVoiceGenderfunc (*VoiceSelectionParams) ProtoMessage
func (*VoiceSelectionParams) ProtoMessage()func (*VoiceSelectionParams) ProtoReflect
func (x *VoiceSelectionParams) ProtoReflect() protoreflect.Messagefunc (*VoiceSelectionParams) Reset
func (x *VoiceSelectionParams) Reset()func (*VoiceSelectionParams) String
func (x *VoiceSelectionParams) String() stringWebhook
type Webhook struct {
// The unique identifier of the webhook.
// Required for the
// [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook]
// method.
// [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook]
// populates the name automatically. Format:
// `projects/Webhooks host the developer's business logic. During a session, webhooks allow the developer to use the data extracted by Dialogflow's natural language processing to generate dynamic responses, validate collected data, or trigger actions on the backend.
func (*Webhook) Descriptor
Deprecated: Use Webhook.ProtoReflect.Descriptor instead.
func (*Webhook) GetDisabled
func (*Webhook) GetDisplayName
func (*Webhook) GetGenericWebService
func (x *Webhook) GetGenericWebService() *Webhook_GenericWebServicefunc (*Webhook) GetName
func (*Webhook) GetServiceDirectory
func (x *Webhook) GetServiceDirectory() *Webhook_ServiceDirectoryConfigfunc (*Webhook) GetTimeout
func (x *Webhook) GetTimeout() *durationpb.Durationfunc (*Webhook) GetWebhook
func (x *Webhook) GetWebhook() isWebhook_Webhookfunc (*Webhook) ProtoMessage
func (*Webhook) ProtoMessage()func (*Webhook) ProtoReflect
func (x *Webhook) ProtoReflect() protoreflect.Messagefunc (*Webhook) Reset
func (x *Webhook) Reset()func (*Webhook) String
WebhookRequest
type WebhookRequest struct {
// Always present. The unique identifier of the
// [DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse]
// that will be returned to the API caller.
DetectIntentResponseId string `protobuf:"bytes,1,opt,name=detect_intent_response_id,json=detectIntentResponseId,proto3" json:"detect_intent_response_id,omitempty"`
// The original conversational query.
//
// Types that are valid to be assigned to Query:
//
// *WebhookRequest_Text
// *WebhookRequest_TriggerIntent
// *WebhookRequest_Transcript
// *WebhookRequest_TriggerEvent
// *WebhookRequest_DtmfDigits
Query isWebhookRequest_Query `protobuf_oneof:"query"`
// The language code specified in the [original
// request][QueryInput.language_code].
LanguageCode string `protobuf:"bytes,15,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
// Always present. Information about the fulfillment that triggered this
// webhook call.
FulfillmentInfo *WebhookRequest_FulfillmentInfo `protobuf:"bytes,6,opt,name=fulfillment_info,json=fulfillmentInfo,proto3" json:"fulfillment_info,omitempty"`
// Information about the last matched intent.
IntentInfo *WebhookRequest_IntentInfo `protobuf:"bytes,3,opt,name=intent_info,json=intentInfo,proto3" json:"intent_info,omitempty"`
// Information about page status.
PageInfo *PageInfo `protobuf:"bytes,4,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
// Information about session status.
SessionInfo *SessionInfo `protobuf:"bytes,5,opt,name=session_info,json=sessionInfo,proto3" json:"session_info,omitempty"`
// The list of rich message responses to present to the user. Webhook can
// choose to append or replace this list in
// [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3.WebhookResponse.fulfillment_response];
Messages []*ResponseMessage `protobuf:"bytes,7,rep,name=messages,proto3" json:"messages,omitempty"`
// Custom data set in
// [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].
Payload *structpb.Struct `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"`
// The sentiment analysis result of the current user request. The field is
// filled when sentiment analysis is configured to be enabled for the request.
SentimentAnalysisResult *WebhookRequest_SentimentAnalysisResult `protobuf:"bytes,9,opt,name=sentiment_analysis_result,json=sentimentAnalysisResult,proto3" json:"sentiment_analysis_result,omitempty"`
// Information about the language of the request.
LanguageInfo *LanguageInfo `protobuf:"bytes,18,opt,name=language_info,json=languageInfo,proto3" json:"language_info,omitempty"`
// contains filtered or unexported fields
}The request message for a webhook call. The request is sent as a JSON object and the field names will be presented in camel cases.
You may see undocumented fields in an actual request. These fields are used internally by Dialogflow and should be ignored.
func (*WebhookRequest) Descriptor
func (*WebhookRequest) Descriptor() ([]byte, []int)Deprecated: Use WebhookRequest.ProtoReflect.Descriptor instead.
func (*WebhookRequest) GetDetectIntentResponseId
func (x *WebhookRequest) GetDetectIntentResponseId() stringfunc (*WebhookRequest) GetDtmfDigits
func (x *WebhookRequest) GetDtmfDigits() stringfunc (*WebhookRequest) GetFulfillmentInfo
func (x *WebhookRequest) GetFulfillmentInfo() *WebhookRequest_FulfillmentInfofunc (*WebhookRequest) GetIntentInfo
func (x *WebhookRequest) GetIntentInfo() *WebhookRequest_IntentInfofunc (*WebhookRequest) GetLanguageCode
func (x *WebhookRequest) GetLanguageCode() stringfunc (*WebhookRequest) GetLanguageInfo
func (x *WebhookRequest) GetLanguageInfo() *LanguageInfofunc (*WebhookRequest) GetMessages
func (x *WebhookRequest) GetMessages() []*ResponseMessagefunc (*WebhookRequest) GetPageInfo
func (x *WebhookRequest) GetPageInfo() *PageInfofunc (*WebhookRequest) GetPayload
func (x *WebhookRequest) GetPayload() *structpb.Structfunc (*WebhookRequest) GetQuery
func (x *WebhookRequest) GetQuery() isWebhookRequest_Queryfunc (*WebhookRequest) GetSentimentAnalysisResult
func (x *WebhookRequest) GetSentimentAnalysisResult() *WebhookRequest_SentimentAnalysisResultfunc (*WebhookRequest) GetSessionInfo
func (x *WebhookRequest) GetSessionInfo() *SessionInfofunc (*WebhookRequest) GetText
func (x *WebhookRequest) GetText() stringfunc (*WebhookRequest) GetTranscript
func (x *WebhookRequest) GetTranscript() stringfunc (*WebhookRequest) GetTriggerEvent
func (x *WebhookRequest) GetTriggerEvent() stringfunc (*WebhookRequest) GetTriggerIntent
func (x *WebhookRequest) GetTriggerIntent() stringfunc (*WebhookRequest) ProtoMessage
func (*WebhookRequest) ProtoMessage()func (*WebhookRequest) ProtoReflect
func (x *WebhookRequest) ProtoReflect() protoreflect.Messagefunc (*WebhookRequest) Reset
func (x *WebhookRequest) Reset()func (*WebhookRequest) String
func (x *WebhookRequest) String() stringWebhookRequest_DtmfDigits
type WebhookRequest_DtmfDigits struct {
// If [DTMF][google.cloud.dialogflow.cx.v3.DtmfInput] was provided as input,
// this field will contain the DTMF digits.
DtmfDigits string `protobuf:"bytes,17,opt,name=dtmf_digits,json=dtmfDigits,proto3,oneof"`
}WebhookRequest_FulfillmentInfo
type WebhookRequest_FulfillmentInfo struct {
// Always present.
// The value of the
// [Fulfillment.tag][google.cloud.dialogflow.cx.v3.Fulfillment.tag] field
// will be populated in this field by Dialogflow when the associated webhook
// is called. The tag is typically used by the webhook service to identify
// which fulfillment is being called, but it could be used for other
// purposes.
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
// contains filtered or unexported fields
}Represents fulfillment information communicated to the webhook.
func (*WebhookRequest_FulfillmentInfo) Descriptor
func (*WebhookRequest_FulfillmentInfo) Descriptor() ([]byte, []int)Deprecated: Use WebhookRequest_FulfillmentInfo.ProtoReflect.Descriptor instead.
func (*WebhookRequest_FulfillmentInfo) GetTag
func (x *WebhookRequest_FulfillmentInfo) GetTag() stringfunc (*WebhookRequest_FulfillmentInfo) ProtoMessage
func (*WebhookRequest_FulfillmentInfo) ProtoMessage()func (*WebhookRequest_FulfillmentInfo) ProtoReflect
func (x *WebhookRequest_FulfillmentInfo) ProtoReflect() protoreflect.Messagefunc (*WebhookRequest_FulfillmentInfo) Reset
func (x *WebhookRequest_FulfillmentInfo) Reset()func (*WebhookRequest_FulfillmentInfo) String
func (x *WebhookRequest_FulfillmentInfo) String() stringWebhookRequest_IntentInfo
type WebhookRequest_IntentInfo struct {
// Always present. The unique identifier of the last matched
// [intent][google.cloud.dialogflow.cx.v3.Intent].
// Format:
// `projects/Represents intent information communicated to the webhook.
func (*WebhookRequest_IntentInfo) Descriptor
func (*WebhookRequest_IntentInfo) Descriptor() ([]byte, []int)Deprecated: Use WebhookRequest_IntentInfo.ProtoReflect.Descriptor instead.
func (*WebhookRequest_IntentInfo) GetConfidence
func (x *WebhookRequest_IntentInfo) GetConfidence() float32func (*WebhookRequest_IntentInfo) GetDisplayName
func (x *WebhookRequest_IntentInfo) GetDisplayName() stringfunc (*WebhookRequest_IntentInfo) GetLastMatchedIntent
func (x *WebhookRequest_IntentInfo) GetLastMatchedIntent() stringfunc (*WebhookRequest_IntentInfo) GetParameters
func (x *WebhookRequest_IntentInfo) GetParameters() map[string]*WebhookRequest_IntentInfo_IntentParameterValuefunc (*WebhookRequest_IntentInfo) ProtoMessage
func (*WebhookRequest_IntentInfo) ProtoMessage()func (*WebhookRequest_IntentInfo) ProtoReflect
func (x *WebhookRequest_IntentInfo) ProtoReflect() protoreflect.Messagefunc (*WebhookRequest_IntentInfo) Reset
func (x *WebhookRequest_IntentInfo) Reset()func (*WebhookRequest_IntentInfo) String
func (x *WebhookRequest_IntentInfo) String() stringWebhookRequest_IntentInfo_IntentParameterValue
type WebhookRequest_IntentInfo_IntentParameterValue struct {
// Always present. Original text value extracted from user utterance.
OriginalValue string `protobuf:"bytes,1,opt,name=original_value,json=originalValue,proto3" json:"original_value,omitempty"`
// Always present. Structured value for the parameter extracted from user
// utterance.
ResolvedValue *structpb.Value `protobuf:"bytes,2,opt,name=resolved_value,json=resolvedValue,proto3" json:"resolved_value,omitempty"`
// contains filtered or unexported fields
}Represents a value for an intent parameter.
func (*WebhookRequest_IntentInfo_IntentParameterValue) Descriptor
func (*WebhookRequest_IntentInfo_IntentParameterValue) Descriptor() ([]byte, []int)Deprecated: Use WebhookRequest_IntentInfo_IntentParameterValue.ProtoReflect.Descriptor instead.
func (*WebhookRequest_IntentInfo_IntentParameterValue) GetOriginalValue
func (x *WebhookRequest_IntentInfo_IntentParameterValue) GetOriginalValue() stringfunc (*WebhookRequest_IntentInfo_IntentParameterValue) GetResolvedValue
func (x *WebhookRequest_IntentInfo_IntentParameterValue) GetResolvedValue() *structpb.Valuefunc (*WebhookRequest_IntentInfo_IntentParameterValue) ProtoMessage
func (*WebhookRequest_IntentInfo_IntentParameterValue) ProtoMessage()func (*WebhookRequest_IntentInfo_IntentParameterValue) ProtoReflect
func (x *WebhookRequest_IntentInfo_IntentParameterValue) ProtoReflect() protoreflect.Messagefunc (*WebhookRequest_IntentInfo_IntentParameterValue) Reset
func (x *WebhookRequest_IntentInfo_IntentParameterValue) Reset()func (*WebhookRequest_IntentInfo_IntentParameterValue) String
func (x *WebhookRequest_IntentInfo_IntentParameterValue) String() stringWebhookRequest_SentimentAnalysisResult
type WebhookRequest_SentimentAnalysisResult struct {
// Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
//
// sentiment).
Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"`
// A non-negative number in the [0, +inf) range, which represents the
// absolute magnitude of sentiment, regardless of score (positive or
// negative).
Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude,proto3" json:"magnitude,omitempty"`
// contains filtered or unexported fields
}Represents the result of sentiment analysis.
func (*WebhookRequest_SentimentAnalysisResult) Descriptor
func (*WebhookRequest_SentimentAnalysisResult) Descriptor() ([]byte, []int)Deprecated: Use WebhookRequest_SentimentAnalysisResult.ProtoReflect.Descriptor instead.
func (*WebhookRequest_SentimentAnalysisResult) GetMagnitude
func (x *WebhookRequest_SentimentAnalysisResult) GetMagnitude() float32func (*WebhookRequest_SentimentAnalysisResult) GetScore
func (x *WebhookRequest_SentimentAnalysisResult) GetScore() float32func (*WebhookRequest_SentimentAnalysisResult) ProtoMessage
func (*WebhookRequest_SentimentAnalysisResult) ProtoMessage()func (*WebhookRequest_SentimentAnalysisResult) ProtoReflect
func (x *WebhookRequest_SentimentAnalysisResult) ProtoReflect() protoreflect.Messagefunc (*WebhookRequest_SentimentAnalysisResult) Reset
func (x *WebhookRequest_SentimentAnalysisResult) Reset()func (*WebhookRequest_SentimentAnalysisResult) String
func (x *WebhookRequest_SentimentAnalysisResult) String() stringWebhookRequest_Text
type WebhookRequest_Text struct {
// If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was
// provided as input, this field will contain a copy of the text.
Text string `protobuf:"bytes,10,opt,name=text,proto3,oneof"`
}WebhookRequest_Transcript
type WebhookRequest_Transcript struct {
// If [natural language speech
// audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
// this field will contain the transcript for the audio.
Transcript string `protobuf:"bytes,12,opt,name=transcript,proto3,oneof"`
}WebhookRequest_TriggerEvent
type WebhookRequest_TriggerEvent struct {
// If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as
// input, this field will contain the name of the event.
TriggerEvent string `protobuf:"bytes,14,opt,name=trigger_event,json=triggerEvent,proto3,oneof"`
}WebhookRequest_TriggerIntent
type WebhookRequest_TriggerIntent struct {
// If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as
// input, this field will contain a copy of the intent identifier. Format:
// `projects/WebhookResponse
type WebhookResponse struct {
// The fulfillment response to send to the user. This field can be omitted by
// the webhook if it does not intend to send any response to the user.
FulfillmentResponse *WebhookResponse_FulfillmentResponse `protobuf:"bytes,1,opt,name=fulfillment_response,json=fulfillmentResponse,proto3" json:"fulfillment_response,omitempty"`
// Information about page status. This field can be omitted by the webhook if
// it does not intend to modify page status.
PageInfo *PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
// Information about session status. This field can be omitted by the webhook
// if it does not intend to modify session status.
SessionInfo *SessionInfo `protobuf:"bytes,3,opt,name=session_info,json=sessionInfo,proto3" json:"session_info,omitempty"`
// Value to append directly to
// [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads].
Payload *structpb.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
// The target to transition to. This can be set optionally to indicate an
// immediate transition to a different page in the same host flow, or a
// different flow in the same agent.
//
// Types that are valid to be assigned to Transition:
//
// *WebhookResponse_TargetPage
// *WebhookResponse_TargetFlow
Transition isWebhookResponse_Transition `protobuf_oneof:"transition"`
// contains filtered or unexported fields
}The response message for a webhook call.
func (*WebhookResponse) Descriptor
func (*WebhookResponse) Descriptor() ([]byte, []int)Deprecated: Use WebhookResponse.ProtoReflect.Descriptor instead.
func (*WebhookResponse) GetFulfillmentResponse
func (x *WebhookResponse) GetFulfillmentResponse() *WebhookResponse_FulfillmentResponsefunc (*WebhookResponse) GetPageInfo
func (x *WebhookResponse) GetPageInfo() *PageInfofunc (*WebhookResponse) GetPayload
func (x *WebhookResponse) GetPayload() *structpb.Structfunc (*WebhookResponse) GetSessionInfo
func (x *WebhookResponse) GetSessionInfo() *SessionInfofunc (*WebhookResponse) GetTargetFlow
func (x *WebhookResponse) GetTargetFlow() stringfunc (*WebhookResponse) GetTargetPage
func (x *WebhookResponse) GetTargetPage() stringfunc (*WebhookResponse) GetTransition
func (x *WebhookResponse) GetTransition() isWebhookResponse_Transitionfunc (*WebhookResponse) ProtoMessage
func (*WebhookResponse) ProtoMessage()func (*WebhookResponse) ProtoReflect
func (x *WebhookResponse) ProtoReflect() protoreflect.Messagefunc (*WebhookResponse) Reset
func (x *WebhookResponse) Reset()func (*WebhookResponse) String
func (x *WebhookResponse) String() stringWebhookResponse_FulfillmentResponse
type WebhookResponse_FulfillmentResponse struct {
// The list of rich message responses to present to the user.
Messages []*ResponseMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
// Merge behavior for `messages`.
MergeBehavior WebhookResponse_FulfillmentResponse_MergeBehavior `protobuf:"varint,2,opt,name=merge_behavior,json=mergeBehavior,proto3,enum=google.cloud.dialogflow.cx.v3.WebhookResponse_FulfillmentResponse_MergeBehavior" json:"merge_behavior,omitempty"`
// contains filtered or unexported fields
}Represents a fulfillment response to the user.
func (*WebhookResponse_FulfillmentResponse) Descriptor
func (*WebhookResponse_FulfillmentResponse) Descriptor() ([]byte, []int)Deprecated: Use WebhookResponse_FulfillmentResponse.ProtoReflect.Descriptor instead.
func (*WebhookResponse_FulfillmentResponse) GetMergeBehavior
func (x *WebhookResponse_FulfillmentResponse) GetMergeBehavior() WebhookResponse_FulfillmentResponse_MergeBehaviorfunc (*WebhookResponse_FulfillmentResponse) GetMessages
func (x *WebhookResponse_FulfillmentResponse) GetMessages() []*ResponseMessagefunc (*WebhookResponse_FulfillmentResponse) ProtoMessage
func (*WebhookResponse_FulfillmentResponse) ProtoMessage()func (*WebhookResponse_FulfillmentResponse) ProtoReflect
func (x *WebhookResponse_FulfillmentResponse) ProtoReflect() protoreflect.Messagefunc (*WebhookResponse_FulfillmentResponse) Reset
func (x *WebhookResponse_FulfillmentResponse) Reset()func (*WebhookResponse_FulfillmentResponse) String
func (x *WebhookResponse_FulfillmentResponse) String() stringWebhookResponse_FulfillmentResponse_MergeBehavior
type WebhookResponse_FulfillmentResponse_MergeBehavior int32Defines merge behavior for messages.
WebhookResponse_FulfillmentResponse_MERGE_BEHAVIOR_UNSPECIFIED, WebhookResponse_FulfillmentResponse_APPEND, WebhookResponse_FulfillmentResponse_REPLACE
const (
// Not specified. `APPEND` will be used.
WebhookResponse_FulfillmentResponse_MERGE_BEHAVIOR_UNSPECIFIED WebhookResponse_FulfillmentResponse_MergeBehavior = 0
// `messages` will be appended to the list of messages waiting to be sent
// to the user.
WebhookResponse_FulfillmentResponse_APPEND WebhookResponse_FulfillmentResponse_MergeBehavior = 1
// `messages` will replace the list of messages waiting to be sent to the
// user.
WebhookResponse_FulfillmentResponse_REPLACE WebhookResponse_FulfillmentResponse_MergeBehavior = 2
)func (WebhookResponse_FulfillmentResponse_MergeBehavior) Descriptor
func (WebhookResponse_FulfillmentResponse_MergeBehavior) Descriptor() protoreflect.EnumDescriptorfunc (WebhookResponse_FulfillmentResponse_MergeBehavior) Enum
func (x WebhookResponse_FulfillmentResponse_MergeBehavior) Enum() *WebhookResponse_FulfillmentResponse_MergeBehaviorfunc (WebhookResponse_FulfillmentResponse_MergeBehavior) EnumDescriptor
func (WebhookResponse_FulfillmentResponse_MergeBehavior) EnumDescriptor() ([]byte, []int)Deprecated: Use WebhookResponse_FulfillmentResponse_MergeBehavior.Descriptor instead.
func (WebhookResponse_FulfillmentResponse_MergeBehavior) Number
func (x WebhookResponse_FulfillmentResponse_MergeBehavior) Number() protoreflect.EnumNumberfunc (WebhookResponse_FulfillmentResponse_MergeBehavior) String
func (x WebhookResponse_FulfillmentResponse_MergeBehavior) String() stringfunc (WebhookResponse_FulfillmentResponse_MergeBehavior) Type
WebhookResponse_TargetFlow
type WebhookResponse_TargetFlow struct {
// The target flow to transition to.
// Format:
// `projects/WebhookResponse_TargetPage
type WebhookResponse_TargetPage struct {
// The target page to transition to.
// Format:
// `projects/Webhook_GenericWebService
type Webhook_GenericWebService struct {
// Required. The webhook URI for receiving POST requests. It must use https
// protocol.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// The user name for HTTP Basic authentication.
//
// Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/webhook.proto.
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
// The password for HTTP Basic authentication.
//
// Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/webhook.proto.
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
// Optional. The SecretManager secret version resource storing the
// username:password pair for HTTP Basic authentication. Format:
// `projects/{project}/secrets/{secret}/versions/{version}`
SecretVersionForUsernamePassword string `protobuf:"bytes,19,opt,name=secret_version_for_username_password,json=secretVersionForUsernamePassword,proto3" json:"secret_version_for_username_password,omitempty"`
// The HTTP request headers to send together with webhook requests.
RequestHeaders map[string]string `protobuf:"bytes,4,rep,name=request_headers,json=requestHeaders,proto3" json:"request_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. The HTTP request headers to send together with webhook
// requests. Header values are stored in SecretManager secret versions.
//
// When the same header name is specified in both `request_headers` and
// `secret_versions_for_request_headers`, the value in
// `secret_versions_for_request_headers` will be used.
SecretVersionsForRequestHeaders map[string]*Webhook_GenericWebService_SecretVersionHeaderValue `protobuf:"bytes,20,rep,name=secret_versions_for_request_headers,json=secretVersionsForRequestHeaders,proto3" json:"secret_versions_for_request_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. Specifies a list of allowed custom CA certificates (in DER
// format) for HTTPS verification. This overrides the default SSL trust
// store. If this is empty or unspecified, Dialogflow will use Google's
// default trust store to verify certificates. N.B. Make sure the HTTPS
// server certificates are signed with "subject alt name". For instance a
// certificate can be self-signed using the following command,
// ```
//
// openssl x509 -req -days 200 -in example.com.csr \
// -signkey example.com.key \
// -out example.com.crt \
// -extfile <(printf "\nsubjectaltname='DNS:www.example.com' ")="" ```="" allowedcacerts="">byte `protobuf:"bytes,5,rep,name=allowed_ca_certs,json=allowedCaCerts,proto3" json:"allowed_ca_certs,omitempty"`
// Optional. The OAuth configuration of the webhook. If specified,
// Dialogflow will initiate the OAuth client credential flow to exchange an
// access token from the 3rd party platform and put it in the auth header.
OauthConfig *Webhook_GenericWebService_OAuthConfig `protobuf:"bytes,11,opt,name=oauth_config,json=oauthConfig,proto3" json:"oauth_config,omitempty"`
// Optional. Indicate the auth token type generated from the [Diglogflow
// service
// agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
// The generated token is sent in the Authorization header.
ServiceAgentAuth Webhook_GenericWebService_ServiceAgentAuth `protobuf:"varint,12,opt,name=service_agent_auth,json=serviceAgentAuth,proto3,enum=google.cloud.dialogflow.cx.v3.Webhook_GenericWebService_ServiceAgentAuth" json:"service_agent_auth,omitempty"`
// Optional. Configuration for service account authentication.
ServiceAccountAuthConfig *Webhook_GenericWebService_ServiceAccountAuthConfig `protobuf:"bytes,18,opt,name=service_account_auth_config,json=serviceAccountAuthConfig,proto3" json:"service_account_auth_config,omitempty"`
// Optional. Type of the webhook.
WebhookType Webhook_GenericWebService_WebhookType `protobuf:"varint,6,opt,name=webhook_type,json=webhookType,proto3,enum=google.cloud.dialogflow.cx.v3.Webhook_GenericWebService_WebhookType" json:"webhook_type,omitempty"`
// Optional. HTTP method for the flexible webhook calls. Standard webhook
// always uses POST.
HttpMethod Webhook_GenericWebService_HttpMethod `protobuf:"varint,7,opt,name=http_method,json=httpMethod,proto3,enum=google.cloud.dialogflow.cx.v3.Webhook_GenericWebService_HttpMethod" json:"http_method,omitempty"`
// Optional. Defines a custom JSON object as request body to send to
// flexible webhook.
RequestBody string `protobuf:"bytes,8,opt,name=request_body,json=requestBody,proto3" json:"request_body,omitempty"`
// Optional. Maps the values extracted from specific fields of the flexible
// webhook response into session parameters.
// - Key: session parameter name
// - Value: field path in the webhook response
ParameterMapping map[string]string `protobuf:"bytes,9,rep,name=parameter_mapping,json=parameterMapping,proto3" json:"parameter_mapping,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// contains filtered or unexported fields
}Represents configuration for a generic web service.
func (*Webhook_GenericWebService) Descriptor
func (*Webhook_GenericWebService) Descriptor() ([]byte, []int)Deprecated: Use Webhook_GenericWebService.ProtoReflect.Descriptor instead.
func (*Webhook_GenericWebService) GetAllowedCaCerts
func (x *Webhook_GenericWebService) GetAllowedCaCerts() [][]bytefunc (*Webhook_GenericWebService) GetHttpMethod
func (x *Webhook_GenericWebService) GetHttpMethod() Webhook_GenericWebService_HttpMethodfunc (*Webhook_GenericWebService) GetOauthConfig
func (x *Webhook_GenericWebService) GetOauthConfig() *Webhook_GenericWebService_OAuthConfigfunc (*Webhook_GenericWebService) GetParameterMapping
func (x *Webhook_GenericWebService) GetParameterMapping() map[string]stringfunc (*Webhook_GenericWebService) GetPassword
func (x *Webhook_GenericWebService) GetPassword() stringDeprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/webhook.proto.
func (*Webhook_GenericWebService) GetRequestBody
func (x *Webhook_GenericWebService) GetRequestBody() stringfunc (*Webhook_GenericWebService) GetRequestHeaders
func (x *Webhook_GenericWebService) GetRequestHeaders() map[string]stringfunc (*Webhook_GenericWebService) GetSecretVersionForUsernamePassword
func (x *Webhook_GenericWebService) GetSecretVersionForUsernamePassword() stringfunc (*Webhook_GenericWebService) GetSecretVersionsForRequestHeaders
func (x *Webhook_GenericWebService) GetSecretVersionsForRequestHeaders() map[string]*Webhook_GenericWebService_SecretVersionHeaderValuefunc (*Webhook_GenericWebService) GetServiceAccountAuthConfig
func (x *Webhook_GenericWebService) GetServiceAccountAuthConfig() *Webhook_GenericWebService_ServiceAccountAuthConfigfunc (*Webhook_GenericWebService) GetServiceAgentAuth
func (x *Webhook_GenericWebService) GetServiceAgentAuth() Webhook_GenericWebService_ServiceAgentAuthfunc (*Webhook_GenericWebService) GetUri
func (x *Webhook_GenericWebService) GetUri() stringfunc (*Webhook_GenericWebService) GetUsername
func (x *Webhook_GenericWebService) GetUsername() stringDeprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/webhook.proto.
func (*Webhook_GenericWebService) GetWebhookType
func (x *Webhook_GenericWebService) GetWebhookType() Webhook_GenericWebService_WebhookTypefunc (*Webhook_GenericWebService) ProtoMessage
func (*Webhook_GenericWebService) ProtoMessage()func (*Webhook_GenericWebService) ProtoReflect
func (x *Webhook_GenericWebService) ProtoReflect() protoreflect.Messagefunc (*Webhook_GenericWebService) Reset
func (x *Webhook_GenericWebService) Reset()func (*Webhook_GenericWebService) String
func (x *Webhook_GenericWebService) String() stringWebhook_GenericWebService_
type Webhook_GenericWebService_ struct {
// Configuration for a generic web service.
GenericWebService *Webhook_GenericWebService `protobuf:"bytes,4,opt,name=generic_web_service,json=genericWebService,proto3,oneof"`
}Webhook_GenericWebService_HttpMethod
type Webhook_GenericWebService_HttpMethod int32HTTP method to use when calling webhooks.
Webhook_GenericWebService_HTTP_METHOD_UNSPECIFIED, Webhook_GenericWebService_POST, Webhook_GenericWebService_GET, Webhook_GenericWebService_HEAD, Webhook_GenericWebService_PUT, Webhook_GenericWebService_DELETE, Webhook_GenericWebService_PATCH, Webhook_GenericWebService_OPTIONS
const (
// HTTP method not specified.
Webhook_GenericWebService_HTTP_METHOD_UNSPECIFIED Webhook_GenericWebService_HttpMethod = 0
// HTTP POST Method.
Webhook_GenericWebService_POST Webhook_GenericWebService_HttpMethod = 1
// HTTP GET Method.
Webhook_GenericWebService_GET Webhook_GenericWebService_HttpMethod = 2
// HTTP HEAD Method.
Webhook_GenericWebService_HEAD Webhook_GenericWebService_HttpMethod = 3
// HTTP PUT Method.
Webhook_GenericWebService_PUT Webhook_GenericWebService_HttpMethod = 4
// HTTP DELETE Method.
Webhook_GenericWebService_DELETE Webhook_GenericWebService_HttpMethod = 5
// HTTP PATCH Method.
Webhook_GenericWebService_PATCH Webhook_GenericWebService_HttpMethod = 6
// HTTP OPTIONS Method.
Webhook_GenericWebService_OPTIONS Webhook_GenericWebService_HttpMethod = 7
)func (Webhook_GenericWebService_HttpMethod) Descriptor
func (Webhook_GenericWebService_HttpMethod) Descriptor() protoreflect.EnumDescriptorfunc (Webhook_GenericWebService_HttpMethod) Enum
func (x Webhook_GenericWebService_HttpMethod) Enum() *Webhook_GenericWebService_HttpMethodfunc (Webhook_GenericWebService_HttpMethod) EnumDescriptor
func (Webhook_GenericWebService_HttpMethod) EnumDescriptor() ([]byte, []int)Deprecated: Use Webhook_GenericWebService_HttpMethod.Descriptor instead.
func (Webhook_GenericWebService_HttpMethod) Number
func (x Webhook_GenericWebService_HttpMethod) Number() protoreflect.EnumNumberfunc (Webhook_GenericWebService_HttpMethod) String
func (x Webhook_GenericWebService_HttpMethod) String() stringfunc (Webhook_GenericWebService_HttpMethod) Type
func (Webhook_GenericWebService_HttpMethod) Type() protoreflect.EnumTypeWebhook_GenericWebService_OAuthConfig
type Webhook_GenericWebService_OAuthConfig struct {
// Required. The client ID provided by the 3rd party platform.
ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
// Optional. The client secret provided by the 3rd party platform.
ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
// Optional. The name of the SecretManager secret version resource storing
// the client secret. If this field is set, the `client_secret` field will
// be ignored. Format:
// `projects/{project}/secrets/{secret}/versions/{version}`
SecretVersionForClientSecret string `protobuf:"bytes,5,opt,name=secret_version_for_client_secret,json=secretVersionForClientSecret,proto3" json:"secret_version_for_client_secret,omitempty"`
// Required. The token endpoint provided by the 3rd party platform to
// exchange an access token.
TokenEndpoint string `protobuf:"bytes,3,opt,name=token_endpoint,json=tokenEndpoint,proto3" json:"token_endpoint,omitempty"`
// Optional. The OAuth scopes to grant.
Scopes []string `protobuf:"bytes,4,rep,name=scopes,proto3" json:"scopes,omitempty"`
// contains filtered or unexported fields
}Represents configuration of OAuth client credential flow for 3rd party API authentication.
func (*Webhook_GenericWebService_OAuthConfig) Descriptor
func (*Webhook_GenericWebService_OAuthConfig) Descriptor() ([]byte, []int)Deprecated: Use Webhook_GenericWebService_OAuthConfig.ProtoReflect.Descriptor instead.
func (*Webhook_GenericWebService_OAuthConfig) GetClientId
func (x *Webhook_GenericWebService_OAuthConfig) GetClientId() stringfunc (*Webhook_GenericWebService_OAuthConfig) GetClientSecret
func (x *Webhook_GenericWebService_OAuthConfig) GetClientSecret() stringfunc (*Webhook_GenericWebService_OAuthConfig) GetScopes
func (x *Webhook_GenericWebService_OAuthConfig) GetScopes() []stringfunc (*Webhook_GenericWebService_OAuthConfig) GetSecretVersionForClientSecret
func (x *Webhook_GenericWebService_OAuthConfig) GetSecretVersionForClientSecret() stringfunc (*Webhook_GenericWebService_OAuthConfig) GetTokenEndpoint
func (x *Webhook_GenericWebService_OAuthConfig) GetTokenEndpoint() stringfunc (*Webhook_GenericWebService_OAuthConfig) ProtoMessage
func (*Webhook_GenericWebService_OAuthConfig) ProtoMessage()func (*Webhook_GenericWebService_OAuthConfig) ProtoReflect
func (x *Webhook_GenericWebService_OAuthConfig) ProtoReflect() protoreflect.Messagefunc (*Webhook_GenericWebService_OAuthConfig) Reset
func (x *Webhook_GenericWebService_OAuthConfig) Reset()func (*Webhook_GenericWebService_OAuthConfig) String
func (x *Webhook_GenericWebService_OAuthConfig) String() stringWebhook_GenericWebService_SecretVersionHeaderValue
type Webhook_GenericWebService_SecretVersionHeaderValue struct {
// Required. The SecretManager secret version resource storing the header
// value. Format: `projects/{project}/secrets/{secret}/versions/{version}`
SecretVersion string `protobuf:"bytes,1,opt,name=secret_version,json=secretVersion,proto3" json:"secret_version,omitempty"`
// contains filtered or unexported fields
}Represents the value of an HTTP header stored in a SecretManager secret version.
func (*Webhook_GenericWebService_SecretVersionHeaderValue) Descriptor
func (*Webhook_GenericWebService_SecretVersionHeaderValue) Descriptor() ([]byte, []int)Deprecated: Use Webhook_GenericWebService_SecretVersionHeaderValue.ProtoReflect.Descriptor instead.
func (*Webhook_GenericWebService_SecretVersionHeaderValue) GetSecretVersion
func (x *Webhook_GenericWebService_SecretVersionHeaderValue) GetSecretVersion() stringfunc (*Webhook_GenericWebService_SecretVersionHeaderValue) ProtoMessage
func (*Webhook_GenericWebService_SecretVersionHeaderValue) ProtoMessage()func (*Webhook_GenericWebService_SecretVersionHeaderValue) ProtoReflect
func (x *Webhook_GenericWebService_SecretVersionHeaderValue) ProtoReflect() protoreflect.Messagefunc (*Webhook_GenericWebService_SecretVersionHeaderValue) Reset
func (x *Webhook_GenericWebService_SecretVersionHeaderValue) Reset()func (*Webhook_GenericWebService_SecretVersionHeaderValue) String
func (x *Webhook_GenericWebService_SecretVersionHeaderValue) String() stringWebhook_GenericWebService_ServiceAccountAuthConfig
type Webhook_GenericWebService_ServiceAccountAuthConfig struct {
// Required. The email address of the service account used to authenticate
// the webhook call. Dialogflow uses this service account to exchange an
// access token and the access token is then sent in the `Authorization`
// header of the webhook request.
//
// The service account must have the
// `roles/iam.serviceAccountTokenCreator` role granted to the
// [Dialogflow service
// agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
ServiceAccount string `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
// contains filtered or unexported fields
}Configuration for authentication using a service account.
func (*Webhook_GenericWebService_ServiceAccountAuthConfig) Descriptor
func (*Webhook_GenericWebService_ServiceAccountAuthConfig) Descriptor() ([]byte, []int)Deprecated: Use Webhook_GenericWebService_ServiceAccountAuthConfig.ProtoReflect.Descriptor instead.
func (*Webhook_GenericWebService_ServiceAccountAuthConfig) GetServiceAccount
func (x *Webhook_GenericWebService_ServiceAccountAuthConfig) GetServiceAccount() stringfunc (*Webhook_GenericWebService_ServiceAccountAuthConfig) ProtoMessage
func (*Webhook_GenericWebService_ServiceAccountAuthConfig) ProtoMessage()func (*Webhook_GenericWebService_ServiceAccountAuthConfig) ProtoReflect
func (x *Webhook_GenericWebService_ServiceAccountAuthConfig) ProtoReflect() protoreflect.Messagefunc (*Webhook_GenericWebService_ServiceAccountAuthConfig) Reset
func (x *Webhook_GenericWebService_ServiceAccountAuthConfig) Reset()func (*Webhook_GenericWebService_ServiceAccountAuthConfig) String
func (x *Webhook_GenericWebService_ServiceAccountAuthConfig) String() stringWebhook_GenericWebService_ServiceAgentAuth
type Webhook_GenericWebService_ServiceAgentAuth int32Indicate the auth token type generated from the Diglogflow service agent.
Webhook_GenericWebService_SERVICE_AGENT_AUTH_UNSPECIFIED, Webhook_GenericWebService_NONE, Webhook_GenericWebService_ID_TOKEN, Webhook_GenericWebService_ACCESS_TOKEN
const (
// Service agent auth type unspecified. Default to ID_TOKEN.
Webhook_GenericWebService_SERVICE_AGENT_AUTH_UNSPECIFIED Webhook_GenericWebService_ServiceAgentAuth = 0
// No token used.
Webhook_GenericWebService_NONE Webhook_GenericWebService_ServiceAgentAuth = 1
// Use [ID
// token](https://cloud.google.com/docs/authentication/token-types#id)
// generated from service agent. This can be used to access Cloud Function
// and Cloud Run after you grant Invoker role to
// `service-func (Webhook_GenericWebService_ServiceAgentAuth) Descriptor
func (Webhook_GenericWebService_ServiceAgentAuth) Descriptor() protoreflect.EnumDescriptorfunc (Webhook_GenericWebService_ServiceAgentAuth) Enum
func (x Webhook_GenericWebService_ServiceAgentAuth) Enum() *Webhook_GenericWebService_ServiceAgentAuthfunc (Webhook_GenericWebService_ServiceAgentAuth) EnumDescriptor
func (Webhook_GenericWebService_ServiceAgentAuth) EnumDescriptor() ([]byte, []int)Deprecated: Use Webhook_GenericWebService_ServiceAgentAuth.Descriptor instead.
func (Webhook_GenericWebService_ServiceAgentAuth) Number
func (x Webhook_GenericWebService_ServiceAgentAuth) Number() protoreflect.EnumNumberfunc (Webhook_GenericWebService_ServiceAgentAuth) String
func (x Webhook_GenericWebService_ServiceAgentAuth) String() stringfunc (Webhook_GenericWebService_ServiceAgentAuth) Type
func (Webhook_GenericWebService_ServiceAgentAuth) Type() protoreflect.EnumTypeWebhook_GenericWebService_WebhookType
type Webhook_GenericWebService_WebhookType int32Represents the type of webhook configuration.
Webhook_GenericWebService_WEBHOOK_TYPE_UNSPECIFIED, Webhook_GenericWebService_STANDARD, Webhook_GenericWebService_FLEXIBLE
const (
// Default value. This value is unused.
Webhook_GenericWebService_WEBHOOK_TYPE_UNSPECIFIED Webhook_GenericWebService_WebhookType = 0
// Represents a standard webhook.
Webhook_GenericWebService_STANDARD Webhook_GenericWebService_WebhookType = 1
// Represents a flexible webhook.
Webhook_GenericWebService_FLEXIBLE Webhook_GenericWebService_WebhookType = 2
)func (Webhook_GenericWebService_WebhookType) Descriptor
func (Webhook_GenericWebService_WebhookType) Descriptor() protoreflect.EnumDescriptorfunc (Webhook_GenericWebService_WebhookType) Enum
func (Webhook_GenericWebService_WebhookType) EnumDescriptor
func (Webhook_GenericWebService_WebhookType) EnumDescriptor() ([]byte, []int)Deprecated: Use Webhook_GenericWebService_WebhookType.Descriptor instead.
func (Webhook_GenericWebService_WebhookType) Number
func (x Webhook_GenericWebService_WebhookType) Number() protoreflect.EnumNumberfunc (Webhook_GenericWebService_WebhookType) String
func (x Webhook_GenericWebService_WebhookType) String() stringfunc (Webhook_GenericWebService_WebhookType) Type
func (Webhook_GenericWebService_WebhookType) Type() protoreflect.EnumTypeWebhook_ServiceDirectory
type Webhook_ServiceDirectory struct {
// Configuration for a [Service
// Directory](https://cloud.google.com/service-directory) service.
ServiceDirectory *Webhook_ServiceDirectoryConfig `protobuf:"bytes,7,opt,name=service_directory,json=serviceDirectory,proto3,oneof"`
}Webhook_ServiceDirectoryConfig
type Webhook_ServiceDirectoryConfig struct {
// Required. The name of [Service
// Directory](https://cloud.google.com/service-directory) service.
// Format:
// `projects/Represents configuration for a Service Directory service.
func (*Webhook_ServiceDirectoryConfig) Descriptor
func (*Webhook_ServiceDirectoryConfig) Descriptor() ([]byte, []int)Deprecated: Use Webhook_ServiceDirectoryConfig.ProtoReflect.Descriptor instead.
func (*Webhook_ServiceDirectoryConfig) GetGenericWebService
func (x *Webhook_ServiceDirectoryConfig) GetGenericWebService() *Webhook_GenericWebServicefunc (*Webhook_ServiceDirectoryConfig) GetService
func (x *Webhook_ServiceDirectoryConfig) GetService() stringfunc (*Webhook_ServiceDirectoryConfig) ProtoMessage
func (*Webhook_ServiceDirectoryConfig) ProtoMessage()func (*Webhook_ServiceDirectoryConfig) ProtoReflect
func (x *Webhook_ServiceDirectoryConfig) ProtoReflect() protoreflect.Messagefunc (*Webhook_ServiceDirectoryConfig) Reset
func (x *Webhook_ServiceDirectoryConfig) Reset()func (*Webhook_ServiceDirectoryConfig) String
func (x *Webhook_ServiceDirectoryConfig) String() stringWebhooksClient
type WebhooksClient interface {
// Returns the list of all webhooks in the specified agent.
ListWebhooks(ctx context.Context, in *ListWebhooksRequest, opts ...grpc.CallOption) (*ListWebhooksResponse, error)
// Retrieves the specified webhook.
GetWebhook(ctx context.Context, in *GetWebhookRequest, opts ...grpc.CallOption) (*Webhook, error)
// Creates a webhook in the specified agent.
CreateWebhook(ctx context.Context, in *CreateWebhookRequest, opts ...grpc.CallOption) (*Webhook, error)
// Updates the specified webhook.
UpdateWebhook(ctx context.Context, in *UpdateWebhookRequest, opts ...grpc.CallOption) (*Webhook, error)
// Deletes the specified webhook.
DeleteWebhook(ctx context.Context, in *DeleteWebhookRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}WebhooksClient is the client API for Webhooks 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 NewWebhooksClient
func NewWebhooksClient(cc grpc.ClientConnInterface) WebhooksClientWebhooksServer
type WebhooksServer interface {
// Returns the list of all webhooks in the specified agent.
ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error)
// Retrieves the specified webhook.
GetWebhook(context.Context, *GetWebhookRequest) (*Webhook, error)
// Creates a webhook in the specified agent.
CreateWebhook(context.Context, *CreateWebhookRequest) (*Webhook, error)
// Updates the specified webhook.
UpdateWebhook(context.Context, *UpdateWebhookRequest) (*Webhook, error)
// Deletes the specified webhook.
DeleteWebhook(context.Context, *DeleteWebhookRequest) (*emptypb.Empty, error)
}WebhooksServer is the server API for Webhooks service. All implementations should embed UnimplementedWebhooksServer for forward compatibility