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",
}
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,
}
)
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",
}
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,
}
)
Enum value maps for OutputAudioEncoding.
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.
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.
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.
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_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.
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.
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",
}
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,
}
)
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.
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",
}
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,
}
)
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_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.
File_google_cloud_dialogflow_cx_v3_advanced_settings_proto
var File_google_cloud_dialogflow_cx_v3_advanced_settings_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_agent_proto
var File_google_cloud_dialogflow_cx_v3_agent_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_audio_config_proto
var File_google_cloud_dialogflow_cx_v3_audio_config_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_changelog_proto
var File_google_cloud_dialogflow_cx_v3_changelog_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_deployment_proto
var File_google_cloud_dialogflow_cx_v3_deployment_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_entity_type_proto
var File_google_cloud_dialogflow_cx_v3_entity_type_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_environment_proto
var File_google_cloud_dialogflow_cx_v3_environment_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_experiment_proto
var File_google_cloud_dialogflow_cx_v3_experiment_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_flow_proto
var File_google_cloud_dialogflow_cx_v3_flow_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_fulfillment_proto
var File_google_cloud_dialogflow_cx_v3_fulfillment_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_gcs_proto
var File_google_cloud_dialogflow_cx_v3_gcs_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_import_strategy_proto
var File_google_cloud_dialogflow_cx_v3_import_strategy_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_intent_proto
var File_google_cloud_dialogflow_cx_v3_intent_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_page_proto
var File_google_cloud_dialogflow_cx_v3_page_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_response_message_proto
var File_google_cloud_dialogflow_cx_v3_response_message_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_security_settings_proto
var File_google_cloud_dialogflow_cx_v3_security_settings_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_session_entity_type_proto
var File_google_cloud_dialogflow_cx_v3_session_entity_type_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_session_proto
var File_google_cloud_dialogflow_cx_v3_session_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_test_case_proto
var File_google_cloud_dialogflow_cx_v3_test_case_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_transition_route_group_proto
var File_google_cloud_dialogflow_cx_v3_transition_route_group_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_validation_message_proto
var File_google_cloud_dialogflow_cx_v3_validation_message_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_version_proto
var File_google_cloud_dialogflow_cx_v3_version_proto protoreflect.FileDescriptor
File_google_cloud_dialogflow_cx_v3_webhook_proto
var File_google_cloud_dialogflow_cx_v3_webhook_proto protoreflect.FileDescriptor
Functions
func RegisterAgentsServer
func RegisterAgentsServer(s *grpc.Server, srv AgentsServer)
func RegisterChangelogsServer
func RegisterChangelogsServer(s *grpc.Server, srv ChangelogsServer)
func RegisterDeploymentsServer
func RegisterDeploymentsServer(s *grpc.Server, srv DeploymentsServer)
func RegisterEntityTypesServer
func RegisterEntityTypesServer(s *grpc.Server, srv EntityTypesServer)
func RegisterEnvironmentsServer
func RegisterEnvironmentsServer(s *grpc.Server, srv EnvironmentsServer)
func RegisterExperimentsServer
func RegisterExperimentsServer(s *grpc.Server, srv ExperimentsServer)
func RegisterFlowsServer
func RegisterFlowsServer(s *grpc.Server, srv FlowsServer)
func RegisterIntentsServer
func RegisterIntentsServer(s *grpc.Server, srv IntentsServer)
func RegisterPagesServer
func RegisterPagesServer(s *grpc.Server, srv PagesServer)
func RegisterSecuritySettingsServiceServer
func RegisterSecuritySettingsServiceServer(s *grpc.Server, srv SecuritySettingsServiceServer)
func RegisterSessionEntityTypesServer
func RegisterSessionEntityTypesServer(s *grpc.Server, srv SessionEntityTypesServer)
func RegisterSessionsServer
func RegisterSessionsServer(s *grpc.Server, srv SessionsServer)
func RegisterTestCasesServer
func RegisterTestCasesServer(s *grpc.Server, srv TestCasesServer)
func RegisterTransitionRouteGroupsServer
func RegisterTransitionRouteGroupsServer(s *grpc.Server, srv TransitionRouteGroupsServer)
func RegisterVersionsServer
func RegisterVersionsServer(s *grpc.Server, srv VersionsServer)
func RegisterWebhooksServer
func RegisterWebhooksServer(s *grpc.Server, srv WebhooksServer)
AdvancedSettings
type AdvancedSettings struct {
AudioExportGcsDestination *GcsDestination "" /* 140 byte string literal not displayed */
LoggingSettings *AdvancedSettings_LoggingSettings `protobuf:"bytes,6,opt,name=logging_settings,json=loggingSettings,proto3" json:"logging_settings,omitempty"`
}
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() *GcsDestination
func (*AdvancedSettings) GetLoggingSettings
func (x *AdvancedSettings) GetLoggingSettings() *AdvancedSettings_LoggingSettings
func (*AdvancedSettings) ProtoMessage
func (*AdvancedSettings) ProtoMessage()
func (*AdvancedSettings) ProtoReflect
func (x *AdvancedSettings) ProtoReflect() protoreflect.Message
func (*AdvancedSettings) Reset
func (x *AdvancedSettings) Reset()
func (*AdvancedSettings) String
func (x *AdvancedSettings) String() string
AdvancedSettings_LoggingSettings
type AdvancedSettings_LoggingSettings struct {
EnableStackdriverLogging bool "" /* 136 byte string literal not displayed */
EnableInteractionLogging bool "" /* 136 byte string literal not displayed */
}
Define behaviors on logging.
func (*AdvancedSettings_LoggingSettings) Descriptor
func (*AdvancedSettings_LoggingSettings) Descriptor() ([]byte, []int)
Deprecated: Use AdvancedSettings_LoggingSettings.ProtoReflect.Descriptor instead.
func (*AdvancedSettings_LoggingSettings) GetEnableInteractionLogging
func (x *AdvancedSettings_LoggingSettings) GetEnableInteractionLogging() bool
func (*AdvancedSettings_LoggingSettings) GetEnableStackdriverLogging
func (x *AdvancedSettings_LoggingSettings) GetEnableStackdriverLogging() bool
func (*AdvancedSettings_LoggingSettings) ProtoMessage
func (*AdvancedSettings_LoggingSettings) ProtoMessage()
func (*AdvancedSettings_LoggingSettings) ProtoReflect
func (x *AdvancedSettings_LoggingSettings) ProtoReflect() protoreflect.Message
func (*AdvancedSettings_LoggingSettings) Reset
func (x *AdvancedSettings_LoggingSettings) Reset()
func (*AdvancedSettings_LoggingSettings) String
func (x *AdvancedSettings_LoggingSettings) String() string
Agent
type Agent struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
DefaultLanguageCode string `protobuf:"bytes,3,opt,name=default_language_code,json=defaultLanguageCode,proto3" json:"default_language_code,omitempty"`
SupportedLanguageCodes []string "" /* 129 byte string literal not displayed */
TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
AvatarUri string `protobuf:"bytes,7,opt,name=avatar_uri,json=avatarUri,proto3" json:"avatar_uri,omitempty"`
SpeechToTextSettings *SpeechToTextSettings `protobuf:"bytes,13,opt,name=speech_to_text_settings,json=speechToTextSettings,proto3" json:"speech_to_text_settings,omitempty"`
StartFlow string `protobuf:"bytes,16,opt,name=start_flow,json=startFlow,proto3" json:"start_flow,omitempty"`
SecuritySettings string `protobuf:"bytes,17,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"`
EnableStackdriverLogging bool "" /* 137 byte string literal not displayed */
EnableSpellCorrection bool "" /* 128 byte string literal not displayed */
Locked bool `protobuf:"varint,27,opt,name=locked,proto3" json:"locked,omitempty"`
AdvancedSettings *AdvancedSettings `protobuf:"bytes,22,opt,name=advanced_settings,json=advancedSettings,proto3" json:"advanced_settings,omitempty"`
GitIntegrationSettings *Agent_GitIntegrationSettings "" /* 130 byte string literal not displayed */
TextToSpeechSettings *TextToSpeechSettings `protobuf:"bytes,31,opt,name=text_to_speech_settings,json=textToSpeechSettings,proto3" json:"text_to_speech_settings,omitempty"`
}
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() *AdvancedSettings
func (*Agent) GetAvatarUri
func (*Agent) GetDefaultLanguageCode
func (*Agent) GetDescription
func (*Agent) GetDisplayName
func (*Agent) GetEnableSpellCorrection
func (*Agent) GetEnableStackdriverLogging
Deprecated: Marked as deprecated in google/cloud/dialogflow/cx/v3/agent.proto.
func (*Agent) GetGitIntegrationSettings
func (x *Agent) GetGitIntegrationSettings() *Agent_GitIntegrationSettings
func (*Agent) GetLocked
func (*Agent) GetName
func (*Agent) GetSecuritySettings
func (*Agent) GetSpeechToTextSettings
func (x *Agent) GetSpeechToTextSettings() *SpeechToTextSettings
func (*Agent) GetStartFlow
func (*Agent) GetSupportedLanguageCodes
func (*Agent) GetTextToSpeechSettings
func (x *Agent) GetTextToSpeechSettings() *TextToSpeechSettings
func (*Agent) GetTimeZone
func (*Agent) ProtoMessage
func (*Agent) ProtoMessage()
func (*Agent) ProtoReflect
func (x *Agent) ProtoReflect() protoreflect.Message
func (*Agent) Reset
func (x *Agent) Reset()
func (*Agent) String
AgentValidationResult
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() []*FlowValidationResult
func (*AgentValidationResult) GetName
func (x *AgentValidationResult) GetName() string
func (*AgentValidationResult) ProtoMessage
func (*AgentValidationResult) ProtoMessage()
func (*AgentValidationResult) ProtoReflect
func (x *AgentValidationResult) ProtoReflect() protoreflect.Message
func (*AgentValidationResult) Reset
func (x *AgentValidationResult) Reset()
func (*AgentValidationResult) String
func (x *AgentValidationResult) String() string
Agent_GitIntegrationSettings
type Agent_GitIntegrationSettings struct {
// The git settings to specific systems.
//
// Types that are assignable 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 (m *Agent_GitIntegrationSettings) GetGitSettings() isAgent_GitIntegrationSettings_GitSettings
func (*Agent_GitIntegrationSettings) GetGithubSettings
func (x *Agent_GitIntegrationSettings) GetGithubSettings() *Agent_GitIntegrationSettings_GithubSettings
func (*Agent_GitIntegrationSettings) ProtoMessage
func (*Agent_GitIntegrationSettings) ProtoMessage()
func (*Agent_GitIntegrationSettings) ProtoReflect
func (x *Agent_GitIntegrationSettings) ProtoReflect() protoreflect.Message
func (*Agent_GitIntegrationSettings) Reset
func (x *Agent_GitIntegrationSettings) Reset()
func (*Agent_GitIntegrationSettings) String
func (x *Agent_GitIntegrationSettings) String() string
Agent_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() string
func (*Agent_GitIntegrationSettings_GithubSettings) GetBranches
func (x *Agent_GitIntegrationSettings_GithubSettings) GetBranches() []string
func (*Agent_GitIntegrationSettings_GithubSettings) GetDisplayName
func (x *Agent_GitIntegrationSettings_GithubSettings) GetDisplayName() string
func (*Agent_GitIntegrationSettings_GithubSettings) GetRepositoryUri
func (x *Agent_GitIntegrationSettings_GithubSettings) GetRepositoryUri() string
func (*Agent_GitIntegrationSettings_GithubSettings) GetTrackingBranch
func (x *Agent_GitIntegrationSettings_GithubSettings) GetTrackingBranch() string
func (*Agent_GitIntegrationSettings_GithubSettings) ProtoMessage
func (*Agent_GitIntegrationSettings_GithubSettings) ProtoMessage()
func (*Agent_GitIntegrationSettings_GithubSettings) ProtoReflect
func (x *Agent_GitIntegrationSettings_GithubSettings) ProtoReflect() protoreflect.Message
func (*Agent_GitIntegrationSettings_GithubSettings) Reset
func (x *Agent_GitIntegrationSettings_GithubSettings) Reset()
func (*Agent_GitIntegrationSettings_GithubSettings) String
func (x *Agent_GitIntegrationSettings_GithubSettings) String() string
Agent_GitIntegrationSettings_GithubSettings_
type Agent_GitIntegrationSettings_GithubSettings_ struct {
// GitHub settings.
GithubSettings *Agent_GitIntegrationSettings_GithubSettings `protobuf:"bytes,1,opt,name=github_settings,json=githubSettings,proto3,oneof"`
}
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)
}
AgentsClient is the client API for Agents service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAgentsClient
func NewAgentsClient(cc grpc.ClientConnInterface) AgentsClient
AgentsServer
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)
}
AgentsServer is the server API for Agents service.
AudioEncoding
type AudioEncoding int32
Audio 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
const (
// Not specified.
AudioEncoding_AUDIO_ENCODING_UNSPECIFIED AudioEncoding = 0
// Uncompressed 16-bit signed little-endian samples (Linear PCM).
AudioEncoding_AUDIO_ENCODING_LINEAR_16 AudioEncoding = 1
// [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless Audio
// Codec) is the recommended encoding because it is lossless (therefore
// recognition is not compromised) and requires only about half the
// bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and
// 24-bit samples, however, not all fields in `STREAMINFO` are supported.
AudioEncoding_AUDIO_ENCODING_FLAC AudioEncoding = 2
// 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.
AudioEncoding_AUDIO_ENCODING_MULAW AudioEncoding = 3
// Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000.
AudioEncoding_AUDIO_ENCODING_AMR AudioEncoding = 4
// Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000.
AudioEncoding_AUDIO_ENCODING_AMR_WB AudioEncoding = 5
// Opus encoded audio frames in Ogg container
// ([OggOpus](https://wiki.xiph.org/OggOpus)).
// `sample_rate_hertz` must be 16000.
AudioEncoding_AUDIO_ENCODING_OGG_OPUS AudioEncoding = 6
// Although the use of lossy encodings is not recommended, if a very low
// bitrate encoding is required, `OGG_OPUS` is highly preferred over
// Speex encoding. The [Speex](https://speex.org/) encoding supported by
// Dialogflow API has a header byte in each block, as in MIME type
// `audio/x-speex-with-header-byte`.
// It is a variant of the RTP Speex encoding defined in
// [RFC 5574](https://tools.ietf.org/html/rfc5574).
// The stream is a sequence of blocks, one block per RTP packet. Each block
// starts with a byte containing the length of the block, in bytes, followed
// by one or more frames of Speex data, padded to an integral number of
// bytes (octets) as specified in RFC 5574. In other words, each RTP header
// is replaced with a single byte containing the block length. Only Speex
// wideband is supported. `sample_rate_hertz` must be 16000.
AudioEncoding_AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE AudioEncoding = 7
)
func (AudioEncoding) Descriptor
func (AudioEncoding) Descriptor() protoreflect.EnumDescriptor
func (AudioEncoding) Enum
func (x AudioEncoding) Enum() *AudioEncoding
func (AudioEncoding) EnumDescriptor
func (AudioEncoding) EnumDescriptor() ([]byte, []int)
Deprecated: Use AudioEncoding.Descriptor instead.
func (AudioEncoding) Number
func (x AudioEncoding) Number() protoreflect.EnumNumber
func (AudioEncoding) String
func (x AudioEncoding) String() string
func (AudioEncoding) Type
func (AudioEncoding) Type() protoreflect.EnumType
AudioInput
type AudioInput struct {
// Required. Instructs the speech recognizer how to process the speech audio.
Config *InputAudioConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
// 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() []byte
func (*AudioInput) GetConfig
func (x *AudioInput) GetConfig() *InputAudioConfig
func (*AudioInput) ProtoMessage
func (*AudioInput) ProtoMessage()
func (*AudioInput) ProtoReflect
func (x *AudioInput) ProtoReflect() protoreflect.Message
func (*AudioInput) Reset
func (x *AudioInput) Reset()
func (*AudioInput) String
func (x *AudioInput) String() string
BatchDeleteTestCasesRequest
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() []string
func (*BatchDeleteTestCasesRequest) GetParent
func (x *BatchDeleteTestCasesRequest) GetParent() string
func (*BatchDeleteTestCasesRequest) ProtoMessage
func (*BatchDeleteTestCasesRequest) ProtoMessage()
func (*BatchDeleteTestCasesRequest) ProtoReflect
func (x *BatchDeleteTestCasesRequest) ProtoReflect() protoreflect.Message
func (*BatchDeleteTestCasesRequest) Reset
func (x *BatchDeleteTestCasesRequest) Reset()
func (*BatchDeleteTestCasesRequest) String
func (x *BatchDeleteTestCasesRequest) String() string
BatchRunTestCasesMetadata
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() []*TestError
func (*BatchRunTestCasesMetadata) ProtoMessage
func (*BatchRunTestCasesMetadata) ProtoMessage()
func (*BatchRunTestCasesMetadata) ProtoReflect
func (x *BatchRunTestCasesMetadata) ProtoReflect() protoreflect.Message
func (*BatchRunTestCasesMetadata) Reset
func (x *BatchRunTestCasesMetadata) Reset()
func (*BatchRunTestCasesMetadata) String
func (x *BatchRunTestCasesMetadata) String() string
BatchRunTestCasesRequest
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() string
func (*BatchRunTestCasesRequest) GetParent
func (x *BatchRunTestCasesRequest) GetParent() string
func (*BatchRunTestCasesRequest) GetTestCases
func (x *BatchRunTestCasesRequest) GetTestCases() []string
func (*BatchRunTestCasesRequest) ProtoMessage
func (*BatchRunTestCasesRequest) ProtoMessage()
func (*BatchRunTestCasesRequest) ProtoReflect
func (x *BatchRunTestCasesRequest) ProtoReflect() protoreflect.Message
func (*BatchRunTestCasesRequest) Reset
func (x *BatchRunTestCasesRequest) Reset()
func (*BatchRunTestCasesRequest) String
func (x *BatchRunTestCasesRequest) String() string
BatchRunTestCasesResponse
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() []*TestCaseResult
func (*BatchRunTestCasesResponse) ProtoMessage
func (*BatchRunTestCasesResponse) ProtoMessage()
func (*BatchRunTestCasesResponse) ProtoReflect
func (x *BatchRunTestCasesResponse) ProtoReflect() protoreflect.Message
func (*BatchRunTestCasesResponse) Reset
func (x *BatchRunTestCasesResponse) Reset()
func (*BatchRunTestCasesResponse) String
func (x *BatchRunTestCasesResponse) String() string
CalculateCoverageRequest
type CalculateCoverageRequest struct {
Agent string `protobuf:"bytes,3,opt,name=agent,proto3" json:"agent,omitempty"`
Type CalculateCoverageRequest_CoverageType "" /* 135 byte string literal not displayed */
}
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() string
func (*CalculateCoverageRequest) GetType
func (x *CalculateCoverageRequest) GetType() CalculateCoverageRequest_CoverageType
func (*CalculateCoverageRequest) ProtoMessage
func (*CalculateCoverageRequest) ProtoMessage()
func (*CalculateCoverageRequest) ProtoReflect
func (x *CalculateCoverageRequest) ProtoReflect() protoreflect.Message
func (*CalculateCoverageRequest) Reset
func (x *CalculateCoverageRequest) Reset()
func (*CalculateCoverageRequest) String
func (x *CalculateCoverageRequest) String() string
CalculateCoverageRequest_CoverageType
type CalculateCoverageRequest_CoverageType int32
The 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.EnumDescriptor
func (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.EnumNumber
func (CalculateCoverageRequest_CoverageType) String
func (x CalculateCoverageRequest_CoverageType) String() string
func (CalculateCoverageRequest_CoverageType) Type
func (CalculateCoverageRequest_CoverageType) Type() protoreflect.EnumType
CalculateCoverageResponse
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() string
func (*CalculateCoverageResponse) GetCoverageType
func (m *CalculateCoverageResponse) GetCoverageType() isCalculateCoverageResponse_CoverageType
func (*CalculateCoverageResponse) GetIntentCoverage
func (x *CalculateCoverageResponse) GetIntentCoverage() *IntentCoverage
func (*CalculateCoverageResponse) GetRouteGroupCoverage
func (x *CalculateCoverageResponse) GetRouteGroupCoverage() *TransitionRouteGroupCoverage
func (*CalculateCoverageResponse) GetTransitionCoverage
func (x *CalculateCoverageResponse) GetTransitionCoverage() *TransitionCoverage
func (*CalculateCoverageResponse) ProtoMessage
func (*CalculateCoverageResponse) ProtoMessage()
func (*CalculateCoverageResponse) ProtoReflect
func (x *CalculateCoverageResponse) ProtoReflect() protoreflect.Message
func (*CalculateCoverageResponse) Reset
func (x *CalculateCoverageResponse) Reset()
func (*CalculateCoverageResponse) String
func (x *CalculateCoverageResponse) String() string
CalculateCoverageResponse_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.Timestamp
func (*Changelog) GetDisplayName
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.Message
func (*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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewChangelogsClient
func NewChangelogsClient(cc grpc.ClientConnInterface) ChangelogsClient
ChangelogsServer
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.
CloudConversationDebuggingInfo
type CloudConversationDebuggingInfo struct {
AudioDataChunks int32 `protobuf:"varint,1,opt,name=audio_data_chunks,json=audioDataChunks,proto3" json:"audio_data_chunks,omitempty"`
ResultEndTimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=result_end_time_offset,json=resultEndTimeOffset,proto3" json:"result_end_time_offset,omitempty"`
FirstAudioDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=first_audio_duration,json=firstAudioDuration,proto3" json:"first_audio_duration,omitempty"`
SingleUtterance bool `protobuf:"varint,5,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"`
SpeechPartialResultsEndTimes []*durationpb.Duration "" /* 151 byte string literal not displayed */
SpeechFinalResultsEndTimes []*durationpb.Duration "" /* 145 byte string literal not displayed */
PartialResponses int32 `protobuf:"varint,8,opt,name=partial_responses,json=partialResponses,proto3" json:"partial_responses,omitempty"`
SpeakerIdPassiveLatencyMsOffset int32 "" /* 163 byte string literal not displayed */
BargeinEventTriggered bool "" /* 128 byte string literal not displayed */
SpeechSingleUtterance bool "" /* 128 byte string literal not displayed */
DtmfPartialResultsTimes []*durationpb.Duration "" /* 135 byte string literal not displayed */
DtmfFinalResultsTimes []*durationpb.Duration "" /* 129 byte string literal not displayed */
SingleUtteranceEndTimeOffset *durationpb.Duration "" /* 152 byte string literal not displayed */
NoSpeechTimeout *durationpb.Duration `protobuf:"bytes,15,opt,name=no_speech_timeout,json=noSpeechTimeout,proto3" json:"no_speech_timeout,omitempty"`
IsInputText bool `protobuf:"varint,16,opt,name=is_input_text,json=isInputText,proto3" json:"is_input_text,omitempty"`
ClientHalfCloseTimeOffset *durationpb.Duration "" /* 143 byte string literal not displayed */
ClientHalfCloseStreamingTimeOffset *durationpb.Duration "" /* 172 byte string literal not displayed */
}
Cloud conversation info for easier debugging.
It will get populated in StreamingDetectIntentResponse
or
StreamingAnalyzeContentResponse
when the flag enable_debugging_info
is
set to true in corresponding requests.
func (*CloudConversationDebuggingInfo) Descriptor
func (*CloudConversationDebuggingInfo) Descriptor() ([]byte, []int)
Deprecated: Use CloudConversationDebuggingInfo.ProtoReflect.Descriptor instead.
func (*CloudConversationDebuggingInfo) GetAudioDataChunks
func (x *CloudConversationDebuggingInfo) GetAudioDataChunks() int32
func (*CloudConversationDebuggingInfo) GetBargeinEventTriggered
func (x *CloudConversationDebuggingInfo) GetBargeinEventTriggered() bool
func (*CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset
func (x *CloudConversationDebuggingInfo) GetClientHalfCloseStreamingTimeOffset() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetClientHalfCloseTimeOffset
func (x *CloudConversationDebuggingInfo) GetClientHalfCloseTimeOffset() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetDtmfFinalResultsTimes
func (x *CloudConversationDebuggingInfo) GetDtmfFinalResultsTimes() []*durationpb.Duration
func (*CloudConversationDebuggingInfo) GetDtmfPartialResultsTimes
func (x *CloudConversationDebuggingInfo) GetDtmfPartialResultsTimes() []*durationpb.Duration
func (*CloudConversationDebuggingInfo) GetFirstAudioDuration
func (x *CloudConversationDebuggingInfo) GetFirstAudioDuration() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetIsInputText
func (x *CloudConversationDebuggingInfo) GetIsInputText() bool
func (*CloudConversationDebuggingInfo) GetNoSpeechTimeout
func (x *CloudConversationDebuggingInfo) GetNoSpeechTimeout() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetPartialResponses
func (x *CloudConversationDebuggingInfo) GetPartialResponses() int32
func (*CloudConversationDebuggingInfo) GetResultEndTimeOffset
func (x *CloudConversationDebuggingInfo) GetResultEndTimeOffset() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetSingleUtterance
func (x *CloudConversationDebuggingInfo) GetSingleUtterance() bool
func (*CloudConversationDebuggingInfo) GetSingleUtteranceEndTimeOffset
func (x *CloudConversationDebuggingInfo) GetSingleUtteranceEndTimeOffset() *durationpb.Duration
func (*CloudConversationDebuggingInfo) GetSpeakerIdPassiveLatencyMsOffset
func (x *CloudConversationDebuggingInfo) GetSpeakerIdPassiveLatencyMsOffset() int32
func (*CloudConversationDebuggingInfo) GetSpeechFinalResultsEndTimes
func (x *CloudConversationDebuggingInfo) GetSpeechFinalResultsEndTimes() []*durationpb.Duration
func (*CloudConversationDebuggingInfo) GetSpeechPartialResultsEndTimes
func (x *CloudConversationDebuggingInfo) GetSpeechPartialResultsEndTimes() []*durationpb.Duration
func (*CloudConversationDebuggingInfo) GetSpeechSingleUtterance
func (x *CloudConversationDebuggingInfo) GetSpeechSingleUtterance() bool
func (*CloudConversationDebuggingInfo) ProtoMessage
func (*CloudConversationDebuggingInfo) ProtoMessage()
func (*CloudConversationDebuggingInfo) ProtoReflect
func (x *CloudConversationDebuggingInfo) ProtoReflect() protoreflect.Message
func (*CloudConversationDebuggingInfo) Reset
func (x *CloudConversationDebuggingInfo) Reset()
func (*CloudConversationDebuggingInfo) String
func (x *CloudConversationDebuggingInfo) String() string
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() string
func (*CompareVersionsRequest) GetLanguageCode
func (x *CompareVersionsRequest) GetLanguageCode() string
func (*CompareVersionsRequest) GetTargetVersion
func (x *CompareVersionsRequest) GetTargetVersion() string
func (*CompareVersionsRequest) ProtoMessage
func (*CompareVersionsRequest) ProtoMessage()
func (*CompareVersionsRequest) ProtoReflect
func (x *CompareVersionsRequest) ProtoReflect() protoreflect.Message
func (*CompareVersionsRequest) Reset
func (x *CompareVersionsRequest) Reset()
func (*CompareVersionsRequest) String
func (x *CompareVersionsRequest) String() string
CompareVersionsResponse
type CompareVersionsResponse struct {
BaseVersionContentJson string "" /* 131 byte string literal not displayed */
TargetVersionContentJson string "" /* 137 byte string literal not displayed */
CompareTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=compare_time,json=compareTime,proto3" json:"compare_time,omitempty"`
}
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() string
func (*CompareVersionsResponse) GetCompareTime
func (x *CompareVersionsResponse) GetCompareTime() *timestamppb.Timestamp
func (*CompareVersionsResponse) GetTargetVersionContentJson
func (x *CompareVersionsResponse) GetTargetVersionContentJson() string
func (*CompareVersionsResponse) ProtoMessage
func (*CompareVersionsResponse) ProtoMessage()
func (*CompareVersionsResponse) ProtoReflect
func (x *CompareVersionsResponse) ProtoReflect() protoreflect.Message
func (*CompareVersionsResponse) Reset
func (x *CompareVersionsResponse) Reset()
func (*CompareVersionsResponse) String
func (x *CompareVersionsResponse) String() string
ContinuousTestResult
type ContinuousTestResult struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Result ContinuousTestResult_AggregatedTestResult "" /* 143 byte string literal not displayed */
TestCaseResults []string `protobuf:"bytes,3,rep,name=test_case_results,json=testCaseResults,proto3" json:"test_case_results,omitempty"`
RunTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=run_time,json=runTime,proto3" json:"run_time,omitempty"`
}
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() string
func (*ContinuousTestResult) GetResult
func (x *ContinuousTestResult) GetResult() ContinuousTestResult_AggregatedTestResult
func (*ContinuousTestResult) GetRunTime
func (x *ContinuousTestResult) GetRunTime() *timestamppb.Timestamp
func (*ContinuousTestResult) GetTestCaseResults
func (x *ContinuousTestResult) GetTestCaseResults() []string
func (*ContinuousTestResult) ProtoMessage
func (*ContinuousTestResult) ProtoMessage()
func (*ContinuousTestResult) ProtoReflect
func (x *ContinuousTestResult) ProtoReflect() protoreflect.Message
func (*ContinuousTestResult) Reset
func (x *ContinuousTestResult) Reset()
func (*ContinuousTestResult) String
func (x *ContinuousTestResult) String() string
ContinuousTestResult_AggregatedTestResult
type ContinuousTestResult_AggregatedTestResult int32
The 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.EnumDescriptor
func (ContinuousTestResult_AggregatedTestResult) Enum
func (x ContinuousTestResult_AggregatedTestResult) Enum() *ContinuousTestResult_AggregatedTestResult
func (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.EnumNumber
func (ContinuousTestResult_AggregatedTestResult) String
func (x ContinuousTestResult_AggregatedTestResult) String() string
func (ContinuousTestResult_AggregatedTestResult) Type
func (ContinuousTestResult_AggregatedTestResult) Type() protoreflect.EnumType
ConversationTurn
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_UserInput
func (*ConversationTurn) GetVirtualAgentOutput
func (x *ConversationTurn) GetVirtualAgentOutput() *ConversationTurn_VirtualAgentOutput
func (*ConversationTurn) ProtoMessage
func (*ConversationTurn) ProtoMessage()
func (*ConversationTurn) ProtoReflect
func (x *ConversationTurn) ProtoReflect() protoreflect.Message
func (*ConversationTurn) Reset
func (x *ConversationTurn) Reset()
func (*ConversationTurn) String
func (x *ConversationTurn) String() string
ConversationTurn_UserInput
type ConversationTurn_UserInput struct {
Input *QueryInput `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"`
InjectedParameters *structpb.Struct `protobuf:"bytes,2,opt,name=injected_parameters,json=injectedParameters,proto3" json:"injected_parameters,omitempty"`
IsWebhookEnabled bool `protobuf:"varint,3,opt,name=is_webhook_enabled,json=isWebhookEnabled,proto3" json:"is_webhook_enabled,omitempty"`
EnableSentimentAnalysis bool "" /* 133 byte string literal not displayed */
}
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() bool
func (*ConversationTurn_UserInput) GetInjectedParameters
func (x *ConversationTurn_UserInput) GetInjectedParameters() *structpb.Struct
func (*ConversationTurn_UserInput) GetInput
func (x *ConversationTurn_UserInput) GetInput() *QueryInput
func (*ConversationTurn_UserInput) GetIsWebhookEnabled
func (x *ConversationTurn_UserInput) GetIsWebhookEnabled() bool
func (*ConversationTurn_UserInput) ProtoMessage
func (*ConversationTurn_UserInput) ProtoMessage()
func (*ConversationTurn_UserInput) ProtoReflect
func (x *ConversationTurn_UserInput) ProtoReflect() protoreflect.Message
func (*ConversationTurn_UserInput) Reset
func (x *ConversationTurn_UserInput) Reset()
func (*ConversationTurn_UserInput) String
func (x *ConversationTurn_UserInput) String() string
ConversationTurn_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() *Page
func (*ConversationTurn_VirtualAgentOutput) GetDiagnosticInfo
func (x *ConversationTurn_VirtualAgentOutput) GetDiagnosticInfo() *structpb.Struct
func (*ConversationTurn_VirtualAgentOutput) GetDifferences
func (x *ConversationTurn_VirtualAgentOutput) GetDifferences() []*TestRunDifference
func (*ConversationTurn_VirtualAgentOutput) GetSessionParameters
func (x *ConversationTurn_VirtualAgentOutput) GetSessionParameters() *structpb.Struct
func (*ConversationTurn_VirtualAgentOutput) GetStatus
func (x *ConversationTurn_VirtualAgentOutput) GetStatus() *status.Status
func (*ConversationTurn_VirtualAgentOutput) GetTextResponses
func (x *ConversationTurn_VirtualAgentOutput) GetTextResponses() []*ResponseMessage_Text
func (*ConversationTurn_VirtualAgentOutput) GetTriggeredIntent
func (x *ConversationTurn_VirtualAgentOutput) GetTriggeredIntent() *Intent
func (*ConversationTurn_VirtualAgentOutput) ProtoMessage
func (*ConversationTurn_VirtualAgentOutput) ProtoMessage()
func (*ConversationTurn_VirtualAgentOutput) ProtoReflect
func (x *ConversationTurn_VirtualAgentOutput) ProtoReflect() protoreflect.Message
func (*ConversationTurn_VirtualAgentOutput) Reset
func (x *ConversationTurn_VirtualAgentOutput) Reset()
func (*ConversationTurn_VirtualAgentOutput) String
func (x *ConversationTurn_VirtualAgentOutput) String() string
CreateAgentRequest
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() *Agent
func (*CreateAgentRequest) GetParent
func (x *CreateAgentRequest) GetParent() string
func (*CreateAgentRequest) ProtoMessage
func (*CreateAgentRequest) ProtoMessage()
func (*CreateAgentRequest) ProtoReflect
func (x *CreateAgentRequest) ProtoReflect() protoreflect.Message
func (*CreateAgentRequest) Reset
func (x *CreateAgentRequest) Reset()
func (*CreateAgentRequest) String
func (x *CreateAgentRequest) String() string
CreateEntityTypeRequest
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() *EntityType
func (*CreateEntityTypeRequest) GetLanguageCode
func (x *CreateEntityTypeRequest) GetLanguageCode() string
func (*CreateEntityTypeRequest) GetParent
func (x *CreateEntityTypeRequest) GetParent() string
func (*CreateEntityTypeRequest) ProtoMessage
func (*CreateEntityTypeRequest) ProtoMessage()