Package cloud.google.com/go/dialogflow/cx/apiv3beta1/cxpb (v1.20.0)

Variables

ExportAgentRequest_DataFormat_name, ExportAgentRequest_DataFormat_value

var (
	ExportAgentRequest_DataFormat_name = map[int32]string{
		0: "DATA_FORMAT_UNSPECIFIED",
		1: "BLOB",
	}
	ExportAgentRequest_DataFormat_value = map[string]int32{
		"DATA_FORMAT_UNSPECIFIED": 0,
		"BLOB":                    1,
	}
)

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.

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.

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",
	}
	TestRunDifference_DiffType_value = map[string]int32{
		"DIFF_TYPE_UNSPECIFIED": 0,
		"INTENT":                1,
		"PAGE":                  2,
		"PARAMETERS":            3,
		"UTTERANCE":             4,
	}
)

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.

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_v3beta1_advanced_settings_proto

var File_google_cloud_dialogflow_cx_v3beta1_advanced_settings_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_agent_proto

var File_google_cloud_dialogflow_cx_v3beta1_agent_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_audio_config_proto

var File_google_cloud_dialogflow_cx_v3beta1_audio_config_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_changelog_proto

var File_google_cloud_dialogflow_cx_v3beta1_changelog_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_deployment_proto

var File_google_cloud_dialogflow_cx_v3beta1_deployment_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_entity_type_proto

var File_google_cloud_dialogflow_cx_v3beta1_entity_type_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_environment_proto

var File_google_cloud_dialogflow_cx_v3beta1_environment_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_experiment_proto

var File_google_cloud_dialogflow_cx_v3beta1_experiment_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_flow_proto

var File_google_cloud_dialogflow_cx_v3beta1_flow_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_fulfillment_proto

var File_google_cloud_dialogflow_cx_v3beta1_fulfillment_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_intent_proto

var File_google_cloud_dialogflow_cx_v3beta1_intent_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_page_proto

var File_google_cloud_dialogflow_cx_v3beta1_page_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_response_message_proto

var File_google_cloud_dialogflow_cx_v3beta1_response_message_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_security_settings_proto

var File_google_cloud_dialogflow_cx_v3beta1_security_settings_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_session_entity_type_proto

var File_google_cloud_dialogflow_cx_v3beta1_session_entity_type_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_session_proto

var File_google_cloud_dialogflow_cx_v3beta1_session_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_test_case_proto

var File_google_cloud_dialogflow_cx_v3beta1_test_case_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_transition_route_group_proto

var File_google_cloud_dialogflow_cx_v3beta1_transition_route_group_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_validation_message_proto

var File_google_cloud_dialogflow_cx_v3beta1_validation_message_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_version_proto

var File_google_cloud_dialogflow_cx_v3beta1_version_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_cx_v3beta1_webhook_proto

var File_google_cloud_dialogflow_cx_v3beta1_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 {

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

func (*AdvancedSettings_LoggingSettings) 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"`

}

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.v3beta1.Intent], [Entity Types][google.cloud.dialogflow.cx.v3beta1.EntityType], [Flows][google.cloud.dialogflow.cx.v3beta1.Flow], [Fulfillments][google.cloud.dialogflow.cx.v3beta1.Fulfillment], [Webhooks][google.cloud.dialogflow.cx.v3beta1.Webhook], and so on to manage the conversation flows..

func (*Agent) Descriptor

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

Deprecated: Use Agent.ProtoReflect.Descriptor instead.

func (*Agent) GetAdvancedSettings

func (x *Agent) GetAdvancedSettings() *AdvancedSettings

func (*Agent) GetAvatarUri

func (x *Agent) GetAvatarUri() string

func (*Agent) GetDefaultLanguageCode

func (x *Agent) GetDefaultLanguageCode() string

func (*Agent) GetDescription

func (x *Agent) GetDescription() string

func (*Agent) GetDisplayName

func (x *Agent) GetDisplayName() string

func (*Agent) GetEnableSpellCorrection

func (x *Agent) GetEnableSpellCorrection() bool

func (*Agent) GetEnableStackdriverLogging

func (x *Agent) GetEnableStackdriverLogging() bool

Deprecated: Do not use.

func (*Agent) GetLocked

func (x *Agent) GetLocked() bool

func (*Agent) GetName

func (x *Agent) GetName() string

func (*Agent) GetSecuritySettings

func (x *Agent) GetSecuritySettings() string

func (*Agent) GetSpeechToTextSettings

func (x *Agent) GetSpeechToTextSettings() *SpeechToTextSettings

func (*Agent) GetStartFlow

func (x *Agent) GetStartFlow() string

func (*Agent) GetSupportedLanguageCodes

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

func (*Agent) GetTimeZone

func (x *Agent) GetTimeZone() string

func (*Agent) ProtoMessage

func (*Agent) ProtoMessage()

func (*Agent) ProtoReflect

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

func (*Agent) Reset

func (x *Agent) Reset()

func (*Agent) String

func (x *Agent) String() string

AgentValidationResult

type AgentValidationResult struct {

	// The unique identifier of the agent validation result.
	// Format: `projects/

The response message for [Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3beta1.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

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 a flow prior to sending it 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 a flow prior to sending it 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.v3beta1.ExportAgentResponse]
	ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunning.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 a flow prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
	RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunning.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 a flow prior to sending it 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 a flow prior to sending it 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.v3beta1.ExportAgentResponse]
	ExportAgent(context.Context, *ExportAgentRequest) (*longrunning.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 a flow prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
	RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunning.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) Enum

func (x AudioEncoding) Enum() *AudioEncoding

func (AudioEncoding) EnumDescriptor

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

Deprecated: Use AudioEncoding.Descriptor instead.

func (AudioEncoding) Number

func (AudioEncoding) String

func (x AudioEncoding) String() string

func (AudioEncoding) Type

AudioInput

type AudioInput struct {

	// Required. Instructs the speech recognizer how to process the speech audio.
	Config *InputAudioConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// The natural language speech audio to be processed.
	// A single request can contain up to 1 minute of speech audio data.
	// The [transcribed text][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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 (*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.v3beta1.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 (*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.v3beta1.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.v3beta1.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.v3beta1.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 (*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 "" /* 140 byte string literal not displayed */

}

