Package cloud.google.com/go/dialogflow/apiv2beta1/dialogflowpb (v1.29.0)

Variables

Agent_MatchMode_name, Agent_MatchMode_value

var (
	Agent_MatchMode_name = map[int32]string{
		0: "MATCH_MODE_UNSPECIFIED",
		1: "MATCH_MODE_HYBRID",
		2: "MATCH_MODE_ML_ONLY",
	}
	Agent_MatchMode_value = map[string]int32{
		"MATCH_MODE_UNSPECIFIED": 0,
		"MATCH_MODE_HYBRID":      1,
		"MATCH_MODE_ML_ONLY":     2,
	}
)

Enum value maps for Agent_MatchMode.

Agent_ApiVersion_name, Agent_ApiVersion_value

var (
	Agent_ApiVersion_name = map[int32]string{
		0: "API_VERSION_UNSPECIFIED",
		1: "API_VERSION_V1",
		2: "API_VERSION_V2",
		3: "API_VERSION_V2_BETA_1",
	}
	Agent_ApiVersion_value = map[string]int32{
		"API_VERSION_UNSPECIFIED": 0,
		"API_VERSION_V1":          1,
		"API_VERSION_V2":          2,
		"API_VERSION_V2_BETA_1":   3,
	}
)

Enum value maps for Agent_ApiVersion.

Agent_Tier_name, Agent_Tier_value

var (
	Agent_Tier_name = map[int32]string{
		0: "TIER_UNSPECIFIED",
		1: "TIER_STANDARD",
		2: "TIER_ENTERPRISE",
		3: "TIER_ENTERPRISE_PLUS",
	}
	Agent_Tier_value = map[string]int32{
		"TIER_UNSPECIFIED":     0,
		"TIER_STANDARD":        1,
		"TIER_ENTERPRISE":      2,
		"TIER_ENTERPRISE_PLUS": 3,
	}
)

Enum value maps for Agent_Tier.

AnswerFeedback_CorrectnessLevel_name, AnswerFeedback_CorrectnessLevel_value

var (
	AnswerFeedback_CorrectnessLevel_name = map[int32]string{
		0: "CORRECTNESS_LEVEL_UNSPECIFIED",
		1: "NOT_CORRECT",
		2: "PARTIALLY_CORRECT",
		3: "FULLY_CORRECT",
	}
	AnswerFeedback_CorrectnessLevel_value = map[string]int32{
		"CORRECTNESS_LEVEL_UNSPECIFIED": 0,
		"NOT_CORRECT":                   1,
		"PARTIALLY_CORRECT":             2,
		"FULLY_CORRECT":                 3,
	}
)

Enum value maps for AnswerFeedback_CorrectnessLevel.

AgentAssistantFeedback_AnswerRelevance_name, AgentAssistantFeedback_AnswerRelevance_value

var (
	AgentAssistantFeedback_AnswerRelevance_name = map[int32]string{
		0: "ANSWER_RELEVANCE_UNSPECIFIED",
		1: "IRRELEVANT",
		2: "RELEVANT",
	}
	AgentAssistantFeedback_AnswerRelevance_value = map[string]int32{
		"ANSWER_RELEVANCE_UNSPECIFIED": 0,
		"IRRELEVANT":                   1,
		"RELEVANT":                     2,
	}
)

Enum value maps for AgentAssistantFeedback_AnswerRelevance.

AgentAssistantFeedback_DocumentCorrectness_name, AgentAssistantFeedback_DocumentCorrectness_value

var (
	AgentAssistantFeedback_DocumentCorrectness_name = map[int32]string{
		0: "DOCUMENT_CORRECTNESS_UNSPECIFIED",
		1: "INCORRECT",
		2: "CORRECT",
	}
	AgentAssistantFeedback_DocumentCorrectness_value = map[string]int32{
		"DOCUMENT_CORRECTNESS_UNSPECIFIED": 0,
		"INCORRECT":                        1,
		"CORRECT":                          2,
	}
)

Enum value maps for AgentAssistantFeedback_DocumentCorrectness.

AgentAssistantFeedback_DocumentEfficiency_name, AgentAssistantFeedback_DocumentEfficiency_value

var (
	AgentAssistantFeedback_DocumentEfficiency_name = map[int32]string{
		0: "DOCUMENT_EFFICIENCY_UNSPECIFIED",
		1: "INEFFICIENT",
		2: "EFFICIENT",
	}
	AgentAssistantFeedback_DocumentEfficiency_value = map[string]int32{
		"DOCUMENT_EFFICIENCY_UNSPECIFIED": 0,
		"INEFFICIENT":                     1,
		"EFFICIENT":                       2,
	}
)

Enum value maps for AgentAssistantFeedback_DocumentEfficiency.

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.

TelephonyDtmf_name, TelephonyDtmf_value

var (
	TelephonyDtmf_name = map[int32]string{
		0:  "TELEPHONY_DTMF_UNSPECIFIED",
		1:  "DTMF_ONE",
		2:  "DTMF_TWO",
		3:  "DTMF_THREE",
		4:  "DTMF_FOUR",
		5:  "DTMF_FIVE",
		6:  "DTMF_SIX",
		7:  "DTMF_SEVEN",
		8:  "DTMF_EIGHT",
		9:  "DTMF_NINE",
		10: "DTMF_ZERO",
		11: "DTMF_A",
		12: "DTMF_B",
		13: "DTMF_C",
		14: "DTMF_D",
		15: "DTMF_STAR",
		16: "DTMF_POUND",
	}
	TelephonyDtmf_value = map[string]int32{
		"TELEPHONY_DTMF_UNSPECIFIED": 0,
		"DTMF_ONE":                   1,
		"DTMF_TWO":                   2,
		"DTMF_THREE":                 3,
		"DTMF_FOUR":                  4,
		"DTMF_FIVE":                  5,
		"DTMF_SIX":                   6,
		"DTMF_SEVEN":                 7,
		"DTMF_EIGHT":                 8,
		"DTMF_NINE":                  9,
		"DTMF_ZERO":                  10,
		"DTMF_A":                     11,
		"DTMF_B":                     12,
		"DTMF_C":                     13,
		"DTMF_D":                     14,
		"DTMF_STAR":                  15,
		"DTMF_POUND":                 16,
	}
)

Enum value maps for TelephonyDtmf.

Conversation_LifecycleState_name, Conversation_LifecycleState_value

var (
	Conversation_LifecycleState_name = map[int32]string{
		0: "LIFECYCLE_STATE_UNSPECIFIED",
		1: "IN_PROGRESS",
		2: "COMPLETED",
	}
	Conversation_LifecycleState_value = map[string]int32{
		"LIFECYCLE_STATE_UNSPECIFIED": 0,
		"IN_PROGRESS":                 1,
		"COMPLETED":                   2,
	}
)

Enum value maps for Conversation_LifecycleState.

Conversation_ConversationStage_name, Conversation_ConversationStage_value

var (
	Conversation_ConversationStage_name = map[int32]string{
		0: "CONVERSATION_STAGE_UNSPECIFIED",
		1: "VIRTUAL_AGENT_STAGE",
		2: "HUMAN_ASSIST_STAGE",
	}
	Conversation_ConversationStage_value = map[string]int32{
		"CONVERSATION_STAGE_UNSPECIFIED": 0,
		"VIRTUAL_AGENT_STAGE":            1,
		"HUMAN_ASSIST_STAGE":             2,
	}
)

Enum value maps for Conversation_ConversationStage.

ConversationEvent_Type_name, ConversationEvent_Type_value

var (
	ConversationEvent_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "CONVERSATION_STARTED",
		2: "CONVERSATION_FINISHED",
		3: "HUMAN_INTERVENTION_NEEDED",
		5: "NEW_MESSAGE",
		4: "UNRECOVERABLE_ERROR",
	}
	ConversationEvent_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":          0,
		"CONVERSATION_STARTED":      1,
		"CONVERSATION_FINISHED":     2,
		"HUMAN_INTERVENTION_NEEDED": 3,
		"NEW_MESSAGE":               5,
		"UNRECOVERABLE_ERROR":       4,
	}
)

Enum value maps for ConversationEvent_Type.

NotificationConfig_MessageFormat_name, NotificationConfig_MessageFormat_value

var (
	NotificationConfig_MessageFormat_name = map[int32]string{
		0: "MESSAGE_FORMAT_UNSPECIFIED",
		1: "PROTO",
		2: "JSON",
	}
	NotificationConfig_MessageFormat_value = map[string]int32{
		"MESSAGE_FORMAT_UNSPECIFIED": 0,
		"PROTO":                      1,
		"JSON":                       2,
	}
)

Enum value maps for NotificationConfig_MessageFormat.

Document_KnowledgeType_name, Document_KnowledgeType_value

var (
	Document_KnowledgeType_name = map[int32]string{
		0: "KNOWLEDGE_TYPE_UNSPECIFIED",
		1: "FAQ",
		2: "EXTRACTIVE_QA",
		3: "ARTICLE_SUGGESTION",
		4: "AGENT_FACING_SMART_REPLY",
	}
	Document_KnowledgeType_value = map[string]int32{
		"KNOWLEDGE_TYPE_UNSPECIFIED": 0,
		"FAQ":                        1,
		"EXTRACTIVE_QA":              2,
		"ARTICLE_SUGGESTION":         3,
		"AGENT_FACING_SMART_REPLY":   4,
		"SMART_REPLY":                4,
	}
)

Enum value maps for Document_KnowledgeType.

Document_State_name, Document_State_value

var (
	Document_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "UPDATING",
		4: "RELOADING",
		5: "DELETING",
	}
	Document_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"ACTIVE":            2,
		"UPDATING":          3,
		"RELOADING":         4,
		"DELETING":          5,
	}
)

Enum value maps for Document_State.

KnowledgeOperationMetadata_State_name, KnowledgeOperationMetadata_State_value

var (
	KnowledgeOperationMetadata_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING",
		2: "RUNNING",
		3: "DONE",
	}
	KnowledgeOperationMetadata_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"RUNNING":           2,
		"DONE":              3,
	}
)

Enum value maps for KnowledgeOperationMetadata_State.

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.

Environment_State_name, Environment_State_value

var (
	Environment_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STOPPED",
		2: "LOADING",
		3: "RUNNING",
	}
	Environment_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"STOPPED":           1,
		"LOADING":           2,
		"RUNNING":           3,
	}
)

Enum value maps for Environment_State.

Fulfillment_Feature_Type_name, Fulfillment_Feature_Type_value

var (
	Fulfillment_Feature_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "SMALLTALK",
	}
	Fulfillment_Feature_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"SMALLTALK":        1,
	}
)

Enum value maps for Fulfillment_Feature_Type.

IntentView_name, IntentView_value

