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

func (*ClearSuggestionFeatureConfigRequest) GetParticipantRole

func (x *ClearSuggestionFeatureConfigRequest) GetParticipantRole() Participant_Role

func (*ClearSuggestionFeatureConfigRequest) GetSuggestionFeatureType

func (x *ClearSuggestionFeatureConfigRequest) GetSuggestionFeatureType() SuggestionFeature_Type

func (*ClearSuggestionFeatureConfigRequest) ProtoMessage

func (*ClearSuggestionFeatureConfigRequest) ProtoMessage()

func (*ClearSuggestionFeatureConfigRequest) ProtoReflect

func (*ClearSuggestionFeatureConfigRequest) Reset

func (*ClearSuggestionFeatureConfigRequest) String

CompileSuggestionRequest (deprecated)

type CompileSuggestionRequest struct {

	// Required. The name of the participant to fetch suggestion for.
	// Format: `projects/

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

Deprecated: Do not use.

func (*CompileSuggestionRequest) Descriptor (deprecated)

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

Deprecated: Use CompileSuggestionRequest.ProtoReflect.Descriptor instead.

func (*CompileSuggestionRequest) GetContextSize (deprecated)

func (x *CompileSuggestionRequest) GetContextSize() int32

func (*CompileSuggestionRequest) GetLatestMessage (deprecated)

func (x *CompileSuggestionRequest) GetLatestMessage() string

func (*CompileSuggestionRequest) GetParent (deprecated)

func (x *CompileSuggestionRequest) GetParent() string

func (*CompileSuggestionRequest) ProtoMessage (deprecated)

func (*CompileSuggestionRequest) ProtoMessage()

func (*CompileSuggestionRequest) ProtoReflect (deprecated)

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

func (*CompileSuggestionRequest) Reset (deprecated)

func (x *CompileSuggestionRequest) Reset()

func (*CompileSuggestionRequest) String (deprecated)

func (x *CompileSuggestionRequest) String() string

CompileSuggestionResponse (deprecated)

type CompileSuggestionResponse struct {

	// The compiled suggestion.
	Suggestion *Suggestion `protobuf:"bytes,1,opt,name=suggestion,proto3" json:"suggestion,omitempty"`
	// The name of the latest conversation message used to compile
	// suggestion for.
	//
	// Format: `projects/

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

Deprecated: Do not use.

func (*CompileSuggestionResponse) Descriptor (deprecated)

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

Deprecated: Use CompileSuggestionResponse.ProtoReflect.Descriptor instead.

func (*CompileSuggestionResponse) GetContextSize (deprecated)

func (x *CompileSuggestionResponse) GetContextSize() int32

func (*CompileSuggestionResponse) GetLatestMessage (deprecated)

func (x *CompileSuggestionResponse) GetLatestMessage() string

func (*CompileSuggestionResponse) GetSuggestion (deprecated)

func (x *CompileSuggestionResponse) GetSuggestion() *Suggestion

func (*CompileSuggestionResponse) ProtoMessage (deprecated)

func (*CompileSuggestionResponse) ProtoMessage()

func (*CompileSuggestionResponse) ProtoReflect (deprecated)

func (*CompileSuggestionResponse) Reset (deprecated)

func (x *CompileSuggestionResponse) Reset()

func (*CompileSuggestionResponse) String (deprecated)

func (x *CompileSuggestionResponse) String() string

CompleteConversationRequest

type CompleteConversationRequest struct {

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

The request message for [Conversations.CompleteConversation][google.cloud.dialogflow.v2beta1.Conversations.CompleteConversation].

func (*CompleteConversationRequest) Descriptor

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

Deprecated: Use CompleteConversationRequest.ProtoReflect.Descriptor instead.

func (*CompleteConversationRequest) GetName

func (x *CompleteConversationRequest) GetName() string

func (*CompleteConversationRequest) ProtoMessage

func (*CompleteConversationRequest) ProtoMessage()

func (*CompleteConversationRequest) ProtoReflect

func (*CompleteConversationRequest) Reset

func (x *CompleteConversationRequest) Reset()

func (*CompleteConversationRequest) String

func (x *CompleteConversationRequest) String() string

Context

type Context struct {

	// Required. The unique identifier of the context. Supported formats:
	//   - `projects/

Dialogflow contexts are similar to natural language context. If a person says to you "they are orange", you need context in order to understand what "they" is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent.

Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts.

For more information about context, see the Contexts guide.

func (*Context) Descriptor

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

Deprecated: Use Context.ProtoReflect.Descriptor instead.

func (*Context) GetLifespanCount

func (x *Context) GetLifespanCount() int32

func (*Context) GetName

func (x *Context) GetName() string

func (*Context) GetParameters

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

func (*Context) ProtoMessage

func (*Context) ProtoMessage()

func (*Context) ProtoReflect

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

func (*Context) Reset

func (x *Context) Reset()

func (*Context) String

func (x *Context) String() string

ContextsClient

type ContextsClient interface {
	// Returns the list of all contexts in the specified session.
	ListContexts(ctx context.Context, in *ListContextsRequest, opts ...grpc.CallOption) (*ListContextsResponse, error)
	// Retrieves the specified context.
	GetContext(ctx context.Context, in *GetContextRequest, opts ...grpc.CallOption) (*Context, error)
	// Creates a context.
	//
	// If the specified context already exists, overrides the context.
	CreateContext(ctx context.Context, in *CreateContextRequest, opts ...grpc.CallOption) (*Context, error)
	// Updates the specified context.
	UpdateContext(ctx context.Context, in *UpdateContextRequest, opts ...grpc.CallOption) (*Context, error)
	// Deletes the specified context.
	DeleteContext(ctx context.Context, in *DeleteContextRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Deletes all active contexts in the specified session.
	DeleteAllContexts(ctx context.Context, in *DeleteAllContextsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

ContextsClient is the client API for Contexts service.

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

func NewContextsClient

func NewContextsClient(cc grpc.ClientConnInterface) ContextsClient

ContextsServer

type ContextsServer interface {
	// Returns the list of all contexts in the specified session.
	ListContexts(context.Context, *ListContextsRequest) (*ListContextsResponse, error)
	// Retrieves the specified context.
	GetContext(context.Context, *GetContextRequest) (*Context, error)
	// Creates a context.
	//
	// If the specified context already exists, overrides the context.
	CreateContext(context.Context, *CreateContextRequest) (*Context, error)
	// Updates the specified context.
	UpdateContext(context.Context, *UpdateContextRequest) (*Context, error)
	// Deletes the specified context.
	DeleteContext(context.Context, *DeleteContextRequest) (*emptypb.Empty, error)
	// Deletes all active contexts in the specified session.
	DeleteAllContexts(context.Context, *DeleteAllContextsRequest) (*emptypb.Empty, error)
}

ContextsServer is the server API for Contexts service.

Conversation

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

	LifecycleState Conversation_LifecycleState "" /* 169 byte string literal not displayed */

	ConversationProfile string `protobuf:"bytes,3,opt,name=conversation_profile,json=conversationProfile,proto3" json:"conversation_profile,omitempty"`

	PhoneNumber *ConversationPhoneNumber `protobuf:"bytes,4,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`

	ConversationStage Conversation_ConversationStage "" /* 181 byte string literal not displayed */

	StartTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`

	EndTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`

}

Represents a conversation. A conversation is an interaction between an agent, including live agents and Dialogflow agents, and a support customer. Conversations can include phone calls and text-based chat sessions.

func (*Conversation) Descriptor

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

Deprecated: Use Conversation.ProtoReflect.Descriptor instead.

func (*Conversation) GetConversationProfile

func (x *Conversation) GetConversationProfile() string

func (*Conversation) GetConversationStage

func (x *Conversation) GetConversationStage() Conversation_ConversationStage

func (*Conversation) GetEndTime

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

func (*Conversation) GetLifecycleState

func (x *Conversation) GetLifecycleState() Conversation_LifecycleState

func (*Conversation) GetName

func (x *Conversation) GetName() string

func (*Conversation) GetPhoneNumber

func (x *Conversation) GetPhoneNumber() *ConversationPhoneNumber

func (*Conversation) GetStartTime

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

func (*Conversation) ProtoMessage

func (*Conversation) ProtoMessage()

func (*Conversation) ProtoReflect

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

func (*Conversation) Reset

func (x *Conversation) Reset()

func (*Conversation) String

func (x *Conversation) String() string

ConversationEvent

type ConversationEvent struct {

	// Required. The unique identifier of the conversation this notification
	// refers to.
	// Format: `projects/

Represents a notification sent to Pub/Sub subscribers for conversation lifecycle events.

func (*ConversationEvent) Descriptor

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

Deprecated: Use ConversationEvent.ProtoReflect.Descriptor instead.

func (*ConversationEvent) GetConversation

func (x *ConversationEvent) GetConversation() string

func (*ConversationEvent) GetErrorStatus

func (x *ConversationEvent) GetErrorStatus() *status.Status

func (*ConversationEvent) GetNewMessagePayload

func (x *ConversationEvent) GetNewMessagePayload() *Message

func (*ConversationEvent) GetPayload

func (m *ConversationEvent) GetPayload() isConversationEvent_Payload

func (*ConversationEvent) GetType

func (*ConversationEvent) ProtoMessage

func (*ConversationEvent) ProtoMessage()

func (*ConversationEvent) ProtoReflect

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

func (*ConversationEvent) Reset

func (x *ConversationEvent) Reset()

func (*ConversationEvent) String

func (x *ConversationEvent) String() string

ConversationEvent_NewMessagePayload

type ConversationEvent_NewMessagePayload struct {
	// Payload of NEW_MESSAGE event.
	NewMessagePayload *Message `protobuf:"bytes,4,opt,name=new_message_payload,json=newMessagePayload,proto3,oneof"`
}

ConversationEvent_Type

type ConversationEvent_Type int32

Enumeration of the types of events available.

ConversationEvent_TYPE_UNSPECIFIED, ConversationEvent_CONVERSATION_STARTED, ConversationEvent_CONVERSATION_FINISHED, ConversationEvent_HUMAN_INTERVENTION_NEEDED, ConversationEvent_NEW_MESSAGE, ConversationEvent_UNRECOVERABLE_ERROR

const (
	// Type not set.
	ConversationEvent_TYPE_UNSPECIFIED ConversationEvent_Type = 0
	// A new conversation has been opened. This is fired when a telephone call
	// is answered, or a conversation is created via the API.
	ConversationEvent_CONVERSATION_STARTED ConversationEvent_Type = 1
	// An existing conversation has closed. This is fired when a telephone call
	// is terminated, or a conversation is closed via the API.
	ConversationEvent_CONVERSATION_FINISHED ConversationEvent_Type = 2
	// An existing conversation has received notification from Dialogflow that
	// human intervention is required.
	ConversationEvent_HUMAN_INTERVENTION_NEEDED ConversationEvent_Type = 3
	// An existing conversation has received a new message, either from API or
	// telephony. It is configured in
	// [ConversationProfile.new_message_event_notification_config][google.cloud.dialogflow.v2beta1.ConversationProfile.new_message_event_notification_config]
	ConversationEvent_NEW_MESSAGE ConversationEvent_Type = 5
	// Unrecoverable error during a telephone call.
	//
	// In general non-recoverable errors only occur if something was
	// misconfigured in the ConversationProfile corresponding to the call. After
	// a non-recoverable error, Dialogflow may stop responding.
	//
	// We don't fire this event:
	//
	// * in an API call because we can directly return the error, or,
	// * when we can recover from an error.
	ConversationEvent_UNRECOVERABLE_ERROR ConversationEvent_Type = 4
)

func (ConversationEvent_Type) Descriptor

func (ConversationEvent_Type) Enum

func (ConversationEvent_Type) EnumDescriptor

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

Deprecated: Use ConversationEvent_Type.Descriptor instead.

func (ConversationEvent_Type) Number

func (ConversationEvent_Type) String

func (x ConversationEvent_Type) String() string

func (ConversationEvent_Type) Type

ConversationPhoneNumber

type ConversationPhoneNumber struct {

	// Output only. The phone number to connect to this conversation.
	PhoneNumber string `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	// contains filtered or unexported fields
}

Represents a phone number for telephony integration. It allows for connecting a particular conversation over telephony.

func (*ConversationPhoneNumber) Descriptor

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

Deprecated: Use ConversationPhoneNumber.ProtoReflect.Descriptor instead.

func (*ConversationPhoneNumber) GetPhoneNumber

func (x *ConversationPhoneNumber) GetPhoneNumber() string

func (*ConversationPhoneNumber) ProtoMessage

func (*ConversationPhoneNumber) ProtoMessage()

func (*ConversationPhoneNumber) ProtoReflect

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

func (*ConversationPhoneNumber) Reset

func (x *ConversationPhoneNumber) Reset()

func (*ConversationPhoneNumber) String

func (x *ConversationPhoneNumber) String() string

ConversationProfile

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

	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

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

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	AutomatedAgentConfig *AutomatedAgentConfig `protobuf:"bytes,3,opt,name=automated_agent_config,json=automatedAgentConfig,proto3" json:"automated_agent_config,omitempty"`

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

	HumanAgentHandoffConfig *HumanAgentHandoffConfig "" /* 134 byte string literal not displayed */

	NotificationConfig *NotificationConfig `protobuf:"bytes,6,opt,name=notification_config,json=notificationConfig,proto3" json:"notification_config,omitempty"`

	LoggingConfig *LoggingConfig `protobuf:"bytes,7,opt,name=logging_config,json=loggingConfig,proto3" json:"logging_config,omitempty"`

	NewMessageEventNotificationConfig *NotificationConfig "" /* 166 byte string literal not displayed */

	SttConfig *SpeechToTextConfig `protobuf:"bytes,9,opt,name=stt_config,json=sttConfig,proto3" json:"stt_config,omitempty"`

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

	TimeZone string `protobuf:"bytes,14,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`

	SecuritySettings string `protobuf:"bytes,13,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"`

}

Defines the services to connect to incoming Dialogflow conversations.

func (*ConversationProfile) Descriptor

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

Deprecated: Use ConversationProfile.ProtoReflect.Descriptor instead.

func (*ConversationProfile) GetAutomatedAgentConfig

func (x *ConversationProfile) GetAutomatedAgentConfig() *AutomatedAgentConfig

func (*ConversationProfile) GetCreateTime

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

func (*ConversationProfile) GetDisplayName

func (x *ConversationProfile) GetDisplayName() string

func (*ConversationProfile) GetHumanAgentAssistantConfig

func (x *ConversationProfile) GetHumanAgentAssistantConfig() *HumanAgentAssistantConfig

func (*ConversationProfile) GetHumanAgentHandoffConfig

func (x *ConversationProfile) GetHumanAgentHandoffConfig() *HumanAgentHandoffConfig

func (*ConversationProfile) GetLanguageCode

func (x *ConversationProfile) GetLanguageCode() string

func (*ConversationProfile) GetLoggingConfig

func (x *ConversationProfile) GetLoggingConfig() *LoggingConfig

func (*ConversationProfile) GetName

func (x *ConversationProfile) GetName() string

func (*ConversationProfile) GetNewMessageEventNotificationConfig

func (x *ConversationProfile) GetNewMessageEventNotificationConfig() *NotificationConfig

func (*ConversationProfile) GetNotificationConfig

func (x *ConversationProfile) GetNotificationConfig() *NotificationConfig

func (*ConversationProfile) GetSecuritySettings

func (x *ConversationProfile) GetSecuritySettings() string

func (*ConversationProfile) GetSttConfig

func (x *ConversationProfile) GetSttConfig() *SpeechToTextConfig

func (*ConversationProfile) GetTimeZone

func (x *ConversationProfile) GetTimeZone() string

func (*ConversationProfile) GetUpdateTime

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

func (*ConversationProfile) ProtoMessage

func (*ConversationProfile) ProtoMessage()

func (*ConversationProfile) ProtoReflect

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

func (*ConversationProfile) Reset

func (x *ConversationProfile) Reset()

func (*ConversationProfile) String

func (x *ConversationProfile) String() string

ConversationProfilesClient

type ConversationProfilesClient interface {
	// Returns the list of all conversation profiles in the specified project.
	ListConversationProfiles(ctx context.Context, in *ListConversationProfilesRequest, opts ...grpc.CallOption) (*ListConversationProfilesResponse, error)
	// Retrieves the specified conversation profile.
	GetConversationProfile(ctx context.Context, in *GetConversationProfileRequest, opts ...grpc.CallOption) (*ConversationProfile, error)
	// Creates a conversation profile in the specified project.
	//
	// [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][]
	// aren't populated in the response. You can retrieve them via
	// [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile]
	// API.
	CreateConversationProfile(ctx context.Context, in *CreateConversationProfileRequest, opts ...grpc.CallOption) (*ConversationProfile, error)
	// Updates the specified conversation profile.
	//
	// [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][]
	// aren't populated in the response. You can retrieve them via
	// [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile]
	// API.
	UpdateConversationProfile(ctx context.Context, in *UpdateConversationProfileRequest, opts ...grpc.CallOption) (*ConversationProfile, error)
	// Deletes the specified conversation profile.
	DeleteConversationProfile(ctx context.Context, in *DeleteConversationProfileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Adds or updates a suggestion feature in a conversation profile.
	// If the conversation profile contains the type of suggestion feature for
	// the participant role, it will update it. Otherwise it will insert the
	// suggestion feature.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	// - `metadata`:
	// [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata]
	// - `response`:
	// [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile]
	//
	// If a long running operation to add or update suggestion feature
	// config for the same conversation profile, participant role and suggestion
	// feature type exists, please cancel the existing long running operation
	// before sending such request, otherwise the request will be rejected.
	SetSuggestionFeatureConfig(ctx context.Context, in *SetSuggestionFeatureConfigRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Clears a suggestion feature from a conversation profile for the given
	// participant role.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	// - `metadata`:
	// [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata]
	// - `response`:
	// [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile]
	ClearSuggestionFeatureConfig(ctx context.Context, in *ClearSuggestionFeatureConfigRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

ConversationProfilesClient is the client API for ConversationProfiles service.

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

func NewConversationProfilesClient

func NewConversationProfilesClient(cc grpc.ClientConnInterface) ConversationProfilesClient

ConversationProfilesServer

type ConversationProfilesServer interface {
	// Returns the list of all conversation profiles in the specified project.
	ListConversationProfiles(context.Context, *ListConversationProfilesRequest) (*ListConversationProfilesResponse, error)
	// Retrieves the specified conversation profile.
	GetConversationProfile(context.Context, *GetConversationProfileRequest) (*ConversationProfile, error)
	// Creates a conversation profile in the specified project.
	//
	// [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][]
	// aren't populated in the response. You can retrieve them via
	// [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile]
	// API.
	CreateConversationProfile(context.Context, *CreateConversationProfileRequest) (*ConversationProfile, error)
	// Updates the specified conversation profile.
	//
	// [ConversationProfile.CreateTime][] and [ConversationProfile.UpdateTime][]
	// aren't populated in the response. You can retrieve them via
	// [GetConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.GetConversationProfile]
	// API.
	UpdateConversationProfile(context.Context, *UpdateConversationProfileRequest) (*ConversationProfile, error)
	// Deletes the specified conversation profile.
	DeleteConversationProfile(context.Context, *DeleteConversationProfileRequest) (*emptypb.Empty, error)
	// Adds or updates a suggestion feature in a conversation profile.
	// If the conversation profile contains the type of suggestion feature for
	// the participant role, it will update it. Otherwise it will insert the
	// suggestion feature.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	// - `metadata`:
	// [SetSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata]
	// - `response`:
	// [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile]
	//
	// If a long running operation to add or update suggestion feature
	// config for the same conversation profile, participant role and suggestion
	// feature type exists, please cancel the existing long running operation
	// before sending such request, otherwise the request will be rejected.
	SetSuggestionFeatureConfig(context.Context, *SetSuggestionFeatureConfigRequest) (*longrunning.Operation, error)
	// Clears a suggestion feature from a conversation profile for the given
	// participant role.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	// - `metadata`:
	// [ClearSuggestionFeatureConfigOperationMetadata][google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata]
	// - `response`:
	// [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile]
	ClearSuggestionFeatureConfig(context.Context, *ClearSuggestionFeatureConfigRequest) (*longrunning.Operation, error)
}

ConversationProfilesServer is the server API for ConversationProfiles service.

Conversation_ConversationStage

type Conversation_ConversationStage int32

Enumeration of the different conversation stages a conversation can be in. Reference: https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages

Conversation_CONVERSATION_STAGE_UNSPECIFIED, Conversation_VIRTUAL_AGENT_STAGE, Conversation_HUMAN_ASSIST_STAGE

const (
	// Unknown. Should never be used after a conversation is successfully
	// created.
	Conversation_CONVERSATION_STAGE_UNSPECIFIED Conversation_ConversationStage = 0
	// The conversation should return virtual agent responses into the
	// conversation.
	Conversation_VIRTUAL_AGENT_STAGE Conversation_ConversationStage = 1
	// The conversation should not provide responses, just listen and provide
	// suggestions.
	Conversation_HUMAN_ASSIST_STAGE Conversation_ConversationStage = 2
)

func (Conversation_ConversationStage) Descriptor

func (Conversation_ConversationStage) Enum

func (Conversation_ConversationStage) EnumDescriptor

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

Deprecated: Use Conversation_ConversationStage.Descriptor instead.

func (Conversation_ConversationStage) Number

func (Conversation_ConversationStage) String

func (Conversation_ConversationStage) Type

Conversation_LifecycleState

type Conversation_LifecycleState int32

Enumeration of the completion status of the conversation.

Conversation_LIFECYCLE_STATE_UNSPECIFIED, Conversation_IN_PROGRESS, Conversation_COMPLETED

const (
	// Unknown.
	Conversation_LIFECYCLE_STATE_UNSPECIFIED Conversation_LifecycleState = 0
	// Conversation is currently open for media analysis.
	Conversation_IN_PROGRESS Conversation_LifecycleState = 1
	// Conversation has been completed.
	Conversation_COMPLETED Conversation_LifecycleState = 2
)

func (Conversation_LifecycleState) Descriptor

func (Conversation_LifecycleState) Enum

func (Conversation_LifecycleState) EnumDescriptor

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

Deprecated: Use Conversation_LifecycleState.Descriptor instead.

func (Conversation_LifecycleState) Number

func (Conversation_LifecycleState) String

func (Conversation_LifecycleState) Type

ConversationsClient

type ConversationsClient interface {
	// Creates a new conversation. Conversations are auto-completed after 24
	// hours.
	//
	// Conversation Lifecycle:
	// There are two stages during a conversation: Automated Agent Stage and
	// Assist Stage.
	//
	// For Automated Agent Stage, there will be a dialogflow agent responding to
	// user queries.
	//
	// For Assist Stage, there's no dialogflow agent responding to user queries.
	// But we will provide suggestions which are generated from conversation.
	//
	// If
	// [Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile]
	// is configured for a dialogflow agent, conversation will start from
	// `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And
	// during `Automated Agent Stage`, once an
	// [Intent][google.cloud.dialogflow.v2beta1.Intent] with
	// [Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff]
	// is triggered, conversation will transfer to Assist Stage.
	CreateConversation(ctx context.Context, in *CreateConversationRequest, opts ...grpc.CallOption) (*Conversation, error)
	// Returns the list of all conversations in the specified project.
	ListConversations(ctx context.Context, in *ListConversationsRequest, opts ...grpc.CallOption) (*ListConversationsResponse, error)
	// Retrieves the specific conversation.
	GetConversation(ctx context.Context, in *GetConversationRequest, opts ...grpc.CallOption) (*Conversation, error)
	// Completes the specified conversation. Finished conversations are purged
	// from the database after 30 days.
	CompleteConversation(ctx context.Context, in *CompleteConversationRequest, opts ...grpc.CallOption) (*Conversation, error)
	// Batch ingests messages to conversation. Customers can use this RPC to
	// ingest historical messages to conversation.
	BatchCreateMessages(ctx context.Context, in *BatchCreateMessagesRequest, opts ...grpc.CallOption) (*BatchCreateMessagesResponse, error)
	// Lists messages that belong to a given conversation.
	// `messages` are ordered by `create_time` in descending order. To fetch
	// updates without duplication, send request with filter
	// `create_time_epoch_microseconds >
	// [first item's create_time of previous request]` and empty page_token.
	ListMessages(ctx context.Context, in *ListMessagesRequest, opts ...grpc.CallOption) (*ListMessagesResponse, error)
	// Suggest summary for a conversation based on specific historical messages.
	// The range of the messages to be used for summary can be specified in the
	// request.
	SuggestConversationSummary(ctx context.Context, in *SuggestConversationSummaryRequest, opts ...grpc.CallOption) (*SuggestConversationSummaryResponse, error)
}

ConversationsClient is the client API for Conversations service.

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

func NewConversationsClient

func NewConversationsClient(cc grpc.ClientConnInterface) ConversationsClient

ConversationsServer

type ConversationsServer interface {
	// Creates a new conversation. Conversations are auto-completed after 24
	// hours.
	//
	// Conversation Lifecycle:
	// There are two stages during a conversation: Automated Agent Stage and
	// Assist Stage.
	//
	// For Automated Agent Stage, there will be a dialogflow agent responding to
	// user queries.
	//
	// For Assist Stage, there's no dialogflow agent responding to user queries.
	// But we will provide suggestions which are generated from conversation.
	//
	// If
	// [Conversation.conversation_profile][google.cloud.dialogflow.v2beta1.Conversation.conversation_profile]
	// is configured for a dialogflow agent, conversation will start from
	// `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And
	// during `Automated Agent Stage`, once an
	// [Intent][google.cloud.dialogflow.v2beta1.Intent] with
	// [Intent.live_agent_handoff][google.cloud.dialogflow.v2beta1.Intent.live_agent_handoff]
	// is triggered, conversation will transfer to Assist Stage.
	CreateConversation(context.Context, *CreateConversationRequest) (*Conversation, error)
	// Returns the list of all conversations in the specified project.
	ListConversations(context.Context, *ListConversationsRequest) (*ListConversationsResponse, error)
	// Retrieves the specific conversation.
	GetConversation(context.Context, *GetConversationRequest) (*Conversation, error)
	// Completes the specified conversation. Finished conversations are purged
	// from the database after 30 days.
	CompleteConversation(context.Context, *CompleteConversationRequest) (*Conversation, error)
	// Batch ingests messages to conversation. Customers can use this RPC to
	// ingest historical messages to conversation.
	BatchCreateMessages(context.Context, *BatchCreateMessagesRequest) (*BatchCreateMessagesResponse, error)
	// Lists messages that belong to a given conversation.
	// `messages` are ordered by `create_time` in descending order. To fetch
	// updates without duplication, send request with filter
	// `create_time_epoch_microseconds >
	// [first item's create_time of previous request]` and empty page_token.
	ListMessages(context.Context, *ListMessagesRequest) (*ListMessagesResponse, error)
	// Suggest summary for a conversation based on specific historical messages.
	// The range of the messages to be used for summary can be specified in the
	// request.
	SuggestConversationSummary(context.Context, *SuggestConversationSummaryRequest) (*SuggestConversationSummaryResponse, error)
}

ConversationsServer is the server API for Conversations service.

CreateContextRequest

type CreateContextRequest struct {

	// Required. The session to create a context for. Supported formats:
	//   - `projects/

The request message for [Contexts.CreateContext][google.cloud.dialogflow.v2beta1.Contexts.CreateContext].

func (*CreateContextRequest) Descriptor

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

Deprecated: Use CreateContextRequest.ProtoReflect.Descriptor instead.

func (*CreateContextRequest) GetContext

func (x *CreateContextRequest) GetContext() *Context

func (*CreateContextRequest) GetParent

func (x *CreateContextRequest) GetParent() string

func (*CreateContextRequest) ProtoMessage

func (*CreateContextRequest) ProtoMessage()

func (*CreateContextRequest) ProtoReflect

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

func (*CreateContextRequest) Reset

func (x *CreateContextRequest) Reset()

func (*CreateContextRequest) String

func (x *CreateContextRequest) String() string

CreateConversationProfileRequest

type CreateConversationProfileRequest struct {

	// Required. The project to create a conversation profile for.
	// Format: `projects/

The request message for [ConversationProfiles.CreateConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.CreateConversationProfile].

func (*CreateConversationProfileRequest) Descriptor

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

Deprecated: Use CreateConversationProfileRequest.ProtoReflect.Descriptor instead.

func (*CreateConversationProfileRequest) GetConversationProfile

func (x *CreateConversationProfileRequest) GetConversationProfile() *ConversationProfile

func (*CreateConversationProfileRequest) GetParent

func (*CreateConversationProfileRequest) ProtoMessage

func (*CreateConversationProfileRequest) ProtoMessage()

func (*CreateConversationProfileRequest) ProtoReflect

func (*CreateConversationProfileRequest) Reset

func (*CreateConversationProfileRequest) String

CreateConversationRequest

type CreateConversationRequest struct {

	// Required. Resource identifier of the project creating the conversation.
	// Format: `projects/

The request message for [Conversations.CreateConversation][google.cloud.dialogflow.v2beta1.Conversations.CreateConversation].

func (*CreateConversationRequest) Descriptor

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

Deprecated: Use CreateConversationRequest.ProtoReflect.Descriptor instead.

func (*CreateConversationRequest) GetConversation

func (x *CreateConversationRequest) GetConversation() *Conversation

func (*CreateConversationRequest) GetConversationId

func (x *CreateConversationRequest) GetConversationId() string

func (*CreateConversationRequest) GetParent

func (x *CreateConversationRequest) GetParent() string

func (*CreateConversationRequest) ProtoMessage

func (*CreateConversationRequest) ProtoMessage()

func (*CreateConversationRequest) ProtoReflect

func (*CreateConversationRequest) Reset

func (x *CreateConversationRequest) Reset()

func (*CreateConversationRequest) String

func (x *CreateConversationRequest) String() string

CreateDocumentRequest

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

	Document *Document `protobuf:"bytes,2,opt,name=document,proto3" json:"document,omitempty"`

	ImportGcsCustomMetadata bool "" /* 135 byte string literal not displayed */

}

Request message for [Documents.CreateDocument][google.cloud.dialogflow.v2beta1.Documents.CreateDocument].

func (*CreateDocumentRequest) Descriptor

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

Deprecated: Use CreateDocumentRequest.ProtoReflect.Descriptor instead.

func (*CreateDocumentRequest) GetDocument

func (x *CreateDocumentRequest) GetDocument() *Document

func (*CreateDocumentRequest) GetImportGcsCustomMetadata

func (x *CreateDocumentRequest) GetImportGcsCustomMetadata() bool

func (*CreateDocumentRequest) GetParent

func (x *CreateDocumentRequest) GetParent() string

func (*CreateDocumentRequest) ProtoMessage

func (*CreateDocumentRequest) ProtoMessage()

func (*CreateDocumentRequest) ProtoReflect

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

func (*CreateDocumentRequest) Reset

func (x *CreateDocumentRequest) Reset()

func (*CreateDocumentRequest) String

func (x *CreateDocumentRequest) String() string

CreateEntityTypeRequest

type CreateEntityTypeRequest struct {

	// Required. The agent to create a entity type for.
	// Supported formats:
	// - `projects/

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

func (*CreateEntityTypeRequest) Descriptor

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

Deprecated: Use CreateEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*CreateEntityTypeRequest) GetEntityType

func (x *CreateEntityTypeRequest) GetEntityType() *EntityType

func (*CreateEntityTypeRequest) GetLanguageCode

func (x *CreateEntityTypeRequest) GetLanguageCode() string

func (*CreateEntityTypeRequest) GetParent

func (x *CreateEntityTypeRequest) GetParent() string

func (*CreateEntityTypeRequest) ProtoMessage

func (*CreateEntityTypeRequest) ProtoMessage()

func (*CreateEntityTypeRequest) ProtoReflect

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

func (*CreateEntityTypeRequest) Reset

func (x *CreateEntityTypeRequest) Reset()

func (*CreateEntityTypeRequest) String

func (x *CreateEntityTypeRequest) String() string

CreateEnvironmentRequest

type CreateEnvironmentRequest struct {

	// Required. The agent to create an environment for.
	// Supported formats:
	// - `projects/

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

func (*CreateEnvironmentRequest) Descriptor

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

Deprecated: Use CreateEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*CreateEnvironmentRequest) GetEnvironment

func (x *CreateEnvironmentRequest) GetEnvironment() *Environment

func (*CreateEnvironmentRequest) GetEnvironmentId

func (x *CreateEnvironmentRequest) GetEnvironmentId() string

func (*CreateEnvironmentRequest) GetParent

func (x *CreateEnvironmentRequest) GetParent() string

func (*CreateEnvironmentRequest) ProtoMessage

func (*CreateEnvironmentRequest) ProtoMessage()

func (*CreateEnvironmentRequest) ProtoReflect

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

func (*CreateEnvironmentRequest) Reset

func (x *CreateEnvironmentRequest) Reset()

func (*CreateEnvironmentRequest) String

func (x *CreateEnvironmentRequest) String() string

CreateIntentRequest

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

	Intent *Intent `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"`

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

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

}

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

func (*CreateIntentRequest) Descriptor

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

Deprecated: Use CreateIntentRequest.ProtoReflect.Descriptor instead.

func (*CreateIntentRequest) GetIntent

func (x *CreateIntentRequest) GetIntent() *Intent

func (*CreateIntentRequest) GetIntentView

func (x *CreateIntentRequest) GetIntentView() IntentView

func (*CreateIntentRequest) GetLanguageCode

func (x *CreateIntentRequest) GetLanguageCode() string

func (*CreateIntentRequest) GetParent

func (x *CreateIntentRequest) GetParent() string

func (*CreateIntentRequest) ProtoMessage

func (*CreateIntentRequest) ProtoMessage()

func (*CreateIntentRequest) ProtoReflect

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

func (*CreateIntentRequest) Reset

func (x *CreateIntentRequest) Reset()

func (*CreateIntentRequest) String

func (x *CreateIntentRequest) String() string

CreateKnowledgeBaseRequest

type CreateKnowledgeBaseRequest struct {

	// Required. The project to create a knowledge base for.
	// Format: `projects/

Request message for [KnowledgeBases.CreateKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.CreateKnowledgeBase].

func (*CreateKnowledgeBaseRequest) Descriptor

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

Deprecated: Use CreateKnowledgeBaseRequest.ProtoReflect.Descriptor instead.

func (*CreateKnowledgeBaseRequest) GetKnowledgeBase

func (x *CreateKnowledgeBaseRequest) GetKnowledgeBase() *KnowledgeBase

func (*CreateKnowledgeBaseRequest) GetParent

func (x *CreateKnowledgeBaseRequest) GetParent() string

func (*CreateKnowledgeBaseRequest) ProtoMessage

func (*CreateKnowledgeBaseRequest) ProtoMessage()

func (*CreateKnowledgeBaseRequest) ProtoReflect

func (*CreateKnowledgeBaseRequest) Reset

func (x *CreateKnowledgeBaseRequest) Reset()

func (*CreateKnowledgeBaseRequest) String

func (x *CreateKnowledgeBaseRequest) String() string

CreateMessageRequest

type CreateMessageRequest struct {

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

The request message to create one Message. Currently it is only used in BatchCreateMessagesRequest.

func (*CreateMessageRequest) Descriptor

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

Deprecated: Use CreateMessageRequest.ProtoReflect.Descriptor instead.

func (*CreateMessageRequest) GetMessage

func (x *CreateMessageRequest) GetMessage() *Message

func (*CreateMessageRequest) GetParent

func (x *CreateMessageRequest) GetParent() string

func (*CreateMessageRequest) ProtoMessage

func (*CreateMessageRequest) ProtoMessage()

func (*CreateMessageRequest) ProtoReflect

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

func (*CreateMessageRequest) Reset

func (x *CreateMessageRequest) Reset()

func (*CreateMessageRequest) String

func (x *CreateMessageRequest) String() string

CreateParticipantRequest

type CreateParticipantRequest struct {

	// Required. Resource identifier of the conversation adding the participant.
	// Format: `projects/

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

func (*CreateParticipantRequest) Descriptor

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

Deprecated: Use CreateParticipantRequest.ProtoReflect.Descriptor instead.

func (*CreateParticipantRequest) GetParent

func (x *CreateParticipantRequest) GetParent() string

func (*CreateParticipantRequest) GetParticipant

func (x *CreateParticipantRequest) GetParticipant() *Participant

func (*CreateParticipantRequest) ProtoMessage

func (*CreateParticipantRequest) ProtoMessage()

func (*CreateParticipantRequest) ProtoReflect

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

func (*CreateParticipantRequest) Reset

func (x *CreateParticipantRequest) Reset()

func (*CreateParticipantRequest) String

func (x *CreateParticipantRequest) String() string

CreateSessionEntityTypeRequest

type CreateSessionEntityTypeRequest struct {

	// Required. The session to create a session entity type for.
	// Supported formats:
	//   - `projects/

The request message for [SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityType].

func (*CreateSessionEntityTypeRequest) Descriptor

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

Deprecated: Use CreateSessionEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*CreateSessionEntityTypeRequest) GetParent

func (x *CreateSessionEntityTypeRequest) GetParent() string

func (*CreateSessionEntityTypeRequest) GetSessionEntityType

func (x *CreateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType

func (*CreateSessionEntityTypeRequest) ProtoMessage

func (*CreateSessionEntityTypeRequest) ProtoMessage()

func (*CreateSessionEntityTypeRequest) ProtoReflect

func (*CreateSessionEntityTypeRequest) Reset

func (x *CreateSessionEntityTypeRequest) Reset()

func (*CreateSessionEntityTypeRequest) String

CreateVersionRequest

type CreateVersionRequest struct {

	// Required. The agent to create a version for.
	// Supported formats:
	// - `projects/

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

func (*CreateVersionRequest) Descriptor

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

Deprecated: Use CreateVersionRequest.ProtoReflect.Descriptor instead.

func (*CreateVersionRequest) GetParent

func (x *CreateVersionRequest) GetParent() string

func (*CreateVersionRequest) GetVersion

func (x *CreateVersionRequest) GetVersion() *Version

func (*CreateVersionRequest) ProtoMessage

func (*CreateVersionRequest) ProtoMessage()

func (*CreateVersionRequest) ProtoReflect

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

func (*CreateVersionRequest) Reset

func (x *CreateVersionRequest) Reset()

func (*CreateVersionRequest) String

func (x *CreateVersionRequest) String() string

DeleteAgentRequest

type DeleteAgentRequest struct {

	// Required. The project that the agent to delete is associated with.
	// Format: `projects/

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

func (*DeleteAgentRequest) Descriptor

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

Deprecated: Use DeleteAgentRequest.ProtoReflect.Descriptor instead.

func (*DeleteAgentRequest) GetParent

func (x *DeleteAgentRequest) GetParent() string

func (*DeleteAgentRequest) ProtoMessage

func (*DeleteAgentRequest) ProtoMessage()

func (*DeleteAgentRequest) ProtoReflect

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

func (*DeleteAgentRequest) Reset

func (x *DeleteAgentRequest) Reset()

func (*DeleteAgentRequest) String

func (x *DeleteAgentRequest) String() string

DeleteAllContextsRequest

type DeleteAllContextsRequest struct {

	// Required. The name of the session to delete all contexts from. Supported
	// formats:
	//   - `projects/

The request message for [Contexts.DeleteAllContexts][google.cloud.dialogflow.v2beta1.Contexts.DeleteAllContexts].

func (*DeleteAllContextsRequest) Descriptor

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

Deprecated: Use DeleteAllContextsRequest.ProtoReflect.Descriptor instead.

func (*DeleteAllContextsRequest) GetParent

func (x *DeleteAllContextsRequest) GetParent() string

func (*DeleteAllContextsRequest) ProtoMessage

func (*DeleteAllContextsRequest) ProtoMessage()

func (*DeleteAllContextsRequest) ProtoReflect

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

func (*DeleteAllContextsRequest) Reset

func (x *DeleteAllContextsRequest) Reset()

func (*DeleteAllContextsRequest) String

func (x *DeleteAllContextsRequest) String() string

DeleteContextRequest

type DeleteContextRequest struct {

	// Required. The name of the context to delete. Supported formats:
	//   - `projects/

The request message for [Contexts.DeleteContext][google.cloud.dialogflow.v2beta1.Contexts.DeleteContext].

func (*DeleteContextRequest) Descriptor

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

Deprecated: Use DeleteContextRequest.ProtoReflect.Descriptor instead.

func (*DeleteContextRequest) GetName

func (x *DeleteContextRequest) GetName() string

func (*DeleteContextRequest) ProtoMessage

func (*DeleteContextRequest) ProtoMessage()

func (*DeleteContextRequest) ProtoReflect

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

func (*DeleteContextRequest) Reset

func (x *DeleteContextRequest) Reset()

func (*DeleteContextRequest) String

func (x *DeleteContextRequest) String() string

DeleteConversationProfileRequest

type DeleteConversationProfileRequest struct {

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

The request message for [ConversationProfiles.DeleteConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfiles.DeleteConversationProfile].

This operation fails if the conversation profile is still referenced from a phone number.

func (*DeleteConversationProfileRequest) Descriptor

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

Deprecated: Use DeleteConversationProfileRequest.ProtoReflect.Descriptor instead.

func (*DeleteConversationProfileRequest) GetName

func (*DeleteConversationProfileRequest) ProtoMessage

func (*DeleteConversationProfileRequest) ProtoMessage()

func (*DeleteConversationProfileRequest) ProtoReflect

func (*DeleteConversationProfileRequest) Reset

func (*DeleteConversationProfileRequest) String

DeleteDocumentRequest

type DeleteDocumentRequest struct {

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

Request message for [Documents.DeleteDocument][google.cloud.dialogflow.v2beta1.Documents.DeleteDocument].

func (*DeleteDocumentRequest) Descriptor

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

Deprecated: Use DeleteDocumentRequest.ProtoReflect.Descriptor instead.

func (*DeleteDocumentRequest) GetName

func (x *DeleteDocumentRequest) GetName() string

func (*DeleteDocumentRequest) ProtoMessage

func (*DeleteDocumentRequest) ProtoMessage()

func (*DeleteDocumentRequest) ProtoReflect

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

func (*DeleteDocumentRequest) Reset

func (x *DeleteDocumentRequest) Reset()

func (*DeleteDocumentRequest) String

func (x *DeleteDocumentRequest) String() string

DeleteEntityTypeRequest

type DeleteEntityTypeRequest struct {

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

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

func (*DeleteEntityTypeRequest) Descriptor

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

Deprecated: Use DeleteEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntityTypeRequest) GetName

func (x *DeleteEntityTypeRequest) GetName() string

func (*DeleteEntityTypeRequest) ProtoMessage

func (*DeleteEntityTypeRequest) ProtoMessage()

func (*DeleteEntityTypeRequest) ProtoReflect

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

func (*DeleteEntityTypeRequest) Reset

func (x *DeleteEntityTypeRequest) Reset()

func (*DeleteEntityTypeRequest) String

func (x *DeleteEntityTypeRequest) String() string

DeleteEnvironmentRequest

type DeleteEnvironmentRequest struct {

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

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

func (*DeleteEnvironmentRequest) Descriptor

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

Deprecated: Use DeleteEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*DeleteEnvironmentRequest) GetName

func (x *DeleteEnvironmentRequest) GetName() string

func (*DeleteEnvironmentRequest) ProtoMessage

func (*DeleteEnvironmentRequest) ProtoMessage()

func (*DeleteEnvironmentRequest) ProtoReflect

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

func (*DeleteEnvironmentRequest) Reset

func (x *DeleteEnvironmentRequest) Reset()

func (*DeleteEnvironmentRequest) String

func (x *DeleteEnvironmentRequest) String() string

DeleteIntentRequest

type DeleteIntentRequest struct {

	// Required. The name of the intent to delete. If this intent has direct or
	// indirect followup intents, we also delete them.
	//
	// Supported formats:
	//
	// - `projects/

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

func (*DeleteIntentRequest) Descriptor

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

Deprecated: Use DeleteIntentRequest.ProtoReflect.Descriptor instead.

func (*DeleteIntentRequest) GetName

func (x *DeleteIntentRequest) GetName() string

func (*DeleteIntentRequest) ProtoMessage

func (*DeleteIntentRequest) ProtoMessage()

func (*DeleteIntentRequest) ProtoReflect

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

func (*DeleteIntentRequest) Reset

func (x *DeleteIntentRequest) Reset()

func (*DeleteIntentRequest) String

func (x *DeleteIntentRequest) String() string

DeleteKnowledgeBaseRequest

type DeleteKnowledgeBaseRequest struct {

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

Request message for [KnowledgeBases.DeleteKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase].

func (*DeleteKnowledgeBaseRequest) Descriptor

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

Deprecated: Use DeleteKnowledgeBaseRequest.ProtoReflect.Descriptor instead.

func (*DeleteKnowledgeBaseRequest) GetForce

func (x *DeleteKnowledgeBaseRequest) GetForce() bool

func (*DeleteKnowledgeBaseRequest) GetName

func (x *DeleteKnowledgeBaseRequest) GetName() string

func (*DeleteKnowledgeBaseRequest) ProtoMessage

func (*DeleteKnowledgeBaseRequest) ProtoMessage()

func (*DeleteKnowledgeBaseRequest) ProtoReflect

func (*DeleteKnowledgeBaseRequest) Reset

func (x *DeleteKnowledgeBaseRequest) Reset()

func (*DeleteKnowledgeBaseRequest) String

func (x *DeleteKnowledgeBaseRequest) String() string

DeleteSessionEntityTypeRequest

type DeleteSessionEntityTypeRequest struct {

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

The request message for [SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityType].

func (*DeleteSessionEntityTypeRequest) Descriptor

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

Deprecated: Use DeleteSessionEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*DeleteSessionEntityTypeRequest) GetName

func (*DeleteSessionEntityTypeRequest) ProtoMessage

func (*DeleteSessionEntityTypeRequest) ProtoMessage()

func (*DeleteSessionEntityTypeRequest) ProtoReflect

func (*DeleteSessionEntityTypeRequest) Reset

func (x *DeleteSessionEntityTypeRequest) Reset()

func (*DeleteSessionEntityTypeRequest) String

DeleteVersionRequest

type DeleteVersionRequest struct {

	// Required. The name of the version to delete.
	// Supported formats:
	//   - `projects/

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

func (*DeleteVersionRequest) Descriptor

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

Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.

func (*DeleteVersionRequest) GetName

func (x *DeleteVersionRequest) GetName() string

func (*DeleteVersionRequest) ProtoMessage

func (*DeleteVersionRequest) ProtoMessage()

func (*DeleteVersionRequest) ProtoReflect

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

func (*DeleteVersionRequest) Reset

func (x *DeleteVersionRequest) Reset()

func (*DeleteVersionRequest) String

func (x *DeleteVersionRequest) String() string

DetectIntentRequest

type DetectIntentRequest struct {
	Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`

	QueryParams *QueryParameters `protobuf:"bytes,2,opt,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"`

	QueryInput *QueryInput `protobuf:"bytes,3,opt,name=query_input,json=queryInput,proto3" json:"query_input,omitempty"`

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

	OutputAudioConfigMask *fieldmaskpb.FieldMask "" /* 128 byte string literal not displayed */

	InputAudio []byte `protobuf:"bytes,5,opt,name=input_audio,json=inputAudio,proto3" json:"input_audio,omitempty"`

}

The request to detect user's intent.

func (*DetectIntentRequest) Descriptor

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

Deprecated: Use DetectIntentRequest.ProtoReflect.Descriptor instead.

func (*DetectIntentRequest) GetInputAudio

func (x *DetectIntentRequest) GetInputAudio() []byte

func (*DetectIntentRequest) GetOutputAudioConfig

func (x *DetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig

func (*DetectIntentRequest) GetOutputAudioConfigMask

func (x *DetectIntentRequest) GetOutputAudioConfigMask() *fieldmaskpb.FieldMask

func (*DetectIntentRequest) GetQueryInput

func (x *DetectIntentRequest) GetQueryInput() *QueryInput

func (*DetectIntentRequest) GetQueryParams

func (x *DetectIntentRequest) GetQueryParams() *QueryParameters

func (*DetectIntentRequest) GetSession

func (x *DetectIntentRequest) GetSession() string

func (*DetectIntentRequest) ProtoMessage

func (*DetectIntentRequest) ProtoMessage()

func (*DetectIntentRequest) ProtoReflect

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

func (*DetectIntentRequest) Reset

func (x *DetectIntentRequest) Reset()

func (*DetectIntentRequest) String

func (x *DetectIntentRequest) String() string

DetectIntentResponse

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

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

	AlternativeQueryResults []*QueryResult "" /* 132 byte string literal not displayed */

	WebhookStatus *status.Status `protobuf:"bytes,3,opt,name=webhook_status,json=webhookStatus,proto3" json:"webhook_status,omitempty"`

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

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

}

The message returned from the DetectIntent method.

func (*DetectIntentResponse) Descriptor

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

Deprecated: Use DetectIntentResponse.ProtoReflect.Descriptor instead.

func (*DetectIntentResponse) GetAlternativeQueryResults

func (x *DetectIntentResponse) GetAlternativeQueryResults() []*QueryResult

func (*DetectIntentResponse) GetOutputAudio

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

func (*DetectIntentResponse) GetOutputAudioConfig

func (x *DetectIntentResponse) GetOutputAudioConfig() *OutputAudioConfig

func (*DetectIntentResponse) GetQueryResult

func (x *DetectIntentResponse) GetQueryResult() *QueryResult

func (*DetectIntentResponse) GetResponseId

func (x *DetectIntentResponse) GetResponseId() string

func (*DetectIntentResponse) GetWebhookStatus

func (x *DetectIntentResponse) GetWebhookStatus() *status.Status

func (*DetectIntentResponse) ProtoMessage

func (*DetectIntentResponse) ProtoMessage()

func (*DetectIntentResponse) ProtoReflect

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

func (*DetectIntentResponse) Reset

func (x *DetectIntentResponse) Reset()

func (*DetectIntentResponse) String

func (x *DetectIntentResponse) String() string

Document

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

	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`

	KnowledgeTypes []Document_KnowledgeType "" /* 171 byte string literal not displayed */

	Source isDocument_Source `protobuf_oneof:"source"`

	EnableAutoReload bool `protobuf:"varint,11,opt,name=enable_auto_reload,json=enableAutoReload,proto3" json:"enable_auto_reload,omitempty"`

	LatestReloadStatus *Document_ReloadStatus `protobuf:"bytes,12,opt,name=latest_reload_status,json=latestReloadStatus,proto3" json:"latest_reload_status,omitempty"`

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

	State Document_State `protobuf:"varint,13,opt,name=state,proto3,enum=google.cloud.dialogflow.v2beta1.Document_State" json:"state,omitempty"`

}

A knowledge document to be used by a [KnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBase].

For more information, see the knowledge base guide.

Note: The projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents.

func (*Document) Descriptor

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

Deprecated: Use Document.ProtoReflect.Descriptor instead.

func (*Document) GetContent

func (x *Document) GetContent() string

Deprecated: Do not use.

func (*Document) GetContentUri

func (x *Document) GetContentUri() string

func (*Document) GetDisplayName

func (x *Document) GetDisplayName() string

func (*Document) GetEnableAutoReload

func (x *Document) GetEnableAutoReload() bool

func (*Document) GetKnowledgeTypes

func (x *Document) GetKnowledgeTypes() []Document_KnowledgeType

func (*Document) GetLatestReloadStatus

func (x *Document) GetLatestReloadStatus() *Document_ReloadStatus

func (*Document) GetMetadata

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

func (*Document) GetMimeType

func (x *Document) GetMimeType() string

func (*Document) GetName

func (x *Document) GetName() string

func (*Document) GetRawContent

func (x *Document) GetRawContent() []byte

func (*Document) GetSource

func (m *Document) GetSource() isDocument_Source

func (*Document) GetState

func (x *Document) GetState() Document_State

func (*Document) ProtoMessage

func (*Document) ProtoMessage()

func (*Document) ProtoReflect

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

func (*Document) Reset

func (x *Document) Reset()

func (*Document) String

func (x *Document) String() string

Document_Content

type Document_Content struct {
	// The raw content of the document. This field is only permitted for
	// EXTRACTIVE_QA and FAQ knowledge types.
	// Note: This field is in the process of being deprecated, please use
	// raw_content instead.
	//
	// Deprecated: Do not use.
	Content string `protobuf:"bytes,6,opt,name=content,proto3,oneof"`
}

Document_ContentUri

type Document_ContentUri struct {
	// The URI where the file content is located.
	//
	// For documents stored in Google Cloud Storage, these URIs must have
	// the form `gs://

Document_KnowledgeType

type Document_KnowledgeType int32

The knowledge type of document content.

Document_KNOWLEDGE_TYPE_UNSPECIFIED, Document_FAQ, Document_EXTRACTIVE_QA, Document_ARTICLE_SUGGESTION, Document_AGENT_FACING_SMART_REPLY, Document_SMART_REPLY

const (
	// The type is unspecified or arbitrary.
	Document_KNOWLEDGE_TYPE_UNSPECIFIED Document_KnowledgeType = 0
	// The document content contains question and answer pairs as either HTML or
	// CSV. Typical FAQ HTML formats are parsed accurately, but unusual formats
	// may fail to be parsed.
	//
	// CSV must have questions in the first column and answers in the second,
	// with no header. Because of this explicit format, they are always parsed
	// accurately.
	Document_FAQ Document_KnowledgeType = 1
	// Documents for which unstructured text is extracted and used for
	// question answering.
	Document_EXTRACTIVE_QA Document_KnowledgeType = 2
	// The entire document content as a whole can be used for query results.
	// Only for Contact Center Solutions on Dialogflow.
	Document_ARTICLE_SUGGESTION Document_KnowledgeType = 3
	// The document contains agent-facing Smart Reply entries.
	Document_AGENT_FACING_SMART_REPLY Document_KnowledgeType = 4
	// The legacy enum for agent-facing smart reply feature.
	Document_SMART_REPLY Document_KnowledgeType = 4
)

func (Document_KnowledgeType) Descriptor

func (Document_KnowledgeType) Enum

func (Document_KnowledgeType) EnumDescriptor

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

Deprecated: Use Document_KnowledgeType.Descriptor instead.

func (Document_KnowledgeType) Number

func (Document_KnowledgeType) String

func (x Document_KnowledgeType) String() string

func (Document_KnowledgeType) Type

Document_RawContent

type Document_RawContent struct {
	// The raw content of the document. This field is only permitted for
	// EXTRACTIVE_QA and FAQ knowledge types.
	RawContent []byte `protobuf:"bytes,9,opt,name=raw_content,json=rawContent,proto3,oneof"`
}

Document_ReloadStatus

type Document_ReloadStatus struct {

	// Output only. The time of a reload attempt.
	// This reload may have been triggered automatically or manually and may
	// not have succeeded.
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// Output only. The status of a reload attempt or the initial load.
	Status *status.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

The status of a reload attempt.

func (*Document_ReloadStatus) Descriptor

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

Deprecated: Use Document_ReloadStatus.ProtoReflect.Descriptor instead.

func (*Document_ReloadStatus) GetStatus

func (x *Document_ReloadStatus) GetStatus() *status.Status

func (*Document_ReloadStatus) GetTime

func (*Document_ReloadStatus) ProtoMessage

func (*Document_ReloadStatus) ProtoMessage()

func (*Document_ReloadStatus) ProtoReflect

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

func (*Document_ReloadStatus) Reset

func (x *Document_ReloadStatus) Reset()

func (*Document_ReloadStatus) String

func (x *Document_ReloadStatus) String() string

Document_State

type Document_State int32

Possible states of the document

Document_STATE_UNSPECIFIED, Document_CREATING, Document_ACTIVE, Document_UPDATING, Document_RELOADING, Document_DELETING

const (
	// The document state is unspecified.
	Document_STATE_UNSPECIFIED Document_State = 0
	// The document creation is in progress.
	Document_CREATING Document_State = 1
	// The document is active and ready to use.
	Document_ACTIVE Document_State = 2
	// The document updation is in progress.
	Document_UPDATING Document_State = 3
	// The document is reloading.
	Document_RELOADING Document_State = 4
	// The document deletion is in progress.
	Document_DELETING Document_State = 5
)

func (Document_State) Descriptor

func (Document_State) Enum

func (x Document_State) Enum() *Document_State

func (Document_State) EnumDescriptor

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

Deprecated: Use Document_State.Descriptor instead.

func (Document_State) Number

func (Document_State) String

func (x Document_State) String() string

func (Document_State) Type

DocumentsClient

type DocumentsClient interface {
	// Returns the list of all documents of the knowledge base.
	//
	// Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
	// only use `projects.knowledgeBases.documents`.
	ListDocuments(ctx context.Context, in *ListDocumentsRequest, opts ...grpc.CallOption) (*ListDocumentsResponse, error)
	// Retrieves the specified document.
	//
	// Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
	// only use `projects.knowledgeBases.documents`.
	GetDocument(ctx context.Context, in *GetDocumentRequest, opts ...grpc.CallOption) (*Document, error)
	// Creates a new document.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
	// The returned `Operation` type has the following method-specific fields:
	//
	// - `metadata`:
	// [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]
	// - `response`: [Document][google.cloud.dialogflow.v2beta1.Document]
	//
	// Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
	// only use `projects.knowledgeBases.documents`.
	CreateDocument(ctx context.Context, in *CreateDocumentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Create documents by importing data from external sources.
	// Dialogflow supports up to 350 documents in each request. If you try to
	// import more, Dialogflow will return an error.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
	// The returned `Operation` type has the following method-specific fields:
	//
	// - `metadata`:
	// [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]
	// - `response`:
	// [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse]
	ImportDocuments(ctx context.Context, in *ImportDocumentsRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deletes the specified document.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
	// The returned `Operation` type has the following method-specific fields:
	//
	// - `metadata`:
	// [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	//
	// Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
	// only use `projects.knowledgeBases.documents`.
	DeleteDocument(ctx context.Context, in *DeleteDocumentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates the specified document.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
	// The returned `Operation` type has the following method-specific fields:
	//
	// - `metadata`:
	// [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]
	// - `response`: [Document][google.cloud.dialogflow.v2beta1.Document]
	//
	// Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
	// only use `projects.knowledgeBases.documents`.
	UpdateDocument(ctx context.Context, in *UpdateDocumentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Reloads the specified document from its specified source, content_uri or
	// content. The previously loaded content of the document will be deleted.
	// Note: Even when the content of the document has not changed, there still
	// may be side effects because of internal implementation changes.
	// Note: If the document source is Google Cloud Storage URI, its metadata will
	// be replaced with the custom metadata from Google Cloud Storage if the
	// `import_gcs_custom_metadata` field is set to true in the request.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
	// The returned `Operation` type has the following method-specific fields:
	//
	// - `metadata`:
	// [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]
	// - `response`: [Document][google.cloud.dialogflow.v2beta1.Document]
	//
	// Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
	// only use `projects.knowledgeBases.documents`.
	ReloadDocument(ctx context.Context, in *ReloadDocumentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

DocumentsClient is the client API for Documents service.

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

func NewDocumentsClient

func NewDocumentsClient(cc grpc.ClientConnInterface) DocumentsClient

DocumentsServer

type DocumentsServer interface {
	// Returns the list of all documents of the knowledge base.
	//
	// Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
	// only use `projects.knowledgeBases.documents`.
	ListDocuments(context.Context, *ListDocumentsRequest) (*ListDocumentsResponse, error)
	// Retrieves the specified document.
	//
	// Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
	// only use `projects.knowledgeBases.documents`.
	GetDocument(context.Context, *GetDocumentRequest) (*Document, error)
	// Creates a new document.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
	// The returned `Operation` type has the following method-specific fields:
	//
	// - `metadata`:
	// [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]
	// - `response`: [Document][google.cloud.dialogflow.v2beta1.Document]
	//
	// Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
	// only use `projects.knowledgeBases.documents`.
	CreateDocument(context.Context, *CreateDocumentRequest) (*longrunning.Operation, error)
	// Create documents by importing data from external sources.
	// Dialogflow supports up to 350 documents in each request. If you try to
	// import more, Dialogflow will return an error.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
	// The returned `Operation` type has the following method-specific fields:
	//
	// - `metadata`:
	// [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]
	// - `response`:
	// [ImportDocumentsResponse][google.cloud.dialogflow.v2beta1.ImportDocumentsResponse]
	ImportDocuments(context.Context, *ImportDocumentsRequest) (*longrunning.Operation, error)
	// Deletes the specified document.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
	// The returned `Operation` type has the following method-specific fields:
	//
	// - `metadata`:
	// [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	//
	// Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
	// only use `projects.knowledgeBases.documents`.
	DeleteDocument(context.Context, *DeleteDocumentRequest) (*longrunning.Operation, error)
	// Updates the specified document.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
	// The returned `Operation` type has the following method-specific fields:
	//
	// - `metadata`:
	// [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]
	// - `response`: [Document][google.cloud.dialogflow.v2beta1.Document]
	//
	// Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
	// only use `projects.knowledgeBases.documents`.
	UpdateDocument(context.Context, *UpdateDocumentRequest) (*longrunning.Operation, error)
	// Reloads the specified document from its specified source, content_uri or
	// content. The previously loaded content of the document will be deleted.
	// Note: Even when the content of the document has not changed, there still
	// may be side effects because of internal implementation changes.
	// Note: If the document source is Google Cloud Storage URI, its metadata will
	// be replaced with the custom metadata from Google Cloud Storage if the
	// `import_gcs_custom_metadata` field is set to true in the request.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
	// The returned `Operation` type has the following method-specific fields:
	//
	// - `metadata`:
	// [KnowledgeOperationMetadata][google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata]
	// - `response`: [Document][google.cloud.dialogflow.v2beta1.Document]
	//
	// Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
	// only use `projects.knowledgeBases.documents`.
	ReloadDocument(context.Context, *ReloadDocumentRequest) (*longrunning.Operation, error)
}

DocumentsServer is the server API for Documents service.

DtmfParameters

type DtmfParameters struct {

	// Indicates whether DTMF input can be handled in the next request.
	AcceptsDtmfInput bool `protobuf:"varint,1,opt,name=accepts_dtmf_input,json=acceptsDtmfInput,proto3" json:"accepts_dtmf_input,omitempty"`
	// contains filtered or unexported fields
}

The message in the response that indicates the parameters of DTMF.

func (*DtmfParameters) Descriptor

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

Deprecated: Use DtmfParameters.ProtoReflect.Descriptor instead.

func (*DtmfParameters) GetAcceptsDtmfInput

func (x *DtmfParameters) GetAcceptsDtmfInput() bool

func (*DtmfParameters) ProtoMessage

func (*DtmfParameters) ProtoMessage()

func (*DtmfParameters) ProtoReflect

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

func (*DtmfParameters) Reset

func (x *DtmfParameters) Reset()

func (*DtmfParameters) String

func (x *DtmfParameters) String() string

EntityType

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

	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

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

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

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

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

}

Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted.

Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent.

For more information, see the Entity guide.

func (*EntityType) Descriptor

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

Deprecated: Use EntityType.ProtoReflect.Descriptor instead.

func (*EntityType) GetAutoExpansionMode

func (x *EntityType) GetAutoExpansionMode() EntityType_AutoExpansionMode

func (*EntityType) GetDisplayName

func (x *EntityType) GetDisplayName() string

func (*EntityType) GetEnableFuzzyExtraction

func (x *EntityType) GetEnableFuzzyExtraction() bool

func (*EntityType) GetEntities

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

func (*EntityType) GetKind

func (x *EntityType) GetKind() EntityType_Kind

func (*EntityType) GetName

func (x *EntityType) GetName() string

func (*EntityType) ProtoMessage

func (*EntityType) ProtoMessage()

func (*EntityType) ProtoReflect

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

func (*EntityType) Reset

func (x *EntityType) Reset()

func (*EntityType) String

func (x *EntityType) String() string

EntityTypeBatch

type EntityTypeBatch struct {

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

This message is a wrapper around a collection of entity types.

func (*EntityTypeBatch) Descriptor

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

Deprecated: Use EntityTypeBatch.ProtoReflect.Descriptor instead.

func (*EntityTypeBatch) GetEntityTypes

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

func (*EntityTypeBatch) ProtoMessage

func (*EntityTypeBatch) ProtoMessage()

func (*EntityTypeBatch) ProtoReflect

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

func (*EntityTypeBatch) Reset

func (x *EntityTypeBatch) Reset()

func (*EntityTypeBatch) String

func (x *EntityTypeBatch) String() string

EntityType_AutoExpansionMode

type EntityType_AutoExpansionMode int32

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

EntityType_AUTO_EXPANSION_MODE_UNSPECIFIED, EntityType_AUTO_EXPANSION_MODE_DEFAULT

const (
	// Auto expansion disabled for the entity.
	EntityType_AUTO_EXPANSION_MODE_UNSPECIFIED EntityType_AutoExpansionMode = 0
	// Allows an agent to recognize values that have not been explicitly
	// listed in the entity.
	EntityType_AUTO_EXPANSION_MODE_DEFAULT EntityType_AutoExpansionMode = 1
)

func (EntityType_AutoExpansionMode) Descriptor

func (EntityType_AutoExpansionMode) Enum

func (EntityType_AutoExpansionMode) EnumDescriptor

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

Deprecated: Use EntityType_AutoExpansionMode.Descriptor instead.

func (EntityType_AutoExpansionMode) Number

func (EntityType_AutoExpansionMode) String

func (EntityType_AutoExpansionMode) Type

EntityType_Entity

type EntityType_Entity struct {

	// Required. The primary value associated with this entity entry.
	// For example, if the entity type is *vegetable*, the value could be
	// *scallions*.
	//
	// For `KIND_MAP` entity types:
	//
	// *   A reference value to be used in place of synonyms.
	//
	// For `KIND_LIST` entity types:
	//
	//   - A string that can contain references to other entity types (with or
	//     without aliases).
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// Required. A collection of value synonyms. For example, if the entity type
	// is *vegetable*, and `value` is *scallions*, a synonym could be *green
	// onions*.
	//
	// For `KIND_LIST` entity types:
	//
	// *   This collection must contain exactly one synonym equal to `value`.
	Synonyms []string `protobuf:"bytes,2,rep,name=synonyms,proto3" json:"synonyms,omitempty"`
	// contains filtered or unexported fields
}

An entity entry for an associated entity type.

func (*EntityType_Entity) Descriptor

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

Deprecated: Use EntityType_Entity.ProtoReflect.Descriptor instead.

func (*EntityType_Entity) GetSynonyms

func (x *EntityType_Entity) GetSynonyms() []string

func (*EntityType_Entity) GetValue

func (x *EntityType_Entity) GetValue() string

func (*EntityType_Entity) ProtoMessage

func (*EntityType_Entity) ProtoMessage()

func (*EntityType_Entity) ProtoReflect

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

func (*EntityType_Entity) Reset

func (x *EntityType_Entity) Reset()

func (*EntityType_Entity) String

func (x *EntityType_Entity) String() string

EntityType_Kind

type EntityType_Kind int32

Represents kinds of entities.

EntityType_KIND_UNSPECIFIED, EntityType_KIND_MAP, EntityType_KIND_LIST, EntityType_KIND_REGEXP

const (
	// Not specified. This value should be never used.
	EntityType_KIND_UNSPECIFIED EntityType_Kind = 0
	// Map entity types allow mapping of a group of synonyms to a reference
	// value.
	EntityType_KIND_MAP EntityType_Kind = 1
	// List entity types contain a set of entries that do not map to reference
	// values. However, list entity types can contain references to other entity
	// types (with or without aliases).
	EntityType_KIND_LIST EntityType_Kind = 2
	// Regexp entity types allow to specify regular expressions in entries
	// values.
	EntityType_KIND_REGEXP EntityType_Kind = 3
)

func (EntityType_Kind) Descriptor

func (EntityType_Kind) Enum

func (x EntityType_Kind) Enum() *EntityType_Kind

func (EntityType_Kind) EnumDescriptor

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

Deprecated: Use EntityType_Kind.Descriptor instead.

func (EntityType_Kind) Number

func (EntityType_Kind) String

func (x EntityType_Kind) String() string

func (EntityType_Kind) Type

EntityTypesClient

type EntityTypesClient interface {
	// Returns the list of all entity types in the specified agent.
	ListEntityTypes(ctx context.Context, in *ListEntityTypesRequest, opts ...grpc.CallOption) (*ListEntityTypesResponse, error)
	// Retrieves the specified entity type.
	GetEntityType(ctx context.Context, in *GetEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error)
	// Creates an entity type in the specified agent.
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	CreateEntityType(ctx context.Context, in *CreateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error)
	// Updates the specified entity type.
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	UpdateEntityType(ctx context.Context, in *UpdateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error)
	// Deletes the specified entity type.
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates/Creates multiple entity types in the specified agent.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	//   - `metadata`: An empty [Struct
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
	//   - `response`:
	//
	// [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse]
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	BatchUpdateEntityTypes(ctx context.Context, in *BatchUpdateEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deletes entity types in the specified agent.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	//   - `metadata`: An empty [Struct
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	BatchDeleteEntityTypes(ctx context.Context, in *BatchDeleteEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Creates multiple new entities in the specified entity type.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	//   - `metadata`: An empty [Struct
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	BatchCreateEntities(ctx context.Context, in *BatchCreateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates or creates multiple entities in the specified entity type. This
	// method does not affect entities in the entity type that aren't explicitly
	// specified in the request.
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	//
	// 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)
	BatchUpdateEntities(ctx context.Context, in *BatchUpdateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deletes entities in the specified entity type.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	//   - `metadata`: An empty [Struct
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	BatchDeleteEntities(ctx context.Context, in *BatchDeleteEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

EntityTypesClient is the client API for EntityTypes service.

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

func NewEntityTypesClient

func NewEntityTypesClient(cc grpc.ClientConnInterface) EntityTypesClient

EntityTypesServer

type EntityTypesServer interface {
	// Returns the list of all entity types in the specified agent.
	ListEntityTypes(context.Context, *ListEntityTypesRequest) (*ListEntityTypesResponse, error)
	// Retrieves the specified entity type.
	GetEntityType(context.Context, *GetEntityTypeRequest) (*EntityType, error)
	// Creates an entity type in the specified agent.
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	CreateEntityType(context.Context, *CreateEntityTypeRequest) (*EntityType, error)
	// Updates the specified entity type.
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	UpdateEntityType(context.Context, *UpdateEntityTypeRequest) (*EntityType, error)
	// Deletes the specified entity type.
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*emptypb.Empty, error)
	// Updates/Creates multiple entity types in the specified agent.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	//   - `metadata`: An empty [Struct
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
	//   - `response`:
	//
	// [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse]
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	BatchUpdateEntityTypes(context.Context, *BatchUpdateEntityTypesRequest) (*longrunning.Operation, error)
	// Deletes entity types in the specified agent.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	//   - `metadata`: An empty [Struct
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	BatchDeleteEntityTypes(context.Context, *BatchDeleteEntityTypesRequest) (*longrunning.Operation, error)
	// Creates multiple new entities in the specified entity type.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	//   - `metadata`: An empty [Struct
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	BatchCreateEntities(context.Context, *BatchCreateEntitiesRequest) (*longrunning.Operation, error)
	// Updates or creates multiple entities in the specified entity type. This
	// method does not affect entities in the entity type that aren't explicitly
	// specified in the request.
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	//
	// 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)
	BatchUpdateEntities(context.Context, *BatchUpdateEntitiesRequest) (*longrunning.Operation, error)
	// Deletes entities in the specified entity type.
	//
	// This method is a [long-running
	// operation](https://cloud.google.com/dialogflow/es/docs/how/long-running-operations).
	// The returned `Operation` type has the following method-specific fields:
	//
	//   - `metadata`: An empty [Struct
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
	//   - `response`: An [Empty
	//     message](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
	//
	// Note: You should always train an agent prior to sending it queries. See the
	// [training
	// documentation](https://cloud.google.com/dialogflow/es/docs/training).
	BatchDeleteEntities(context.Context, *BatchDeleteEntitiesRequest) (*longrunning.Operation, error)
}

EntityTypesServer is the server API for EntityTypes service.

Environment

type Environment struct {

	// Output only. The unique identifier of this agent environment.
	// Supported formats:
	//   - `projects/

You can create multiple versions of your agent and publish them to separate environments.

When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent.

When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for:

  • testing
  • development
  • production
  • etc.

For more information, see the versions and environments guide.

func (*Environment) Descriptor

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

Deprecated: Use Environment.ProtoReflect.Descriptor instead.

func (*Environment) GetAgentVersion

func (x *Environment) GetAgentVersion() string

func (*Environment) GetDescription

func (x *Environment) GetDescription() string

func (*Environment) GetFulfillment

func (x *Environment) GetFulfillment() *Fulfillment

func (*Environment) GetName

func (x *Environment) GetName() string

func (*Environment) GetState

func (x *Environment) GetState() Environment_State

func (*Environment) GetTextToSpeechSettings

func (x *Environment) GetTextToSpeechSettings() *TextToSpeechSettings

func (*Environment) GetUpdateTime

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

func (*Environment) ProtoMessage

func (*Environment) ProtoMessage()

func (*Environment) ProtoReflect

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

func (*Environment) Reset

func (x *Environment) Reset()

func (*Environment) String

func (x *Environment) String() string

EnvironmentHistory

type EnvironmentHistory struct {

	// Output only. The name of the environment this history is for.
	// Supported formats:
	//   - `projects/

The response message for [Environments.GetEnvironmentHistory][google.cloud.dialogflow.v2beta1.Environments.GetEnvironmentHistory].

func (*EnvironmentHistory) Descriptor

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

Deprecated: Use EnvironmentHistory.ProtoReflect.Descriptor instead.

func (*EnvironmentHistory) GetEntries

func (x *EnvironmentHistory) GetEntries() []*EnvironmentHistory_Entry

func (*EnvironmentHistory) GetNextPageToken

func (x *EnvironmentHistory) GetNextPageToken() string

func (*EnvironmentHistory) GetParent

func (x *EnvironmentHistory) GetParent() string

func (*EnvironmentHistory) ProtoMessage

func (*EnvironmentHistory) ProtoMessage()

func (*EnvironmentHistory) ProtoReflect

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

func (*EnvironmentHistory) Reset

func (x *EnvironmentHistory) Reset()

func (*EnvironmentHistory) String

func (x *EnvironmentHistory) String() string

EnvironmentHistory_Entry

type EnvironmentHistory_Entry struct {

	// The agent version loaded into this environment history entry.
	AgentVersion string `protobuf:"bytes,1,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
	// The developer-provided description for this environment history entry.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// The creation time of this environment history entry.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// contains filtered or unexported fields
}

Represents an environment history entry.

func (*EnvironmentHistory_Entry) Descriptor

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

Deprecated: Use EnvironmentHistory_Entry.ProtoReflect.Descriptor instead.

func (*EnvironmentHistory_Entry) GetAgentVersion

func (x *EnvironmentHistory_Entry) GetAgentVersion() string

func (*EnvironmentHistory_Entry) GetCreateTime

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

func (*EnvironmentHistory_Entry) GetDescription

func (x *EnvironmentHistory_Entry) GetDescription() string

func (*EnvironmentHistory_Entry) ProtoMessage

func (*EnvironmentHistory_Entry) ProtoMessage()

func (*EnvironmentHistory_Entry) ProtoReflect

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

func (*EnvironmentHistory_Entry) Reset

func (x *EnvironmentHistory_Entry) Reset()

func (*EnvironmentHistory_Entry) String

func (x *EnvironmentHistory_Entry) String() string

Environment_State

type Environment_State int32

Represents an environment sta