The request message for [TestCases.CalculateCoverage][google.cloud.dialogflow.cx.v3beta1.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 (*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) Enum

func (CalculateCoverageRequest_CoverageType) EnumDescriptor

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

Deprecated: Use CalculateCoverageRequest_CoverageType.Descriptor instead.

func (CalculateCoverageRequest_CoverageType) Number

func (CalculateCoverageRequest_CoverageType) String

func (CalculateCoverageRequest_CoverageType) Type

CalculateCoverageResponse

type CalculateCoverageResponse struct {

	// The agent to calculate coverage for.
	// Format: `projects/

The response message for [TestCases.CalculateCoverage][google.cloud.dialogflow.cx.v3beta1.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 (*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

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

Deprecated: Use Changelog.ProtoReflect.Descriptor instead.

func (*Changelog) GetAction

func (x *Changelog) GetAction() string

func (*Changelog) GetCreateTime

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

func (*Changelog) GetDisplayName

func (x *Changelog) GetDisplayName() string

func (*Changelog) GetName

func (x *Changelog) GetName() string

func (*Changelog) GetResource

func (x *Changelog) GetResource() string

func (*Changelog) GetType

func (x *Changelog) GetType() string

func (*Changelog) GetUserEmail

func (x *Changelog) GetUserEmail() string

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

func (x *Changelog) String() 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.

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.v3beta1.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.v3beta1.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 "" /* 148 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 (*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) Enum

func (ContinuousTestResult_AggregatedTestResult) EnumDescriptor

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

Deprecated: Use ContinuousTestResult_AggregatedTestResult.Descriptor instead.

func (ContinuousTestResult_AggregatedTestResult) Number

func (ContinuousTestResult_AggregatedTestResult) String

func (ContinuousTestResult_AggregatedTestResult) Type

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 (*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.v3beta1.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.v3beta1.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.v3beta1.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 (*ConversationTurn_VirtualAgentOutput) GetSessionParameters

func (x *ConversationTurn_VirtualAgentOutput) GetSessionParameters() *structpb.Struct

func (*ConversationTurn_VirtualAgentOutput) GetStatus

func (*ConversationTurn_VirtualAgentOutput) GetTextResponses

func (*ConversationTurn_VirtualAgentOutput) GetTriggeredIntent

func (x *ConversationTurn_VirtualAgentOutput) GetTriggeredIntent() *Intent

func (*ConversationTurn_VirtualAgentOutput) ProtoMessage

func (*ConversationTurn_VirtualAgentOutput) ProtoMessage()

func (*ConversationTurn_VirtualAgentOutput) ProtoReflect

func (*ConversationTurn_VirtualAgentOutput) Reset

func (*ConversationTurn_VirtualAgentOutput) 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.v3beta1.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.v3beta1.EntityTypes.CreateEntityType].

func (*CreateEntityTypeRequest) Descriptor

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

Deprecated: Use CreateEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*CreateEntityTypeRequest) GetEntityType

func (x *CreateEntityTypeRequest) GetEntityType() *EntityType

func (*CreateEntityTypeRequest) GetLanguageCode

func (x *CreateEntityTypeRequest) GetLanguageCode() string

func (*CreateEntityTypeRequest) GetParent

func (x *CreateEntityTypeRequest) GetParent() string

func (*CreateEntityTypeRequest) ProtoMessage

func (*CreateEntityTypeRequest) ProtoMessage()

func (*CreateEntityTypeRequest) ProtoReflect

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

func (*CreateEntityTypeRequest) Reset

func (x *CreateEntityTypeRequest) Reset()

func (*CreateEntityTypeRequest) String

func (x *CreateEntityTypeRequest) String() string

CreateEnvironmentRequest

type CreateEnvironmentRequest struct {

	// Required. The [Agent][google.cloud.dialogflow.cx.v3beta1.Agent] to create an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] for.
	// Format: `projects/

The request message for [Environments.CreateEnvironment][google.cloud.dialogflow.cx.v3beta1.Environments.CreateEnvironment].

func (*CreateEnvironmentRequest) Descriptor

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

Deprecated: Use CreateEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*CreateEnvironmentRequest) GetEnvironment

func (x *CreateEnvironmentRequest) GetEnvironment() *Environment

func (*CreateEnvironmentRequest) GetParent

func (x *CreateEnvironmentRequest) GetParent() string

func (*CreateEnvironmentRequest) ProtoMessage

func (*CreateEnvironmentRequest) ProtoMessage()

func (*CreateEnvironmentRequest) ProtoReflect

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

func (*CreateEnvironmentRequest) Reset

func (x *CreateEnvironmentRequest) Reset()

func (*CreateEnvironmentRequest) String

func (x *CreateEnvironmentRequest) String() string

CreateExperimentRequest

type CreateExperimentRequest struct {

	// Required. The [Agent][google.cloud.dialogflow.cx.v3beta1.Agent] to create an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] for.
	// Format: `projects/

The request message for [Experiments.CreateExperiment][google.cloud.dialogflow.cx.v3beta1.Experiments.CreateExperiment].

func (*CreateExperimentRequest) Descriptor

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

Deprecated: Use CreateExperimentRequest.ProtoReflect.Descriptor instead.

func (*CreateExperimentRequest) GetExperiment

func (x *CreateExperimentRequest) GetExperiment() *Experiment

func (*CreateExperimentRequest) GetParent

func (x *CreateExperimentRequest) GetParent() string

func (*CreateExperimentRequest) ProtoMessage

func (*CreateExperimentRequest) ProtoMessage()

func (*CreateExperimentRequest) ProtoReflect

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

func (*CreateExperimentRequest) Reset

func (x *CreateExperimentRequest) Reset()

func (*CreateExperimentRequest) String

func (x *CreateExperimentRequest) String() string

CreateFlowRequest

type CreateFlowRequest struct {

	// Required. The agent to create a flow for.
	// Format: `projects/

The request message for [Flows.CreateFlow][google.cloud.dialogflow.cx.v3beta1.Flows.CreateFlow].

func (*CreateFlowRequest) Descriptor

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

Deprecated: Use CreateFlowRequest.ProtoReflect.Descriptor instead.

func (*CreateFlowRequest) GetFlow

func (x *CreateFlowRequest) GetFlow() *Flow

func (*CreateFlowRequest) GetLanguageCode

func (x *CreateFlowRequest) GetLanguageCode() string

func (*CreateFlowRequest) GetParent

func (x *CreateFlowRequest) GetParent() string

func (*CreateFlowRequest) ProtoMessage

func (*CreateFlowRequest) ProtoMessage()

func (*CreateFlowRequest) ProtoReflect

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

func (*CreateFlowRequest) Reset

func (x *CreateFlowRequest) Reset()

func (*CreateFlowRequest) String

func (x *CreateFlowRequest) String() string

CreateIntentRequest

type CreateIntentRequest struct {

	// Required. The agent to create an intent for.
	// Format: `projects/

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

func (*CreateIntentRequest) Descriptor

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

Deprecated: Use CreateIntentRequest.ProtoReflect.Descriptor instead.

func (*CreateIntentRequest) GetIntent

func (x *CreateIntentRequest) GetIntent() *Intent

func (*CreateIntentRequest) GetLanguageCode

func (x *CreateIntentRequest) GetLanguageCode() string

func (*CreateIntentRequest) GetParent

func (x *CreateIntentRequest) GetParent() string

func (*CreateIntentRequest) ProtoMessage

func (*CreateIntentRequest) ProtoMessage()

func (*CreateIntentRequest) ProtoReflect

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

func (*CreateIntentRequest) Reset

func (x *CreateIntentRequest) Reset()

func (*CreateIntentRequest) String

func (x *CreateIntentRequest) String() string

CreatePageRequest

type CreatePageRequest struct {

	// Required. The flow to create a page for.
	// Format: `projects/

The request message for [Pages.CreatePage][google.cloud.dialogflow.cx.v3beta1.Pages.CreatePage].

func (*CreatePageRequest) Descriptor

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

Deprecated: Use CreatePageRequest.ProtoReflect.Descriptor instead.

func (*CreatePageRequest) GetLanguageCode

func (x *CreatePageRequest) GetLanguageCode() string

func (*CreatePageRequest) GetPage

func (x *CreatePageRequest) GetPage() *Page

func (*CreatePageRequest) GetParent

func (x *CreatePageRequest) GetParent() string

func (*CreatePageRequest) ProtoMessage

func (*CreatePageRequest) ProtoMessage()

func (*CreatePageRequest) ProtoReflect

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

func (*CreatePageRequest) Reset

func (x *CreatePageRequest) Reset()

func (*CreatePageRequest) String

func (x *CreatePageRequest) String() string

CreateSecuritySettingsRequest

type CreateSecuritySettingsRequest struct {

	// Required. The location to create an [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.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() string

func (*CreateSecuritySettingsRequest) GetSecuritySettings

func (x *CreateSecuritySettingsRequest) GetSecuritySettings() *SecuritySettings

func (*CreateSecuritySettingsRequest) ProtoMessage

func (*CreateSecuritySettingsRequest) ProtoMessage()

func (*CreateSecuritySettingsRequest) ProtoReflect

func (*CreateSecuritySettingsRequest) Reset

func (x *CreateSecuritySettingsRequest) Reset()

func (*CreateSecuritySettingsRequest) String

CreateSessionEntityTypeRequest

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.v3beta1.SessionEntityTypes.CreateSessionEntityType].

func (*CreateSessionEntityTypeRequest) Descriptor

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

Deprecated: Use CreateSessionEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*CreateSessionEntityTypeRequest) GetParent

func (x *CreateSessionEntityTypeRequest) GetParent() string

func (*CreateSessionEntityTypeRequest) GetSessionEntityType

func (x *CreateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType

func (*CreateSessionEntityTypeRequest) ProtoMessage

func (*CreateSessionEntityTypeRequest) ProtoMessage()

func (*CreateSessionEntityTypeRequest) ProtoReflect

func (*CreateSessionEntityTypeRequest) Reset

func (x *CreateSessionEntityTypeRequest) Reset()

func (*CreateSessionEntityTypeRequest) String

CreateTestCaseRequest

type CreateTestCaseRequest struct {

	// Required. The agent to create the test case for.
	// Format: `projects/

The request message for [TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCase].

func (*CreateTestCaseRequest) Descriptor

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

Deprecated: Use CreateTestCaseRequest.ProtoReflect.Descriptor instead.

func (*CreateTestCaseRequest) GetParent

func (x *CreateTestCaseRequest) GetParent() string

func (*CreateTestCaseRequest) GetTestCase

func (x *CreateTestCaseRequest) GetTestCase() *TestCase

func (*CreateTestCaseRequest) ProtoMessage

func (*CreateTestCaseRequest) ProtoMessage()

func (*CreateTestCaseRequest) ProtoReflect

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

func (*CreateTestCaseRequest) Reset

func (x *CreateTestCaseRequest) Reset()

func (*CreateTestCaseRequest) String

func (x *CreateTestCaseRequest) String() string

CreateTransitionRouteGroupRequest

type CreateTransitionRouteGroupRequest struct {

	// Required. The flow to create an [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] for.
	// Format: `projects/

The request message for [TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.CreateTransitionRouteGroup].

func (*CreateTransitionRouteGroupRequest) Descriptor

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

Deprecated: Use CreateTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateTransitionRouteGroupRequest) GetLanguageCode

func (x *CreateTransitionRouteGroupRequest) GetLanguageCode() string

func (*CreateTransitionRouteGroupRequest) GetParent

func (*CreateTransitionRouteGroupRequest) GetTransitionRouteGroup

func (x *CreateTransitionRouteGroupRequest) GetTransitionRouteGroup() *TransitionRouteGroup

func (*CreateTransitionRouteGroupRequest) ProtoMessage

func (*CreateTransitionRouteGroupRequest) ProtoMessage()

func (*CreateTransitionRouteGroupRequest) ProtoReflect

func (*CreateTransitionRouteGroupRequest) Reset

func (*CreateTransitionRouteGroupRequest) String

CreateVersionOperationMetadata

type CreateVersionOperationMetadata struct {

	// Name of the created version.
	// Format: `projects/

Metadata associated with the long running operation for [Versions.CreateVersion][google.cloud.dialogflow.cx.v3beta1.Versions.CreateVersion].

func (*CreateVersionOperationMetadata) Descriptor

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

Deprecated: Use CreateVersionOperationMetadata.ProtoReflect.Descriptor instead.

func (*CreateVersionOperationMetadata) GetVersion

func (x *CreateVersionOperationMetadata) GetVersion() string

func (*CreateVersionOperationMetadata) ProtoMessage

func (*CreateVersionOperationMetadata) ProtoMessage()

func (*CreateVersionOperationMetadata) ProtoReflect

func (*CreateVersionOperationMetadata) Reset

func (x *CreateVersionOperationMetadata) Reset()

func (*CreateVersionOperationMetadata) String

CreateVersionRequest

type CreateVersionRequest struct {

	// Required. The [Flow][google.cloud.dialogflow.cx.v3beta1.Flow] to create an [Version][google.cloud.dialogflow.cx.v3beta1.Version] for.
	// Format: `projects/

The request message for [Versions.CreateVersion][google.cloud.dialogflow.cx.v3beta1.Versions.CreateVersion].

func (*CreateVersionRequest) Descriptor

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

Deprecated: Use CreateVersionRequest.ProtoReflect.Descriptor instead.

func (*CreateVersionRequest) GetParent

func (x *CreateVersionRequest) GetParent() string

func (*CreateVersionRequest) GetVersion

func (x *CreateVersionRequest) GetVersion() *Version

func (*CreateVersionRequest) ProtoMessage

func (*CreateVersionRequest) ProtoMessage()

func (*CreateVersionRequest) ProtoReflect

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

func (*CreateVersionRequest) Reset

func (x *CreateVersionRequest) Reset()

func (*CreateVersionRequest) String

func (x *CreateVersionRequest) String() string

CreateWebhookRequest

type CreateWebhookRequest struct {

	// Required. The agent to create a webhook for.
	// Format: `projects/

The request message for [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.CreateWebhook].

func (*CreateWebhookRequest) Descriptor

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

Deprecated: Use CreateWebhookRequest.ProtoReflect.Descriptor instead.

func (*CreateWebhookRequest) GetParent

func (x *CreateWebhookRequest) GetParent() string

func (*CreateWebhookRequest) GetWebhook

func (x *CreateWebhookRequest) GetWebhook() *Webhook

func (*CreateWebhookRequest) ProtoMessage

func (*CreateWebhookRequest) ProtoMessage()

func (*CreateWebhookRequest) ProtoReflect

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

func (*CreateWebhookRequest) Reset

func (x *CreateWebhookRequest) Reset()

func (*CreateWebhookRequest) String

func (x *CreateWebhookRequest) String() string

DeleteAgentRequest

type DeleteAgentRequest struct {

	// Required. The name of the agent to delete.
	// Format: `projects/

The request message for [Agents.DeleteAgent][google.cloud.dialogflow.cx.v3beta1.Agents.DeleteAgent].

func (*DeleteAgentRequest) Descriptor

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

Deprecated: Use DeleteAgentRequest.ProtoReflect.Descriptor instead.

func (*DeleteAgentRequest) GetName

func (x *DeleteAgentRequest) GetName() string

func (*DeleteAgentRequest) ProtoMessage

func (*DeleteAgentRequest) ProtoMessage()

func (*DeleteAgentRequest) ProtoReflect

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

func (*DeleteAgentRequest) Reset

func (x *DeleteAgentRequest) Reset()

func (*DeleteAgentRequest) String

func (x *DeleteAgentRequest) String() string

DeleteEntityTypeRequest

type DeleteEntityTypeRequest struct {

	// Required. The name of the entity type to delete.
	// Format: `projects/

The request message for [EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3beta1.EntityTypes.DeleteEntityType].

func (*DeleteEntityTypeRequest) Descriptor

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

Deprecated: Use DeleteEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntityTypeRequest) GetForce

func (x *DeleteEntityTypeRequest) GetForce() bool

func (*DeleteEntityTypeRequest) GetName

func (x *DeleteEntityTypeRequest) GetName() string

func (*DeleteEntityTypeRequest) ProtoMessage

func (*DeleteEntityTypeRequest) ProtoMessage()

func (*DeleteEntityTypeRequest) ProtoReflect

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

func (*DeleteEntityTypeRequest) Reset

func (x *DeleteEntityTypeRequest) Reset()

func (*DeleteEntityTypeRequest) String

func (x *DeleteEntityTypeRequest) String() string

DeleteEnvironmentRequest

type DeleteEnvironmentRequest struct {

	// Required. The name of the [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] to delete.
	// Format: `projects/

The request message for [Environments.DeleteEnvironment][google.cloud.dialogflow.cx.v3beta1.Environments.DeleteEnvironment].

func (*DeleteEnvironmentRequest) Descriptor

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

Deprecated: Use DeleteEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*DeleteEnvironmentRequest) GetName

func (x *DeleteEnvironmentRequest) GetName() string

func (*DeleteEnvironmentRequest) ProtoMessage

func (*DeleteEnvironmentRequest) ProtoMessage()

func (*DeleteEnvironmentRequest) ProtoReflect

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

func (*DeleteEnvironmentRequest) Reset

func (x *DeleteEnvironmentRequest) Reset()

func (*DeleteEnvironmentRequest) String

func (x *DeleteEnvironmentRequest) String() string

DeleteExperimentRequest

type DeleteExperimentRequest struct {

	// Required. The name of the [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] to delete.
	// Format: `projects/

The request message for [Experiments.DeleteExperiment][google.cloud.dialogflow.cx.v3beta1.Experiments.DeleteExperiment].

func (*DeleteExperimentRequest) Descriptor

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

Deprecated: Use DeleteExperimentRequest.ProtoReflect.Descriptor instead.

func (*DeleteExperimentRequest) GetName

func (x *DeleteExperimentRequest) GetName() string

func (*DeleteExperimentRequest) ProtoMessage

func (*DeleteExperimentRequest) ProtoMessage()

func (*DeleteExperimentRequest) ProtoReflect

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

func (*DeleteExperimentRequest) Reset

func (x *DeleteExperimentRequest) Reset()

func (*DeleteExperimentRequest) String

func (x *DeleteExperimentRequest) String() string

DeleteFlowRequest

type DeleteFlowRequest struct {

	// Required. The name of the flow to delete.
	// Format: `projects/

The request message for [Flows.DeleteFlow][google.cloud.dialogflow.cx.v3beta1.Flows.DeleteFlow].

func (*DeleteFlowRequest) Descriptor

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

Deprecated: Use DeleteFlowRequest.ProtoReflect.Descriptor instead.

func (*DeleteFlowRequest) GetForce

func (x *DeleteFlowRequest) GetForce() bool

func (*DeleteFlowRequest) GetName

func (x *DeleteFlowRequest) GetName() string

func (*DeleteFlowRequest) ProtoMessage

func (*DeleteFlowRequest) ProtoMessage()

func (*DeleteFlowRequest) ProtoReflect

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

func (*DeleteFlowRequest) Reset

func (x *DeleteFlowRequest) Reset()

func (*DeleteFlowRequest) String

func (x *DeleteFlowRequest) String() string

DeleteIntentRequest

type DeleteIntentRequest struct {

	// Required. The name of the intent to delete.
	// Format: `projects/

The request message for [Intents.DeleteIntent][google.cloud.dialogflow.cx.v3beta1.Intents.DeleteIntent].

func (*DeleteIntentRequest) Descriptor

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

Deprecated: Use DeleteIntentRequest.ProtoReflect.Descriptor instead.

func (*DeleteIntentRequest) GetName

func (x *DeleteIntentRequest) GetName() string

func (*DeleteIntentRequest) ProtoMessage

func (*DeleteIntentRequest) ProtoMessage()

func (*DeleteIntentRequest) ProtoReflect

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

func (*DeleteIntentRequest) Reset

func (x *DeleteIntentRequest) Reset()

func (*DeleteIntentRequest) String

func (x *DeleteIntentRequest) String() string

DeletePageRequest

type DeletePageRequest struct {

	// Required. The name of the page to delete.
	// Format: `projects/

The request message for [Pages.DeletePage][google.cloud.dialogflow.cx.v3beta1.Pages.DeletePage].

func (*DeletePageRequest) Descriptor

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

Deprecated: Use DeletePageRequest.ProtoReflect.Descriptor instead.

func (*DeletePageRequest) GetForce

func (x *DeletePageRequest) GetForce() bool

func (*DeletePageRequest) GetName

func (x *DeletePageRequest) GetName() string

func (*DeletePageRequest) ProtoMessage

func (*DeletePageRequest) ProtoMessage()

func (*DeletePageRequest) ProtoReflect

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

func (*DeletePageRequest) Reset

func (x *DeletePageRequest) Reset()

func (*DeletePageRequest) String

func (x *DeletePageRequest) String() string

DeleteSecuritySettingsRequest

type DeleteSecuritySettingsRequest struct {

	// Required. The name of the [SecuritySettings][google.cloud.dialogflow.cx.v3beta1.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 (*DeleteSecuritySettingsRequest) ProtoMessage

func (*DeleteSecuritySettingsRequest) ProtoMessage()

func (*DeleteSecuritySettingsRequest) ProtoReflect

func (*DeleteSecuritySettingsRequest) Reset

func (x *DeleteSecuritySettingsRequest) Reset()

func (*DeleteSecuritySettingsRequest) String

DeleteSessionEntityTypeRequest

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.v3beta1.SessionEntityTypes.DeleteSessionEntityType].

func (*DeleteSessionEntityTypeRequest) Descriptor

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

Deprecated: Use DeleteSessionEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*DeleteSessionEntityTypeRequest) GetName

func (*DeleteSessionEntityTypeRequest) ProtoMessage

func (*DeleteSessionEntityTypeRequest) ProtoMessage()

func (*DeleteSessionEntityTypeRequest) ProtoReflect

func (*DeleteSessionEntityTypeRequest) Reset

func (x *DeleteSessionEntityTypeRequest) Reset()

func (*DeleteSessionEntityTypeRequest) String

DeleteTransitionRouteGroupRequest

type DeleteTransitionRouteGroupRequest struct {

	// Required. The name of the [TransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroup] to delete.
	// Format: `projects/

The request message for [TransitionRouteGroups.DeleteTransitionRouteGroup][google.cloud.dialogflow.cx.v3beta1.TransitionRouteGroups.DeleteTransitionRouteGroup].

func (*DeleteTransitionRouteGroupRequest) Descriptor

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

Deprecated: Use DeleteTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteTransitionRouteGroupRequest) GetForce

func (*DeleteTransitionRouteGroupRequest) GetName

func (*DeleteTransitionRouteGroupRequest) ProtoMessage

func (*DeleteTransitionRouteGroupRequest) ProtoMessage()

func (*DeleteTransitionRouteGroupRequest) ProtoReflect

func (*DeleteTransitionRouteGroupRequest) Reset

func (*DeleteTransitionRouteGroupRequest) String

DeleteVersionRequest

type DeleteVersionRequest struct {

	// Required. The name of the [Version][google.cloud.dialogflow.cx.v3beta1.Version] to delete.
	// Format: `projects/

The request message for [Versions.DeleteVersion][google.cloud.dialogflow.cx.v3beta1.Versions.DeleteVersion].

func (*DeleteVersionRequest) Descriptor

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

Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.

func (*DeleteVersionRequest) GetName

func (x *DeleteVersionRequest) GetName() string

func (*DeleteVersionRequest) ProtoMessage

func (*DeleteVersionRequest) ProtoMessage()

func (*DeleteVersionRequest) ProtoReflect

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

func (*DeleteVersionRequest) Reset

func (x *DeleteVersionRequest) Reset()

func (*DeleteVersionRequest) String

func (x *DeleteVersionRequest) String() string

DeleteWebhookRequest

type DeleteWebhookRequest struct {

	// Required. The name of the webhook to delete.
	// Format: `projects/

The request message for [Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3beta1.Webhooks.DeleteWebhook].

func (*DeleteWebhookRequest) Descriptor

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

Deprecated: Use DeleteWebhookRequest.ProtoReflect.Descriptor instead.

func (*DeleteWebhookRequest) GetForce

func (x *DeleteWebhookRequest) GetForce() bool

func (*DeleteWebhookRequest) GetName

func (x *DeleteWebhookRequest) GetName() string

func (*DeleteWebhookRequest) ProtoMessage

func (*DeleteWebhookRequest) ProtoMessage()

func (*DeleteWebhookRequest) ProtoReflect

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

func (*DeleteWebhookRequest) Reset

func (x *DeleteWebhookRequest) Reset()

func (*DeleteWebhookRequest) String

func (x *DeleteWebhookRequest) String() string

DeployFlowMetadata

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.v3beta1.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() []*TestError

func (*DeployFlowMetadata) ProtoMessage

func (*DeployFlowMetadata) ProtoMessage()

func (*DeployFlowMetadata) ProtoReflect

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

func (*DeployFlowMetadata) Reset

func (x *DeployFlowMetadata) Reset()

func (*DeployFlowMetadata) String

func (x *DeployFlowMetadata) String() string

DeployFlowRequest

type DeployFlowRequest struct {

	// Required. The environment to deploy the flow to.
	// Format: `projects/

The request message for [Environments.DeployFlow][google.cloud.dialogflow.cx.v3beta1.Environments.DeployFlow].

func (*DeployFlowRequest) Descriptor

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

Deprecated: Use DeployFlowRequest.ProtoReflect.Descriptor instead.

func (*DeployFlowRequest) GetEnvironment

func (x *DeployFlowRequest) GetEnvironment() string

func (*DeployFlowRequest) GetFlowVersion

func (x *DeployFlowRequest) GetFlowVersion() string

func (*DeployFlowRequest) ProtoMessage

func (*DeployFlowRequest) ProtoMessage()

func (*DeployFlowRequest) ProtoReflect

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

func (*DeployFlowRequest) Reset

func (x *DeployFlowRequest) Reset()

func (*DeployFlowRequest) String

func (x *DeployFlowRequest) String() string

DeployFlowResponse

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.
	// Format: `projects/

The response message for [Environments.DeployFlow][google.cloud.dialogflow.cx.v3beta1.Environments.DeployFlow].

func (*DeployFlowResponse) Descriptor

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

Deprecated: Use DeployFlowResponse.ProtoReflect.Descriptor instead.

func (*DeployFlowResponse) GetDeployment

func (x *DeployFlowResponse) GetDeployment() string

func (*DeployFlowResponse) GetEnvironment

func (x *DeployFlowResponse) GetEnvironment() *Environment

func (*DeployFlowResponse) ProtoMessage

func (*DeployFlowResponse) ProtoMessage()

func (*DeployFlowResponse) ProtoReflect

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

func (*DeployFlowResponse) Reset

func (x *DeployFlowResponse) Reset()

func (*DeployFlowResponse) String

func (x *DeployFlowResponse) String() string

Deployment

type Deployment struct {

	// The name of the deployment.
	// Format: projects/

Represents an 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.Timestamp

func (*Deployment) GetFlowVersion

func (x *Deployment) GetFlowVersion() string

func (*Deployment) GetName

func (x *Deployment) GetName() string

func (*Deployment) GetResult

func (x *Deployment) GetResult() *Deployment_Result

func (*Deployment) GetStartTime

func (x *Deployment) GetStartTime() *timestamppb.Timestamp

func (*Deployment) GetState

func (x *Deployment) GetState() Deployment_State

func (*Deployment) ProtoMessage

func (*Deployment) ProtoMessage()

func (*Deployment) ProtoReflect

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

func (*Deployment) Reset

func (x *Deployment) Reset()

func (*Deployment) String

func (x *Deployment) String() string

Deployment_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() []string

func (*Deployment_Result) GetExperiment

func (x *Deployment_Result) GetExperiment() string

func (*Deployment_Result) ProtoMessage

func (*Deployment_Result) ProtoMessage()

func (*Deployment_Result) ProtoReflect

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

func (*Deployment_Result) Reset

func (x *Deployment_Result) Reset()

func (*Deployment_Result) String

func (x *Deployment_Result) String() string

Deployment_State

type Deployment_State int32

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

func (Deployment_State) EnumDescriptor

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

Deprecated: Use Deployment_State.Descriptor instead.

func (Deployment_State) Number

func (Deployment_State) String

func (x Deployment_State) String() string

func (Deployment_State) Type

DeploymentsClient

type DeploymentsClient interface {
	// Returns the list of all deployments in the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
	ListDeployments(ctx context.Context, in *ListDeploymentsRequest, opts ...grpc.CallOption) (*ListDeploymentsResponse, error)
	// Retrieves the specified [Deployment][google.cloud.dialogflow.cx.v3beta1.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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDeploymentsClient

func NewDeploymentsClient(cc grpc.ClientConnInterface) DeploymentsClient

DeploymentsServer

type DeploymentsServer interface {
	// Returns the list of all deployments in the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
	ListDeployments(context.Context, *ListDeploymentsRequest) (*ListDeploymentsResponse, error)
	// Retrieves the specified [Deployment][google.cloud.dialogflow.cx.v3beta1.Deployment].
	GetDeployment(context.Context, *GetDeploymentRequest) (*Deployment, error)
}

DeploymentsServer is the server API for Deployments service.

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

func (*DetectIntentRequest) GetQueryInput

func (x *DetectIntentRequest) GetQueryInput() *QueryInput

func (*DetectIntentRequest) GetQueryParams

func (x *DetectIntentRequest) GetQueryParams() *QueryParameters

func (*DetectIntentRequest) GetSession

func (x *DetectIntentRequest) GetSession() string

func (*DetectIntentRequest) ProtoMessage

func (*DetectIntentRequest) ProtoMessage()

func (*DetectIntentRequest) ProtoReflect

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

func (*DetectIntentRequest) Reset

func (x *DetectIntentRequest) Reset()

func (*DetectIntentRequest) String

func (x *DetectIntentRequest) String() string

DetectIntentResponse

type DetectIntentResponse struct {
	ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"`

	QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"`

	OutputAudio []byte `protobuf:"bytes,4,opt,name=output_audio,json=outputAudio,proto3" json:"output_audio,omitempty"`

	OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,5,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"`

	ResponseType DetectIntentResponse_ResponseType "" /* 172 byte string literal not displayed */

	AllowCancellation bool `protobuf:"varint,7,opt,name=allow_cancellation,json=allowCancellation,proto3" json:"allow_cancellation,omitempty"`

}

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() bool

func (*DetectIntentResponse) GetOutputAudio

func (x *DetectIntentResponse) GetOutputAudio() []byte

func (*DetectIntentResponse) GetOutputAudioConfig

func (x *DetectIntentResponse) GetOutputAudioConfig() *OutputAudioConfig

func (*DetectIntentResponse) GetQueryResult

func (x *DetectIntentResponse) GetQueryResult() *QueryResult

func (*DetectIntentResponse) GetResponseId

func (x *DetectIntentResponse) GetResponseId() string

func (*DetectIntentResponse) GetResponseType

func (*DetectIntentResponse) ProtoMessage

func (*DetectIntentResponse) ProtoMessage()

func (*DetectIntentResponse) ProtoReflect

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

func (*DetectIntentResponse) Reset

func (x *DetectIntentResponse) Reset()

func (*DetectIntentResponse) String

func (x *DetectIntentResponse) String() string

DetectIntentResponse_ResponseType

type DetectIntentResponse_ResponseType int32

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

func (DetectIntentResponse_ResponseType) EnumDescriptor

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

Deprecated: Use DetectIntentResponse_ResponseType.Descriptor instead.

func (DetectIntentResponse_ResponseType) Number

func (DetectIntentResponse_ResponseType) String

func (DetectIntentResponse_ResponseType) Type

DtmfInput

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

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

Deprecated: Use DtmfInput.ProtoReflect.Descriptor instead.

func (*DtmfInput) GetDigits

func (x *DtmfInput) GetDigits() string

func (*DtmfInput) GetFinishDigit

func (x *DtmfInput) GetFinishDigit() string

func (*DtmfInput) ProtoMessage

func (*DtmfInput) ProtoMessage()

func (*DtmfInput) ProtoReflect

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

func (*DtmfInput) Reset

func (x *DtmfInput) Reset()

func (*DtmfInput) String

func (x *DtmfInput) String() string

EntityType

type EntityType 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"`

	Kind EntityType_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=google.cloud.dialogflow.cx.v3beta1.EntityType_Kind" json:"kind,omitempty"`

	AutoExpansionMode EntityType_AutoExpansionMode "" /* 184 byte string literal not displayed */

	Entities []*EntityType_Entity `protobuf:"bytes,5,rep,name=entities,proto3" json:"entities,omitempty"`

	ExcludedPhrases []*EntityType_ExcludedPhrase `protobuf:"bytes,6,rep,name=excluded_phrases,json=excludedPhrases,proto3" json:"excluded_phrases,omitempty"`

	EnableFuzzyExtraction bool "" /* 127 byte string literal not displayed */

	Redact bool `protobuf:"varint,9,opt,name=redact,proto3" json:"redact,omitempty"`

}

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 EntityType type.

  • Custom - entities that are defined by you that represent actionable data that is meaningful to your application. For example, you could define a pizza.sauce entity for red or white pizza sauce, a pizza.cheese entity for the different types of cheese on a pizza, a pizza.topping entity for different toppings, and so on. A custom entity is represented by the EntityType type.

  • 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.v3beta1.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_AutoExpansionMode

func (*EntityType) GetDisplayName

func (x *EntityType) GetDisplayName() string

func (*EntityType) GetEnableFuzzyExtraction

func (x *EntityType) GetEnableFuzzyExtraction() bool

func (*EntityType) GetEntities

func (x *EntityType) GetEntities() []*EntityType_Entity

func (*EntityType) GetExcludedPhrases

func (x *EntityType) GetExcludedPhrases() []*EntityType_ExcludedPhrase

func (*EntityType) GetKind

func (x *EntityType) GetKind() EntityType_Kind

func (*EntityType) GetName

func (x *EntityType) GetName() string

func (*EntityType) GetRedact

func (x *EntityType) GetRedact() bool

func (*EntityType) ProtoMessage

func (*EntityType) ProtoMessage()

func (*EntityType) ProtoReflect

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

func (*EntityType) Reset

func (x *EntityType) Reset()

func (*EntityType) String

func (x *EntityType) String() string

EntityType_AutoExpansionMode

type EntityType_AutoExpansionMode int32

Represents different entity type expansion modes. Automated expansion allows an agent to recognize values that have not been explicitly listed in the entity (for example, new kinds of shopping list items).

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

func (EntityType_AutoExpansionMode) EnumDescriptor

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

Deprecated: Use EntityType_AutoExpansionMode.Descriptor instead.

func (EntityType_AutoExpansionMode) Number

func (EntityType_AutoExpansionMode) String

func (EntityType_AutoExpansionMode) Type

EntityType_Entity

type EntityType_Entity struct {

	// Required. The primary value associated with this entity entry.
	// For example, if the entity type is *vegetable*, the value could be
	// *scallions*.
	//
	// For `KIND_MAP` entity types:
	//
	// *   A 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() []string

func (*EntityType_Entity) GetValue

func (x *EntityType_Entity) GetValue() string

func (*EntityType_Entity) ProtoMessage

func (*EntityType_Entity) ProtoMessage()

func (*EntityType_Entity) ProtoReflect

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

func (*EntityType_Entity) Reset

func (x *EntityType_Entity) Reset()

func (*EntityType_Entity) String

func (x *EntityType_Entity) String() string

EntityType_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() string

func (*EntityType_ExcludedPhrase) ProtoMessage

func (*EntityType_ExcludedPhrase) ProtoMessage()

func (*EntityType_ExcludedPhrase) ProtoReflect

func (*EntityType_ExcludedPhrase) Reset

func (x *EntityType_ExcludedPhrase) Reset()

func (*EntityType_ExcludedPhrase) String

func (x *EntityType_ExcludedPhrase) String() string

EntityType_Kind

type EntityType_Kind int32

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

func (x EntityType_Kind) Enum() *EntityType_Kind

func (EntityType_Kind) EnumDescriptor

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

Deprecated: Use EntityType_Kind.Descriptor instead.

func (EntityType_Kind) Number

func (EntityType_Kind) String

func (x EntityType_Kind) String() string

func (EntityType_Kind) Type

EntityTypesClient

type EntityTypesClient interface {
	// Returns the list of all entity types in the specified agent.
	ListEntityTypes(ctx context.Context, in *ListEntityTypesRequest, opts ...grpc.CallOption) (*ListEntityTypesResponse, error)
	// Retrieves the specified entity type.
	GetEntityType(ctx context.Context, in *GetEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error)
	// Creates an entity type in the specified agent.
	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)
}

EntityTypesClient is the client API for EntityTypes service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewEntityTypesClient

func NewEntityTypesClient(cc grpc.ClientConnInterface) EntityTypesClient

EntityTypesServer

type EntityTypesServer interface {
	// Returns the list of all entity types in the specified agent.
	ListEntityTypes(context.Context, *ListEntityTypesRequest) (*ListEntityTypesResponse, error)
	// Retrieves the specified entity type.
	GetEntityType(context.Context, *GetEntityTypeRequest) (*EntityType, error)
	// Creates an entity type in the specified agent.
	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)
}

EntityTypesServer is the server API for EntityTypes service.

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() string

func (*Environment) GetDisplayName

func (x *Environment) GetDisplayName() string

func (*Environment) GetName

func (x *Environment) GetName() string

func (*Environment) GetTestCasesConfig

func (x *Environment) GetTestCasesConfig() *Environment_TestCasesConfig

func (*Environment) GetUpdateTime

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

func (*Environment) GetVersionConfigs

func (x *Environment) GetVersionConfigs() []*Environment_VersionConfig

func (*Environment) GetWebhookConfig

func (x *Environment) GetWebhookConfig() *Environment_WebhookConfig

func (*Environment) ProtoMessage

func (*Environment) ProtoMessage()

func (*Environment) ProtoReflect

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

func (*Environment) Reset

func (x *Environment) Reset()

func (*Environment) String

func (x *Environment) String() string

Environment_TestCasesConfig

type Environment_TestCasesConfig struct {
	TestCases []string `protobuf:"bytes,1,rep,name=test_cases,json=testCases,proto3" json:"test_cases,omitempty"`

	EnableContinuousRun bool `protobuf:"varint,2,opt,name=enable_continuous_run,json=enableContinuousRun,proto3" json:"enable_continuous_run,omitempty"`

	EnablePredeploymentRun bool "" /* 130 byte string literal not displayed */

}

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() bool

func (*Environment_TestCasesConfig) GetEnablePredeploymentRun

func (x *Environment_TestCasesConfig) GetEnablePredeploymentRun() bool

func (*Environment_TestCasesConfig) GetTestCases

func (x *Environment_TestCasesConfig) GetTestCases() []string

func (*Environment_TestCasesConfig) ProtoMessage

func (*Environment_TestCasesConfig) ProtoMessage()

func (*Environment_TestCasesConfig) ProtoReflect

func (*Environment_TestCasesConfig) Reset

func (x *Environment_TestCasesConfig) Reset()

func (*Environment_TestCasesConfig) String

func (x *Environment_TestCasesConfig) String() string

Environment_VersionConfig

type Environment_VersionConfig struct {

	// Required. Format: 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() string

func (*Environment_VersionConfig) ProtoMessage

func (*Environment_VersionConfig) ProtoMessage()

func (*Environment_VersionConfig) ProtoReflect

func (*Environment_VersionConfig) Reset

func (x *Environment_VersionConfig) Reset()

func (*Environment_VersionConfig) String

func (x *Environment_VersionConfig) String() string

Environment_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.v3beta1.Webhook.generic_web_service] and
	// [`service_directory`][google.cloud.dialogflow.cx.v3beta1.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() []*Webhook

func (*Environment_WebhookConfig) ProtoMessage

func (*Environment_WebhookConfig) ProtoMessage()

func (*Environment_WebhookConfig) ProtoReflect

func (*Environment_WebhookConfig) Reset

func (x *Environment_WebhookConfig) Reset()

func (*Environment_WebhookConfig) String

func (x *Environment_WebhookConfig) String() string

EnvironmentsClient

type EnvironmentsClient interface {
	// Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].
	ListEnvironments(ctx context.Context, in *ListEnvironmentsRequest, opts ...grpc.CallOption) (*ListEnvironmentsResponse, error)
	// Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
	GetEnvironment(ctx context.Context, in *GetEnvironmentRequest, opts ...grpc.CallOption) (*Environment, error)
	// Creates an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.Environment]
	CreateEnvironment(ctx context.Context, in *CreateEnvironmentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates the specified [Environment][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.Environment]
	UpdateEnvironment(ctx context.Context, in *UpdateEnvironmentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deletes the specified [Environment][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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.v3beta1.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.v3beta1.RunContinuousTestMetadata]
	// - `response`: [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestResponse]
	RunContinuousTest(ctx context.Context, in *RunContinuousTestRequest, opts ...grpc.CallOption) (*longrunning.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.v3beta1.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.v3beta1.DeployFlowMetadata]
	// - `response`: [DeployFlowResponse][google.cloud.dialogflow.cx.v3beta1.DeployFlowResponse]
	DeployFlow(ctx context.Context, in *DeployFlowRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

EnvironmentsClient is the client API for Environments service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewEnvironmentsClient

func NewEnvironmentsClient(cc grpc.ClientConnInterface) EnvironmentsClient

EnvironmentsServer

type EnvironmentsServer interface {
	// Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3beta1.Agent].
	ListEnvironments(context.Context, *ListEnvironmentsRequest) (*ListEnvironmentsResponse, error)
	// Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
	GetEnvironment(context.Context, *GetEnvironmentRequest) (*Environment, error)
	// Creates an [Environment][google.cloud.dialogflow.cx.v3beta1.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.Environment]
	CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*longrunning.Operation, error)
	// Updates the specified [Environment][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.Environment]
	UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*longrunning.Operation, error)
	// Deletes the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
	DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*emptypb.Empty, error)
	// Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
	LookupEnvironmentHistory(context.Context, *LookupEnvironmentHistoryRequest) (*LookupEnvironmentHistoryResponse, error)
	// Kicks off a continuous test under the specified [Environment][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.RunContinuousTestMetadata]
	// - `response`: [RunContinuousTestResponse][google.cloud.dialogflow.cx.v3beta1.RunContinuousTestResponse]
	RunContinuousTest(context.Context, *RunContinuousTestRequest) (*longrunning.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.v3beta1.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.v3beta1.DeployFlowMetadata]
	// - `response`: [DeployFlowResponse][google.cloud.dialogflow.cx.v3beta1.DeployFlowResponse]
	DeployFlow(context.Context, *DeployFlowRequest) (*longrunning.Operation, error)
}

EnvironmentsServer is the server API for Environments service.

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.v3beta1.TransitionRoute]), or another flow in the same agent.
	//
	// Types that are assignable to Target:
	//
	//	*EventHandler_TargetPage
	//	*EventHandler_TargetFlow
	Target isEventHandler_Target `protobuf_oneof:"target"`
	// contains filtered or unexported fields
}