var (
	IntentView_name = map[int32]string{
		0: "INTENT_VIEW_UNSPECIFIED",
		1: "INTENT_VIEW_FULL",
	}
	IntentView_value = map[string]int32{
		"INTENT_VIEW_UNSPECIFIED": 0,
		"INTENT_VIEW_FULL":        1,
	}
)

Enum value maps for IntentView.

Intent_WebhookState_name, Intent_WebhookState_value

var (
	Intent_WebhookState_name = map[int32]string{
		0: "WEBHOOK_STATE_UNSPECIFIED",
		1: "WEBHOOK_STATE_ENABLED",
		2: "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING",
	}
	Intent_WebhookState_value = map[string]int32{
		"WEBHOOK_STATE_UNSPECIFIED":              0,
		"WEBHOOK_STATE_ENABLED":                  1,
		"WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING": 2,
	}
)

Enum value maps for Intent_WebhookState.

Intent_TrainingPhrase_Type_name, Intent_TrainingPhrase_Type_value

var (
	Intent_TrainingPhrase_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "EXAMPLE",
		2: "TEMPLATE",
	}
	Intent_TrainingPhrase_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"EXAMPLE":          1,
		"TEMPLATE":         2,
	}
)

Enum value maps for Intent_TrainingPhrase_Type.

Intent_Message_Platform_name, Intent_Message_Platform_value

var (
	Intent_Message_Platform_name = map[int32]string{
		0:  "PLATFORM_UNSPECIFIED",
		1:  "FACEBOOK",
		2:  "SLACK",
		3:  "TELEGRAM",
		4:  "KIK",
		5:  "SKYPE",
		6:  "LINE",
		7:  "VIBER",
		8:  "ACTIONS_ON_GOOGLE",
		10: "TELEPHONY",
		11: "GOOGLE_HANGOUTS",
	}
	Intent_Message_Platform_value = map[string]int32{
		"PLATFORM_UNSPECIFIED": 0,
		"FACEBOOK":             1,
		"SLACK":                2,
		"TELEGRAM":             3,
		"KIK":                  4,
		"SKYPE":                5,
		"LINE":                 6,
		"VIBER":                7,
		"ACTIONS_ON_GOOGLE":    8,
		"TELEPHONY":            10,
		"GOOGLE_HANGOUTS":      11,
	}
)

Enum value maps for Intent_Message_Platform.

Intent_Message_RbmCarouselCard_CardWidth_name, Intent_Message_RbmCarouselCard_CardWidth_value

var (
	Intent_Message_RbmCarouselCard_CardWidth_name = map[int32]string{
		0: "CARD_WIDTH_UNSPECIFIED",
		1: "SMALL",
		2: "MEDIUM",
	}
	Intent_Message_RbmCarouselCard_CardWidth_value = map[string]int32{
		"CARD_WIDTH_UNSPECIFIED": 0,
		"SMALL":                  1,
		"MEDIUM":                 2,
	}
)

Enum value maps for Intent_Message_RbmCarouselCard_CardWidth.

Intent_Message_RbmStandaloneCard_CardOrientation_name, Intent_Message_RbmStandaloneCard_CardOrientation_value

var (
	Intent_Message_RbmStandaloneCard_CardOrientation_name = map[int32]string{
		0: "CARD_ORIENTATION_UNSPECIFIED",
		1: "HORIZONTAL",
		2: "VERTICAL",
	}
	Intent_Message_RbmStandaloneCard_CardOrientation_value = map[string]int32{
		"CARD_ORIENTATION_UNSPECIFIED": 0,
		"HORIZONTAL":                   1,
		"VERTICAL":                     2,
	}
)

Enum value maps for Intent_Message_RbmStandaloneCard_CardOrientation.

Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment_name, Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment_value

var (
	Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment_name = map[int32]string{
		0: "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED",
		1: "LEFT",
		2: "RIGHT",
	}
	Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment_value = map[string]int32{
		"THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED": 0,
		"LEFT":                                  1,
		"RIGHT":                                 2,
	}
)

Enum value maps for Intent_Message_RbmStandaloneCard_ThumbnailImageAlignment.

Intent_Message_RbmCardContent_RbmMedia_Height_name, Intent_Message_RbmCardContent_RbmMedia_Height_value

var (
	Intent_Message_RbmCardContent_RbmMedia_Height_name = map[int32]string{
		0: "HEIGHT_UNSPECIFIED",
		1: "SHORT",
		2: "MEDIUM",
		3: "TALL",
	}
	Intent_Message_RbmCardContent_RbmMedia_Height_value = map[string]int32{
		"HEIGHT_UNSPECIFIED": 0,
		"SHORT":              1,
		"MEDIUM":             2,
		"TALL":               3,
	}
)

Enum value maps for Intent_Message_RbmCardContent_RbmMedia_Height.

Intent_Message_MediaContent_ResponseMediaType_name, Intent_Message_MediaContent_ResponseMediaType_value

var (
	Intent_Message_MediaContent_ResponseMediaType_name = map[int32]string{
		0: "RESPONSE_MEDIA_TYPE_UNSPECIFIED",
		1: "AUDIO",
	}
	Intent_Message_MediaContent_ResponseMediaType_value = map[string]int32{
		"RESPONSE_MEDIA_TYPE_UNSPECIFIED": 0,
		"AUDIO":                           1,
	}
)

Enum value maps for Intent_Message_MediaContent_ResponseMediaType.

Intent_Message_BrowseCarouselCard_ImageDisplayOptions_name, Intent_Message_BrowseCarouselCard_ImageDisplayOptions_value

var (
	Intent_Message_BrowseCarouselCard_ImageDisplayOptions_name = map[int32]string{
		0: "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED",
		1: "GRAY",
		2: "WHITE",
		3: "CROPPED",
		4: "BLURRED_BACKGROUND",
	}
	Intent_Message_BrowseCarouselCard_ImageDisplayOptions_value = map[string]int32{
		"IMAGE_DISPLAY_OPTIONS_UNSPECIFIED": 0,
		"GRAY":                              1,
		"WHITE":                             2,
		"CROPPED":                           3,
		"BLURRED_BACKGROUND":                4,
	}
)

Enum value maps for Intent_Message_BrowseCarouselCard_ImageDisplayOptions.

Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint_name, Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint_value

var (
	Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint_name = map[int32]string{
		0: "URL_TYPE_HINT_UNSPECIFIED",
		1: "AMP_ACTION",
		2: "AMP_CONTENT",
	}
	Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint_value = map[string]int32{
		"URL_TYPE_HINT_UNSPECIFIED": 0,
		"AMP_ACTION":                1,
		"AMP_CONTENT":               2,
	}
)

Enum value maps for Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint.

Intent_Message_ColumnProperties_HorizontalAlignment_name, Intent_Message_ColumnProperties_HorizontalAlignment_value

var (
	Intent_Message_ColumnProperties_HorizontalAlignment_name = map[int32]string{
		0: "HORIZONTAL_ALIGNMENT_UNSPECIFIED",
		1: "LEADING",
		2: "CENTER",
		3: "TRAILING",
	}
	Intent_Message_ColumnProperties_HorizontalAlignment_value = map[string]int32{
		"HORIZONTAL_ALIGNMENT_UNSPECIFIED": 0,
		"LEADING":                          1,
		"CENTER":                           2,
		"TRAILING":                         3,
	}
)

Enum value maps for Intent_Message_ColumnProperties_HorizontalAlignment.

Participant_Role_name, Participant_Role_value

var (
	Participant_Role_name = map[int32]string{
		0: "ROLE_UNSPECIFIED",
		1: "HUMAN_AGENT",
		2: "AUTOMATED_AGENT",
		3: "END_USER",
	}
	Participant_Role_value = map[string]int32{
		"ROLE_UNSPECIFIED": 0,
		"HUMAN_AGENT":      1,
		"AUTOMATED_AGENT":  2,
		"END_USER":         3,
	}
)

Enum value maps for Participant_Role.

AutomatedAgentReply_AutomatedAgentReplyType_name, AutomatedAgentReply_AutomatedAgentReplyType_value

var (
	AutomatedAgentReply_AutomatedAgentReplyType_name = map[int32]string{
		0: "AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED",
		1: "PARTIAL",
		2: "FINAL",
	}
	AutomatedAgentReply_AutomatedAgentReplyType_value = map[string]int32{
		"AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED": 0,
		"PARTIAL":                                1,
		"FINAL":                                  2,
	}
)

Enum value maps for AutomatedAgentReply_AutomatedAgentReplyType.

SuggestionFeature_Type_name, SuggestionFeature_Type_value

var (
	SuggestionFeature_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "ARTICLE_SUGGESTION",
		2: "FAQ",
		3: "SMART_REPLY",
		8: "CONVERSATION_SUMMARIZATION",
	}
	SuggestionFeature_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":           0,
		"ARTICLE_SUGGESTION":         1,
		"FAQ":                        2,
		"SMART_REPLY":                3,
		"CONVERSATION_SUMMARIZATION": 8,
	}
)

Enum value maps for SuggestionFeature_Type.

KnowledgeAnswers_Answer_MatchConfidenceLevel_name, KnowledgeAnswers_Answer_MatchConfidenceLevel_value

var (
	KnowledgeAnswers_Answer_MatchConfidenceLevel_name = map[int32]string{
		0: "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED",
		1: "LOW",
		2: "MEDIUM",
		3: "HIGH",
	}
	KnowledgeAnswers_Answer_MatchConfidenceLevel_value = map[string]int32{
		"MATCH_CONFIDENCE_LEVEL_UNSPECIFIED": 0,
		"LOW":                                1,
		"MEDIUM":                             2,
		"HIGH":                               3,
	}
)

Enum value maps for KnowledgeAnswers_Answer_MatchConfidenceLevel.

StreamingRecognitionResult_MessageType_name, StreamingRecognitionResult_MessageType_value

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

Enum value maps for StreamingRecognitionResult_MessageType.

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.

ValidationError_Severity_name, ValidationError_Severity_value

var (
	ValidationError_Severity_name = map[int32]string{
		0: "SEVERITY_UNSPECIFIED",
		1: "INFO",
		2: "WARNING",
		3: "ERROR",
		4: "CRITICAL",
	}
	ValidationError_Severity_value = map[string]int32{
		"SEVERITY_UNSPECIFIED": 0,
		"INFO":                 1,
		"WARNING":              2,
		"ERROR":                3,
		"CRITICAL":             4,
	}
)

Enum value maps for ValidationError_Severity.

Version_VersionStatus_name, Version_VersionStatus_value

var (
	Version_VersionStatus_name = map[int32]string{
		0: "VERSION_STATUS_UNSPECIFIED",
		1: "IN_PROGRESS",
		2: "READY",
		3: "FAILED",
	}
	Version_VersionStatus_value = map[string]int32{
		"VERSION_STATUS_UNSPECIFIED": 0,
		"IN_PROGRESS":                1,
		"READY":                      2,
		"FAILED":                     3,
	}
)