An event handler specifies an [event][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.EventHandler.trigger_fulfillment] associated with the event, it will be called.
  • If there is a [target_page][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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() string

func (*EventHandler) GetName

func (x *EventHandler) GetName() string

func (*EventHandler) GetTarget

func (m *EventHandler) GetTarget() isEventHandler_Target

func (*EventHandler) GetTargetFlow

func (x *EventHandler) GetTargetFlow() string

func (*EventHandler) GetTargetPage

func (x *EventHandler) GetTargetPage() string

func (*EventHandler) GetTriggerFulfillment

func (x *EventHandler) GetTriggerFulfillment() *Fulfillment

func (*EventHandler) ProtoMessage

func (*EventHandler) ProtoMessage()

func (*EventHandler) ProtoReflect

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

func (*EventHandler) Reset

func (x *EventHandler) Reset()

func (*EventHandler) String

func (x *EventHandler) String() string

EventHandler_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/

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() string

func (*EventInput) ProtoMessage

func (*EventInput) ProtoMessage()

func (*EventInput) ProtoReflect

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

func (*EventInput) Reset

func (x *EventInput) Reset()

func (*EventInput) String

func (x *EventInput) String() string

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.Timestamp

func (*Experiment) GetDefinition

func (x *Experiment) GetDefinition() *Experiment_Definition

func (*Experiment) GetDescription

func (x *Experiment) GetDescription() string

func (*Experiment) GetDisplayName

func (x *Experiment) GetDisplayName() string

func (*Experiment) GetEndTime

func (x *Experiment) GetEndTime() *timestamppb.Timestamp

func (*Experiment) GetExperimentLength

func (x *Experiment) GetExperimentLength() *durationpb.Duration

func (*Experiment) GetLastUpdateTime

func (x *Experiment) GetLastUpdateTime() *timestamppb.Timestamp

func (*Experiment) GetName

func (x *Experiment) GetName() string

func (*Experiment) GetResult

func (x *Experiment) GetResult() *Experiment_Result

func (*Experiment) GetRolloutConfig

func (x *Experiment) GetRolloutConfig() *RolloutConfig

func (*Experiment) GetRolloutFailureReason

func (x *Experiment) GetRolloutFailureReason() string

func (*Experiment) GetRolloutState

func (x *Experiment) GetRolloutState() *RolloutState

func (*Experiment) GetStartTime

func (x *Experiment) GetStartTime() *timestamppb.Timestamp

func (*Experiment) GetState

func (x *Experiment) GetState() Experiment_State

func (*Experiment) GetVariantsHistory

func (x *Experiment) GetVariantsHistory() []*VariantsHistory

func (*Experiment) ProtoMessage

func (*Experiment) ProtoMessage()

func (*Experiment) ProtoReflect

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

func (*Experiment) Reset

func (x *Experiment) Reset()

func (*Experiment) String

func (x *Experiment) String() string

Experiment_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 assignable 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() string

func (*Experiment_Definition) GetVariants

func (m *Experiment_Definition) GetVariants() isExperiment_Definition_Variants

func (*Experiment_Definition) GetVersionVariants

func (x *Experiment_Definition) GetVersionVariants() *VersionVariants

func (*Experiment_Definition) ProtoMessage

func (*Experiment_Definition) ProtoMessage()

func (*Experiment_Definition) ProtoReflect

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

func (*Experiment_Definition) Reset

func (x *Experiment_Definition) Reset()

func (*Experiment_Definition) String

func (x *Experiment_Definition) String() string

Experiment_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.Timestamp

func (*Experiment_Result) GetVersionMetrics

func (x *Experiment_Result) GetVersionMetrics() []*Experiment_Result_VersionMetrics

func (*Experiment_Result) ProtoMessage

func (*Experiment_Result) ProtoMessage()

func (*Experiment_Result) ProtoReflect

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

func (*Experiment_Result) Reset

func (x *Experiment_Result) Reset()

func (*Experiment_Result) String

func (x *Experiment_Result) String() string

Experiment_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() float64

func (*Experiment_Result_ConfidenceInterval) GetLowerBound

func (x *Experiment_Result_ConfidenceInterval) GetLowerBound() float64

func (*Experiment_Result_ConfidenceInterval) GetRatio

func (*Experiment_Result_ConfidenceInterval) GetUpperBound

func (x *Experiment_Result_ConfidenceInterval) GetUpperBound() float64

func (*Experiment_Result_ConfidenceInterval) ProtoMessage

func (*Experiment_Result_ConfidenceInterval) ProtoMessage()

func (*Experiment_Result_ConfidenceInterval) ProtoReflect

func (*Experiment_Result_ConfidenceInterval) Reset

func (*Experiment_Result_ConfidenceInterval) String

Experiment_Result_CountType

type Experiment_Result_CountType int32

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

func (Experiment_Result_CountType) EnumDescriptor

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

Deprecated: Use Experiment_Result_CountType.Descriptor instead.

func (Experiment_Result_CountType) Number

func (Experiment_Result_CountType) String

func (Experiment_Result_CountType) Type

Experiment_Result_Metric

type Experiment_Result_Metric struct {
	Type Experiment_Result_MetricType "" /* 131 byte string literal not displayed */

	CountType Experiment_Result_CountType "" /* 157 byte string literal not displayed */

	Value isExperiment_Result_Metric_Value `protobuf_oneof:"value"`

	ConfidenceInterval *Experiment_Result_ConfidenceInterval `protobuf:"bytes,3,opt,name=confidence_interval,json=confidenceInterval,proto3" json:"confidence_interval,omitempty"`

}

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 (*Experiment_Result_Metric) GetCount

func (x *Experiment_Result_Metric) GetCount() float64

func (*Experiment_Result_Metric) GetCountType

func (*Experiment_Result_Metric) GetRatio

func (x *Experiment_Result_Metric) GetRatio() float64

func (*Experiment_Result_Metric) GetType

func (*Experiment_Result_Metric) GetValue

func (m *Experiment_Result_Metric) GetValue() isExperiment_Result_Metric_Value

func (*Experiment_Result_Metric) ProtoMessage

func (*Experiment_Result_Metric) ProtoMessage()

func (*Experiment_Result_Metric) ProtoReflect

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

func (*Experiment_Result_Metric) Reset

func (x *Experiment_Result_Metric) Reset()

func (*Experiment_Result_Metric) String

func (x *Experiment_Result_Metric) String() string

Experiment_Result_MetricType

type Experiment_Result_MetricType int32

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

func (Experiment_Result_MetricType) EnumDescriptor

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

Deprecated: Use Experiment_Result_MetricType.Descriptor instead.

func (Experiment_Result_MetricType) Number

func (Experiment_Result_MetricType) String

func (Experiment_Result_MetricType) Type

Experiment_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.v3beta1.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 (*Experiment_Result_VersionMetrics) GetSessionCount

func (x *Experiment_Result_VersionMetrics) GetSessionCount() int32

func (*Experiment_Result_VersionMetrics) GetVersion

func (x *Experiment_Result_VersionMetrics) GetVersion() string

func (*Experiment_Result_VersionMetrics) ProtoMessage

func (*Experiment_Result_VersionMetrics) ProtoMessage()

func (*Experiment_Result_VersionMetrics) ProtoReflect

func (*Experiment_Result_VersionMetrics) Reset

func (*Experiment_Result_VersionMetrics) String

Experiment_State

type Experiment_State int32

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

func (Experiment_State) EnumDescriptor

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

Deprecated: Use Experiment_State.Descriptor instead.

func (Experiment_State) Number

func (Experiment_State) String

func (x Experiment_State) String() string

func (Experiment_State) Type

ExperimentsClient

type ExperimentsClient interface {
	// Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
	ListExperiments(ctx context.Context, in *ListExperimentsRequest, opts ...grpc.CallOption) (*ListExperimentsResponse, error)
	// Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].
	GetExperiment(ctx context.Context, in *GetExperimentRequest, opts ...grpc.CallOption) (*Experiment, error)
	// Creates an [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment] in the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
	CreateExperiment(ctx context.Context, in *CreateExperimentRequest, opts ...grpc.CallOption) (*Experiment, error)
	// Updates the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].
	UpdateExperiment(ctx context.Context, in *UpdateExperimentRequest, opts ...grpc.CallOption) (*Experiment, error)
	// Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].
	DeleteExperiment(ctx context.Context, in *DeleteExperimentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Starts the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewExperimentsClient

func NewExperimentsClient(cc grpc.ClientConnInterface) ExperimentsClient

ExperimentsServer

type ExperimentsServer interface {
	// Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
	ListExperiments(context.Context, *ListExperimentsRequest) (*ListExperimentsResponse, error)
	// Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].
	GetExperiment(context.Context, *GetExperimentRequest) (*Experiment, error)
	// Creates an [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment] in the specified [Environment][google.cloud.dialogflow.cx.v3beta1.Environment].
	CreateExperiment(context.Context, *CreateExperimentRequest) (*Experiment, error)
	// Updates the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].
	UpdateExperiment(context.Context, *UpdateExperimentRequest) (*Experiment, error)
	// Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.Experiment].
	DeleteExperiment(context.Context, *DeleteExperimentRequest) (*emptypb.Empty, error)
	// Starts the specified [Experiment][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.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.

ExportAgentRequest

type ExportAgentRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3" json:"agent_uri,omitempty"`

	DataFormat ExportAgentRequest_DataFormat "" /* 162 byte string literal not displayed */

	Environment string `protobuf:"bytes,5,opt,name=environment,proto3" json:"environment,omitempty"`

}

The request message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3beta1.Agents.ExportAgent].

func (*ExportAgentRequest) Descriptor

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

Deprecated: Use ExportAgentRequest.ProtoReflect.Descriptor instead.

func (*ExportAgentRequest) GetAgentUri

func (x *ExportAgentRequest) GetAgentUri() string

func (*ExportAgentRequest) GetDataFormat

func (*ExportAgentRequest) GetEnvironment

func (x *ExportAgentRequest) GetEnvironment() string

func (*ExportAgentRequest) GetName

func (x *ExportAgentRequest) GetName() string

func (*ExportAgentRequest) ProtoMessage

func (*ExportAgentRequest) ProtoMessage()

func (*ExportAgentRequest) ProtoReflect

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

func (*ExportAgentRequest) Reset

func (x *ExportAgentRequest) Reset()

func (*ExportAgentRequest) String

func (x *ExportAgentRequest) String() string

ExportAgentRequest_DataFormat

type ExportAgentRequest_DataFormat int32

Data format of the exported agent.

ExportAgentRequest_DATA_FORMAT_UNSPECIFIED, ExportAgentRequest_BLOB

const (
	// Unspecified format.
	ExportAgentRequest_DATA_FORMAT_UNSPECIFIED ExportAgentRequest_DataFormat = 0
	// Agent content will be exported as raw bytes.
	ExportAgentRequest_BLOB ExportAgentRequest_DataFormat = 1
)

func (ExportAgentRequest_DataFormat) Descriptor

func (ExportAgentRequest_DataFormat) Enum

func (ExportAgentRequest_DataFormat) EnumDescriptor

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

Deprecated: Use ExportAgentRequest_DataFormat.Descriptor instead.

func (ExportAgentRequest_DataFormat) Number

func (ExportAgentRequest_DataFormat) String

func (ExportAgentRequest_DataFormat) Type

ExportAgentResponse

type ExportAgentResponse struct {

	// The exported agent.
	//
	// Types that are assignable to Agent:
	//
	//	*ExportAgentResponse_AgentUri
	//	*ExportAgentResponse_AgentContent
	Agent isExportAgentResponse_Agent `protobuf_oneof:"agent"`
	// contains filtered or unexported fields
}

The response message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3beta1.Agents.ExportAgent].

func (*ExportAgentResponse) Descriptor

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

Deprecated: Use ExportAgentResponse.ProtoReflect.Descriptor instead.

func (*ExportAgentResponse) GetAgent

func (m *ExportAgentResponse) GetAgent() isExportAgentResponse_Agent

func (*ExportAgentResponse) GetAgentContent

func (x *ExportAgentResponse) GetAgentContent() []byte

func (*ExportAgentResponse) GetAgentUri

func (x *ExportAgentResponse) GetAgentUri() string

func (*ExportAgentResponse) ProtoMessage

func (*ExportAgentResponse) ProtoMessage()

func (*ExportAgentResponse) ProtoReflect

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

func (*ExportAgentResponse) Reset

func (x *ExportAgentResponse) Reset()

func (*ExportAgentResponse) String

func (x *ExportAgentResponse) String() string

ExportAgentResponse_AgentContent

type ExportAgentResponse_AgentContent struct {
	// Uncompressed raw byte content for agent.
	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
	// only if `agent_uri` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
	AgentUri string `protobuf:"bytes,1,opt,name=agent_uri,json=agentUri,proto3,oneof"`
}

ExportFlowRequest

type ExportFlowRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	FlowUri string `protobuf:"bytes,2,opt,name=flow_uri,json=flowUri,proto3" json:"flow_uri,omitempty"`

	IncludeReferencedFlows bool "" /* 130 byte string literal not displayed */

}

The request message for [Flows.ExportFlow][google.cloud.dialogflow.cx.v3beta1.Flows.ExportFlow].

func (*ExportFlowRequest) Descriptor

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

Deprecated: Use ExportFlowRequest.ProtoReflect.Descriptor instead.

func (*ExportFlowRequest) GetFlowUri

func (x *ExportFlowRequest) GetFlowUri() string

func (*ExportFlowRequest) GetIncludeReferencedFlows

func (x *ExportFlowRequest) GetIncludeReferencedFlows() bool

func (*ExportFlowRequest) GetName

func (x *ExportFlowRequest) GetName() string

func (*ExportFlowRequest) ProtoMessage

func (*ExportFlowRequest) ProtoMessage()

func (*ExportFlowRequest) ProtoReflect

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

func (*ExportFlowRequest) Reset

func (x *ExportFlowRequest) Reset()

func (*ExportFlowRequest) String

func (x *ExportFlowRequest) String() string

ExportFlowResponse

type ExportFlowResponse struct {

	// The exported flow.
	//
	// Types that are assignable 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.v3beta1.Flows.ExportFlow].

func (*ExportFlowResponse) Descriptor

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

Deprecated: Use ExportFlowResponse.ProtoReflect.Descriptor instead.

func (*ExportFlowResponse) GetFlow

func (m *ExportFlowResponse) GetFlow() isExportFlowResponse_Flow

func (*ExportFlowResponse) GetFlowContent

func (x *ExportFlowResponse) GetFlowContent() []byte

func (*ExportFlowResponse) GetFlowUri

func (x *ExportFlowResponse) GetFlowUri() string

func (*ExportFlowResponse) ProtoMessage

func (*ExportFlowResponse) ProtoMessage()

func (*ExportFlowResponse) ProtoReflect

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

func (*ExportFlowResponse) Reset

func (x *ExportFlowResponse) Reset()

func (*ExportFlowResponse) String

func (x *ExportFlowResponse) String() string

ExportFlowResponse_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.v3beta1.ExportFlowRequest].
	FlowUri string `protobuf:"bytes,1,opt,name=flow_uri,json=flowUri,proto3,oneof"`
}