Enum value maps for Version_VersionStatus.

File_google_cloud_dialogflow_v2beta1_agent_proto

var File_google_cloud_dialogflow_v2beta1_agent_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_answer_record_proto

var File_google_cloud_dialogflow_v2beta1_answer_record_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_audio_config_proto

var File_google_cloud_dialogflow_v2beta1_audio_config_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_context_proto

var File_google_cloud_dialogflow_v2beta1_context_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_conversation_event_proto

var File_google_cloud_dialogflow_v2beta1_conversation_event_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_conversation_profile_proto

var File_google_cloud_dialogflow_v2beta1_conversation_profile_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_conversation_proto

var File_google_cloud_dialogflow_v2beta1_conversation_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_document_proto

var File_google_cloud_dialogflow_v2beta1_document_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_entity_type_proto

var File_google_cloud_dialogflow_v2beta1_entity_type_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_environment_proto

var File_google_cloud_dialogflow_v2beta1_environment_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_fulfillment_proto

var File_google_cloud_dialogflow_v2beta1_fulfillment_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_gcs_proto

var File_google_cloud_dialogflow_v2beta1_gcs_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_human_agent_assistant_event_proto

var File_google_cloud_dialogflow_v2beta1_human_agent_assistant_event_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_intent_proto

var File_google_cloud_dialogflow_v2beta1_intent_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_knowledge_base_proto

var File_google_cloud_dialogflow_v2beta1_knowledge_base_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_participant_proto

var File_google_cloud_dialogflow_v2beta1_participant_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_session_entity_type_proto

var File_google_cloud_dialogflow_v2beta1_session_entity_type_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_session_proto

var File_google_cloud_dialogflow_v2beta1_session_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_validation_result_proto

var File_google_cloud_dialogflow_v2beta1_validation_result_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_version_proto

var File_google_cloud_dialogflow_v2beta1_version_proto protoreflect.FileDescriptor

File_google_cloud_dialogflow_v2beta1_webhook_proto

var File_google_cloud_dialogflow_v2beta1_webhook_proto protoreflect.FileDescriptor

Functions

func RegisterAgentsServer

func RegisterAgentsServer(s *grpc.Server, srv AgentsServer)

func RegisterAnswerRecordsServer

func RegisterAnswerRecordsServer(s *grpc.Server, srv AnswerRecordsServer)

func RegisterContextsServer

func RegisterContextsServer(s *grpc.Server, srv ContextsServer)

func RegisterConversationProfilesServer

func RegisterConversationProfilesServer(s *grpc.Server, srv ConversationProfilesServer)

func RegisterConversationsServer

func RegisterConversationsServer(s *grpc.Server, srv ConversationsServer)

func RegisterDocumentsServer

func RegisterDocumentsServer(s *grpc.Server, srv DocumentsServer)

func RegisterEntityTypesServer

func RegisterEntityTypesServer(s *grpc.Server, srv EntityTypesServer)

func RegisterEnvironmentsServer

func RegisterEnvironmentsServer(s *grpc.Server, srv EnvironmentsServer)

func RegisterFulfillmentsServer

func RegisterFulfillmentsServer(s *grpc.Server, srv FulfillmentsServer)

func RegisterIntentsServer

func RegisterIntentsServer(s *grpc.Server, srv IntentsServer)

func RegisterKnowledgeBasesServer

func RegisterKnowledgeBasesServer(s *grpc.Server, srv KnowledgeBasesServer)

func RegisterParticipantsServer

func RegisterParticipantsServer(s *grpc.Server, srv ParticipantsServer)

func RegisterSessionEntityTypesServer

func RegisterSessionEntityTypesServer(s *grpc.Server, srv SessionEntityTypesServer)

func RegisterSessionsServer

func RegisterSessionsServer(s *grpc.Server, srv SessionsServer)

func RegisterVersionsServer

func RegisterVersionsServer(s *grpc.Server, srv VersionsServer)

Agent

type Agent struct {
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,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"`

	EnableLogging bool `protobuf:"varint,8,opt,name=enable_logging,json=enableLogging,proto3" json:"enable_logging,omitempty"`

	MatchMode Agent_MatchMode "" /* 142 byte string literal not displayed */

	ClassificationThreshold float32 "" /* 133 byte string literal not displayed */

	ApiVersion Agent_ApiVersion "" /* 147 byte string literal not displayed */

	Tier Agent_Tier `protobuf:"varint,15,opt,name=tier,proto3,enum=google.cloud.dialogflow.v2beta1.Agent_Tier" json:"tier,omitempty"`

}

A Dialogflow agent is a virtual agent that handles conversations with your end-users. It is a natural language understanding module that understands the nuances of human language. Dialogflow translates end-user text or audio during a conversation to structured data that your apps and services can understand. You design and build a Dialogflow agent to handle the types of conversations required for your system.

For more information about agents, see the Agent guide.

func (*Agent) Descriptor

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

Deprecated: Use Agent.ProtoReflect.Descriptor instead.

func (*Agent) GetApiVersion

func (x *Agent) GetApiVersion() Agent_ApiVersion

func (*Agent) GetAvatarUri

func (x *Agent) GetAvatarUri() string

func (*Agent) GetClassificationThreshold

func (x *Agent) GetClassificationThreshold() float32

func (*Agent) GetDefaultLanguageCode

func (x *Agent) GetDefaultLanguageCode() string

func (*Agent) GetDescription

func (x *Agent) GetDescription() string

func (*Agent) GetDisplayName

func (x *Agent) GetDisplayName() string

func (*Agent) GetEnableLogging

func (x *Agent) GetEnableLogging() bool

func (*Agent) GetMatchMode

func (x *Agent) GetMatchMode() Agent_MatchMode

Deprecated: Do not use.

func (*Agent) GetParent

func (x *Agent) GetParent() string

func (*Agent) GetSupportedLanguageCodes

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

func (*Agent) GetTier

func (x *Agent) GetTier() Agent_Tier

func (*Agent) GetTimeZone

func (x *Agent) GetTimeZone() string

func (*Agent) ProtoMessage

func (*Agent) ProtoMessage()

func (*Agent) ProtoReflect

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

func (*Agent) Reset

func (x *Agent) Reset()

func (*Agent) String

func (x *Agent) String() string

AgentAssistantFeedback

type AgentAssistantFeedback struct {
	AnswerRelevance AgentAssistantFeedback_AnswerRelevance "" /* 183 byte string literal not displayed */

	DocumentCorrectness AgentAssistantFeedback_DocumentCorrectness "" /* 199 byte string literal not displayed */

	DocumentEfficiency AgentAssistantFeedback_DocumentEfficiency "" /* 195 byte string literal not displayed */

	SummarizationFeedback *AgentAssistantFeedback_SummarizationFeedback `protobuf:"bytes,4,opt,name=summarization_feedback,json=summarizationFeedback,proto3" json:"summarization_feedback,omitempty"`

}

Detail feedback of Agent Assistant result.

func (*AgentAssistantFeedback) Descriptor

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

Deprecated: Use AgentAssistantFeedback.ProtoReflect.Descriptor instead.

func (*AgentAssistantFeedback) GetAnswerRelevance

func (*AgentAssistantFeedback) GetDocumentCorrectness

func (*AgentAssistantFeedback) GetDocumentEfficiency

func (*AgentAssistantFeedback) GetSummarizationFeedback

func (*AgentAssistantFeedback) ProtoMessage

func (*AgentAssistantFeedback) ProtoMessage()

func (*AgentAssistantFeedback) ProtoReflect

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

func (*AgentAssistantFeedback) Reset

func (x *AgentAssistantFeedback) Reset()

func (*AgentAssistantFeedback) String

func (x *AgentAssistantFeedback) String() string

AgentAssistantFeedback_AnswerRelevance

type AgentAssistantFeedback_AnswerRelevance int32

Relevance of an answer.

AgentAssistantFeedback_ANSWER_RELEVANCE_UNSPECIFIED, AgentAssistantFeedback_IRRELEVANT, AgentAssistantFeedback_RELEVANT

const (
	// Answer relevance unspecified.
	AgentAssistantFeedback_ANSWER_RELEVANCE_UNSPECIFIED AgentAssistantFeedback_AnswerRelevance = 0
	// Answer is irrelevant to query.
	AgentAssistantFeedback_IRRELEVANT AgentAssistantFeedback_AnswerRelevance = 1
	// Answer is relevant to query.
	AgentAssistantFeedback_RELEVANT AgentAssistantFeedback_AnswerRelevance = 2
)

func (AgentAssistantFeedback_AnswerRelevance) Descriptor

func (AgentAssistantFeedback_AnswerRelevance) Enum

func (AgentAssistantFeedback_AnswerRelevance) EnumDescriptor

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

Deprecated: Use AgentAssistantFeedback_AnswerRelevance.Descriptor instead.

func (AgentAssistantFeedback_AnswerRelevance) Number

func (AgentAssistantFeedback_AnswerRelevance) String

func (AgentAssistantFeedback_AnswerRelevance) Type

AgentAssistantFeedback_DocumentCorrectness

type AgentAssistantFeedback_DocumentCorrectness int32

Correctness of document.

AgentAssistantFeedback_DOCUMENT_CORRECTNESS_UNSPECIFIED, AgentAssistantFeedback_INCORRECT, AgentAssistantFeedback_CORRECT

const (
	// Document correctness unspecified.
	AgentAssistantFeedback_DOCUMENT_CORRECTNESS_UNSPECIFIED AgentAssistantFeedback_DocumentCorrectness = 0
	// Information in document is incorrect.
	AgentAssistantFeedback_INCORRECT AgentAssistantFeedback_DocumentCorrectness = 1
	// Information in document is correct.
	AgentAssistantFeedback_CORRECT AgentAssistantFeedback_DocumentCorrectness = 2
)

func (AgentAssistantFeedback_DocumentCorrectness) Descriptor

func (AgentAssistantFeedback_DocumentCorrectness) Enum

func (AgentAssistantFeedback_DocumentCorrectness) EnumDescriptor

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

Deprecated: Use AgentAssistantFeedback_DocumentCorrectness.Descriptor instead.

func (AgentAssistantFeedback_DocumentCorrectness) Number

func (AgentAssistantFeedback_DocumentCorrectness) String

func (AgentAssistantFeedback_DocumentCorrectness) Type

AgentAssistantFeedback_DocumentEfficiency

type AgentAssistantFeedback_DocumentEfficiency int32

Efficiency of document.

AgentAssistantFeedback_DOCUMENT_EFFICIENCY_UNSPECIFIED, AgentAssistantFeedback_INEFFICIENT, AgentAssistantFeedback_EFFICIENT