ExportTestCasesMetadata

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

Metadata returned for the [TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3beta1.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.Message

func (*ExportTestCasesMetadata) Reset

func (x *ExportTestCasesMetadata) Reset()

func (*ExportTestCasesMetadata) String

func (x *ExportTestCasesMetadata) String() string

ExportTestCasesRequest

type ExportTestCasesRequest struct {
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`

	Destination isExportTestCasesRequest_Destination `protobuf_oneof:"destination"`

	DataFormat ExportTestCasesRequest_DataFormat "" /* 166 byte string literal not displayed */

	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`

}

The request message for [TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3beta1.TestCases.ExportTestCases].

func (*ExportTestCasesRequest) Descriptor

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

Deprecated: Use ExportTestCasesRequest.ProtoReflect.Descriptor instead.

func (*ExportTestCasesRequest) GetDataFormat

func (*ExportTestCasesRequest) GetDestination

func (m *ExportTestCasesRequest) GetDestination() isExportTestCasesRequest_Destination

func (*ExportTestCasesRequest) GetFilter

func (x *ExportTestCasesRequest) GetFilter() string

func (*ExportTestCasesRequest) GetGcsUri

func (x *ExportTestCasesRequest) GetGcsUri() string

func (*ExportTestCasesRequest) GetParent

func (x *ExportTestCasesRequest) GetParent() string

func (*ExportTestCasesRequest) ProtoMessage

func (*ExportTestCasesRequest) ProtoMessage()

func (*ExportTestCasesRequest) ProtoReflect

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

func (*ExportTestCasesRequest) Reset

func (x *ExportTestCasesRequest) Reset()

func (*ExportTestCasesRequest) String

func (x *ExportTestCasesRequest) String() string

ExportTestCasesRequest_DataFormat

type ExportTestCasesRequest_DataFormat int32

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

func (ExportTestCasesRequest_DataFormat) EnumDescriptor

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

Deprecated: Use ExportTestCasesRequest_DataFormat.Descriptor instead.

func (ExportTestCasesRequest_DataFormat) Number

func (ExportTestCasesRequest_DataFormat) String

func (ExportTestCasesRequest_DataFormat) Type

ExportTestCasesRequest_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 assignable 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.v3beta1.TestCases.ExportTestCases].

func (*ExportTestCasesResponse) Descriptor

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

Deprecated: Use ExportTestCasesResponse.ProtoReflect.Descriptor instead.

func (*ExportTestCasesResponse) GetContent

func (x *ExportTestCasesResponse) GetContent() []byte

func (*ExportTestCasesResponse) GetDestination

func (m *ExportTestCasesResponse) GetDestination() isExportTestCasesResponse_Destination

func (*ExportTestCasesResponse) GetGcsUri

func (x *ExportTestCasesResponse) GetGcsUri() string

func (*ExportTestCasesResponse) ProtoMessage

func (*ExportTestCasesResponse) ProtoMessage()

func (*ExportTestCasesResponse) ProtoReflect

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

func (*ExportTestCasesResponse) Reset

func (x *ExportTestCasesResponse) Reset()

func (*ExportTestCasesResponse) String

func (x *ExportTestCasesResponse) String() string

ExportTestCasesResponse_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.v3beta1.ExportTestCasesRequest].
	GcsUri string `protobuf:"bytes,1,opt,name=gcs_uri,json=gcsUri,proto3,oneof"`
}

Flow

type Flow 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"`

	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`

	TransitionRoutes []*TransitionRoute `protobuf:"bytes,4,rep,name=transition_routes,json=transitionRoutes,proto3" json:"transition_routes,omitempty"`

	EventHandlers []*EventHandler `protobuf:"bytes,10,rep,name=event_handlers,json=eventHandlers,proto3" json:"event_handlers,omitempty"`

	TransitionRouteGroups []string "" /* 127 byte string literal not displayed */

	NluSettings *NluSettings `protobuf:"bytes,11,opt,name=nlu_settings,json=nluSettings,proto3" json:"nlu_settings,omitempty"`

}

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

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

Deprecated: Use Flow.ProtoReflect.Descriptor instead.

func (*Flow) GetDescription

func (x *Flow) GetDescription() string

func (*Flow) GetDisplayName

func (x *Flow) GetDisplayName() string

func (*Flow) GetEventHandlers

func (x *Flow) GetEventHandlers() []*EventHandler

func (*Flow) GetName

func (x *Flow) GetName() string

func (*Flow) GetNluSettings

func (x *Flow) GetNluSettings() *NluSettings

func (*Flow) GetTransitionRouteGroups

func (x *Flow) GetTransitionRouteGroups() []string

func (*Flow) GetTransitionRoutes

func (x *Flow) GetTransitionRoutes() []*TransitionRoute

func (*Flow) ProtoMessage

func (*Flow) ProtoMessage()

func (*Flow) ProtoReflect

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

func (*Flow) Reset

func (x *Flow) Reset()

func (*Flow) String

func (x *Flow) String() string

FlowValidationResult

type FlowValidationResult struct {

	// The unique identifier of the flow validation result.
	// Format: `projects/