const (
	// Document efficiency unspecified.
	AgentAssistantFeedback_DOCUMENT_EFFICIENCY_UNSPECIFIED AgentAssistantFeedback_DocumentEfficiency = 0
	// Document is inefficient.
	AgentAssistantFeedback_INEFFICIENT AgentAssistantFeedback_DocumentEfficiency = 1
	// Document is efficient.
	AgentAssistantFeedback_EFFICIENT AgentAssistantFeedback_DocumentEfficiency = 2
)

func (AgentAssistantFeedback_DocumentEfficiency) Descriptor

func (AgentAssistantFeedback_DocumentEfficiency) Enum

func (AgentAssistantFeedback_DocumentEfficiency) EnumDescriptor

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

Deprecated: Use AgentAssistantFeedback_DocumentEfficiency.Descriptor instead.

func (AgentAssistantFeedback_DocumentEfficiency) Number

func (AgentAssistantFeedback_DocumentEfficiency) String

func (AgentAssistantFeedback_DocumentEfficiency) Type

AgentAssistantFeedback_SummarizationFeedback

type AgentAssistantFeedback_SummarizationFeedback struct {

	// Timestamp when composing of the summary starts.
	StartTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"`
	// Timestamp when the summary was submitted.
	SubmitTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=submit_timestamp,json=submitTimestamp,proto3" json:"submit_timestamp,omitempty"`
	// Text of actual submitted summary.
	SummaryText string `protobuf:"bytes,3,opt,name=summary_text,json=summaryText,proto3" json:"summary_text,omitempty"`
	// contains filtered or unexported fields
}

Feedback for conversation summarization.

func (*AgentAssistantFeedback_SummarizationFeedback) Descriptor

Deprecated: Use AgentAssistantFeedback_SummarizationFeedback.ProtoReflect.Descriptor instead.

func (*AgentAssistantFeedback_SummarizationFeedback) GetStartTimestamp

func (*AgentAssistantFeedback_SummarizationFeedback) GetSubmitTimestamp

func (*AgentAssistantFeedback_SummarizationFeedback) GetSummaryText

func (*AgentAssistantFeedback_SummarizationFeedback) ProtoMessage

func (*AgentAssistantFeedback_SummarizationFeedback) ProtoReflect

func (*AgentAssistantFeedback_SummarizationFeedback) Reset

func (*AgentAssistantFeedback_SummarizationFeedback) String

AgentAssistantRecord

type AgentAssistantRecord struct {

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

Represents a record of a human agent assistant answer.

func (*AgentAssistantRecord) Descriptor

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

Deprecated: Use AgentAssistantRecord.ProtoReflect.Descriptor instead.

func (*AgentAssistantRecord) GetAnswer

func (m *AgentAssistantRecord) GetAnswer() isAgentAssistantRecord_Answer

func (*AgentAssistantRecord) GetArticleSuggestionAnswer

func (x *AgentAssistantRecord) GetArticleSuggestionAnswer() *ArticleAnswer

func (*AgentAssistantRecord) GetFaqAnswer

func (x *AgentAssistantRecord) GetFaqAnswer() *FaqAnswer

func (*AgentAssistantRecord) ProtoMessage

func (*AgentAssistantRecord) ProtoMessage()

func (*AgentAssistantRecord) ProtoReflect

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

func (*AgentAssistantRecord) Reset

func (x *AgentAssistantRecord) Reset()

func (*AgentAssistantRecord) String

func (x *AgentAssistantRecord) String() string

AgentAssistantRecord_ArticleSuggestionAnswer

type AgentAssistantRecord_ArticleSuggestionAnswer struct {
	// Output only. The article suggestion answer.
	ArticleSuggestionAnswer *ArticleAnswer `protobuf:"bytes,5,opt,name=article_suggestion_answer,json=articleSuggestionAnswer,proto3,oneof"`
}

AgentAssistantRecord_FaqAnswer

type AgentAssistantRecord_FaqAnswer struct {
	// Output only. The FAQ answer.
	FaqAnswer *FaqAnswer `protobuf:"bytes,6,opt,name=faq_answer,json=faqAnswer,proto3,oneof"`
}

Agent_ApiVersion

type Agent_ApiVersion int32

API version for the agent.

Agent_API_VERSION_UNSPECIFIED, Agent_API_VERSION_V1, Agent_API_VERSION_V2, Agent_API_VERSION_V2_BETA_1

const (
	// Not specified.
	Agent_API_VERSION_UNSPECIFIED Agent_ApiVersion = 0
	// Legacy V1 API.
	Agent_API_VERSION_V1 Agent_ApiVersion = 1
	// V2 API.
	Agent_API_VERSION_V2 Agent_ApiVersion = 2
	// V2beta1 API.
	Agent_API_VERSION_V2_BETA_1 Agent_ApiVersion = 3
)

func (Agent_ApiVersion) Descriptor

func (Agent_ApiVersion) Enum

func (Agent_ApiVersion) EnumDescriptor

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

Deprecated: Use Agent_ApiVersion.Descriptor instead.

func (Agent_ApiVersion) Number

func (Agent_ApiVersion) String

func (x Agent_ApiVersion) String() string

func (Agent_ApiVersion) Type

Agent_MatchMode

type Agent_MatchMode int32

Match mode determines how intents are detected from user queries.

Agent_MATCH_MODE_UNSPECIFIED, Agent_MATCH_MODE_HYBRID, Agent_MATCH_MODE_ML_ONLY

const (
	// Not specified.
	Agent_MATCH_MODE_UNSPECIFIED Agent_MatchMode = 0
	// Best for agents with a small number of examples in intents and/or wide
	// use of templates syntax and composite entities.
	Agent_MATCH_MODE_HYBRID Agent_MatchMode = 1
	// Can be used for agents with a large number of examples in intents,
	// especially the ones using @sys.any or very large custom entities.
	Agent_MATCH_MODE_ML_ONLY Agent_MatchMode = 2
)

func (Agent_MatchMode) Descriptor

func (Agent_MatchMode) Enum

func (x Agent_MatchMode) Enum() *Agent_MatchMode

func (Agent_MatchMode) EnumDescriptor

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

Deprecated: Use Agent_MatchMode.Descriptor instead.

func (Agent_MatchMode) Number

func (Agent_MatchMode) String

func (x Agent_MatchMode) String() string

func (Agent_MatchMode) Type

Agent_Tier

type Agent_Tier int32

Represents the agent tier.

Agent_TIER_UNSPECIFIED, Agent_TIER_STANDARD, Agent_TIER_ENTERPRISE, Agent_TIER_ENTERPRISE_PLUS

const (
	// Not specified. This value should never be used.
	Agent_TIER_UNSPECIFIED Agent_Tier = 0
	// Trial Edition, previously known as Standard Edition.
	Agent_TIER_STANDARD Agent_Tier = 1
	// Essentials Edition, previously known as Enterprise Essential Edition.
	Agent_TIER_ENTERPRISE Agent_Tier = 2
	// Essentials Edition (same as TIER_ENTERPRISE), previously known as
	// Enterprise Plus Edition.
	//
	// Deprecated: Do not use.
	Agent_TIER_ENTERPRISE_PLUS Agent_Tier = 3
)

func (Agent_Tier) Descriptor

func (Agent_Tier) Descriptor() protoreflect.EnumDescriptor

func (Agent_Tier) Enum

func (x Agent_Tier) Enum() *Agent_Tier

func (Agent_Tier) EnumDescriptor

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

Deprecated: Use Agent_Tier.Descriptor instead.

func (Agent_Tier) Number

func (x Agent_Tier) Number() protoreflect.EnumNumber

func (Agent_Tier) String

func (x Agent_Tier) String() string

func (Agent_Tier) Type

AgentsClient

type AgentsClient interface {
	// Retrieves the specified agent.
	GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error)
	// Creates/updates the specified agent.
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	SetAgent(ctx context.Context, in *SetAgentRequest, opts ...grpc.CallOption) (*Agent, error)
	// Deletes the specified agent.
	DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Returns the list of agents.
	// Since there is at most one conversational agent per project, this method is
	// useful primarily for listing all agents across projects the caller has
	// access to. One can achieve that with a wildcard project collection id "-".
	// Refer to [List
	// Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).
	SearchAgents(ctx context.Context, in *SearchAgentsRequest, opts ...grpc.CallOption) (*SearchAgentsResponse, error)
	// Trains the specified agent.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	//   - `metadata`: An empty [Struct
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	TrainAgent(ctx context.Context, in *TrainAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Exports the specified agent to a ZIP file.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	//   - `metadata`: An empty [Struct
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
	//   - `response`:
	//
	// [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse]
	ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Imports the specified agent from a ZIP file.
	//
	// Uploads new intents and entity types without deleting the existing ones.
	// Intents and entity types with the same name are replaced with the new
	// versions from
	// [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest].
	// After the import, the imported draft agent will be trained automatically
	// (unless disabled in agent settings). However, once the import is done,
	// training may not be completed yet. Please call
	// [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait
	// for the operation it returns in order to train explicitly.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	//   - `metadata`: An empty [Struct
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	//
	// The operation only tracks when importing is complete, not when it is done
	// training.
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	ImportAgent(ctx context.Context, in *ImportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Restores the specified agent from a ZIP file.
	//
	// Replaces the current agent version with a new one. All the intents and
	// entity types in the older version are deleted. After the restore, the
	// restored draft agent will be trained automatically (unless disabled in
	// agent settings). However, once the restore is done, training may not be
	// completed yet. Please call
	// [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait
	// for the operation it returns in order to train explicitly.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	//   - `metadata`: An empty [Struct
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	//
	// The operation only tracks when restoring is complete, not when it is done
	// training.
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Gets agent validation result. Agent validation is performed during
	// training time and is updated automatically when training is completed.
	GetValidationResult(ctx context.Context, in *GetValidationResultRequest, opts ...grpc.CallOption) (*ValidationResult, error)
}

AgentsClient is the client API for Agents service.

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

func NewAgentsClient

func NewAgentsClient(cc grpc.ClientConnInterface) AgentsClient

AgentsServer

type AgentsServer interface {
	// Retrieves the specified agent.
	GetAgent(context.Context, *GetAgentRequest) (*Agent, error)
	// Creates/updates the specified agent.
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	SetAgent(context.Context, *SetAgentRequest) (*Agent, error)
	// Deletes the specified agent.
	DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error)
	// Returns the list of agents.
	// Since there is at most one conversational agent per project, this method is
	// useful primarily for listing all agents across projects the caller has
	// access to. One can achieve that with a wildcard project collection id "-".
	// Refer to [List
	// Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).
	SearchAgents(context.Context, *SearchAgentsRequest) (*SearchAgentsResponse, error)
	// Trains the specified agent.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	//   - `metadata`: An empty [Struct
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	TrainAgent(context.Context, *TrainAgentRequest) (*longrunning.Operation, error)
	// Exports the specified agent to a ZIP file.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	//   - `metadata`: An empty [Struct
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
	//   - `response`:
	//
	// [ExportAgentResponse][google.cloud.dialogflow.v2beta1.ExportAgentResponse]
	ExportAgent(context.Context, *ExportAgentRequest) (*longrunning.Operation, error)
	// Imports the specified agent from a ZIP file.
	//
	// Uploads new intents and entity types without deleting the existing ones.
	// Intents and entity types with the same name are replaced with the new
	// versions from
	// [ImportAgentRequest][google.cloud.dialogflow.v2beta1.ImportAgentRequest].
	// After the import, the imported draft agent will be trained automatically
	// (unless disabled in agent settings). However, once the import is done,
	// training may not be completed yet. Please call
	// [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait
	// for the operation it returns in order to train explicitly.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	//   - `metadata`: An empty [Struct
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	//
	// The operation only tracks when importing is complete, not when it is done
	// training.
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	ImportAgent(context.Context, *ImportAgentRequest) (*longrunning.Operation, error)
	// Restores the specified agent from a ZIP file.
	//
	// Replaces the current agent version with a new one. All the intents and
	// entity types in the older version are deleted. After the restore, the
	// restored draft agent will be trained automatically (unless disabled in
	// agent settings). However, once the restore is done, training may not be
	// completed yet. Please call
	// [TrainAgent][google.cloud.dialogflow.v2beta1.Agents.TrainAgent] and wait
	// for the operation it returns in order to train explicitly.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	//   - `metadata`: An empty [Struct
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	//
	// The operation only tracks when restoring is complete, not when it is done
	// training.
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunning.Operation, error)
	// Gets agent validation result. Agent validation is performed during
	// training time and is updated automatically when training is completed.
	GetValidationResult(context.Context, *GetValidationResultRequest) (*ValidationResult, error)
}