The response message for [Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3beta1.Flows.GetFlowValidationResult].

func (*FlowValidationResult) Descriptor

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

Deprecated: Use FlowValidationResult.ProtoReflect.Descriptor instead.

func (*FlowValidationResult) GetName

func (x *FlowValidationResult) GetName() string

func (*FlowValidationResult) GetUpdateTime

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

func (*FlowValidationResult) GetValidationMessages

func (x *FlowValidationResult) GetValidationMessages() []*ValidationMessage

func (*FlowValidationResult) ProtoMessage

func (*FlowValidationResult) ProtoMessage()

func (*FlowValidationResult) ProtoReflect

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

func (*FlowValidationResult) Reset

func (x *FlowValidationResult) Reset()

func (*FlowValidationResult) String

func (x *FlowValidationResult) String() string

FlowsClient

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) (*longrunning.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.v3beta1.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) (*longrunning.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.v3beta1.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) (*longrunning.Operation, error)
}

FlowsClient is the client API for Flows service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewFlowsClient

func NewFlowsClient(cc grpc.ClientConnInterface) FlowsClient

FlowsServer

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) (*longrunning.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.v3beta1.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) (*longrunning.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.v3beta1.ExportFlowResponse]
	//
	// Note that resources (e.g. intents, entities, webhooks) that the flow
	// references will also be exported.
	ExportFlow(context.Context, *ExportFlowRequest) (*longrunning.Operation, error)
}

FlowsServer is the server API for Flows service.

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.v3beta1.Page]. When form filling is done, the filled parameters will be written to the [session][google.cloud.dialogflow.cx.v3beta1.SessionInfo.parameters].

func (*Form) Descriptor

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

Deprecated: Use Form.ProtoReflect.Descriptor instead.

func (*Form) GetParameters

func (x *Form) GetParameters() []*Form_Parameter

func (*Form) ProtoMessage

func (*Form) ProtoMessage()

func (*Form) ProtoReflect

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

func (*Form) Reset

func (x *Form) Reset()

func (*Form) String

func (x *Form) String() 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) GetDefaultValue

func (x *Form_Parameter) GetDefaultValue() *structpb.Value

func (*Form_Parameter) GetDisplayName

func (x *Form_Parameter) GetDisplayName() string

func (*Form_Parameter) GetEntityType

func (x *Form_Parameter) GetEntityType() string

func (*Form_Parameter) GetFillBehavior

func (x *Form_Parameter) GetFillBehavior() *Form_Parameter_FillBehavior

func (*Form_Parameter) GetIsList

func (x *Form_Parameter) GetIsList() bool

func (*Form_Parameter) GetRedact

func (x *Form_Parameter) GetRedact() bool

func (*Form_Parameter) GetRequired

func (x *Form_Parameter) GetRequired() bool

func (*Form_Parameter) ProtoMessage

func (*Form_Parameter) ProtoMessage()

func (*Form_Parameter) ProtoReflect

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

func (*Form_Parameter) Reset

func (x *Form_Parameter) Reset()

func (*Form_Parameter) String

func (x *Form_Parameter) String() string

Form_Parameter_FillBehavior

type Form_Parameter_FillBehavior struct {
	InitialPromptFulfillment *Fulfillment "" /* 135 byte string literal not displayed */

	RepromptEventHandlers []*EventHandler `protobuf:"bytes,5,rep,name=reprompt_event_handlers,json=repromptEventHandlers,proto3" json:"reprompt_event_handlers,omitempty"`

}

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

func (*Form_Parameter_FillBehavior) GetRepromptEventHandlers

func (x *Form_Parameter_FillBehavior) GetRepromptEventHandlers() []*EventHandler

func (*Form_Parameter_FillBehavior) ProtoMessage

func (*Form_Parameter_FillBehavior) ProtoMessage()

func (*Form_Parameter_FillBehavior) ProtoReflect

func (*Form_Parameter_FillBehavior) Reset

func (x *Form_Parameter_FillBehavior) Reset()

func (*Form_Parameter_FillBehavior) String

func (x *Form_Parameter_FillBehavior) String() string

FulfillIntentRequest

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

func (*FulfillIntentRequest) GetMatchIntentRequest

func (x *FulfillIntentRequest) GetMatchIntentRequest() *MatchIntentRequest

func (*FulfillIntentRequest) GetOutputAudioConfig

func (x *FulfillIntentRequest) GetOutputAudioConfig() *OutputAudioConfig

func (*FulfillIntentRequest) ProtoMessage

func (*FulfillIntentRequest) ProtoMessage()

func (*FulfillIntentRequest) ProtoReflect

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

func (*FulfillIntentRequest) Reset

func (x *FulfillIntentRequest) Reset()

func (*FulfillIntentRequest) String

func (x *FulfillIntentRequest) String() string

FulfillIntentResponse

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.v3beta1.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() []byte

func (*FulfillIntentResponse) GetOutputAudioConfig

func (x *FulfillIntentResponse) GetOutputAudioConfig() *OutputAudioConfig

func (*FulfillIntentResponse) GetQueryResult

func (x *FulfillIntentResponse) GetQueryResult() *QueryResult

func (*FulfillIntentResponse) GetResponseId

func (x *FulfillIntentResponse) GetResponseId() string

func (*FulfillIntentResponse) ProtoMessage

func (*FulfillIntentResponse) ProtoMessage()

func (*FulfillIntentResponse) ProtoReflect

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

func (*FulfillIntentResponse) Reset

func (x *FulfillIntentResponse) Reset()

func (*FulfillIntentResponse) String

func (x *FulfillIntentResponse) String() string

Fulfillment

type Fulfillment struct {
	Messages []*ResponseMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`

	Webhook string `protobuf:"bytes,2,opt,name=webhook,proto3" json:"webhook,omitempty"`

	ReturnPartialResponses bool "" /* 130 byte string literal not displayed */

	Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`

	SetParameterActions []*Fulfillment_SetParameterAction `protobuf:"bytes,4,rep,name=set_parameter_actions,json=setParameterActions,proto3" json:"set_parameter_actions,omitempty"`

	ConditionalCases []*Fulfillment_ConditionalCases `protobuf:"bytes,5,rep,name=conditional_cases,json=conditionalCases,proto3" json:"conditional_cases,omitempty"`

}

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.v3beta1.Page] or [Form][google.cloud.dialogflow.cx.v3beta1.Form] lifecycle. For example, when a [DetectIntentRequest][google.cloud.dialogflow.cx.v3beta1.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.v3beta1.QueryResult] in the returning [DetectIntentResponse][google.cloud.dialogflow.cx.v3beta1.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) GetConditionalCases

func (x *Fulfillment) GetConditionalCases() []*Fulfillment_ConditionalCases

func (*Fulfillment) GetMessages

func (x *Fulfillment) GetMessages() []*ResponseMessage

func (*Fulfillment) GetReturnPartialResponses

func (x *Fulfillment) GetReturnPartialResponses() bool

func (*Fulfillment) GetSetParameterActions

func (x *Fulfillment) GetSetParameterActions() []*Fulfillment_SetParameterAction

func (*Fulfillment) GetTag

func (x *Fulfillment) GetTag() string

func (*Fulfillment) GetWebhook

func (x *Fulfillment) GetWebhook() string

func (*Fulfillment) ProtoMessage

func (*Fulfillment) ProtoMessage()

func (*Fulfillment) ProtoReflect

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

func (*Fulfillment) Reset

func (x *Fulfillment) Reset()

func (*Fulfillment) String

func (x *Fulfillment) String() string

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

func (*Fulfillment_ConditionalCases) ProtoMessage()

func (*Fulfillment_ConditionalCases) ProtoReflect

func (*Fulfillment_ConditionalCases) Reset

func (x *Fulfillment_ConditionalCases) Reset()

func (*Fulfillment_ConditionalCases) String

Fulfillment_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 (*Fulfillment_ConditionalCases_Case) GetCondition

func (x *Fulfillment_ConditionalCases_Case) GetCondition() string

func (*Fulfillment_ConditionalCases_Case) ProtoMessage

func (*Fulfillment_ConditionalCases_Case) ProtoMessage()

func (*Fulfillment_ConditionalCases_Case) ProtoReflect

func (*Fulfillment_ConditionalCases_Case) Reset

func (*Fulfillment_ConditionalCases_Case) String

Fulfillment_ConditionalCases_Case_CaseContent

type Fulfillment_ConditionalCases_Case_CaseContent struct {

	// Either a message is returned or additional cases to be evaluated.
	//
	// Types that are assignable 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

Deprecated: Use Fulfillment_ConditionalCases_Case_CaseContent.ProtoReflect.Descriptor instead.

func (*Fulfillment_ConditionalCases_Case_CaseContent) GetAdditionalCases

func (*Fulfillment_ConditionalCases_Case_CaseContent) GetCasesOrMessage

func (m *Fulfillment_ConditionalCases_Case_CaseContent) GetCasesOrMessage() isFulfillment_ConditionalCases_Case_CaseContent_CasesOrMessage

func (*Fulfillment_ConditionalCases_Case_CaseContent) GetMessage

func (*Fulfillment_ConditionalCases_Case_CaseContent) ProtoMessage

func (*Fulfillment_ConditionalCases_Case_CaseContent) ProtoReflect

func (*Fulfillment_ConditionalCases_Case_CaseContent) Reset

func (x *