AgentsServer is the server API for Agents service.

AnalyzeContentRequest

type AnalyzeContentRequest struct {

	// Required. The name of the participant this text comes from.
	// Format: `projects/

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

func (*AnalyzeContentRequest) Descriptor

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

Deprecated: Use AnalyzeContentRequest.ProtoReflect.Descriptor instead.

func (*AnalyzeContentRequest) GetAssistQueryParams

func (x *AnalyzeContentRequest) GetAssistQueryParams() *AssistQueryParameters

func (*AnalyzeContentRequest) GetAudioInput

func (x *AnalyzeContentRequest) GetAudioInput() *AudioInput

func (*AnalyzeContentRequest) GetCxCurrentPage

func (x *AnalyzeContentRequest) GetCxCurrentPage() string

func (*AnalyzeContentRequest) GetCxParameters

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

func (*AnalyzeContentRequest) GetEventInput

func (x *AnalyzeContentRequest) GetEventInput() *EventInput

func (*AnalyzeContentRequest) GetInput

func (m *AnalyzeContentRequest) GetInput() isAnalyzeContentRequest_Input

func (*AnalyzeContentRequest) GetMessageSendTime

func (x *AnalyzeContentRequest) GetMessageSendTime() *timestamppb.Timestamp

func (*AnalyzeContentRequest) GetParticipant

func (x *AnalyzeContentRequest) GetParticipant() string

func (*AnalyzeContentRequest) GetQueryParams

func (x *AnalyzeContentRequest) GetQueryParams() *QueryParameters

func (*AnalyzeContentRequest) GetReplyAudioConfig

func (x *AnalyzeContentRequest) GetReplyAudioConfig() *OutputAudioConfig

func (*AnalyzeContentRequest) GetRequestId

func (x *AnalyzeContentRequest) GetRequestId() string

func (*AnalyzeContentRequest) GetTextInput

func (x *AnalyzeContentRequest) GetTextInput() *TextInput

func (*AnalyzeContentRequest) ProtoMessage

func (*AnalyzeContentRequest) ProtoMessage()

func (*AnalyzeContentRequest) ProtoReflect

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

func (*AnalyzeContentRequest) Reset

func (x *AnalyzeContentRequest) Reset()

func (*AnalyzeContentRequest) String

func (x *AnalyzeContentRequest) String() string

AnalyzeContentRequest_AudioInput

type AnalyzeContentRequest_AudioInput struct {
	// The natural language speech audio to be processed.
	AudioInput *AudioInput `protobuf:"bytes,7,opt,name=audio_input,json=audioInput,proto3,oneof"`
}

AnalyzeContentRequest_EventInput

type AnalyzeContentRequest_EventInput struct {
	// An input event to send to Dialogflow.
	EventInput *EventInput `protobuf:"bytes,8,opt,name=event_input,json=eventInput,proto3,oneof"`
}

AnalyzeContentRequest_TextInput

type AnalyzeContentRequest_TextInput struct {
	// The natural language text to be processed.
	TextInput *TextInput `protobuf:"bytes,6,opt,name=text_input,json=textInput,proto3,oneof"`
}

AnalyzeContentResponse

type AnalyzeContentResponse struct {
	ReplyText string `protobuf:"bytes,1,opt,name=reply_text,json=replyText,proto3" json:"reply_text,omitempty"`

	ReplyAudio *OutputAudio `protobuf:"bytes,2,opt,name=reply_audio,json=replyAudio,proto3" json:"reply_audio,omitempty"`

	AutomatedAgentReply *AutomatedAgentReply `protobuf:"bytes,3,opt,name=automated_agent_reply,json=automatedAgentReply,proto3" json:"automated_agent_reply,omitempty"`

	Message *Message `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`

	HumanAgentSuggestionResults []*SuggestionResult "" /* 146 byte string literal not displayed */

	EndUserSuggestionResults []*SuggestionResult "" /* 137 byte string literal not displayed */

	DtmfParameters *DtmfParameters `protobuf:"bytes,9,opt,name=dtmf_parameters,json=dtmfParameters,proto3" json:"dtmf_parameters,omitempty"`

}

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

func (*AnalyzeContentResponse) Descriptor

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

Deprecated: Use AnalyzeContentResponse.ProtoReflect.Descriptor instead.

func (*AnalyzeContentResponse) GetAutomatedAgentReply

func (x *AnalyzeContentResponse) GetAutomatedAgentReply() *AutomatedAgentReply

func (*AnalyzeContentResponse) GetDtmfParameters

func (x *AnalyzeContentResponse) GetDtmfParameters() *DtmfParameters

func (*AnalyzeContentResponse) GetEndUserSuggestionResults

func (x *AnalyzeContentResponse) GetEndUserSuggestionResults() []*SuggestionResult

func (*AnalyzeContentResponse) GetHumanAgentSuggestionResults

func (x *AnalyzeContentResponse) GetHumanAgentSuggestionResults() []*SuggestionResult

func (*AnalyzeContentResponse) GetMessage

func (x *AnalyzeContentResponse) GetMessage() *Message

func (*AnalyzeContentResponse) GetReplyAudio

func (x *AnalyzeContentResponse) GetReplyAudio() *OutputAudio

func (*AnalyzeContentResponse) GetReplyText

func (x *AnalyzeContentResponse) GetReplyText() string

func (*AnalyzeContentResponse) ProtoMessage

func (*AnalyzeContentResponse) ProtoMessage()

func (*AnalyzeContentResponse) ProtoReflect

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

func (*AnalyzeContentResponse) Reset

func (x *AnalyzeContentResponse) Reset()

func (*AnalyzeContentResponse) String

func (x *AnalyzeContentResponse) String() string

AnnotatedMessagePart

type AnnotatedMessagePart struct {

	// Required. A part of a message possibly annotated with an entity.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// Optional. The [Dialogflow system entity
	// type](https://cloud.google.com/dialogflow/docs/reference/system-entities)
	// of this message part. If this is empty, Dialogflow could not annotate the
	// phrase part with a system entity.
	EntityType string `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"`
	// Optional. The [Dialogflow system entity formatted value
	// ](https://cloud.google.com/dialogflow/docs/reference/system-entities) of
	// this message part. For example for a system entity of type
	// `@sys.unit-currency`, this may contain:
	// 
	//
	//	{
	//	  "amount": 5,
	//	  "currency": "USD"
	//	}
	//
	// 
FormattedValue *structpb.Value `protobuf:"bytes,3,opt,name=formatted_value,json=formattedValue,proto3" json:"formatted_value,omitempty"` // contains filtered or unexported fields }

Represents a part of a message possibly annotated with an entity. The part can be an entity or purely a part of the message between two entities or message start/end.

func (*AnnotatedMessagePart) Descriptor

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

Deprecated: Use AnnotatedMessagePart.ProtoReflect.Descriptor instead.

func (*AnnotatedMessagePart) GetEntityType

func (x *AnnotatedMessagePart) GetEntityType() string

func (*AnnotatedMessagePart) GetFormattedValue

func (x *AnnotatedMessagePart) GetFormattedValue() *structpb.Value

func (*AnnotatedMessagePart) GetText

func (x *AnnotatedMessagePart) GetText() string

func (*AnnotatedMessagePart) ProtoMessage

func (*AnnotatedMessagePart) ProtoMessage()

func (*AnnotatedMessagePart) ProtoReflect

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

func (*AnnotatedMessagePart) Reset

func (x *AnnotatedMessagePart) Reset()

func (*AnnotatedMessagePart) String

func (x *AnnotatedMessagePart) String() string

AnswerFeedback

type AnswerFeedback struct {
	CorrectnessLevel AnswerFeedback_CorrectnessLevel "" /* 179 byte string literal not displayed */

	DetailFeedback isAnswerFeedback_DetailFeedback `protobuf_oneof:"detail_feedback"`

	Clicked bool `protobuf:"varint,3,opt,name=clicked,proto3" json:"clicked,omitempty"`

	ClickTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=click_time,json=clickTime,proto3" json:"click_time,omitempty"`

	Displayed bool `protobuf:"varint,4,opt,name=displayed,proto3" json:"displayed,omitempty"`

	DisplayTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=display_time,json=displayTime,proto3" json:"display_time,omitempty"`

}

Represents feedback the customer has about the quality & correctness of a certain answer in a conversation.

func (*AnswerFeedback) Descriptor

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

Deprecated: Use AnswerFeedback.ProtoReflect.Descriptor instead.

func (*AnswerFeedback) GetAgentAssistantDetailFeedback

func (x *AnswerFeedback) GetAgentAssistantDetailFeedback() *AgentAssistantFeedback

func (*AnswerFeedback) GetClickTime

func (x *AnswerFeedback) GetClickTime() *timestamppb.Timestamp

func (*AnswerFeedback) GetClicked

func (x *AnswerFeedback) GetClicked() bool

func (*AnswerFeedback) GetCorrectnessLevel

func (x *AnswerFeedback) GetCorrectnessLevel() AnswerFeedback_CorrectnessLevel

func (*AnswerFeedback) GetDetailFeedback

func (m *AnswerFeedback) GetDetailFeedback() isAnswerFeedback_DetailFeedback

func (*AnswerFeedback) GetDisplayTime

func (x *AnswerFeedback) GetDisplayTime() *timestamppb.Timestamp

func (*AnswerFeedback) GetDisplayed

func (x *AnswerFeedback) GetDisplayed() bool

func (*AnswerFeedback) ProtoMessage

func (*AnswerFeedback) ProtoMessage()

func (*AnswerFeedback) ProtoReflect

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

func (*AnswerFeedback) Reset

func (x *AnswerFeedback) Reset()

func (*AnswerFeedback) String

func (x *AnswerFeedback) String() string

AnswerFeedback_AgentAssistantDetailFeedback

type AnswerFeedback_AgentAssistantDetailFeedback struct {
	// Optional. Detail feedback of agent assistant suggestions.
	AgentAssistantDetailFeedback *AgentAssistantFeedback `protobuf:"bytes,2,opt,name=agent_assistant_detail_feedback,json=agentAssistantDetailFeedback,proto3,oneof"`
}

AnswerFeedback_CorrectnessLevel

type AnswerFeedback_CorrectnessLevel int32

The correctness level of an answer.

AnswerFeedback_CORRECTNESS_LEVEL_UNSPECIFIED, AnswerFeedback_NOT_CORRECT, AnswerFeedback_PARTIALLY_CORRECT, AnswerFeedback_FULLY_CORRECT

const (
	// Correctness level unspecified.
	AnswerFeedback_CORRECTNESS_LEVEL_UNSPECIFIED AnswerFeedback_CorrectnessLevel = 0
	// Answer is totally wrong.
	AnswerFeedback_NOT_CORRECT AnswerFeedback_CorrectnessLevel = 1
	// Answer is partially correct.
	AnswerFeedback_PARTIALLY_CORRECT AnswerFeedback_CorrectnessLevel = 2
	// Answer is fully correct.
	AnswerFeedback_FULLY_CORRECT AnswerFeedback_CorrectnessLevel = 3
)

func (AnswerFeedback_CorrectnessLevel) Descriptor

func (AnswerFeedback_CorrectnessLevel) Enum

func (AnswerFeedback_CorrectnessLevel) EnumDescriptor

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

Deprecated: Use AnswerFeedback_CorrectnessLevel.Descriptor instead.

func (AnswerFeedback_CorrectnessLevel) Number

func (AnswerFeedback_CorrectnessLevel) String

func (AnswerFeedback_CorrectnessLevel) Type

AnswerRecord

type AnswerRecord struct {

	// The unique identifier of this answer record.
	// Required for
	// [AnswerRecords.UpdateAnswerRecord][google.cloud.dialogflow.v2beta1.AnswerRecords.UpdateAnswerRecord]
	// method. Format: `projects/

Answer records are records to manage answer history and feedbacks for Dialogflow.

Currently, answer record includes:

  • human agent assistant article suggestion
  • human agent assistant faq article

It doesn't include:

  • DetectIntent intent matching
  • DetectIntent knowledge

Answer records are not related to the conversation history in the Dialogflow Console. A Record is generated even when the end-user disables conversation history in the console. Records are created when there's a human agent assistant suggestion generated.

A typical workflow for customers provide feedback to an answer is:

  1. For human agent assistant, customers get suggestion via ListSuggestions API. Together with the answers, [AnswerRecord.name][google.cloud.dialogflow.v2beta1.AnswerRecord.name] are returned to the customers.
  2. The customer uses the

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

[UpdateAnswerRecord][] method to send feedback about a specific answer
that they believe is wrong.

func (*AnswerRecord) Descriptor

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

Deprecated: Use AnswerRecord.ProtoReflect.Descriptor instead.

func (*AnswerRecord) GetAgentAssistantRecord

func (x *AnswerRecord) GetAgentAssistantRecord() *AgentAssistantRecord

func (*AnswerRecord) GetAnswerFeedback

func (x *AnswerRecord) GetAnswerFeedback() *AnswerFeedback

func (*AnswerRecord) GetName

func (x *AnswerRecord) GetName() string

func (*AnswerRecord) GetRecord

func (m *AnswerRecord) GetRecord() isAnswerRecord_Record

func (*AnswerRecord) ProtoMessage

func (*AnswerRecord) ProtoMessage()

func (*AnswerRecord) ProtoReflect

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

func (*AnswerRecord) Reset

func (x *AnswerRecord) Reset()

func (*AnswerRecord) String

func (x *AnswerRecord) String() string

AnswerRecord_AgentAssistantRecord

type AnswerRecord_AgentAssistantRecord struct {
	// Output only. The record for human agent assistant.
	AgentAssistantRecord *AgentAssistantRecord `protobuf:"bytes,4,opt,name=agent_assistant_record,json=agentAssistantRecord,proto3,oneof"`
}

AnswerRecordsClient

type AnswerRecordsClient interface {
	// Deprecated: Do not use.
	// Deprecated.
	// Retrieves a specific answer record.
	GetAnswerRecord(ctx context.Context, in *GetAnswerRecordRequest, opts ...grpc.CallOption) (*AnswerRecord, error)
	// Returns the list of all answer records in the specified project in reverse
	// chronological order.
	ListAnswerRecords(ctx context.Context, in *ListAnswerRecordsRequest, opts ...grpc.CallOption) (*ListAnswerRecordsResponse, error)
	// Updates the specified answer record.
	UpdateAnswerRecord(ctx context.Context, in *UpdateAnswerRecordRequest, opts ...grpc.CallOption) (*AnswerRecord, error)
}

AnswerRecordsClient is the client API for AnswerRecords service.

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

func NewAnswerRecordsClient

func NewAnswerRecordsClient(cc grpc.ClientConnInterface) AnswerRecordsClient

AnswerRecordsServer

type AnswerRecordsServer interface {
	// Deprecated: Do not use.
	// Deprecated.
	// Retrieves a specific answer record.
	GetAnswerRecord(context.Context, *GetAnswerRecordRequest) (*AnswerRecord, error)
	// Returns the list of all answer records in the specified project in reverse
	// chronological order.
	ListAnswerRecords(context.Context, *ListAnswerRecordsRequest) (*ListAnswerRecordsResponse, error)
	// Updates the specified answer record.
	UpdateAnswerRecord(context.Context, *UpdateAnswerRecordRequest) (*AnswerRecord, error)
}

AnswerRecordsServer is the server API for AnswerRecords service.

ArticleAnswer

type ArticleAnswer struct {
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`

	Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`

	Snippets []string `protobuf:"bytes,3,rep,name=snippets,proto3" json:"snippets,omitempty"`

	Metadata map[string]string "" /* 157 byte string literal not displayed */

	AnswerRecord string `protobuf:"bytes,6,opt,name=answer_record,json=answerRecord,proto3" json:"answer_record,omitempty"`

}

Represents article answer.

func (*ArticleAnswer) Descriptor

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

Deprecated: Use ArticleAnswer.ProtoReflect.Descriptor instead.

func (*ArticleAnswer) GetAnswerRecord

func (x *ArticleAnswer) GetAnswerRecord() string

func (*ArticleAnswer) GetMetadata

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

func (*ArticleAnswer) GetSnippets

func (x *ArticleAnswer) GetSnippets() []string

func (*ArticleAnswer) GetTitle

func (x *ArticleAnswer) GetTitle() string

func (*ArticleAnswer) GetUri

func (x *ArticleAnswer) GetUri() string

func (*ArticleAnswer) ProtoMessage

func (*ArticleAnswer) ProtoMessage()

func (*ArticleAnswer) ProtoReflect

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

func (*ArticleAnswer) Reset

func (x *ArticleAnswer) Reset()

func (*ArticleAnswer) String

func (x *ArticleAnswer) String() string

AssistQueryParameters

type AssistQueryParameters struct {
	DocumentsMetadataFilters map[string]string "" /* 223 byte string literal not displayed */

}

Represents the parameters of human assist query.

func (*AssistQueryParameters) Descriptor

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

Deprecated: Use AssistQueryParameters.ProtoReflect.Descriptor instead.

func (*AssistQueryParameters) GetDocumentsMetadataFilters

func (x *AssistQueryParameters) GetDocumentsMetadataFilters() map[string]string

func (*AssistQueryParameters) ProtoMessage

func (*AssistQueryParameters) ProtoMessage()

func (*AssistQueryParameters) ProtoReflect

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

func (*AssistQueryParameters) Reset

func (x *AssistQueryParameters) Reset()

func (*AssistQueryParameters) String

func (x *AssistQueryParameters) String() string

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"`
	// Required. The natural language speech audio to be processed.
	// A single request can contain up to 1 minute of speech audio data.
	// The transcribed text cannot contain more than 256 bytes for virtual agent
	// interactions.
	Audio []byte `protobuf:"bytes,2,opt,name=audio,proto3" json:"audio,omitempty"`
	// contains filtered or unexported fields
}

Represents the natural language speech audio to be processed.

func (*AudioInput) Descriptor

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

AutomatedAgentConfig

type AutomatedAgentConfig struct {

	// Required. ID of the Dialogflow agent environment to use.
	//
	// This project needs to either be the same project as the conversation or you
	// need to grant `service-

Defines the Automated Agent to connect to a conversation.

func (*AutomatedAgentConfig) Descriptor

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

Deprecated: Use AutomatedAgentConfig.ProtoReflect.Descriptor instead.

func (*AutomatedAgentConfig) GetAgent

func (x *AutomatedAgentConfig) GetAgent() string

func (*AutomatedAgentConfig) ProtoMessage

func (*AutomatedAgentConfig) ProtoMessage()

func (*AutomatedAgentConfig) ProtoReflect

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

func (*AutomatedAgentConfig) Reset

func (x *AutomatedAgentConfig) Reset()

func (*AutomatedAgentConfig) String

func (x *AutomatedAgentConfig) String() string

AutomatedAgentReply

type AutomatedAgentReply struct {
	Response isAutomatedAgentReply_Response `protobuf_oneof:"response"`

	ResponseMessages []*ResponseMessage `protobuf:"bytes,3,rep,name=response_messages,json=responseMessages,proto3" json:"response_messages,omitempty"`

	Match isAutomatedAgentReply_Match `protobuf_oneof:"match"`

	MatchConfidence float32 `protobuf:"fixed32,9,opt,name=match_confidence,json=matchConfidence,proto3" json:"match_confidence,omitempty"`

	Parameters *structpb.Struct `protobuf:"bytes,10,opt,name=parameters,proto3" json:"parameters,omitempty"`

	CxSessionParameters *structpb.Struct `protobuf:"bytes,6,opt,name=cx_session_parameters,json=cxSessionParameters,proto3" json:"cx_session_parameters,omitempty"`

	AutomatedAgentReplyType AutomatedAgentReply_AutomatedAgentReplyType "" /* 216 byte string literal not displayed */

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

	CxCurrentPage string `protobuf:"bytes,11,opt,name=cx_current_page,json=cxCurrentPage,proto3" json:"cx_current_page,omitempty"`

}

Represents a response from an automated agent.

func (*AutomatedAgentReply) Descriptor

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

Deprecated: Use AutomatedAgentReply.ProtoReflect.Descriptor instead.

func (*AutomatedAgentReply) GetAllowCancellation

func (x *AutomatedAgentReply) GetAllowCancellation() bool

func (*AutomatedAgentReply) GetAutomatedAgentReplyType

func (x *AutomatedAgentReply) GetAutomatedAgentReplyType() AutomatedAgentReply_AutomatedAgentReplyType

func (*AutomatedAgentReply) GetCxCurrentPage

func (x *AutomatedAgentReply) GetCxCurrentPage() string

func (*AutomatedAgentReply) GetCxSessionParameters

func (x *AutomatedAgentReply) GetCxSessionParameters() *structpb.Struct

Deprecated: Do not use.

func (*AutomatedAgentReply) GetDetectIntentResponse

func (x *AutomatedAgentReply) GetDetectIntentResponse() *DetectIntentResponse

func (*AutomatedAgentReply) GetEvent

func (x *AutomatedAgentReply) GetEvent() string

func (*AutomatedAgentReply) GetIntent

func (x *AutomatedAgentReply) GetIntent() string

func (*AutomatedAgentReply) GetMatch

func (m *AutomatedAgentReply) GetMatch() isAutomatedAgentReply_Match

func (*AutomatedAgentReply) GetMatchConfidence

func (x *AutomatedAgentReply) GetMatchConfidence() float32

func (*AutomatedAgentReply) GetParameters

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

func (*AutomatedAgentReply) GetResponse

func (m *AutomatedAgentReply) GetResponse() isAutomatedAgentReply_Response

func (*AutomatedAgentReply) GetResponseMessages

func (x *AutomatedAgentReply) GetResponseMessages() []*ResponseMessage

func (*AutomatedAgentReply) ProtoMessage

func (*AutomatedAgentReply) ProtoMessage()

func (*AutomatedAgentReply) ProtoReflect

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

func (*AutomatedAgentReply) Reset

func (x *AutomatedAgentReply) Reset()

func (*AutomatedAgentReply) String

func (x *AutomatedAgentReply) String() string

AutomatedAgentReply_AutomatedAgentReplyType

type AutomatedAgentReply_AutomatedAgentReplyType int32

Represents different automated agent reply types.

AutomatedAgentReply_AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED, AutomatedAgentReply_PARTIAL, AutomatedAgentReply_FINAL

const (
	// Not specified. This should never happen.
	AutomatedAgentReply_AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED AutomatedAgentReply_AutomatedAgentReplyType = 0
	// Partial reply. e.g. Aggregated responses in a `Fulfillment` that enables
	// `return_partial_response` can be returned as partial reply.
	// WARNING: partial reply is not eligible for barge-in.
	AutomatedAgentReply_PARTIAL AutomatedAgentReply_AutomatedAgentReplyType = 1
	// Final reply.
	AutomatedAgentReply_FINAL AutomatedAgentReply_AutomatedAgentReplyType = 2
)

func (AutomatedAgentReply_AutomatedAgentReplyType) Descriptor

func (AutomatedAgentReply_AutomatedAgentReplyType) Enum

func (AutomatedAgentReply_AutomatedAgentReplyType) EnumDescriptor

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

Deprecated: Use AutomatedAgentReply_AutomatedAgentReplyType.Descriptor instead.

func (AutomatedAgentReply_AutomatedAgentReplyType) Number

func (AutomatedAgentReply_AutomatedAgentReplyType) String

func (AutomatedAgentReply_AutomatedAgentReplyType) Type

AutomatedAgentReply_DetectIntentResponse

type AutomatedAgentReply_DetectIntentResponse struct {
	// Response of the Dialogflow
	// [Sessions.DetectIntent][google.cloud.dialogflow.v2beta1.Sessions.DetectIntent]
	// call.
	DetectIntentResponse *DetectIntentResponse `protobuf:"bytes,1,opt,name=detect_intent_response,json=detectIntentResponse,proto3,oneof"`
}

AutomatedAgentReply_Event

type AutomatedAgentReply_Event struct {
	// Event name if an event is triggered for the query.
	Event string `protobuf:"bytes,5,opt,name=event,proto3,oneof"`
}

AutomatedAgentReply_Intent

type AutomatedAgentReply_Intent struct {
	// Name of the intent if an intent is matched for the query.
	// For a V2 query, the value format is `projects/

BatchCreateEntitiesRequest

type BatchCreateEntitiesRequest struct {

	// Required. The name of the entity type to create entities in.
	// Supported formats:
	//   - `projects/

The request message for [EntityTypes.BatchCreateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchCreateEntities].

func (*BatchCreateEntitiesRequest) Descriptor

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

Deprecated: Use BatchCreateEntitiesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateEntitiesRequest) GetEntities

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

func (*BatchCreateEntitiesRequest) GetLanguageCode

func (x *BatchCreateEntitiesRequest) GetLanguageCode() string

func (*BatchCreateEntitiesRequest) GetParent

func (x *BatchCreateEntitiesRequest) GetParent() string

func (*BatchCreateEntitiesRequest) ProtoMessage

func (*BatchCreateEntitiesRequest) ProtoMessage()

func (*BatchCreateEntitiesRequest) ProtoReflect

func (*BatchCreateEntitiesRequest) Reset

func (x *BatchCreateEntitiesRequest) Reset()

func (*BatchCreateEntitiesRequest) String

func (x *BatchCreateEntitiesRequest) String() string

BatchCreateMessagesRequest

type BatchCreateMessagesRequest struct {

	// Required. Resource identifier of the conversation to create message.
	// Format: `projects/

The request message for [Conversations.BatchCreateMessagesRequest][].

func (*BatchCreateMessagesRequest) Descriptor

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

Deprecated: Use BatchCreateMessagesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateMessagesRequest) GetParent

func (x *BatchCreateMessagesRequest) GetParent() string

func (*BatchCreateMessagesRequest) GetRequests

func (*BatchCreateMessagesRequest) ProtoMessage

func (*BatchCreateMessagesRequest) ProtoMessage()

func (*BatchCreateMessagesRequest) ProtoReflect

func (*BatchCreateMessagesRequest) Reset

func (x *BatchCreateMessagesRequest) Reset()

func (*BatchCreateMessagesRequest) String

func (x *BatchCreateMessagesRequest) String() string

BatchCreateMessagesResponse

type BatchCreateMessagesResponse struct {

	// Messages created.
	Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

The request message for [Conversations.BatchCreateMessagesResponse][].

func (*BatchCreateMessagesResponse) Descriptor

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

Deprecated: Use BatchCreateMessagesResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateMessagesResponse) GetMessages

func (x *BatchCreateMessagesResponse) GetMessages() []*Message

func (*BatchCreateMessagesResponse) ProtoMessage

func (*BatchCreateMessagesResponse) ProtoMessage()

func (*BatchCreateMessagesResponse) ProtoReflect

func (*BatchCreateMessagesResponse) Reset

func (x *BatchCreateMessagesResponse) Reset()

func (*BatchCreateMessagesResponse) String

func (x *BatchCreateMessagesResponse) String() string

BatchDeleteEntitiesRequest

type BatchDeleteEntitiesRequest struct {

	// Required. The name of the entity type to delete entries for.
	// Supported formats:
	//   - `projects/

The request message for [EntityTypes.BatchDeleteEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntities].

func (*BatchDeleteEntitiesRequest) Descriptor

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

Deprecated: Use BatchDeleteEntitiesRequest.ProtoReflect.Descriptor instead.

func (*BatchDeleteEntitiesRequest) GetEntityValues

func (x *BatchDeleteEntitiesRequest) GetEntityValues() []string

func (*BatchDeleteEntitiesRequest) GetLanguageCode

func (x *BatchDeleteEntitiesRequest) GetLanguageCode() string

func (*BatchDeleteEntitiesRequest) GetParent

func (x *BatchDeleteEntitiesRequest) GetParent() string

func (*BatchDeleteEntitiesRequest) ProtoMessage

func (*BatchDeleteEntitiesRequest) ProtoMessage()

func (*BatchDeleteEntitiesRequest) ProtoReflect

func (*BatchDeleteEntitiesRequest) Reset

func (x *BatchDeleteEntitiesRequest) Reset()

func (*BatchDeleteEntitiesRequest) String

func (x *BatchDeleteEntitiesRequest) String() string

BatchDeleteEntityTypesRequest

type BatchDeleteEntityTypesRequest struct {

	// Required. The name of the agent to delete all entities types for.
	// Supported formats:
	// - `projects/

The request message for [EntityTypes.BatchDeleteEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchDeleteEntityTypes].

func (*BatchDeleteEntityTypesRequest) Descriptor

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

Deprecated: Use BatchDeleteEntityTypesRequest.ProtoReflect.Descriptor instead.

func (*BatchDeleteEntityTypesRequest) GetEntityTypeNames

func (x *BatchDeleteEntityTypesRequest) GetEntityTypeNames() []string

func (*BatchDeleteEntityTypesRequest) GetParent

func (x *BatchDeleteEntityTypesRequest) GetParent() string

func (*BatchDeleteEntityTypesRequest) ProtoMessage

func (*BatchDeleteEntityTypesRequest) ProtoMessage()

func (*BatchDeleteEntityTypesRequest) ProtoReflect

func (*BatchDeleteEntityTypesRequest) Reset

func (x *BatchDeleteEntityTypesRequest) Reset()

func (*BatchDeleteEntityTypesRequest) String

BatchDeleteIntentsRequest

type BatchDeleteIntentsRequest struct {

	// Required. The name of the agent to delete all entities types for.
	// Supported formats:
	//
	// - `projects/

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

func (*BatchDeleteIntentsRequest) Descriptor

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

Deprecated: Use BatchDeleteIntentsRequest.ProtoReflect.Descriptor instead.

func (*BatchDeleteIntentsRequest) GetIntents

func (x *BatchDeleteIntentsRequest) GetIntents() []*Intent

func (*BatchDeleteIntentsRequest) GetParent

func (x *BatchDeleteIntentsRequest) GetParent() string

func (*BatchDeleteIntentsRequest) ProtoMessage

func (*BatchDeleteIntentsRequest) ProtoMessage()

func (*BatchDeleteIntentsRequest) ProtoReflect

func (*BatchDeleteIntentsRequest) Reset

func (x *BatchDeleteIntentsRequest) Reset()

func (*BatchDeleteIntentsRequest) String

func (x *BatchDeleteIntentsRequest) String() string

BatchUpdateEntitiesRequest

type BatchUpdateEntitiesRequest struct {

	// Required. The name of the entity type to update or create entities in.
	// Supported formats:
	//   - `projects/

The request message for [EntityTypes.BatchUpdateEntities][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntities].

func (*BatchUpdateEntitiesRequest) Descriptor

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

Deprecated: Use BatchUpdateEntitiesRequest.ProtoReflect.Descriptor instead.

func (*BatchUpdateEntitiesRequest) GetEntities

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

func (*BatchUpdateEntitiesRequest) GetLanguageCode

func (x *BatchUpdateEntitiesRequest) GetLanguageCode() string

func (*BatchUpdateEntitiesRequest) GetParent

func (x *BatchUpdateEntitiesRequest) GetParent() string

func (*BatchUpdateEntitiesRequest) GetUpdateMask

func (x *BatchUpdateEntitiesRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*BatchUpdateEntitiesRequest) ProtoMessage

func (*BatchUpdateEntitiesRequest) ProtoMessage()

func (*BatchUpdateEntitiesRequest) ProtoReflect

func (*BatchUpdateEntitiesRequest) Reset

func (x *BatchUpdateEntitiesRequest) Reset()

func (*BatchUpdateEntitiesRequest) String

func (x *BatchUpdateEntitiesRequest) String() string

BatchUpdateEntityTypesRequest

type BatchUpdateEntityTypesRequest struct {

	// Required. The name of the agent to update or create entity types in.
	// Supported formats:
	// - `projects/

The request message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].

func (*BatchUpdateEntityTypesRequest) Descriptor

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

Deprecated: Use BatchUpdateEntityTypesRequest.ProtoReflect.Descriptor instead.

func (*BatchUpdateEntityTypesRequest) GetEntityTypeBatch

func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatch() isBatchUpdateEntityTypesRequest_EntityTypeBatch

func (*BatchUpdateEntityTypesRequest) GetEntityTypeBatchInline

func (x *BatchUpdateEntityTypesRequest) GetEntityTypeBatchInline() *EntityTypeBatch

func (*BatchUpdateEntityTypesRequest) GetEntityTypeBatchUri

func (x *BatchUpdateEntityTypesRequest) GetEntityTypeBatchUri() string

func (*BatchUpdateEntityTypesRequest) GetLanguageCode

func (x *BatchUpdateEntityTypesRequest) GetLanguageCode() string

func (*BatchUpdateEntityTypesRequest) GetParent

func (x *BatchUpdateEntityTypesRequest) GetParent() string

func (*BatchUpdateEntityTypesRequest) GetUpdateMask

func (*BatchUpdateEntityTypesRequest) ProtoMessage

func (*BatchUpdateEntityTypesRequest) ProtoMessage()

func (*BatchUpdateEntityTypesRequest) ProtoReflect

func (*BatchUpdateEntityTypesRequest) Reset

func (x *BatchUpdateEntityTypesRequest) Reset()

func (*BatchUpdateEntityTypesRequest) String

BatchUpdateEntityTypesRequest_EntityTypeBatchInline

type BatchUpdateEntityTypesRequest_EntityTypeBatchInline struct {
	// The collection of entity types to update or create.
	EntityTypeBatchInline *EntityTypeBatch `protobuf:"bytes,3,opt,name=entity_type_batch_inline,json=entityTypeBatchInline,proto3,oneof"`
}

BatchUpdateEntityTypesRequest_EntityTypeBatchUri

type BatchUpdateEntityTypesRequest_EntityTypeBatchUri struct {
	// The URI to a Google Cloud Storage file containing entity types to update
	// or create. The file format can either be a serialized proto (of
	// EntityBatch type) or a JSON object. Note: The URI must start with
	// "gs://".
	EntityTypeBatchUri string `protobuf:"bytes,2,opt,name=entity_type_batch_uri,json=entityTypeBatchUri,proto3,oneof"`
}

BatchUpdateEntityTypesResponse

type BatchUpdateEntityTypesResponse struct {

	// The collection of updated or created entity types.
	EntityTypes []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,omitempty"`
	// contains filtered or unexported fields
}

The response message for [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes].

func (*BatchUpdateEntityTypesResponse) Descriptor

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

Deprecated: Use BatchUpdateEntityTypesResponse.ProtoReflect.Descriptor instead.

func (*BatchUpdateEntityTypesResponse) GetEntityTypes

func (x *BatchUpdateEntityTypesResponse) GetEntityTypes() []*EntityType

func (*BatchUpdateEntityTypesResponse) ProtoMessage

func (*BatchUpdateEntityTypesResponse) ProtoMessage()

func (*BatchUpdateEntityTypesResponse) ProtoReflect

func (*BatchUpdateEntityTypesResponse) Reset

func (x *BatchUpdateEntityTypesResponse) Reset()

func (*BatchUpdateEntityTypesResponse) String

BatchUpdateIntentsRequest

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

	IntentBatch isBatchUpdateIntentsRequest_IntentBatch `protobuf_oneof:"intent_batch"`

	LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`

	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`

	IntentView IntentView "" /* 140 byte string literal not displayed */

}

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

func (*BatchUpdateIntentsRequest) Descriptor

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

Deprecated: Use BatchUpdateIntentsRequest.ProtoReflect.Descriptor instead.

func (*BatchUpdateIntentsRequest) GetIntentBatch

func (m *BatchUpdateIntentsRequest) GetIntentBatch() isBatchUpdateIntentsRequest_IntentBatch

func (*BatchUpdateIntentsRequest) GetIntentBatchInline

func (x *BatchUpdateIntentsRequest) GetIntentBatchInline() *IntentBatch

func (*BatchUpdateIntentsRequest) GetIntentBatchUri

func (x *BatchUpdateIntentsRequest) GetIntentBatchUri() string

func (*BatchUpdateIntentsRequest) GetIntentView

func (x *BatchUpdateIntentsRequest) GetIntentView() IntentView

func (*BatchUpdateIntentsRequest) GetLanguageCode

func (x *BatchUpdateIntentsRequest) GetLanguageCode() string

func (*BatchUpdateIntentsRequest) GetParent

func (x *BatchUpdateIntentsRequest) GetParent() string

func (*BatchUpdateIntentsRequest) GetUpdateMask

func (x *BatchUpdateIntentsRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*BatchUpdateIntentsRequest) ProtoMessage

func (*BatchUpdateIntentsRequest) ProtoMessage()

func (*BatchUpdateIntentsRequest) ProtoReflect

func (*BatchUpdateIntentsRequest) Reset

func (x *BatchUpdateIntentsRequest) Reset()

func (*BatchUpdateIntentsRequest) String

func (x *BatchUpdateIntentsRequest) String() string

BatchUpdateIntentsRequest_IntentBatchInline

type BatchUpdateIntentsRequest_IntentBatchInline struct {
	// The collection of intents to update or create.
	IntentBatchInline *IntentBatch `protobuf:"bytes,3,opt,name=intent_batch_inline,json=intentBatchInline,proto3,oneof"`
}

BatchUpdateIntentsRequest_IntentBatchUri

type BatchUpdateIntentsRequest_IntentBatchUri struct {
	// The URI to a Google Cloud Storage file containing intents to update or
	// create. The file format can either be a serialized proto (of IntentBatch
	// type) or JSON object. Note: The URI must start with "gs://".
	IntentBatchUri string `protobuf:"bytes,2,opt,name=intent_batch_uri,json=intentBatchUri,proto3,oneof"`
}

BatchUpdateIntentsResponse

type BatchUpdateIntentsResponse struct {

	// The collection of updated or created intents.
	Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"`
	// contains filtered or unexported fields
}

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

func (*BatchUpdateIntentsResponse) Descriptor

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

Deprecated: Use BatchUpdateIntentsResponse.ProtoReflect.Descriptor instead.

func (*BatchUpdateIntentsResponse) GetIntents

func (x *BatchUpdateIntentsResponse) GetIntents() []*Intent

func (*BatchUpdateIntentsResponse) ProtoMessage

func (*BatchUpdateIntentsResponse) ProtoMessage()

func (*BatchUpdateIntentsResponse) ProtoReflect

func (*BatchUpdateIntentsResponse) Reset

func (x *BatchUpdateIntentsResponse) Reset()

func (*BatchUpdateIntentsResponse) String

func (x *BatchUpdateIntentsResponse) String() string

ClearSuggestionFeatureConfigOperationMetadata

type ClearSuggestionFeatureConfigOperationMetadata struct {
	ConversationProfile string `protobuf:"bytes,1,opt,name=conversation_profile,json=conversationProfile,proto3" json:"conversation_profile,omitempty"`

	ParticipantRole Participant_Role "" /* 161 byte string literal not displayed */

	SuggestionFeatureType SuggestionFeature_Type "" /* 187 byte string literal not displayed */

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

}

Metadata for a [ConversationProfile.ClearSuggestionFeatureConfig][] operation.

func (*ClearSuggestionFeatureConfigOperationMetadata) Descriptor

Deprecated: Use ClearSuggestionFeatureConfigOperationMetadata.ProtoReflect.Descriptor instead.

func (*ClearSuggestionFeatureConfigOperationMetadata) GetConversationProfile

func (x *ClearSuggestionFeatureConfigOperationMetadata) GetConversationProfile() string

func (*ClearSuggestionFeatureConfigOperationMetadata) GetCreateTime

func (*ClearSuggestionFeatureConfigOperationMetadata) GetParticipantRole

func (*ClearSuggestionFeatureConfigOperationMetadata) GetSuggestionFeatureType

func (*ClearSuggestionFeatureConfigOperationMetadata) ProtoMessage

func (*ClearSuggestionFeatureConfigOperationMetadata) ProtoReflect

func (*ClearSuggestionFeatureConfigOperationMetadata) Reset

func (*ClearSuggestionFeatureConfigOperationMetadata) String

ClearSuggestionFeatureConfigRequest

type ClearSuggestionFeatureConfigRequest struct {
	ConversationProfile string `protobuf:"bytes,1,opt,name=conversation_profile,json=conversationProfile,proto3" json:"conversation_profile,omitempty"`

	ParticipantRole Participant_Role "" /* 161 byte string literal not displayed */

	SuggestionFeatureType SuggestionFeature_Type "" /* 187 byte string literal not displayed */

}

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

func (*ClearSuggestionFeatureConfigRequest) Descriptor

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

Deprecated: Use ClearSuggestionFeatureConfigRequest.ProtoReflect.Descriptor instead.

func (*ClearSuggestionFeatureConfigRequest) GetConversationProfile

func (x *ClearSuggestionFeatureConfigRequest) GetConversationProfile() string