genproto: google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1 Index | Files

package dialogflow

import "google.golang.org/genproto/googleapis/cloud/dialogflow/v2beta1"

Index

Package Files

agent.pb.go audio_config.pb.go context.pb.go document.pb.go entity_type.pb.go environment.pb.go gcs.pb.go intent.pb.go knowledge_base.pb.go session.pb.go session_entity_type.pb.go validation_result.pb.go webhook.pb.go

Variables

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.

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.

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.

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.

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.

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.

var (
    OutputAudioEncoding_name = map[int32]string{
        0:  "OUTPUT_AUDIO_ENCODING_UNSPECIFIED",
        1:  "OUTPUT_AUDIO_ENCODING_LINEAR_16",
        2:  "OUTPUT_AUDIO_ENCODING_MP3",
        3:  "OUTPUT_AUDIO_ENCODING_OGG_OPUS",
    }
    OutputAudioEncoding_value = map[string]int32{
        "OUTPUT_AUDIO_ENCODING_UNSPECIFIED": 0,
        "OUTPUT_AUDIO_ENCODING_LINEAR_16":   1,
        "OUTPUT_AUDIO_ENCODING_MP3":         2,
        "OUTPUT_AUDIO_ENCODING_OGG_OPUS":    3,
    }
)

Enum value maps for OutputAudioEncoding.

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

Enum value maps for Document_KnowledgeType.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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

Enum value maps for StreamingRecognitionResult_MessageType.

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.

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.

var File_google_cloud_dialogflow_v2beta1_agent_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_audio_config_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_context_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_document_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_entity_type_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_environment_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_gcs_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_intent_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_knowledge_base_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_session_entity_type_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_session_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_validation_result_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_v2beta1_webhook_proto protoreflect.FileDescriptor

func RegisterAgentsServer Uses

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

func RegisterContextsServer Uses

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

func RegisterDocumentsServer Uses

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

func RegisterEntityTypesServer Uses

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

func RegisterEnvironmentsServer Uses

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

func RegisterIntentsServer Uses

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

func RegisterKnowledgeBasesServer Uses

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

func RegisterSessionEntityTypesServer Uses

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

func RegisterSessionsServer Uses

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

type Agent Uses

type Agent struct {

    // Required. The project of this agent.
    // Format: `projects/<Project ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The name of this agent.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // Required. The default language of the agent as a language tag. See
    // [Language
    // Support](https://cloud.google.com/dialogflow/docs/reference/language)
    // for a list of the currently supported language codes. This field cannot be
    // set by the `Update` method.
    DefaultLanguageCode string `protobuf:"bytes,3,opt,name=default_language_code,json=defaultLanguageCode,proto3" json:"default_language_code,omitempty"`
    // Optional. The list of all languages supported by this agent (except for the
    // `default_language_code`).
    SupportedLanguageCodes []string `protobuf:"bytes,4,rep,name=supported_language_codes,json=supportedLanguageCodes,proto3" json:"supported_language_codes,omitempty"`
    // Required. The time zone of this agent from the
    // [time zone database](https://www.iana.org/time-zones), e.g.,
    // America/New_York, Europe/Paris.
    TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
    // Optional. The description of this agent.
    // The maximum length is 500 characters. If exceeded, the request is rejected.
    Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
    // Optional. The URI of the agent's avatar.
    // Avatars are used throughout the Dialogflow console and in the self-hosted
    // [Web
    // Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo)
    // integration.
    AvatarUri string `protobuf:"bytes,7,opt,name=avatar_uri,json=avatarUri,proto3" json:"avatar_uri,omitempty"`
    // Optional. Determines whether this agent should log conversation queries.
    EnableLogging bool `protobuf:"varint,8,opt,name=enable_logging,json=enableLogging,proto3" json:"enable_logging,omitempty"`
    // Optional. Determines how intents are detected from user queries.
    MatchMode Agent_MatchMode `protobuf:"varint,9,opt,name=match_mode,json=matchMode,proto3,enum=google.cloud.dialogflow.v2beta1.Agent_MatchMode" json:"match_mode,omitempty"`
    // Optional. To filter out false positive results and still get variety in
    // matched natural language inputs for your agent, you can tune the machine
    // learning classification threshold. If the returned score value is less than
    // the threshold value, then a fallback intent will be triggered or, if there
    // are no fallback intents defined, no intent will be triggered. The score
    // values range from 0.0 (completely uncertain) to 1.0 (completely certain).
    // If set to 0.0, the default of 0.3 is used.
    ClassificationThreshold float32 `protobuf:"fixed32,10,opt,name=classification_threshold,json=classificationThreshold,proto3" json:"classification_threshold,omitempty"`
    // Optional. API version displayed in Dialogflow console. If not specified,
    // V2 API is assumed. Clients are free to query different service endpoints
    // for different API versions. However, bots connectors and webhook calls will
    // follow the specified API version.
    ApiVersion Agent_ApiVersion `protobuf:"varint,14,opt,name=api_version,json=apiVersion,proto3,enum=google.cloud.dialogflow.v2beta1.Agent_ApiVersion" json:"api_version,omitempty"`
    // Optional. The agent tier. If not specified, TIER_STANDARD is assumed.
    Tier Agent_Tier `protobuf:"varint,15,opt,name=tier,proto3,enum=google.cloud.dialogflow.v2beta1.Agent_Tier" json:"tier,omitempty"`
    // contains filtered or unexported fields
}

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](https://cloud.google.com/dialogflow/docs/agents-overview).

func (*Agent) Descriptor Uses

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

Deprecated: Use Agent.ProtoReflect.Descriptor instead.

func (*Agent) GetApiVersion Uses

func (x *Agent) GetApiVersion() Agent_ApiVersion

func (*Agent) GetAvatarUri Uses

func (x *Agent) GetAvatarUri() string

func (*Agent) GetClassificationThreshold Uses

func (x *Agent) GetClassificationThreshold() float32

func (*Agent) GetDefaultLanguageCode Uses

func (x *Agent) GetDefaultLanguageCode() string

func (*Agent) GetDescription Uses

func (x *Agent) GetDescription() string

func (*Agent) GetDisplayName Uses

func (x *Agent) GetDisplayName() string

func (*Agent) GetEnableLogging Uses

func (x *Agent) GetEnableLogging() bool

func (*Agent) GetMatchMode Uses

func (x *Agent) GetMatchMode() Agent_MatchMode

func (*Agent) GetParent Uses

func (x *Agent) GetParent() string

func (*Agent) GetSupportedLanguageCodes Uses

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

func (*Agent) GetTier Uses

func (x *Agent) GetTier() Agent_Tier

func (*Agent) GetTimeZone Uses

func (x *Agent) GetTimeZone() string

func (*Agent) ProtoMessage Uses

func (*Agent) ProtoMessage()

func (*Agent) ProtoReflect Uses

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

func (*Agent) Reset Uses

func (x *Agent) Reset()

func (*Agent) String Uses

func (x *Agent) String() string

type Agent_ApiVersion Uses

type Agent_ApiVersion int32

API version for the agent.

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 Uses

func (Agent_ApiVersion) Descriptor() protoreflect.EnumDescriptor

func (Agent_ApiVersion) Enum Uses

func (x Agent_ApiVersion) Enum() *Agent_ApiVersion

func (Agent_ApiVersion) EnumDescriptor Uses

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

Deprecated: Use Agent_ApiVersion.Descriptor instead.

func (Agent_ApiVersion) Number Uses

func (x Agent_ApiVersion) Number() protoreflect.EnumNumber

func (Agent_ApiVersion) String Uses

func (x Agent_ApiVersion) String() string

func (Agent_ApiVersion) Type Uses

func (Agent_ApiVersion) Type() protoreflect.EnumType

type Agent_MatchMode Uses

type Agent_MatchMode int32

Match mode determines how intents are detected from user queries.

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 Uses

func (Agent_MatchMode) Descriptor() protoreflect.EnumDescriptor

func (Agent_MatchMode) Enum Uses

func (x Agent_MatchMode) Enum() *Agent_MatchMode

func (Agent_MatchMode) EnumDescriptor Uses

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

Deprecated: Use Agent_MatchMode.Descriptor instead.

func (Agent_MatchMode) Number Uses

func (x Agent_MatchMode) Number() protoreflect.EnumNumber

func (Agent_MatchMode) String Uses

func (x Agent_MatchMode) String() string

func (Agent_MatchMode) Type Uses

func (Agent_MatchMode) Type() protoreflect.EnumType

type Agent_Tier Uses

type Agent_Tier int32

Represents the agent tier.

const (
    // Not specified. This value should never be used.
    Agent_TIER_UNSPECIFIED Agent_Tier = 0
    // Standard tier.
    Agent_TIER_STANDARD Agent_Tier = 1
    // Enterprise tier (Essentials).
    Agent_TIER_ENTERPRISE Agent_Tier = 2
    // Enterprise tier (Plus).
    Agent_TIER_ENTERPRISE_PLUS Agent_Tier = 3
)

func (Agent_Tier) Descriptor Uses

func (Agent_Tier) Descriptor() protoreflect.EnumDescriptor

func (Agent_Tier) Enum Uses

func (x Agent_Tier) Enum() *Agent_Tier

func (Agent_Tier) EnumDescriptor Uses

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

Deprecated: Use Agent_Tier.Descriptor instead.

func (Agent_Tier) Number Uses

func (x Agent_Tier) Number() protoreflect.EnumNumber

func (Agent_Tier) String Uses

func (x Agent_Tier) String() string

func (Agent_Tier) Type Uses

func (Agent_Tier) Type() protoreflect.EnumType

type AgentsClient Uses

type AgentsClient interface {
    // Retrieves the specified agent.
    GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error)
    // Creates/updates the specified agent.
    SetAgent(ctx context.Context, in *SetAgentRequest, opts ...grpc.CallOption) (*Agent, error)
    // Deletes the specified agent.
    DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*empty.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.
    //
    //
    // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
    TrainAgent(ctx context.Context, in *TrainAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Exports the specified agent to a ZIP file.
    //
    //
    // Operation <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.
    //
    //
    // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
    // An operation which tracks when importing is complete. It only tracks
    // when the draft agent is updated not when it is done 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.
    //
    //
    // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
    // An operation which tracks when restoring is complete. It only tracks
    // when the draft agent is updated not when it is done 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 Uses

func NewAgentsClient(cc grpc.ClientConnInterface) AgentsClient

type AgentsServer Uses

type AgentsServer interface {
    // Retrieves the specified agent.
    GetAgent(context.Context, *GetAgentRequest) (*Agent, error)
    // Creates/updates the specified agent.
    SetAgent(context.Context, *SetAgentRequest) (*Agent, error)
    // Deletes the specified agent.
    DeleteAgent(context.Context, *DeleteAgentRequest) (*empty.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.
    //
    //
    // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
    TrainAgent(context.Context, *TrainAgentRequest) (*longrunning.Operation, error)
    // Exports the specified agent to a ZIP file.
    //
    //
    // Operation <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.
    //
    //
    // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
    // An operation which tracks when importing is complete. It only tracks
    // when the draft agent is updated not when it is done 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.
    //
    //
    // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
    // An operation which tracks when restoring is complete. It only tracks
    // when the draft agent is updated not when it is done 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.

type AudioEncoding Uses

type AudioEncoding int32

Audio encoding of the audio content sent in the conversational query request. Refer to the [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics) for more details.

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 Uses

func (AudioEncoding) Descriptor() protoreflect.EnumDescriptor

func (AudioEncoding) Enum Uses

func (x AudioEncoding) Enum() *AudioEncoding

func (AudioEncoding) EnumDescriptor Uses

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

Deprecated: Use AudioEncoding.Descriptor instead.

func (AudioEncoding) Number Uses

func (x AudioEncoding) Number() protoreflect.EnumNumber

func (AudioEncoding) String Uses

func (x AudioEncoding) String() string

func (AudioEncoding) Type Uses

func (AudioEncoding) Type() protoreflect.EnumType

type AutoApproveSmartMessagingEntriesResponse Uses

type AutoApproveSmartMessagingEntriesResponse struct {

    // Number of smart messaging entries enabled.
    EnabledCount int32 `protobuf:"varint,1,opt,name=enabled_count,json=enabledCount,proto3" json:"enabled_count,omitempty"`
    // Number of smart messaging entries disabled.
    DisabledCount int32 `protobuf:"varint,2,opt,name=disabled_count,json=disabledCount,proto3" json:"disabled_count,omitempty"`
    // Number of smart messaging entries unreviewed.
    UnreviewedCount int32 `protobuf:"varint,3,opt,name=unreviewed_count,json=unreviewedCount,proto3" json:"unreviewed_count,omitempty"`
    // contains filtered or unexported fields
}

Response message for [Documents.AutoApproveSmartMessagingEntries].

func (*AutoApproveSmartMessagingEntriesResponse) Descriptor Uses

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

Deprecated: Use AutoApproveSmartMessagingEntriesResponse.ProtoReflect.Descriptor instead.

func (*AutoApproveSmartMessagingEntriesResponse) GetDisabledCount Uses

func (x *AutoApproveSmartMessagingEntriesResponse) GetDisabledCount() int32

func (*AutoApproveSmartMessagingEntriesResponse) GetEnabledCount Uses

func (x *AutoApproveSmartMessagingEntriesResponse) GetEnabledCount() int32

func (*AutoApproveSmartMessagingEntriesResponse) GetUnreviewedCount Uses

func (x *AutoApproveSmartMessagingEntriesResponse) GetUnreviewedCount() int32

func (*AutoApproveSmartMessagingEntriesResponse) ProtoMessage Uses

func (*AutoApproveSmartMessagingEntriesResponse) ProtoMessage()

func (*AutoApproveSmartMessagingEntriesResponse) ProtoReflect Uses

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

func (*AutoApproveSmartMessagingEntriesResponse) Reset Uses

func (x *AutoApproveSmartMessagingEntriesResponse) Reset()

func (*AutoApproveSmartMessagingEntriesResponse) String Uses

func (x *AutoApproveSmartMessagingEntriesResponse) String() string

type BatchCreateEntitiesRequest Uses

type BatchCreateEntitiesRequest struct {

    // Required. The name of the entity type to create entities in. Format:
    // `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The entities to create.
    Entities []*EntityType_Entity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
    // Optional. The language used to access language-specific data.
    // If not specified, the agent's default language is used.
    // For more information, see
    // [Multilingual intent and entity
    // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // contains filtered or unexported fields
}

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

func (*BatchCreateEntitiesRequest) Descriptor Uses

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

Deprecated: Use BatchCreateEntitiesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateEntitiesRequest) GetEntities Uses

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

func (*BatchCreateEntitiesRequest) GetLanguageCode Uses

func (x *BatchCreateEntitiesRequest) GetLanguageCode() string

func (*BatchCreateEntitiesRequest) GetParent Uses

func (x *BatchCreateEntitiesRequest) GetParent() string

func (*BatchCreateEntitiesRequest) ProtoMessage Uses

func (*BatchCreateEntitiesRequest) ProtoMessage()

func (*BatchCreateEntitiesRequest) ProtoReflect Uses

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

func (*BatchCreateEntitiesRequest) Reset Uses

func (x *BatchCreateEntitiesRequest) Reset()

func (*BatchCreateEntitiesRequest) String Uses

func (x *BatchCreateEntitiesRequest) String() string

type BatchDeleteEntitiesRequest Uses

type BatchDeleteEntitiesRequest struct {

    // Required. The name of the entity type to delete entries for. Format:
    // `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The reference `values` of the entities to delete. Note that
    // these are not fully-qualified names, i.e. they don't start with
    // `projects/<Project ID>`.
    EntityValues []string `protobuf:"bytes,2,rep,name=entity_values,json=entityValues,proto3" json:"entity_values,omitempty"`
    // Optional. The language used to access language-specific data.
    // If not specified, the agent's default language is used.
    // For more information, see
    // [Multilingual intent and entity
    // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // contains filtered or unexported fields
}

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

func (*BatchDeleteEntitiesRequest) Descriptor Uses

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

Deprecated: Use BatchDeleteEntitiesRequest.ProtoReflect.Descriptor instead.

func (*BatchDeleteEntitiesRequest) GetEntityValues Uses

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

func (*BatchDeleteEntitiesRequest) GetLanguageCode Uses

func (x *BatchDeleteEntitiesRequest) GetLanguageCode() string

func (*BatchDeleteEntitiesRequest) GetParent Uses

func (x *BatchDeleteEntitiesRequest) GetParent() string

func (*BatchDeleteEntitiesRequest) ProtoMessage Uses

func (*BatchDeleteEntitiesRequest) ProtoMessage()

func (*BatchDeleteEntitiesRequest) ProtoReflect Uses

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

func (*BatchDeleteEntitiesRequest) Reset Uses

func (x *BatchDeleteEntitiesRequest) Reset()

func (*BatchDeleteEntitiesRequest) String Uses

func (x *BatchDeleteEntitiesRequest) String() string

type BatchDeleteEntityTypesRequest Uses

type BatchDeleteEntityTypesRequest struct {

    // Required. The name of the agent to delete all entities types for. Format:
    // `projects/<Project ID>/agent`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The names entity types to delete. All names must point to the
    // same agent as `parent`.
    EntityTypeNames []string `protobuf:"bytes,2,rep,name=entity_type_names,json=entityTypeNames,proto3" json:"entity_type_names,omitempty"`
    // contains filtered or unexported fields
}

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

func (*BatchDeleteEntityTypesRequest) Descriptor Uses

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

Deprecated: Use BatchDeleteEntityTypesRequest.ProtoReflect.Descriptor instead.

func (*BatchDeleteEntityTypesRequest) GetEntityTypeNames Uses

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

func (*BatchDeleteEntityTypesRequest) GetParent Uses

func (x *BatchDeleteEntityTypesRequest) GetParent() string

func (*BatchDeleteEntityTypesRequest) ProtoMessage Uses

func (*BatchDeleteEntityTypesRequest) ProtoMessage()

func (*BatchDeleteEntityTypesRequest) ProtoReflect Uses

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

func (*BatchDeleteEntityTypesRequest) Reset Uses

func (x *BatchDeleteEntityTypesRequest) Reset()

func (*BatchDeleteEntityTypesRequest) String Uses

func (x *BatchDeleteEntityTypesRequest) String() string

type BatchDeleteIntentsRequest Uses

type BatchDeleteIntentsRequest struct {

    // Required. The name of the agent to delete all entities types for. Format:
    // `projects/<Project ID>/agent`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The collection of intents to delete. Only intent `name` must be
    // filled in.
    Intents []*Intent `protobuf:"bytes,2,rep,name=intents,proto3" json:"intents,omitempty"`
    // contains filtered or unexported fields
}

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

func (*BatchDeleteIntentsRequest) Descriptor Uses

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

Deprecated: Use BatchDeleteIntentsRequest.ProtoReflect.Descriptor instead.

func (*BatchDeleteIntentsRequest) GetIntents Uses

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

func (*BatchDeleteIntentsRequest) GetParent Uses

func (x *BatchDeleteIntentsRequest) GetParent() string

func (*BatchDeleteIntentsRequest) ProtoMessage Uses

func (*BatchDeleteIntentsRequest) ProtoMessage()

func (*BatchDeleteIntentsRequest) ProtoReflect Uses

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

func (*BatchDeleteIntentsRequest) Reset Uses

func (x *BatchDeleteIntentsRequest) Reset()

func (*BatchDeleteIntentsRequest) String Uses

func (x *BatchDeleteIntentsRequest) String() string

type BatchUpdateEntitiesRequest Uses

type BatchUpdateEntitiesRequest struct {

    // Required. The name of the entity type to update or create entities in.
    // Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The entities to update or create.
    Entities []*EntityType_Entity `protobuf:"bytes,2,rep,name=entities,proto3" json:"entities,omitempty"`
    // Optional. The language used to access language-specific data.
    // If not specified, the agent's default language is used.
    // For more information, see
    // [Multilingual intent and entity
    // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // Optional. The mask to control which fields get updated.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

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

func (*BatchUpdateEntitiesRequest) Descriptor Uses

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

Deprecated: Use BatchUpdateEntitiesRequest.ProtoReflect.Descriptor instead.

func (*BatchUpdateEntitiesRequest) GetEntities Uses

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

func (*BatchUpdateEntitiesRequest) GetLanguageCode Uses

func (x *BatchUpdateEntitiesRequest) GetLanguageCode() string

func (*BatchUpdateEntitiesRequest) GetParent Uses

func (x *BatchUpdateEntitiesRequest) GetParent() string

func (*BatchUpdateEntitiesRequest) GetUpdateMask Uses

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

func (*BatchUpdateEntitiesRequest) ProtoMessage Uses

func (*BatchUpdateEntitiesRequest) ProtoMessage()

func (*BatchUpdateEntitiesRequest) ProtoReflect Uses

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

func (*BatchUpdateEntitiesRequest) Reset Uses

func (x *BatchUpdateEntitiesRequest) Reset()

func (*BatchUpdateEntitiesRequest) String Uses

func (x *BatchUpdateEntitiesRequest) String() string

type BatchUpdateEntityTypesRequest Uses

type BatchUpdateEntityTypesRequest struct {

    // Required. The name of the agent to update or create entity types in.
    // Format: `projects/<Project ID>/agent`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // The source of the entity type batch.
    //
    // For each entity type in the batch:
    //
    // *   If `name` is specified, we update an existing entity type.
    // *   If `name` is not specified, we create a new entity type.
    //
    // Types that are assignable to EntityTypeBatch:
    //	*BatchUpdateEntityTypesRequest_EntityTypeBatchUri
    //	*BatchUpdateEntityTypesRequest_EntityTypeBatchInline
    EntityTypeBatch isBatchUpdateEntityTypesRequest_EntityTypeBatch `protobuf_oneof:"entity_type_batch"`
    // Optional. The language used to access language-specific data.
    // If not specified, the agent's default language is used.
    // For more information, see
    // [Multilingual intent and entity
    // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // Optional. The mask to control which fields get updated.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // contains filtered or unexported fields
}

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

func (*BatchUpdateEntityTypesRequest) Descriptor Uses

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

Deprecated: Use BatchUpdateEntityTypesRequest.ProtoReflect.Descriptor instead.

func (*BatchUpdateEntityTypesRequest) GetEntityTypeBatch Uses

func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatch() isBatchUpdateEntityTypesRequest_EntityTypeBatch

func (*BatchUpdateEntityTypesRequest) GetEntityTypeBatchInline Uses

func (x *BatchUpdateEntityTypesRequest) GetEntityTypeBatchInline() *EntityTypeBatch

func (*BatchUpdateEntityTypesRequest) GetEntityTypeBatchUri Uses

func (x *BatchUpdateEntityTypesRequest) GetEntityTypeBatchUri() string

func (*BatchUpdateEntityTypesRequest) GetLanguageCode Uses

func (x *BatchUpdateEntityTypesRequest) GetLanguageCode() string

func (*BatchUpdateEntityTypesRequest) GetParent Uses

func (x *BatchUpdateEntityTypesRequest) GetParent() string

func (*BatchUpdateEntityTypesRequest) GetUpdateMask Uses

func (x *BatchUpdateEntityTypesRequest) GetUpdateMask() *field_mask.FieldMask

func (*BatchUpdateEntityTypesRequest) ProtoMessage Uses

func (*BatchUpdateEntityTypesRequest) ProtoMessage()

func (*BatchUpdateEntityTypesRequest) ProtoReflect Uses

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

func (*BatchUpdateEntityTypesRequest) Reset Uses

func (x *BatchUpdateEntityTypesRequest) Reset()

func (*BatchUpdateEntityTypesRequest) String Uses

func (x *BatchUpdateEntityTypesRequest) String() string

type BatchUpdateEntityTypesRequest_EntityTypeBatchInline Uses

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"`
}

type BatchUpdateEntityTypesRequest_EntityTypeBatchUri Uses

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"`
}

type BatchUpdateEntityTypesResponse Uses

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 Uses

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

Deprecated: Use BatchUpdateEntityTypesResponse.ProtoReflect.Descriptor instead.

func (*BatchUpdateEntityTypesResponse) GetEntityTypes Uses

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

func (*BatchUpdateEntityTypesResponse) ProtoMessage Uses

func (*BatchUpdateEntityTypesResponse) ProtoMessage()

func (*BatchUpdateEntityTypesResponse) ProtoReflect Uses

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

func (*BatchUpdateEntityTypesResponse) Reset Uses

func (x *BatchUpdateEntityTypesResponse) Reset()

func (*BatchUpdateEntityTypesResponse) String Uses

func (x *BatchUpdateEntityTypesResponse) String() string

type BatchUpdateIntentsRequest Uses

type BatchUpdateIntentsRequest struct {

    // Required. The name of the agent to update or create intents in.
    // Format: `projects/<Project ID>/agent`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The source of the intent batch.
    //
    // For each intent in the batch:
    //
    // *    If `name` is specified, we update an existing intent.
    // *    If `name` is not specified, we create a new intent.
    //
    // Types that are assignable to IntentBatch:
    //	*BatchUpdateIntentsRequest_IntentBatchUri
    //	*BatchUpdateIntentsRequest_IntentBatchInline
    IntentBatch isBatchUpdateIntentsRequest_IntentBatch `protobuf_oneof:"intent_batch"`
    // Optional. The language used to access language-specific data.
    // If not specified, the agent's default language is used.
    // For more information, see
    // [Multilingual intent and entity
    // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // Optional. The mask to control which fields get updated.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // Optional. The resource view to apply to the returned intent.
    IntentView IntentView `protobuf:"varint,6,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"`
    // contains filtered or unexported fields
}

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

func (*BatchUpdateIntentsRequest) Descriptor Uses

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

Deprecated: Use BatchUpdateIntentsRequest.ProtoReflect.Descriptor instead.

func (*BatchUpdateIntentsRequest) GetIntentBatch Uses

func (m *BatchUpdateIntentsRequest) GetIntentBatch() isBatchUpdateIntentsRequest_IntentBatch

func (*BatchUpdateIntentsRequest) GetIntentBatchInline Uses

func (x *BatchUpdateIntentsRequest) GetIntentBatchInline() *IntentBatch

func (*BatchUpdateIntentsRequest) GetIntentBatchUri Uses

func (x *BatchUpdateIntentsRequest) GetIntentBatchUri() string

func (*BatchUpdateIntentsRequest) GetIntentView Uses

func (x *BatchUpdateIntentsRequest) GetIntentView() IntentView

func (*BatchUpdateIntentsRequest) GetLanguageCode Uses

func (x *BatchUpdateIntentsRequest) GetLanguageCode() string

func (*BatchUpdateIntentsRequest) GetParent Uses

func (x *BatchUpdateIntentsRequest) GetParent() string

func (*BatchUpdateIntentsRequest) GetUpdateMask Uses

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

func (*BatchUpdateIntentsRequest) ProtoMessage Uses

func (*BatchUpdateIntentsRequest) ProtoMessage()

func (*BatchUpdateIntentsRequest) ProtoReflect Uses

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

func (*BatchUpdateIntentsRequest) Reset Uses

func (x *BatchUpdateIntentsRequest) Reset()

func (*BatchUpdateIntentsRequest) String Uses

func (x *BatchUpdateIntentsRequest) String() string

type BatchUpdateIntentsRequest_IntentBatchInline Uses

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"`
}

type BatchUpdateIntentsRequest_IntentBatchUri Uses

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"`
}

type BatchUpdateIntentsResponse Uses

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 Uses

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

Deprecated: Use BatchUpdateIntentsResponse.ProtoReflect.Descriptor instead.

func (*BatchUpdateIntentsResponse) GetIntents Uses

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

func (*BatchUpdateIntentsResponse) ProtoMessage Uses

func (*BatchUpdateIntentsResponse) ProtoMessage()

func (*BatchUpdateIntentsResponse) ProtoReflect Uses

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

func (*BatchUpdateIntentsResponse) Reset Uses

func (x *BatchUpdateIntentsResponse) Reset()

func (*BatchUpdateIntentsResponse) String Uses

func (x *BatchUpdateIntentsResponse) String() string

type Context Uses

type Context struct {

    // Required. The unique identifier of the context. Format:
    // `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`,
    // or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
    // ID>/sessions/<Session ID>/contexts/<Context ID>`.
    //
    // The `Context ID` is always converted to lowercase, may only contain
    // characters in a-zA-Z0-9_-% and may be at most 250 bytes long.
    //
    // If `Environment ID` is not specified, we assume default 'draft'
    // environment. If `User ID` is not specified, we assume default '-' user.
    //
    // The following context names are reserved for internal use by Dialogflow.
    // You should not use these contexts or create contexts with these names:
    //
    // * `__system_counters__`
    // * `*_id_dialog_context`
    // * `*_dialog_params_size`
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. The number of conversational query requests after which the
    // context expires. The default is `0`. If set to `0`, the context expires
    // immediately. Contexts expire automatically after 20 minutes if there
    // are no matching queries.
    LifespanCount int32 `protobuf:"varint,2,opt,name=lifespan_count,json=lifespanCount,proto3" json:"lifespan_count,omitempty"`
    // Optional. The collection of parameters associated with this context.
    //
    // Depending on your protocol or client library language, this is a
    // map, associative array, symbol table, dictionary, or JSON object
    // composed of a collection of (MapKey, MapValue) pairs:
    //
    // -   MapKey type: string
    // -   MapKey value: parameter name
    // -   MapValue type:
    //     -   If parameter's entity type is a composite entity: map
    //     -   Else: string or number, depending on parameter value type
    // -   MapValue value:
    //     -   If parameter's entity type is a composite entity:
    //         map from composite entity property names to property values
    //     -   Else: parameter value
    Parameters *_struct.Struct `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty"`
    // contains filtered or unexported fields
}

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](https://cloud.google.com/dialogflow/docs/contexts-overview).

func (*Context) Descriptor Uses

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

Deprecated: Use Context.ProtoReflect.Descriptor instead.

func (*Context) GetLifespanCount Uses

func (x *Context) GetLifespanCount() int32

func (*Context) GetName Uses

func (x *Context) GetName() string

func (*Context) GetParameters Uses

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

func (*Context) ProtoMessage Uses

func (*Context) ProtoMessage()

func (*Context) ProtoReflect Uses

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

func (*Context) Reset Uses

func (x *Context) Reset()

func (*Context) String Uses

func (x *Context) String() string

type ContextsClient Uses

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) (*empty.Empty, error)
    // Deletes all active contexts in the specified session.
    DeleteAllContexts(ctx context.Context, in *DeleteAllContextsRequest, opts ...grpc.CallOption) (*empty.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 Uses

func NewContextsClient(cc grpc.ClientConnInterface) ContextsClient

type ContextsServer Uses

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) (*empty.Empty, error)
    // Deletes all active contexts in the specified session.
    DeleteAllContexts(context.Context, *DeleteAllContextsRequest) (*empty.Empty, error)
}

ContextsServer is the server API for Contexts service.

type CreateContextRequest Uses

type CreateContextRequest struct {

    // Required. The session to create a context for.
    // Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
    // `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
    // ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
    // default 'draft' environment. If `User ID` is not specified, we assume
    // default '-' user.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The context to create.
    Context *Context `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CreateContextRequest) Descriptor Uses

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

Deprecated: Use CreateContextRequest.ProtoReflect.Descriptor instead.

func (*CreateContextRequest) GetContext Uses

func (x *CreateContextRequest) GetContext() *Context

func (*CreateContextRequest) GetParent Uses

func (x *CreateContextRequest) GetParent() string

func (*CreateContextRequest) ProtoMessage Uses

func (*CreateContextRequest) ProtoMessage()

func (*CreateContextRequest) ProtoReflect Uses

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

func (*CreateContextRequest) Reset Uses

func (x *CreateContextRequest) Reset()

func (*CreateContextRequest) String Uses

func (x *CreateContextRequest) String() string

type CreateDocumentRequest Uses

type CreateDocumentRequest struct {

    // Required. The knoweldge base to create a document for.
    // Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The document to create.
    Document *Document `protobuf:"bytes,2,opt,name=document,proto3" json:"document,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CreateDocumentRequest) Descriptor Uses

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

Deprecated: Use CreateDocumentRequest.ProtoReflect.Descriptor instead.

func (*CreateDocumentRequest) GetDocument Uses

func (x *CreateDocumentRequest) GetDocument() *Document

func (*CreateDocumentRequest) GetParent Uses

func (x *CreateDocumentRequest) GetParent() string

func (*CreateDocumentRequest) ProtoMessage Uses

func (*CreateDocumentRequest) ProtoMessage()

func (*CreateDocumentRequest) ProtoReflect Uses

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

func (*CreateDocumentRequest) Reset Uses

func (x *CreateDocumentRequest) Reset()

func (*CreateDocumentRequest) String Uses

func (x *CreateDocumentRequest) String() string

type CreateEntityTypeRequest Uses

type CreateEntityTypeRequest struct {

    // Required. The agent to create a entity type for.
    // Format: `projects/<Project ID>/agent`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The entity type to create.
    EntityType *EntityType `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"`
    // Optional. The language used to access language-specific data.
    // If not specified, the agent's default language is used.
    // For more information, see
    // [Multilingual intent and entity
    // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CreateEntityTypeRequest) Descriptor Uses

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

Deprecated: Use CreateEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*CreateEntityTypeRequest) GetEntityType Uses

func (x *CreateEntityTypeRequest) GetEntityType() *EntityType

func (*CreateEntityTypeRequest) GetLanguageCode Uses

func (x *CreateEntityTypeRequest) GetLanguageCode() string

func (*CreateEntityTypeRequest) GetParent Uses

func (x *CreateEntityTypeRequest) GetParent() string

func (*CreateEntityTypeRequest) ProtoMessage Uses

func (*CreateEntityTypeRequest) ProtoMessage()

func (*CreateEntityTypeRequest) ProtoReflect Uses

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

func (*CreateEntityTypeRequest) Reset Uses

func (x *CreateEntityTypeRequest) Reset()

func (*CreateEntityTypeRequest) String Uses

func (x *CreateEntityTypeRequest) String() string

type CreateIntentRequest Uses

type CreateIntentRequest struct {

    // Required. The agent to create a intent for.
    // Format: `projects/<Project ID>/agent`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The intent to create.
    Intent *Intent `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"`
    // Optional. The language used to access language-specific data.
    // If not specified, the agent's default language is used.
    // For more information, see
    // [Multilingual intent and entity
    // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // Optional. The resource view to apply to the returned intent.
    IntentView IntentView `protobuf:"varint,4,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CreateIntentRequest) Descriptor Uses

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

Deprecated: Use CreateIntentRequest.ProtoReflect.Descriptor instead.

func (*CreateIntentRequest) GetIntent Uses

func (x *CreateIntentRequest) GetIntent() *Intent

func (*CreateIntentRequest) GetIntentView Uses

func (x *CreateIntentRequest) GetIntentView() IntentView

func (*CreateIntentRequest) GetLanguageCode Uses

func (x *CreateIntentRequest) GetLanguageCode() string

func (*CreateIntentRequest) GetParent Uses

func (x *CreateIntentRequest) GetParent() string

func (*CreateIntentRequest) ProtoMessage Uses

func (*CreateIntentRequest) ProtoMessage()

func (*CreateIntentRequest) ProtoReflect Uses

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

func (*CreateIntentRequest) Reset Uses

func (x *CreateIntentRequest) Reset()

func (*CreateIntentRequest) String Uses

func (x *CreateIntentRequest) String() string

type CreateKnowledgeBaseRequest Uses

type CreateKnowledgeBaseRequest struct {

    // Required. The project to create a knowledge base for.
    // Format: `projects/<Project ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The knowledge base to create.
    KnowledgeBase *KnowledgeBase `protobuf:"bytes,2,opt,name=knowledge_base,json=knowledgeBase,proto3" json:"knowledge_base,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CreateKnowledgeBaseRequest) Descriptor Uses

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

Deprecated: Use CreateKnowledgeBaseRequest.ProtoReflect.Descriptor instead.

func (*CreateKnowledgeBaseRequest) GetKnowledgeBase Uses

func (x *CreateKnowledgeBaseRequest) GetKnowledgeBase() *KnowledgeBase

func (*CreateKnowledgeBaseRequest) GetParent Uses

func (x *CreateKnowledgeBaseRequest) GetParent() string

func (*CreateKnowledgeBaseRequest) ProtoMessage Uses

func (*CreateKnowledgeBaseRequest) ProtoMessage()

func (*CreateKnowledgeBaseRequest) ProtoReflect Uses

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

func (*CreateKnowledgeBaseRequest) Reset Uses

func (x *CreateKnowledgeBaseRequest) Reset()

func (*CreateKnowledgeBaseRequest) String Uses

func (x *CreateKnowledgeBaseRequest) String() string

type CreateSessionEntityTypeRequest Uses

type CreateSessionEntityTypeRequest struct {

    // Required. The session to create a session entity type for.
    // Format: `projects/<Project ID>/agent/sessions/<Session ID>` or
    // `projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/
    // sessions/<Session ID>`. If `Environment ID` is not specified, we assume
    // default 'draft' environment. If `User ID` is not specified, we assume
    // default '-' user.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The session entity type to create.
    SessionEntityType *SessionEntityType `protobuf:"bytes,2,opt,name=session_entity_type,json=sessionEntityType,proto3" json:"session_entity_type,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CreateSessionEntityTypeRequest) Descriptor Uses

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

Deprecated: Use CreateSessionEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*CreateSessionEntityTypeRequest) GetParent Uses

func (x *CreateSessionEntityTypeRequest) GetParent() string

func (*CreateSessionEntityTypeRequest) GetSessionEntityType Uses

func (x *CreateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType

func (*CreateSessionEntityTypeRequest) ProtoMessage Uses

func (*CreateSessionEntityTypeRequest) ProtoMessage()

func (*CreateSessionEntityTypeRequest) ProtoReflect Uses

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

func (*CreateSessionEntityTypeRequest) Reset Uses

func (x *CreateSessionEntityTypeRequest) Reset()

func (*CreateSessionEntityTypeRequest) String Uses

func (x *CreateSessionEntityTypeRequest) String() string

type DeleteAgentRequest Uses

type DeleteAgentRequest struct {

    // Required. The project that the agent to delete is associated with.
    // Format: `projects/<Project ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // contains filtered or unexported fields
}

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

func (*DeleteAgentRequest) Descriptor Uses

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

Deprecated: Use DeleteAgentRequest.ProtoReflect.Descriptor instead.

func (*DeleteAgentRequest) GetParent Uses

func (x *DeleteAgentRequest) GetParent() string

func (*DeleteAgentRequest) ProtoMessage Uses

func (*DeleteAgentRequest) ProtoMessage()

func (*DeleteAgentRequest) ProtoReflect Uses

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

func (*DeleteAgentRequest) Reset Uses

func (x *DeleteAgentRequest) Reset()

func (*DeleteAgentRequest) String Uses

func (x *DeleteAgentRequest) String() string

type DeleteAllContextsRequest Uses

type DeleteAllContextsRequest struct {

    // Required. The name of the session to delete all contexts from. Format:
    // `projects/<Project ID>/agent/sessions/<Session ID>` or `projects/<Project
    // ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session
    // ID>`. If `Environment ID` is not specified we assume default 'draft'
    // environment. If `User ID` is not specified, we assume default '-' user.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // contains filtered or unexported fields
}

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

func (*DeleteAllContextsRequest) Descriptor Uses

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

Deprecated: Use DeleteAllContextsRequest.ProtoReflect.Descriptor instead.

func (*DeleteAllContextsRequest) GetParent Uses

func (x *DeleteAllContextsRequest) GetParent() string

func (*DeleteAllContextsRequest) ProtoMessage Uses

func (*DeleteAllContextsRequest) ProtoMessage()

func (*DeleteAllContextsRequest) ProtoReflect Uses

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

func (*DeleteAllContextsRequest) Reset Uses

func (x *DeleteAllContextsRequest) Reset()

func (*DeleteAllContextsRequest) String Uses

func (x *DeleteAllContextsRequest) String() string

type DeleteContextRequest Uses

type DeleteContextRequest struct {

    // Required. The name of the context to delete. Format:
    // `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
    // or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
    // ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
    // not specified, we assume default 'draft' environment. If `User ID` is not
    // specified, we assume default '-' user.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

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

func (*DeleteContextRequest) Descriptor Uses

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

Deprecated: Use DeleteContextRequest.ProtoReflect.Descriptor instead.

func (*DeleteContextRequest) GetName Uses

func (x *DeleteContextRequest) GetName() string

func (*DeleteContextRequest) ProtoMessage Uses

func (*DeleteContextRequest) ProtoMessage()

func (*DeleteContextRequest) ProtoReflect Uses

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

func (*DeleteContextRequest) Reset Uses

func (x *DeleteContextRequest) Reset()

func (*DeleteContextRequest) String Uses

func (x *DeleteContextRequest) String() string

type DeleteDocumentRequest Uses

type DeleteDocumentRequest struct {

    // Required. The name of the document to delete.
    // Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
    // ID>/documents/<Document ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

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

func (*DeleteDocumentRequest) Descriptor Uses

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

Deprecated: Use DeleteDocumentRequest.ProtoReflect.Descriptor instead.

func (*DeleteDocumentRequest) GetName Uses

func (x *DeleteDocumentRequest) GetName() string

func (*DeleteDocumentRequest) ProtoMessage Uses

func (*DeleteDocumentRequest) ProtoMessage()

func (*DeleteDocumentRequest) ProtoReflect Uses

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

func (*DeleteDocumentRequest) Reset Uses

func (x *DeleteDocumentRequest) Reset()

func (*DeleteDocumentRequest) String Uses

func (x *DeleteDocumentRequest) String() string

type DeleteEntityTypeRequest Uses

type DeleteEntityTypeRequest struct {

    // Required. The name of the entity type to delete.
    // Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

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

func (*DeleteEntityTypeRequest) Descriptor Uses

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

Deprecated: Use DeleteEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntityTypeRequest) GetName Uses

func (x *DeleteEntityTypeRequest) GetName() string

func (*DeleteEntityTypeRequest) ProtoMessage Uses

func (*DeleteEntityTypeRequest) ProtoMessage()

func (*DeleteEntityTypeRequest) ProtoReflect Uses

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

func (*DeleteEntityTypeRequest) Reset Uses

func (x *DeleteEntityTypeRequest) Reset()

func (*DeleteEntityTypeRequest) String Uses

func (x *DeleteEntityTypeRequest) String() string

type DeleteIntentRequest Uses

type DeleteIntentRequest struct {

    // Required. The name of the intent to delete. If this intent has direct or
    // indirect followup intents, we also delete them.
    //
    // Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

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

func (*DeleteIntentRequest) Descriptor Uses

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

Deprecated: Use DeleteIntentRequest.ProtoReflect.Descriptor instead.

func (*DeleteIntentRequest) GetName Uses

func (x *DeleteIntentRequest) GetName() string

func (*DeleteIntentRequest) ProtoMessage Uses

func (*DeleteIntentRequest) ProtoMessage()

func (*DeleteIntentRequest) ProtoReflect Uses

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

func (*DeleteIntentRequest) Reset Uses

func (x *DeleteIntentRequest) Reset()

func (*DeleteIntentRequest) String Uses

func (x *DeleteIntentRequest) String() string

type DeleteKnowledgeBaseRequest Uses

type DeleteKnowledgeBaseRequest struct {

    // Required. The name of the knowledge base to delete.
    // Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. Force deletes the knowledge base. When set to true, any documents
    // in the knowledge base are also deleted.
    Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
    // contains filtered or unexported fields
}

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

func (*DeleteKnowledgeBaseRequest) Descriptor Uses

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

Deprecated: Use DeleteKnowledgeBaseRequest.ProtoReflect.Descriptor instead.

func (*DeleteKnowledgeBaseRequest) GetForce Uses

func (x *DeleteKnowledgeBaseRequest) GetForce() bool

func (*DeleteKnowledgeBaseRequest) GetName Uses

func (x *DeleteKnowledgeBaseRequest) GetName() string

func (*DeleteKnowledgeBaseRequest) ProtoMessage Uses

func (*DeleteKnowledgeBaseRequest) ProtoMessage()

func (*DeleteKnowledgeBaseRequest) ProtoReflect Uses

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

func (*DeleteKnowledgeBaseRequest) Reset Uses

func (x *DeleteKnowledgeBaseRequest) Reset()

func (*DeleteKnowledgeBaseRequest) String Uses

func (x *DeleteKnowledgeBaseRequest) String() string

type DeleteSessionEntityTypeRequest Uses

type DeleteSessionEntityTypeRequest struct {

    // Required. The name of the entity type to delete. Format:
    // `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
    // Display Name>` or `projects/<Project ID>/agent/environments/<Environment
    // ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
    // Name>`. If `Environment ID` is not specified, we assume default 'draft'
    // environment. If `User ID` is not specified, we assume default '-' user.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

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

func (*DeleteSessionEntityTypeRequest) Descriptor Uses

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

Deprecated: Use DeleteSessionEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*DeleteSessionEntityTypeRequest) GetName Uses

func (x *DeleteSessionEntityTypeRequest) GetName() string

func (*DeleteSessionEntityTypeRequest) ProtoMessage Uses

func (*DeleteSessionEntityTypeRequest) ProtoMessage()

func (*DeleteSessionEntityTypeRequest) ProtoReflect Uses

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

func (*DeleteSessionEntityTypeRequest) Reset Uses

func (x *DeleteSessionEntityTypeRequest) Reset()

func (*DeleteSessionEntityTypeRequest) String Uses

func (x *DeleteSessionEntityTypeRequest) String() string

type DetectIntentRequest Uses

type DetectIntentRequest struct {

    // Required. The name of the session this query is sent to. Format:
    // `projects/<Project ID>/agent/sessions/<Session ID>`, or
    // `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
    // ID>/sessions/<Session ID>`. If `Environment ID` is not specified, we assume
    // default 'draft' environment. If `User ID` is not specified, we are using
    // "-". It's up to the API caller to choose an appropriate `Session ID` and
    // `User Id`. They can be a random number or some type of user and session
    // identifiers (preferably hashed). The length of the `Session ID` and
    // `User ID` must not exceed 36 characters.
    //
    // For more information, see the [API interactions
    // guide](https://cloud.google.com/dialogflow/docs/api-overview).
    Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
    // The parameters of this query.
    QueryParams *QueryParameters `protobuf:"bytes,2,opt,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"`
    // Required. The input specification. It can be set to:
    //
    // 1.  an audio config
    //     which instructs the speech recognizer how to process the speech audio,
    //
    // 2.  a conversational query in the form of text, or
    //
    // 3.  an event that specifies which intent to trigger.
    QueryInput *QueryInput `protobuf:"bytes,3,opt,name=query_input,json=queryInput,proto3" json:"query_input,omitempty"`
    // Instructs the speech synthesizer how to generate the output
    // audio. If this field is not set and agent-level speech synthesizer is not
    // configured, no output audio is generated.
    OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,4,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"`
    // Mask for [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] indicating which settings in this
    // request-level config should override speech synthesizer settings defined at
    // agent-level.
    //
    // If unspecified or empty, [output_audio_config][google.cloud.dialogflow.v2beta1.DetectIntentRequest.output_audio_config] replaces the agent-level
    // config in its entirety.
    OutputAudioConfigMask *field_mask.FieldMask `protobuf:"bytes,7,opt,name=output_audio_config_mask,json=outputAudioConfigMask,proto3" json:"output_audio_config_mask,omitempty"`
    // The natural language speech audio to be processed. This field
    // should be populated iff `query_input` is set to an input audio config.
    // A single request can contain up to 1 minute of speech audio data.
    InputAudio []byte `protobuf:"bytes,5,opt,name=input_audio,json=inputAudio,proto3" json:"input_audio,omitempty"`
    // contains filtered or unexported fields
}

The request to detect user's intent.

func (*DetectIntentRequest) Descriptor Uses

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

Deprecated: Use DetectIntentRequest.ProtoReflect.Descriptor instead.

func (*DetectIntentRequest) GetInputAudio Uses

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

func (*DetectIntentRequest) GetOutputAudioConfig Uses

func (x *DetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig

func (*DetectIntentRequest) GetOutputAudioConfigMask Uses

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

func (*DetectIntentRequest) GetQueryInput Uses

func (x *DetectIntentRequest) GetQueryInput() *QueryInput

func (*DetectIntentRequest) GetQueryParams Uses

func (x *DetectIntentRequest) GetQueryParams() *QueryParameters

func (*DetectIntentRequest) GetSession Uses

func (x *DetectIntentRequest) GetSession() string

func (*DetectIntentRequest) ProtoMessage Uses

func (*DetectIntentRequest) ProtoMessage()

func (*DetectIntentRequest) ProtoReflect Uses

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

func (*DetectIntentRequest) Reset Uses

func (x *DetectIntentRequest) Reset()

func (*DetectIntentRequest) String Uses

func (x *DetectIntentRequest) String() string

type DetectIntentResponse Uses

type DetectIntentResponse struct {

    // The unique identifier of the response. It can be used to
    // locate a response in the training example set or for reporting issues.
    ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"`
    // The selected results of the conversational query or event processing.
    // See `alternative_query_results` for additional potential results.
    QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"`
    // If Knowledge Connectors are enabled, there could be more than one result
    // returned for a given query or event, and this field will contain all
    // results except for the top one, which is captured in query_result. The
    // alternative results are ordered by decreasing
    // `QueryResult.intent_detection_confidence`. If Knowledge Connectors are
    // disabled, this field will be empty until multiple responses for regular
    // intents are supported, at which point those additional results will be
    // surfaced here.
    AlternativeQueryResults []*QueryResult `protobuf:"bytes,5,rep,name=alternative_query_results,json=alternativeQueryResults,proto3" json:"alternative_query_results,omitempty"`
    // Specifies the status of the webhook request.
    WebhookStatus *status.Status `protobuf:"bytes,3,opt,name=webhook_status,json=webhookStatus,proto3" json:"webhook_status,omitempty"`
    // The audio data bytes encoded as specified in the request.
    // Note: The output audio is generated based on the values of default platform
    // text responses found in the `query_result.fulfillment_messages` field. If
    // multiple default text responses exist, they will be concatenated when
    // generating audio. If no default platform text responses exist, the
    // generated audio content will be empty.
    //
    // In some scenarios, multiple output audio fields may be present in the
    // response structure. In these cases, only the top-most-level audio output
    // has content.
    OutputAudio []byte `protobuf:"bytes,4,opt,name=output_audio,json=outputAudio,proto3" json:"output_audio,omitempty"`
    // The config used by the speech synthesizer to generate the output audio.
    OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,6,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"`
    // contains filtered or unexported fields
}

The message returned from the DetectIntent method.

func (*DetectIntentResponse) Descriptor Uses

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

Deprecated: Use DetectIntentResponse.ProtoReflect.Descriptor instead.

func (*DetectIntentResponse) GetAlternativeQueryResults Uses

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

func (*DetectIntentResponse) GetOutputAudio Uses

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

func (*DetectIntentResponse) GetOutputAudioConfig Uses

func (x *DetectIntentResponse) GetOutputAudioConfig() *OutputAudioConfig

func (*DetectIntentResponse) GetQueryResult Uses

func (x *DetectIntentResponse) GetQueryResult() *QueryResult

func (*DetectIntentResponse) GetResponseId Uses

func (x *DetectIntentResponse) GetResponseId() string

func (*DetectIntentResponse) GetWebhookStatus Uses

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

func (*DetectIntentResponse) ProtoMessage Uses

func (*DetectIntentResponse) ProtoMessage()

func (*DetectIntentResponse) ProtoReflect Uses

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

func (*DetectIntentResponse) Reset Uses

func (x *DetectIntentResponse) Reset()

func (*DetectIntentResponse) String Uses

func (x *DetectIntentResponse) String() string

type Document Uses

type Document struct {

    // Optional. The document resource name.
    // The name must be empty when creating a document.
    // Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base
    // ID>/documents/<Document ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The display name of the document. The name must be 1024 bytes or
    // less; otherwise, the creation request fails.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // Required. The MIME type of this document.
    MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
    // Required. The knowledge type of document content.
    KnowledgeTypes []Document_KnowledgeType `protobuf:"varint,4,rep,packed,name=knowledge_types,json=knowledgeTypes,proto3,enum=google.cloud.dialogflow.v2beta1.Document_KnowledgeType" json:"knowledge_types,omitempty"`
    // The source of this document.
    //
    // Types that are assignable to Source:
    //	*Document_ContentUri
    //	*Document_Content
    //	*Document_RawContent
    Source isDocument_Source `protobuf_oneof:"source"`
    // Optional. If true, we try to automatically reload the document every day
    // (at a time picked by the system). If false or unspecified, we don't try
    // to automatically reload the document.
    //
    // Currently you can only enable automatic reload for documents sourced from
    // a public url, see `source` field for the source types.
    //
    // Reload status can be tracked in `latest_reload_status`. If a reload
    // fails, we will keep the document unchanged.
    //
    // If a reload fails with internal errors, the system will try to reload the
    // document on the next day.
    // If a reload fails with non-retriable errors (e.g. PERMISION_DENIED), the
    // system will not try to reload the document anymore. You need to manually
    // reload the document successfully by calling `ReloadDocument` and clear the
    // errors.
    EnableAutoReload bool `protobuf:"varint,11,opt,name=enable_auto_reload,json=enableAutoReload,proto3" json:"enable_auto_reload,omitempty"`
    // Output only. The time and status of the latest reload.
    // This reload may have been triggered automatically or manually
    // and may not have succeeded.
    LatestReloadStatus *Document_ReloadStatus `protobuf:"bytes,12,opt,name=latest_reload_status,json=latestReloadStatus,proto3" json:"latest_reload_status,omitempty"`
    // contains filtered or unexported fields
}

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

For more information, see the [knowledge base guide](https://cloud.google.com/dialogflow/docs/how/knowledge-bases).

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

func (*Document) Descriptor Uses

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

Deprecated: Use Document.ProtoReflect.Descriptor instead.

func (*Document) GetContent Uses

func (x *Document) GetContent() string

Deprecated: Do not use.

func (*Document) GetContentUri Uses

func (x *Document) GetContentUri() string

func (*Document) GetDisplayName Uses

func (x *Document) GetDisplayName() string

func (*Document) GetEnableAutoReload Uses

func (x *Document) GetEnableAutoReload() bool

func (*Document) GetKnowledgeTypes Uses

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

func (*Document) GetLatestReloadStatus Uses

func (x *Document) GetLatestReloadStatus() *Document_ReloadStatus

func (*Document) GetMimeType Uses

func (x *Document) GetMimeType() string

func (*Document) GetName Uses

func (x *Document) GetName() string

func (*Document) GetRawContent Uses

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

func (*Document) GetSource Uses

func (m *Document) GetSource() isDocument_Source

func (*Document) ProtoMessage Uses

func (*Document) ProtoMessage()

func (*Document) ProtoReflect Uses

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

func (*Document) Reset Uses

func (x *Document) Reset()

func (*Document) String Uses

func (x *Document) String() string

type Document_Content Uses

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"`
}

type Document_ContentUri Uses

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://<bucket-name>/<object-name>`.
    //
    // NOTE: External URLs must correspond to public webpages, i.e., they must
    // be indexed by Google Search. In particular, URLs for showing documents in
    // Google Cloud Storage (i.e. the URL in your browser) are not supported.
    // Instead use the `gs://` format URI described above.
    ContentUri string `protobuf:"bytes,5,opt,name=content_uri,json=contentUri,proto3,oneof"`
}

type Document_KnowledgeType Uses

type Document_KnowledgeType int32

The knowledge type of document content.

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
)

func (Document_KnowledgeType) Descriptor Uses

func (Document_KnowledgeType) Descriptor() protoreflect.EnumDescriptor

func (Document_KnowledgeType) Enum Uses

func (x Document_KnowledgeType) Enum() *Document_KnowledgeType

func (Document_KnowledgeType) EnumDescriptor Uses

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

Deprecated: Use Document_KnowledgeType.Descriptor instead.

func (Document_KnowledgeType) Number Uses

func (x Document_KnowledgeType) Number() protoreflect.EnumNumber

func (Document_KnowledgeType) String Uses

func (x Document_KnowledgeType) String() string

func (Document_KnowledgeType) Type Uses

func (Document_KnowledgeType) Type() protoreflect.EnumType

type Document_RawContent Uses

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"`
}

type Document_ReloadStatus Uses

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 *timestamp.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 Uses

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

Deprecated: Use Document_ReloadStatus.ProtoReflect.Descriptor instead.

func (*Document_ReloadStatus) GetStatus Uses

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

func (*Document_ReloadStatus) GetTime Uses

func (x *Document_ReloadStatus) GetTime() *timestamp.Timestamp

func (*Document_ReloadStatus) ProtoMessage Uses

func (*Document_ReloadStatus) ProtoMessage()

func (*Document_ReloadStatus) ProtoReflect Uses

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

func (*Document_ReloadStatus) Reset Uses

func (x *Document_ReloadStatus) Reset()

func (*Document_ReloadStatus) String Uses

func (x *Document_ReloadStatus) String() string

type DocumentsClient Uses

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.
    //
    // 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)
    // Deletes the specified document.
    //
    // 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.
    //
    // 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: 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 Uses

func NewDocumentsClient(cc grpc.ClientConnInterface) DocumentsClient

type DocumentsServer Uses

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.
    //
    // Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
    // only use `projects.knowledgeBases.documents`.
    CreateDocument(context.Context, *CreateDocumentRequest) (*longrunning.Operation, error)
    // Deletes the specified document.
    //
    // 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.
    //
    // 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: 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.

type EntityType Uses

type EntityType struct {

    // The unique identifier of the entity type.
    // Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.v2beta1.EntityTypes.UpdateEntityType] and
    // [EntityTypes.BatchUpdateEntityTypes][google.cloud.dialogflow.v2beta1.EntityTypes.BatchUpdateEntityTypes] methods.
    // Format: `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The name of the entity type.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // Required. Indicates the kind of entity type.
    Kind EntityType_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=google.cloud.dialogflow.v2beta1.EntityType_Kind" json:"kind,omitempty"`
    // Optional. Indicates whether the entity type can be automatically
    // expanded.
    AutoExpansionMode EntityType_AutoExpansionMode `protobuf:"varint,4,opt,name=auto_expansion_mode,json=autoExpansionMode,proto3,enum=google.cloud.dialogflow.v2beta1.EntityType_AutoExpansionMode" json:"auto_expansion_mode,omitempty"`
    // Optional. The collection of entity entries associated with the entity type.
    Entities []*EntityType_Entity `protobuf:"bytes,6,rep,name=entities,proto3" json:"entities,omitempty"`
    // Optional. Enables fuzzy entity extraction during classification.
    EnableFuzzyExtraction bool `protobuf:"varint,7,opt,name=enable_fuzzy_extraction,json=enableFuzzyExtraction,proto3" json:"enable_fuzzy_extraction,omitempty"`
    // contains filtered or unexported fields
}

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](https://cloud.google.com/dialogflow/docs/entities-overview).

func (*EntityType) Descriptor Uses

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

Deprecated: Use EntityType.ProtoReflect.Descriptor instead.

func (*EntityType) GetAutoExpansionMode Uses

func (x *EntityType) GetAutoExpansionMode() EntityType_AutoExpansionMode

func (*EntityType) GetDisplayName Uses

func (x *EntityType) GetDisplayName() string

func (*EntityType) GetEnableFuzzyExtraction Uses

func (x *EntityType) GetEnableFuzzyExtraction() bool

func (*EntityType) GetEntities Uses

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

func (*EntityType) GetKind Uses

func (x *EntityType) GetKind() EntityType_Kind

func (*EntityType) GetName Uses

func (x *EntityType) GetName() string

func (*EntityType) ProtoMessage Uses

func (*EntityType) ProtoMessage()

func (*EntityType) ProtoReflect Uses

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

func (*EntityType) Reset Uses

func (x *EntityType) Reset()

func (*EntityType) String Uses

func (x *EntityType) String() string

type EntityTypeBatch Uses

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 Uses

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

Deprecated: Use EntityTypeBatch.ProtoReflect.Descriptor instead.

func (*EntityTypeBatch) GetEntityTypes Uses

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

func (*EntityTypeBatch) ProtoMessage Uses

func (*EntityTypeBatch) ProtoMessage()

func (*EntityTypeBatch) ProtoReflect Uses

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

func (*EntityTypeBatch) Reset Uses

func (x *EntityTypeBatch) Reset()

func (*EntityTypeBatch) String Uses

func (x *EntityTypeBatch) String() string

type EntityType_AutoExpansionMode Uses

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

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 Uses

func (EntityType_AutoExpansionMode) Descriptor() protoreflect.EnumDescriptor

func (EntityType_AutoExpansionMode) Enum Uses

func (x EntityType_AutoExpansionMode) Enum() *EntityType_AutoExpansionMode

func (EntityType_AutoExpansionMode) EnumDescriptor Uses

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

Deprecated: Use EntityType_AutoExpansionMode.Descriptor instead.

func (EntityType_AutoExpansionMode) Number Uses

func (x EntityType_AutoExpansionMode) Number() protoreflect.EnumNumber

func (EntityType_AutoExpansionMode) String Uses

func (x EntityType_AutoExpansionMode) String() string

func (EntityType_AutoExpansionMode) Type Uses

func (EntityType_AutoExpansionMode) Type() protoreflect.EnumType

type EntityType_Entity Uses

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 Uses

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

Deprecated: Use EntityType_Entity.ProtoReflect.Descriptor instead.

func (*EntityType_Entity) GetSynonyms Uses

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

func (*EntityType_Entity) GetValue Uses

func (x *EntityType_Entity) GetValue() string

func (*EntityType_Entity) ProtoMessage Uses

func (*EntityType_Entity) ProtoMessage()

func (*EntityType_Entity) ProtoReflect Uses

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

func (*EntityType_Entity) Reset Uses

func (x *EntityType_Entity) Reset()

func (*EntityType_Entity) String Uses

func (x *EntityType_Entity) String() string

type EntityType_Kind Uses

type EntityType_Kind int32

Represents kinds of entities.

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 Uses

func (EntityType_Kind) Descriptor() protoreflect.EnumDescriptor

func (EntityType_Kind) Enum Uses

func (x EntityType_Kind) Enum() *EntityType_Kind

func (EntityType_Kind) EnumDescriptor Uses

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

Deprecated: Use EntityType_Kind.Descriptor instead.

func (EntityType_Kind) Number Uses

func (x EntityType_Kind) Number() protoreflect.EnumNumber

func (EntityType_Kind) String Uses

func (x EntityType_Kind) String() string

func (EntityType_Kind) Type Uses

func (EntityType_Kind) Type() protoreflect.EnumType

type EntityTypesClient Uses

type EntityTypesClient interface {
    // Returns the list of all entity types in the specified agent.
    ListEntityTypes(ctx context.Context, in *ListEntityTypesRequest, opts ...grpc.CallOption) (*ListEntityTypesResponse, error)
    // Retrieves the specified entity type.
    GetEntityType(ctx context.Context, in *GetEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error)
    // Creates an entity type in the specified agent.
    CreateEntityType(ctx context.Context, in *CreateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error)
    // Updates the specified entity type.
    UpdateEntityType(ctx context.Context, in *UpdateEntityTypeRequest, opts ...grpc.CallOption) (*EntityType, error)
    // Deletes the specified entity type.
    DeleteEntityType(ctx context.Context, in *DeleteEntityTypeRequest, opts ...grpc.CallOption) (*empty.Empty, error)
    // Updates/Creates multiple entity types in the specified agent.
    // Operation <response: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse]>
    BatchUpdateEntityTypes(ctx context.Context, in *BatchUpdateEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Deletes entity types in the specified agent.
    // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
    BatchDeleteEntityTypes(ctx context.Context, in *BatchDeleteEntityTypesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Creates multiple new entities in the specified entity type.
    //
    // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
    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.
    //
    // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
    BatchUpdateEntities(ctx context.Context, in *BatchUpdateEntitiesRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Deletes entities in the specified entity type.
    //
    // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
    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 Uses

func NewEntityTypesClient(cc grpc.ClientConnInterface) EntityTypesClient

type EntityTypesServer Uses

type EntityTypesServer interface {
    // Returns the list of all entity types in the specified agent.
    ListEntityTypes(context.Context, *ListEntityTypesRequest) (*ListEntityTypesResponse, error)
    // Retrieves the specified entity type.
    GetEntityType(context.Context, *GetEntityTypeRequest) (*EntityType, error)
    // Creates an entity type in the specified agent.
    CreateEntityType(context.Context, *CreateEntityTypeRequest) (*EntityType, error)
    // Updates the specified entity type.
    UpdateEntityType(context.Context, *UpdateEntityTypeRequest) (*EntityType, error)
    // Deletes the specified entity type.
    DeleteEntityType(context.Context, *DeleteEntityTypeRequest) (*empty.Empty, error)
    // Updates/Creates multiple entity types in the specified agent.
    // Operation <response: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse]>
    BatchUpdateEntityTypes(context.Context, *BatchUpdateEntityTypesRequest) (*longrunning.Operation, error)
    // Deletes entity types in the specified agent.
    // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
    BatchDeleteEntityTypes(context.Context, *BatchDeleteEntityTypesRequest) (*longrunning.Operation, error)
    // Creates multiple new entities in the specified entity type.
    //
    // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
    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.
    //
    // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
    BatchUpdateEntities(context.Context, *BatchUpdateEntitiesRequest) (*longrunning.Operation, error)
    // Deletes entities in the specified entity type.
    //
    // Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
    BatchDeleteEntities(context.Context, *BatchDeleteEntitiesRequest) (*longrunning.Operation, error)
}

EntityTypesServer is the server API for EntityTypes service.

type Environment Uses

type Environment struct {

    // Output only. The unique identifier of this agent environment.
    // Format:
    // - `projects/<Project Number / ID>/agent/environments/<Environment ID>`
    // - `projects/<Project Number / ID>/locations/<Location
    // ID>/agent/environments/<Environment ID>`
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. The developer-provided description for this environment.
    // The maximum length is 500 characters. If exceeded, the request is rejected.
    Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
    // Optional. The agent version loaded into this environment.
    // Format: `projects/<Project ID>/agent/versions/<Version ID>`.
    AgentVersion string `protobuf:"bytes,3,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"`
    // Output only. The state of this environment. This field is read-only, i.e., it cannot be
    // set by create and update methods.
    State Environment_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.dialogflow.v2beta1.Environment_State" json:"state,omitempty"`
    // Output only. The last update time of this environment. This field is read-only, i.e., it
    // cannot be set by create and update methods.
    UpdateTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    // contains filtered or unexported fields
}

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](https://cloud.google.com/dialogflow/docs/agents-versions).

func (*Environment) Descriptor Uses

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

Deprecated: Use Environment.ProtoReflect.Descriptor instead.

func (*Environment) GetAgentVersion Uses

func (x *Environment) GetAgentVersion() string

func (*Environment) GetDescription Uses

func (x *Environment) GetDescription() string

func (*Environment) GetName Uses

func (x *Environment) GetName() string

func (*Environment) GetState Uses

func (x *Environment) GetState() Environment_State

func (*Environment) GetUpdateTime Uses

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

func (*Environment) ProtoMessage Uses

func (*Environment) ProtoMessage()

func (*Environment) ProtoReflect Uses

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

func (*Environment) Reset Uses

func (x *Environment) Reset()

func (*Environment) String Uses

func (x *Environment) String() string

type Environment_State Uses

type Environment_State int32

Represents an environment state. When an environment is pointed to a new agent version, the environment is temporarily set to the `LOADING` state. During that time, the environment keeps on serving the previous version of the agent. After the new agent version is done loading, the environment is set back to the `RUNNING` state.

const (
    // Not specified. This value is not used.
    Environment_STATE_UNSPECIFIED Environment_State = 0
    // Stopped.
    Environment_STOPPED Environment_State = 1
    // Loading.
    Environment_LOADING Environment_State = 2
    // Running.
    Environment_RUNNING Environment_State = 3
)

func (Environment_State) Descriptor Uses

func (Environment_State) Descriptor() protoreflect.EnumDescriptor

func (Environment_State) Enum Uses

func (x Environment_State) Enum() *Environment_State

func (Environment_State) EnumDescriptor Uses

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

Deprecated: Use Environment_State.Descriptor instead.

func (Environment_State) Number Uses

func (x Environment_State) Number() protoreflect.EnumNumber

func (Environment_State) String Uses

func (x Environment_State) String() string

func (Environment_State) Type Uses

func (Environment_State) Type() protoreflect.EnumType

type EnvironmentsClient Uses

type EnvironmentsClient interface {
    // Returns the list of all non-draft environments of the specified agent.
    ListEnvironments(ctx context.Context, in *ListEnvironmentsRequest, opts ...grpc.CallOption) (*ListEnvironmentsResponse, error)
}

EnvironmentsClient is the client API for Environments service.

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

func NewEnvironmentsClient Uses

func NewEnvironmentsClient(cc grpc.ClientConnInterface) EnvironmentsClient

type EnvironmentsServer Uses

type EnvironmentsServer interface {
    // Returns the list of all non-draft environments of the specified agent.
    ListEnvironments(context.Context, *ListEnvironmentsRequest) (*ListEnvironmentsResponse, error)
}

EnvironmentsServer is the server API for Environments service.

type EventInput Uses

type EventInput struct {

    // Required. The unique identifier of the event.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The collection of parameters associated with the event.
    //
    // Depending on your protocol or client library language, this is a
    // map, associative array, symbol table, dictionary, or JSON object
    // composed of a collection of (MapKey, MapValue) pairs:
    //
    // -   MapKey type: string
    // -   MapKey value: parameter name
    // -   MapValue type:
    //     -   If parameter's entity type is a composite entity: map
    //     -   Else: string or number, depending on parameter value type
    // -   MapValue value:
    //     -   If parameter's entity type is a composite entity:
    //         map from composite entity property names to property values
    //     -   Else: parameter value
    Parameters *_struct.Struct `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"`
    // Required. The language of this query. See [Language
    // Support](https://cloud.google.com/dialogflow/docs/reference/language)
    // for a list of the currently supported language codes. Note that queries in
    // the same session do not necessarily need to specify the same language.
    LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // contains filtered or unexported fields
}

Events allow for matching intents by event name instead of the natural language input. For instance, input `<event: { name: "welcome_event", parameters: { name: "Sam" } }>` can trigger a personalized welcome response. The parameter `name` may be used by the agent in the response: `"Hello #welcome_event.name! What can I do for you today?"`.

func (*EventInput) Descriptor Uses

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

Deprecated: Use EventInput.ProtoReflect.Descriptor instead.

func (*EventInput) GetLanguageCode Uses

func (x *EventInput) GetLanguageCode() string

func (*EventInput) GetName Uses

func (x *EventInput) GetName() string

func (*EventInput) GetParameters Uses

func (x *EventInput) GetParameters() *_struct.Struct

func (*EventInput) ProtoMessage Uses

func (*EventInput) ProtoMessage()

func (*EventInput) ProtoReflect Uses

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

func (*EventInput) Reset Uses

func (x *EventInput) Reset()

func (*EventInput) String Uses

func (x *EventInput) String() string

type ExportAgentRequest Uses

type ExportAgentRequest struct {

    // Required. The project that the agent to export is associated with.
    // Format: `projects/<Project ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Optional. The
    // [Google Cloud Storage](https://cloud.google.com/storage/docs/)
    // URI to export the agent to.
    // The format of this URI must be `gs://<bucket-name>/<object-name>`.
    // If left unspecified, the serialized agent is returned inline.
    AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3" json:"agent_uri,omitempty"`
    // contains filtered or unexported fields
}

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

func (*ExportAgentRequest) Descriptor Uses

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

Deprecated: Use ExportAgentRequest.ProtoReflect.Descriptor instead.

func (*ExportAgentRequest) GetAgentUri Uses

func (x *ExportAgentRequest) GetAgentUri() string

func (*ExportAgentRequest) GetParent Uses

func (x *ExportAgentRequest) GetParent() string

func (*ExportAgentRequest) ProtoMessage Uses

func (*ExportAgentRequest) ProtoMessage()

func (*ExportAgentRequest) ProtoReflect Uses

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

func (*ExportAgentRequest) Reset Uses

func (x *ExportAgentRequest) Reset()

func (*ExportAgentRequest) String Uses

func (x *ExportAgentRequest) String() string

type ExportAgentResponse Uses

type ExportAgentResponse struct {

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

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

func (*ExportAgentResponse) Descriptor Uses

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

Deprecated: Use ExportAgentResponse.ProtoReflect.Descriptor instead.

func (*ExportAgentResponse) GetAgent Uses

func (m *ExportAgentResponse) GetAgent() isExportAgentResponse_Agent

func (*ExportAgentResponse) GetAgentContent Uses

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

func (*ExportAgentResponse) GetAgentUri Uses

func (x *ExportAgentResponse) GetAgentUri() string

func (*ExportAgentResponse) ProtoMessage Uses

func (*ExportAgentResponse) ProtoMessage()

func (*ExportAgentResponse) ProtoReflect Uses

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

func (*ExportAgentResponse) Reset Uses

func (x *ExportAgentResponse) Reset()

func (*ExportAgentResponse) String Uses

func (x *ExportAgentResponse) String() string

type ExportAgentResponse_AgentContent Uses

type ExportAgentResponse_AgentContent struct {
    // Zip compressed raw byte content for agent.
    AgentContent []byte `protobuf:"bytes,2,opt,name=agent_content,json=agentContent,proto3,oneof"`
}

type ExportAgentResponse_AgentUri Uses

type ExportAgentResponse_AgentUri struct {
    // The URI to a file containing the exported agent. This field is populated
    // only if `agent_uri` is specified in `ExportAgentRequest`.
    AgentUri string `protobuf:"bytes,1,opt,name=agent_uri,json=agentUri,proto3,oneof"`
}

type GcsSource Uses

type GcsSource struct {

    // Required. The Google Cloud Storage URIs for the inputs. A URI is of the
    // form:
    //   gs://bucket/object-prefix-or-name
    // Whether a prefix or name is used depends on the use case.
    Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
    // contains filtered or unexported fields
}

Google Cloud Storage location for single input.

func (*GcsSource) Descriptor Uses

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

Deprecated: Use GcsSource.ProtoReflect.Descriptor instead.

func (*GcsSource) GetUri Uses

func (x *GcsSource) GetUri() string

func (*GcsSource) ProtoMessage Uses

func (*GcsSource) ProtoMessage()

func (*GcsSource) ProtoReflect Uses

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

func (*GcsSource) Reset Uses

func (x *GcsSource) Reset()

func (*GcsSource) String Uses

func (x *GcsSource) String() string

type GetAgentRequest Uses

type GetAgentRequest struct {

    // Required. The project that the agent to fetch is associated with.
    // Format: `projects/<Project ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // contains filtered or unexported fields
}

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

func (*GetAgentRequest) Descriptor Uses

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

Deprecated: Use GetAgentRequest.ProtoReflect.Descriptor instead.

func (*GetAgentRequest) GetParent Uses

func (x *GetAgentRequest) GetParent() string

func (*GetAgentRequest) ProtoMessage Uses

func (*GetAgentRequest) ProtoMessage()

func (*GetAgentRequest) ProtoReflect Uses

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

func (*GetAgentRequest) Reset Uses

func (x *GetAgentRequest) Reset()

func (*GetAgentRequest) String Uses

func (x *GetAgentRequest) String() string

type GetContextRequest Uses

type GetContextRequest struct {

    // Required. The name of the context. Format:
    // `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`
    // or `projects/<Project ID>/agent/environments/<Environment ID>/users/<User
    // ID>/sessions/<Session ID>/contexts/<Context ID>`. If `Environment ID` is
    // not specified, we assume default 'draft' environment. If `User ID` is not
    // specified, we assume default '-' user.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

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

func (*GetContextRequest) Descriptor Uses

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

Deprecated: Use GetContextRequest.ProtoReflect.Descriptor instead.

func (*GetContextRequest) GetName Uses

func (x *GetContextRequest) GetName() string

func (*GetContextRequest) ProtoMessage Uses

func (*GetContextRequest) ProtoMessage()

func (*GetContextRequest) ProtoReflect Uses

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

func (*GetContextRequest) Reset Uses

func (x *GetContextRequest) Reset()

func (*GetContextRequest) String Uses

func (x *GetContextRequest) String() string

type GetDocumentRequest Uses

type GetDocumentRequest struct {

    // Required. The name of the document to retrieve.
    // Format `projects/<Project ID>/knowledgeBases/<Knowledge Base
    // ID>/documents/<Document ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

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

func (*GetDocumentRequest) Descriptor Uses

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

Deprecated: Use GetDocumentRequest.ProtoReflect.Descriptor instead.

func (*GetDocumentRequest) GetName Uses

func (x *GetDocumentRequest) GetName() string

func (*GetDocumentRequest) ProtoMessage Uses

func (*GetDocumentRequest) ProtoMessage()

func (*GetDocumentRequest) ProtoReflect Uses

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

func (*GetDocumentRequest) Reset Uses

func (x *GetDocumentRequest) Reset()

func (*GetDocumentRequest) String Uses

func (x *GetDocumentRequest) String() string

type GetEntityTypeRequest Uses

type GetEntityTypeRequest struct {

    // Required. The name of the entity type.
    // Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. The language used to access language-specific data.
    // If not specified, the agent's default language is used.
    // For more information, see
    // [Multilingual intent and entity
    // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // contains filtered or unexported fields
}

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

func (*GetEntityTypeRequest) Descriptor Uses

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

Deprecated: Use GetEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*GetEntityTypeRequest) GetLanguageCode Uses

func (x *GetEntityTypeRequest) GetLanguageCode() string

func (*GetEntityTypeRequest) GetName Uses

func (x *GetEntityTypeRequest) GetName() string

func (*GetEntityTypeRequest) ProtoMessage Uses

func (*GetEntityTypeRequest) ProtoMessage()

func (*GetEntityTypeRequest) ProtoReflect Uses

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

func (*GetEntityTypeRequest) Reset Uses

func (x *GetEntityTypeRequest) Reset()

func (*GetEntityTypeRequest) String Uses

func (x *GetEntityTypeRequest) String() string

type GetIntentRequest Uses

type GetIntentRequest struct {

    // Required. The name of the intent.
    // Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. The language used to access language-specific data.
    // If not specified, the agent's default language is used.
    // For more information, see
    // [Multilingual intent and entity
    // data](https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
    LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // Optional. The resource view to apply to the returned intent.
    IntentView IntentView `protobuf:"varint,3,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2beta1.IntentView" json:"intent_view,omitempty"`
    // contains filtered or unexported fields
}

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

func (*GetIntentRequest) Descriptor Uses

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

Deprecated: Use GetIntentRequest.ProtoReflect.Descriptor instead.

func (*GetIntentRequest) GetIntentView Uses

func (x *GetIntentRequest) GetIntentView() IntentView

func (*GetIntentRequest) GetLanguageCode Uses

func (x *GetIntentRequest) GetLanguageCode() string

func (*GetIntentRequest) GetName Uses

func (x *GetIntentRequest) GetName() string

func (*GetIntentRequest) ProtoMessage Uses

func (*GetIntentRequest) ProtoMessage()

func (*GetIntentRequest) ProtoReflect Uses

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

func (*GetIntentRequest) Reset Uses

func (x *GetIntentRequest) Reset()

func (*GetIntentRequest) String Uses

func (x *GetIntentRequest) String() string

type GetKnowledgeBaseRequest Uses

type GetKnowledgeBaseRequest struct {

    // Required. The name of the knowledge base to retrieve.
    // Format `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

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

func (*GetKnowledgeBaseRequest) Descriptor Uses

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

Deprecated: Use GetKnowledgeBaseRequest.ProtoReflect.Descriptor instead.

func (*GetKnowledgeBaseRequest) GetName Uses

func (x *GetKnowledgeBaseRequest) GetName() string

func (*GetKnowledgeBaseRequest) ProtoMessage Uses

func (*GetKnowledgeBaseRequest) ProtoMessage()

func (*GetKnowledgeBaseRequest) ProtoReflect Uses

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

func (*GetKnowledgeBaseRequest) Reset Uses

func (x *GetKnowledgeBaseRequest) Reset()

func (*GetKnowledgeBaseRequest) String Uses

func (x *GetKnowledgeBaseRequest) String() string

type GetSessionEntityTypeRequest Uses

type GetSessionEntityTypeRequest struct {

    // Required. The name of the session entity type. Format:
    // `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
    // Display Name>` or `projects/<Project ID>/agent/environments/<Environment
    // ID>/users/<User ID>/sessions/<Session ID>/entityTypes/<Entity Type Display
    // Name>`. If `Environment ID` is not specified, we assume default 'draft'
    // environment. If `User ID` is not specified, we assume default '-' user.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

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

func (*GetSessionEntityTypeRequest) Descriptor Uses

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

Deprecated: Use GetSessionEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*GetSessionEntityTypeRequest) GetName Uses

func (x *GetSessionEntityTypeRequest) GetName() string

func (*GetSessionEntityTypeRequest) ProtoMessage Uses

func (*GetSessionEntityTypeRequest) ProtoMessage()

func (*GetSessionEntityTypeRequest) ProtoReflect Uses

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

func (*GetSessionEntityTypeRequest) Reset Uses

func (x *GetSessionEntityTypeRequest) Reset()

func (*GetSessionEntityTypeRequest) String Uses

func (x *GetSessionEntityTypeRequest) String() string

type GetValidationResultRequest Uses

type GetValidationResultRequest struct {

    // Required. The project that the agent is associated with.
    // Format: `projects/<Project ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Optional. The language for which you want a validation result. If not
    // specified, the agent's default language is used. [Many
    // languages](https://cloud.google.com/dialogflow/docs/reference/language)
    // are supported. Note: languages must be enabled in the agent before they can
    // be used.
    LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // contains filtered or unexported fields
}

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

func (*GetValidationResultRequest) Descriptor Uses

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

Deprecated: Use GetValidationResultRequest.ProtoReflect.Descriptor instead.

func (*GetValidationResultRequest) GetLanguageCode Uses

func (x *GetValidationResultRequest) GetLanguageCode() string

func (*GetValidationResultRequest) GetParent Uses

func (x *GetValidationResultRequest) GetParent() string

func (*GetValidationResultRequest) ProtoMessage Uses

func (*GetValidationResultRequest) ProtoMessage()

func (*GetValidationResultRequest) ProtoReflect Uses

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

func (*GetValidationResultRequest) Reset Uses

func (x *GetValidationResultRequest) Reset()

func (*GetValidationResultRequest) String Uses

func (x *GetValidationResultRequest) String() string

type ImportAgentRequest Uses

type ImportAgentRequest struct {

    // Required. The project that the agent to import is associated with.
    // Format: `projects/<Project ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The agent to import.
    //
    // Types that are assignable to Agent:
    //	*ImportAgentRequest_AgentUri
    //	*ImportAgentRequest_AgentContent
    Agent isImportAgentRequest_Agent `protobuf_oneof:"agent"`
    // contains filtered or unexported fields
}

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

func (*ImportAgentRequest) Descriptor Uses

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

Deprecated: Use ImportAgentRequest.ProtoReflect.Descriptor instead.

func (*ImportAgentRequest) GetAgent Uses

func (m *ImportAgentRequest) GetAgent() isImportAgentRequest_Agent

func (*ImportAgentRequest) GetAgentContent Uses

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

func (*ImportAgentRequest) GetAgentUri Uses

func (x *ImportAgentRequest) GetAgentUri() string

func (*ImportAgentRequest) GetParent Uses

func (x *ImportAgentRequest) GetParent() string

func (*ImportAgentRequest) ProtoMessage Uses

func (*ImportAgentRequest) ProtoMessage()

func (*ImportAgentRequest) ProtoReflect Uses

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

func (*ImportAgentRequest) Reset Uses

func (x *ImportAgentRequest) Reset()

func (*ImportAgentRequest) String Uses

func (x *ImportAgentRequest) String() string

type ImportAgentRequest_AgentContent Uses

type ImportAgentRequest_AgentContent struct {
    // Zip compressed raw byte content for agent.
    AgentContent []byte `protobuf:"bytes,3,opt,name=agent_content,json=agentContent,proto3,oneof"`
}

type ImportAgentRequest_AgentUri Uses

type ImportAgentRequest_AgentUri struct {
    // The URI to a Google Cloud Storage file containing the agent to import.
    // Note: The URI must start with "gs://".
    AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3,oneof"`
}

type InputAudioConfig Uses

type InputAudioConfig struct {

    // Required. Audio encoding of the audio content to process.
    AudioEncoding AudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.v2beta1.AudioEncoding" json:"audio_encoding,omitempty"`
    // Required. Sample rate (in Hertz) of the audio content sent in the query.
    // Refer to
    // [Cloud Speech API
    // documentation](https://cloud.google.com/speech-to-text/docs/basics) for
    // more details.
    SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
    // Required. The language of the supplied audio. Dialogflow does not do
    // translations. See [Language
    // Support](https://cloud.google.com/dialogflow/docs/reference/language)
    // for a list of the currently supported language codes. Note that queries in
    // the same session do not necessarily need to specify the same language.
    LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.v2beta1.SpeechWordInfo] in
    // [StreamingRecognitionResult][google.cloud.dialogflow.v2beta1.StreamingRecognitionResult] with information about the recognized speech
    // words, e.g. start and end time offsets. If false or unspecified, Speech
    // doesn't return any word-level information.
    EnableWordInfo bool `protobuf:"varint,13,opt,name=enable_word_info,json=enableWordInfo,proto3" json:"enable_word_info,omitempty"`
    // A list of strings containing words and phrases that the speech
    // recognizer should recognize with higher likelihood.
    //
    // See [the Cloud Speech
    // documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    // for more details.
    //
    // This field is deprecated. Please use [speech_contexts]() instead. If you
    // specify both [phrase_hints]() and [speech_contexts](), Dialogflow will
    // treat the [phrase_hints]() as a single additional [SpeechContext]().
    //
    // Deprecated: Do not use.
    PhraseHints []string `protobuf:"bytes,4,rep,name=phrase_hints,json=phraseHints,proto3" json:"phrase_hints,omitempty"`
    // Context information to assist speech recognition.
    //
    // See [the Cloud Speech
    // documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-hints)
    // for more details.
    SpeechContexts []*SpeechContext `protobuf:"bytes,11,rep,name=speech_contexts,json=speechContexts,proto3" json:"speech_contexts,omitempty"`
    // Which Speech model to select for the given request. Select the
    // model best suited to your domain to get best results. If a model is not
    // explicitly specified, then we auto-select a model based on the parameters
    // in the InputAudioConfig.
    // If enhanced speech model is enabled for the agent and an enhanced
    // version of the specified model for the language does not exist, then the
    // speech is recognized using the standard version of the specified model.
    // Refer to
    // [Cloud Speech API
    // documentation](https://cloud.google.com/speech-to-text/docs/basics#select-model)
    // for more details.
    Model string `protobuf:"bytes,7,opt,name=model,proto3" json:"model,omitempty"`
    // Which variant of the [Speech model][google.cloud.dialogflow.v2beta1.InputAudioConfig.model] to use.
    ModelVariant SpeechModelVariant `protobuf:"varint,10,opt,name=model_variant,json=modelVariant,proto3,enum=google.cloud.dialogflow.v2beta1.SpeechModelVariant" json:"model_variant,omitempty"`
    // If `false` (default), recognition does not cease until the
    // client closes the stream.
    // If `true`, the recognizer will detect a single spoken utterance in input
    // audio. Recognition ceases when it detects the audio's voice has
    // stopped or paused. In this case, once a detected intent is received, the
    // client should close the stream and start a new request with a new stream as
    // needed.
    // Note: This setting is relevant only for streaming methods.
    // Note: When specified, InputAudioConfig.single_utterance takes precedence
    // over StreamingDetectIntentRequest.single_utterance.
    SingleUtterance bool `protobuf:"varint,8,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"`
    // contains filtered or unexported fields
}

Instructs the speech recognizer on how to process the audio content.

func (*InputAudioConfig) Descriptor Uses

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

Deprecated: Use InputAudioConfig.ProtoReflect.Descriptor instead.

func (*InputAudioConfig) GetAudioEncoding Uses

func (x *InputAudioConfig) GetAudioEncoding() AudioEncoding

func (*InputAudioConfig) GetEnableWordInfo Uses

func (x *InputAudioConfig) GetEnableWordInfo() bool

func (*InputAudioConfig) GetLanguageCode Uses

func (x *InputAudioConfig) GetLanguageCode() string

func (*InputAudioConfig) GetModel Uses

func (x *InputAudioConfig) GetModel() string

func (*InputAudioConfig) GetModelVariant Uses

func (x *InputAudioConfig) GetModelVariant() SpeechModelVariant

func (*InputAudioConfig) GetPhraseHints Uses

func (x *InputAudioConfig) GetPhraseHints() []string

Deprecated: Do not use.

func (*InputAudioConfig) GetSampleRateHertz Uses

func (x *InputAudioConfig) GetSampleRateHertz() int32

func (*InputAudioConfig) GetSingleUtterance Uses

func (x *InputAudioConfig) GetSingleUtterance() bool

func (*InputAudioConfig) GetSpeechContexts Uses

func (x *InputAudioConfig) GetSpeechContexts() []*SpeechContext

func (*InputAudioConfig) ProtoMessage Uses

func (*InputAudioConfig) ProtoMessage()

func (*InputAudioConfig) ProtoReflect Uses

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

func (*InputAudioConfig) Reset Uses

func (x *InputAudioConfig) Reset()

func (*InputAudioConfig) String Uses

func (x *InputAudioConfig) String() string

type Intent Uses

type Intent struct {

    // Optional. The unique identifier of this intent.
    // Required for [Intents.UpdateIntent][google.cloud.dialogflow.v2beta1.Intents.UpdateIntent] and [Intents.BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents]
    // methods.
    // Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The name of this intent.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // Optional. Indicates whether webhooks are enabled for the intent.
    WebhookState Intent_WebhookState `protobuf:"varint,6,opt,name=webhook_state,json=webhookState,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_WebhookState" json:"webhook_state,omitempty"`
    // Optional. The priority of this intent. Higher numbers represent higher
    // priorities.
    //
    // - If the supplied value is unspecified or 0, the service
    //   translates the value to 500,000, which corresponds to the
    //   `Normal` priority in the console.
    // - If the supplied value is negative, the intent is ignored
    //   in runtime detect intent requests.
    Priority int32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"`
    // Optional. Indicates whether this is a fallback intent.
    IsFallback bool `protobuf:"varint,4,opt,name=is_fallback,json=isFallback,proto3" json:"is_fallback,omitempty"`
    // Optional. Indicates whether Machine Learning is enabled for the intent.
    // Note: If `ml_enabled` setting is set to false, then this intent is not
    // taken into account during inference in `ML ONLY` match mode. Also,
    // auto-markup in the UI is turned off.
    // DEPRECATED! Please use `ml_disabled` field instead.
    // NOTE: If both `ml_enabled` and `ml_disabled` are either not set or false,
    // then the default value is determined as follows:
    // - Before April 15th, 2018 the default is:
    //   ml_enabled = false / ml_disabled = true.
    // - After April 15th, 2018 the default is:
    //   ml_enabled = true / ml_disabled = false.
    //
    // Deprecated: Do not use.
    MlEnabled bool `protobuf:"varint,5,opt,name=ml_enabled,json=mlEnabled,proto3" json:"ml_enabled,omitempty"`
    // Optional. Indicates whether Machine Learning is disabled for the intent.
    // Note: If `ml_disabled` setting is set to true, then this intent is not
    // taken into account during inference in `ML ONLY` match mode. Also,
    // auto-markup in the UI is turned off.
    MlDisabled bool `protobuf:"varint,19,opt,name=ml_disabled,json=mlDisabled,proto3" json:"ml_disabled,omitempty"`
    // Optional. Indicates that this intent ends an interaction. Some integrations
    // (e.g., Actions on Google or Dialogflow phone gateway) use this information
    // to close interaction with an end user. Default is false.
    EndInteraction bool `protobuf:"varint,21,opt,name=end_interaction,json=endInteraction,proto3" json:"end_interaction,omitempty"`
    // Optional. The list of context names required for this intent to be
    // triggered.
    // Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
    InputContextNames []string `protobuf:"bytes,7,rep,name=input_context_names,json=inputContextNames,proto3" json:"input_context_names,omitempty"`
    // Optional. The collection of event names that trigger the intent.
    // If the collection of input contexts is not empty, all of the contexts must
    // be present in the active user session for an event to trigger this intent.
    // Event names are limited to 150 characters.
    Events []string `protobuf:"bytes,8,rep,name=events,proto3" json:"events,omitempty"`
    // Optional. The collection of examples that the agent is
    // trained on.
    TrainingPhrases []*Intent_TrainingPhrase `protobuf:"bytes,9,rep,name=training_phrases,json=trainingPhrases,proto3" json:"training_phrases,omitempty"`
    // Optional. The name of the action associated with the intent.
    // Note: The action name must not contain whitespaces.
    Action string `protobuf:"bytes,10,opt,name=action,proto3" json:"action,omitempty"`
    // Optional. The collection of contexts that are activated when the intent
    // is matched. Context messages in this collection should not set the
    // parameters field. Setting the `lifespan_count` to 0 will reset the context
    // when the intent is matched.
    // Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
    OutputContexts []*Context `protobuf:"bytes,11,rep,name=output_contexts,json=outputContexts,proto3" json:"output_contexts,omitempty"`
    // Optional. Indicates whether to delete all contexts in the current
    // session when this intent is matched.
    ResetContexts bool `protobuf:"varint,12,opt,name=reset_contexts,json=resetContexts,proto3" json:"reset_contexts,omitempty"`
    // Optional. The collection of parameters associated with the intent.
    Parameters []*Intent_Parameter `protobuf:"bytes,13,rep,name=parameters,proto3" json:"parameters,omitempty"`
    // Optional. The collection of rich messages corresponding to the
    // `Response` field in the Dialogflow console.
    Messages []*Intent_Message `protobuf:"bytes,14,rep,name=messages,proto3" json:"messages,omitempty"`
    // Optional. The list of platforms for which the first responses will be
    // copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
    DefaultResponsePlatforms []Intent_Message_Platform `protobuf:"varint,15,rep,packed,name=default_response_platforms,json=defaultResponsePlatforms,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_Platform" json:"default_response_platforms,omitempty"`
    // Output only. The unique identifier of the root intent in the chain of
    // followup intents. It identifies the correct followup intents chain for
    // this intent.
    //
    // Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
    RootFollowupIntentName string `protobuf:"bytes,16,opt,name=root_followup_intent_name,json=rootFollowupIntentName,proto3" json:"root_followup_intent_name,omitempty"`
    // Optional. The unique identifier of the parent intent in the
    // chain of followup intents. You can set this field when creating an intent,
    // for example with [CreateIntent][google.cloud.dialogflow.v2beta1.Intents.CreateIntent] or
    // [BatchUpdateIntents][google.cloud.dialogflow.v2beta1.Intents.BatchUpdateIntents], in order to make this
    // intent a followup intent.
    //
    // It identifies the parent followup intent.
    // Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
    ParentFollowupIntentName string `protobuf:"bytes,17,opt,name=parent_followup_intent_name,json=parentFollowupIntentName,proto3" json:"parent_followup_intent_name,omitempty"`
    // Output only. Information about all followup intents that have this intent as
    // a direct or indirect parent. We populate this field only in the output.
    FollowupIntentInfo []*Intent_FollowupIntentInfo `protobuf:"bytes,18,rep,name=followup_intent_info,json=followupIntentInfo,proto3" json:"followup_intent_info,omitempty"`
    // contains filtered or unexported fields
}

An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification.

For more information, see the [intent guide](https://cloud.google.com/dialogflow/docs/intents-overview).

func (*Intent) Descriptor Uses

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

Deprecated: Use Intent.ProtoReflect.Descriptor instead.

func (*Intent) GetAction Uses

func (x *Intent) GetAction() string

func (*Intent) GetDefaultResponsePlatforms Uses

func (x *Intent) GetDefaultResponsePlatforms() []Intent_Message_Platform

func (*Intent) GetDisplayName Uses

func (x *Intent) GetDisplayName() string

func (*Intent) GetEndInteraction Uses

func (x *Intent) GetEndInteraction() bool

func (*Intent) GetEvents Uses

func (x *Intent) GetEvents() []string

func (*Intent) GetFollowupIntentInfo Uses

func (x *Intent) GetFollowupIntentInfo() []*Intent_FollowupIntentInfo

func (*Intent) GetInputContextNames Uses

func (x *Intent) GetInputContextNames() []string

func (*Intent) GetIsFallback Uses

func (x *Intent) GetIsFallback() bool

func (*Intent) GetMessages Uses

func (x *Intent) GetMessages() []*Intent_Message

func (*Intent) GetMlDisabled Uses

func (x *Intent) GetMlDisabled() bool

func (*Intent) GetMlEnabled Uses

func (x *Intent) GetMlEnabled() bool

Deprecated: Do not use.

func (*Intent) GetName Uses

func (x *Intent) GetName() string

func (*Intent) GetOutputContexts Uses

func (x *Intent) GetOutputContexts() []*Context

func (*Intent) GetParameters Uses

func (x *Intent) GetParameters() []*Intent_Parameter

func (*Intent) GetParentFollowupIntentName Uses

func (x *Intent) GetParentFollowupIntentName() string

func (*Intent) GetPriority Uses

func (x *Intent) GetPriority() int32

func (*Intent) GetResetContexts Uses

func (x *Intent) GetResetContexts() bool

func (*Intent) GetRootFollowupIntentName Uses

func (x *Intent) GetRootFollowupIntentName() string

func (*Intent) GetTrainingPhrases Uses

func (x *Intent) GetTrainingPhrases() []*Intent_TrainingPhrase

func (*Intent) GetWebhookState Uses

func (x *Intent) GetWebhookState() Intent_WebhookState

func (*Intent) ProtoMessage Uses

func (*Intent) ProtoMessage()

func (*Intent) ProtoReflect Uses

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

func (*Intent) Reset Uses

func (x *Intent) Reset()

func (*Intent) String Uses

func (x *Intent) String() string

type IntentBatch Uses

type IntentBatch struct {

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

This message is a wrapper around a collection of intents.

func (*IntentBatch) Descriptor Uses

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

Deprecated: Use IntentBatch.ProtoReflect.Descriptor instead.

func (*IntentBatch) GetIntents Uses

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

func (*IntentBatch) ProtoMessage Uses

func (*IntentBatch) ProtoMessage()

func (*IntentBatch) ProtoReflect Uses

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

func (*IntentBatch) Reset Uses

func (x *IntentBatch) Reset()

func (*IntentBatch) String Uses

func (x *IntentBatch) String() string

type IntentView Uses

type IntentView int32

Represents the options for views of an intent. An intent can be a sizable object. Therefore, we provide a resource view that does not return training phrases in the response by default.

const (
    // Training phrases field is not populated in the response.
    IntentView_INTENT_VIEW_UNSPECIFIED IntentView = 0
    // All fields are populated.
    IntentView_INTENT_VIEW_FULL IntentView = 1
)

func (IntentView) Descriptor Uses

func (IntentView) Descriptor() protoreflect.EnumDescriptor

func (IntentView) Enum Uses

func (x IntentView) Enum() *IntentView

func (IntentView) EnumDescriptor Uses

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

Deprecated: Use IntentView.Descriptor instead.

func (IntentView) Number Uses

func (x IntentView) Number() protoreflect.EnumNumber

func (IntentView) String Uses

func (x IntentView) String() string

func (IntentView) Type Uses

func (IntentView) Type() protoreflect.EnumType

type Intent_FollowupIntentInfo Uses

type Intent_FollowupIntentInfo struct {

    // The unique identifier of the followup intent.
    // Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
    FollowupIntentName string `protobuf:"bytes,1,opt,name=followup_intent_name,json=followupIntentName,proto3" json:"followup_intent_name,omitempty"`
    // The unique identifier of the followup intent's parent.
    // Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
    ParentFollowupIntentName string `protobuf:"bytes,2,opt,name=parent_followup_intent_name,json=parentFollowupIntentName,proto3" json:"parent_followup_intent_name,omitempty"`
    // contains filtered or unexported fields
}

Represents a single followup intent in the chain.

func (*Intent_FollowupIntentInfo) Descriptor Uses

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

Deprecated: Use Intent_FollowupIntentInfo.ProtoReflect.Descriptor instead.

func (*Intent_FollowupIntentInfo) GetFollowupIntentName Uses

func (x *Intent_FollowupIntentInfo) GetFollowupIntentName() string

func (*Intent_FollowupIntentInfo) GetParentFollowupIntentName Uses

func (x *Intent_FollowupIntentInfo) GetParentFollowupIntentName() string

func (*Intent_FollowupIntentInfo) ProtoMessage Uses

func (*Intent_FollowupIntentInfo) ProtoMessage()

func (*Intent_FollowupIntentInfo) ProtoReflect Uses

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

func (*Intent_FollowupIntentInfo) Reset Uses

func (x *Intent_FollowupIntentInfo) Reset()

func (*Intent_FollowupIntentInfo) String Uses

func (x *Intent_FollowupIntentInfo) String() string

type Intent_Message Uses

type Intent_Message struct {

    // Required. The rich response message.
    //
    // Types that are assignable to Message:
    //	*Intent_Message_Text_
    //	*Intent_Message_Image_
    //	*Intent_Message_QuickReplies_
    //	*Intent_Message_Card_
    //	*Intent_Message_Payload
    //	*Intent_Message_SimpleResponses_
    //	*Intent_Message_BasicCard_
    //	*Intent_Message_Suggestions_
    //	*Intent_Message_LinkOutSuggestion_
    //	*Intent_Message_ListSelect_
    //	*Intent_Message_CarouselSelect_
    //	*Intent_Message_TelephonyPlayAudio_
    //	*Intent_Message_TelephonySynthesizeSpeech_
    //	*Intent_Message_TelephonyTransferCall_
    //	*Intent_Message_RbmText_
    //	*Intent_Message_RbmStandaloneRichCard
    //	*Intent_Message_RbmCarouselRichCard
    //	*Intent_Message_BrowseCarouselCard_
    //	*Intent_Message_TableCard_
    //	*Intent_Message_MediaContent_
    Message isIntent_Message_Message `protobuf_oneof:"message"`
    // Optional. The platform that this message is intended for.
    Platform Intent_Message_Platform `protobuf:"varint,6,opt,name=platform,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_Platform" json:"platform,omitempty"`
    // contains filtered or unexported fields
}

Corresponds to the `Response` field in the Dialogflow console.

func (*Intent_Message) Descriptor Uses

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

Deprecated: Use Intent_Message.ProtoReflect.Descriptor instead.

func (*Intent_Message) GetBasicCard Uses

func (x *Intent_Message) GetBasicCard() *Intent_Message_BasicCard

func (*Intent_Message) GetBrowseCarouselCard Uses

func (x *Intent_Message) GetBrowseCarouselCard() *Intent_Message_BrowseCarouselCard

func (*Intent_Message) GetCard Uses

func (x *Intent_Message) GetCard() *Intent_Message_Card

func (*Intent_Message) GetCarouselSelect Uses

func (x *Intent_Message) GetCarouselSelect() *Intent_Message_CarouselSelect

func (*Intent_Message) GetImage Uses

func (x *Intent_Message) GetImage() *Intent_Message_Image

func (*Intent_Message) GetLinkOutSuggestion Uses

func (x *Intent_Message) GetLinkOutSuggestion() *Intent_Message_LinkOutSuggestion

func (*Intent_Message) GetListSelect Uses

func (x *Intent_Message) GetListSelect() *Intent_Message_ListSelect

func (*Intent_Message) GetMediaContent Uses

func (x *Intent_Message) GetMediaContent() *Intent_Message_MediaContent

func (*Intent_Message) GetMessage Uses

func (m *Intent_Message) GetMessage() isIntent_Message_Message

func (*Intent_Message) GetPayload Uses

func (x *Intent_Message) GetPayload() *_struct.Struct

func (*Intent_Message) GetPlatform Uses

func (x *Intent_Message) GetPlatform() Intent_Message_Platform

func (*Intent_Message) GetQuickReplies Uses

func (x *Intent_Message) GetQuickReplies() *Intent_Message_QuickReplies

func (*Intent_Message) GetRbmCarouselRichCard Uses

func (x *Intent_Message) GetRbmCarouselRichCard() *Intent_Message_RbmCarouselCard

func (*Intent_Message) GetRbmStandaloneRichCard Uses

func (x *Intent_Message) GetRbmStandaloneRichCard() *Intent_Message_RbmStandaloneCard

func (*Intent_Message) GetRbmText Uses

func (x *Intent_Message) GetRbmText() *Intent_Message_RbmText

func (*Intent_Message) GetSimpleResponses Uses

func (x *Intent_Message) GetSimpleResponses() *Intent_Message_SimpleResponses

func (*Intent_Message) GetSuggestions Uses

func (x *Intent_Message) GetSuggestions() *Intent_Message_Suggestions

func (*Intent_Message) GetTableCard Uses

func (x *Intent_Message) GetTableCard() *Intent_Message_TableCard

func (*Intent_Message) GetTelephonyPlayAudio Uses

func (x *Intent_Message) GetTelephonyPlayAudio() *Intent_Message_TelephonyPlayAudio

func (*Intent_Message) GetTelephonySynthesizeSpeech Uses

func (x *Intent_Message) GetTelephonySynthesizeSpeech() *Intent_Message_TelephonySynthesizeSpeech

func (*Intent_Message) GetTelephonyTransferCall Uses

func (x *Intent_Message) GetTelephonyTransferCall() *Intent_Message_TelephonyTransferCall

func (*Intent_Message) GetText Uses

func (x *Intent_Message) GetText() *Intent_Message_Text

func (*Intent_Message) ProtoMessage Uses

func (*Intent_Message) ProtoMessage()

func (*Intent_Message) ProtoReflect Uses

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

func (*Intent_Message) Reset Uses

func (x *Intent_Message) Reset()

func (*Intent_Message) String Uses

func (x *Intent_Message) String() string

type Intent_Message_BasicCard Uses

type Intent_Message_BasicCard struct {

    // Optional. The title of the card.
    Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
    // Optional. The subtitle of the card.
    Subtitle string `protobuf:"bytes,2,opt,name=subtitle,proto3" json:"subtitle,omitempty"`
    // Required, unless image is present. The body text of the card.
    FormattedText string `protobuf:"bytes,3,opt,name=formatted_text,json=formattedText,proto3" json:"formatted_text,omitempty"`
    // Optional. The image for the card.
    Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
    // Optional. The collection of card buttons.
    Buttons []*Intent_Message_BasicCard_Button `protobuf:"bytes,5,rep,name=buttons,proto3" json:"buttons,omitempty"`
    // contains filtered or unexported fields
}

The basic card message. Useful for displaying information.

func (*Intent_Message_BasicCard) Descriptor Uses

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

Deprecated: Use Intent_Message_BasicCard.ProtoReflect.Descriptor instead.

func (*Intent_Message_BasicCard) GetButtons Uses

func (x *Intent_Message_BasicCard) GetButtons() []*Intent_Message_BasicCard_Button

func (*Intent_Message_BasicCard) GetFormattedText Uses

func (x *Intent_Message_BasicCard) GetFormattedText() string

func (*Intent_Message_BasicCard) GetImage Uses

func (x *Intent_Message_BasicCard) GetImage() *Intent_Message_Image

func (*Intent_Message_BasicCard) GetSubtitle Uses

func (x *Intent_Message_BasicCard) GetSubtitle() string

func (*Intent_Message_BasicCard) GetTitle Uses

func (x *Intent_Message_BasicCard) GetTitle() string

func (*Intent_Message_BasicCard) ProtoMessage Uses

func (*Intent_Message_BasicCard) ProtoMessage()

func (*Intent_Message_BasicCard) ProtoReflect Uses

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

func (*Intent_Message_BasicCard) Reset Uses

func (x *Intent_Message_BasicCard) Reset()

func (*Intent_Message_BasicCard) String Uses

func (x *Intent_Message_BasicCard) String() string

type Intent_Message_BasicCard_ Uses

type Intent_Message_BasicCard_ struct {
    // Displays a basic card for Actions on Google.
    BasicCard *Intent_Message_BasicCard `protobuf:"bytes,8,opt,name=basic_card,json=basicCard,proto3,oneof"`
}

type Intent_Message_BasicCard_Button Uses

type Intent_Message_BasicCard_Button struct {

    // Required. The title of the button.
    Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
    // Required. Action to take when a user taps on the button.
    OpenUriAction *Intent_Message_BasicCard_Button_OpenUriAction `protobuf:"bytes,2,opt,name=open_uri_action,json=openUriAction,proto3" json:"open_uri_action,omitempty"`
    // contains filtered or unexported fields
}

The button object that appears at the bottom of a card.

func (*Intent_Message_BasicCard_Button) Descriptor Uses

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

Deprecated: Use Intent_Message_BasicCard_Button.ProtoReflect.Descriptor instead.

func (*Intent_Message_BasicCard_Button) GetOpenUriAction Uses

func (x *Intent_Message_BasicCard_Button) GetOpenUriAction() *Intent_Message_BasicCard_Button_OpenUriAction

func (*Intent_Message_BasicCard_Button) GetTitle Uses

func (x *Intent_Message_BasicCard_Button) GetTitle() string

func (*Intent_Message_BasicCard_Button) ProtoMessage Uses

func (*Intent_Message_BasicCard_Button) ProtoMessage()

func (*Intent_Message_BasicCard_Button) ProtoReflect Uses

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

func (*Intent_Message_BasicCard_Button) Reset Uses

func (x *Intent_Message_BasicCard_Button) Reset()

func (*Intent_Message_BasicCard_Button) String Uses

func (x *Intent_Message_BasicCard_Button) String() string

type Intent_Message_BasicCard_Button_OpenUriAction Uses

type Intent_Message_BasicCard_Button_OpenUriAction struct {

    // Required. The HTTP or HTTPS scheme URI.
    Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
    // contains filtered or unexported fields
}

Opens the given URI.

func (*Intent_Message_BasicCard_Button_OpenUriAction) Descriptor Uses

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

Deprecated: Use Intent_Message_BasicCard_Button_OpenUriAction.ProtoReflect.Descriptor instead.

func (*Intent_Message_BasicCard_Button_OpenUriAction) GetUri Uses

func (x *Intent_Message_BasicCard_Button_OpenUriAction) GetUri() string

func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoMessage Uses

func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoMessage()

func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoReflect Uses

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

func (*Intent_Message_BasicCard_Button_OpenUriAction) Reset Uses

func (x *Intent_Message_BasicCard_Button_OpenUriAction) Reset()

func (*Intent_Message_BasicCard_Button_OpenUriAction) String Uses

func (x *Intent_Message_BasicCard_Button_OpenUriAction) String() string

type Intent_Message_BrowseCarouselCard Uses

type Intent_Message_BrowseCarouselCard struct {

    // Required. List of items in the Browse Carousel Card. Minimum of two
    // items, maximum of ten.
    Items []*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
    // Optional. Settings for displaying the image. Applies to every image in
    // [items][google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.items].
    ImageDisplayOptions Intent_Message_BrowseCarouselCard_ImageDisplayOptions `protobuf:"varint,2,opt,name=image_display_options,json=imageDisplayOptions,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_BrowseCarouselCard_ImageDisplayOptions" json:"image_display_options,omitempty"`
    // contains filtered or unexported fields
}

Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel

func (*Intent_Message_BrowseCarouselCard) Descriptor Uses

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

Deprecated: Use Intent_Message_BrowseCarouselCard.ProtoReflect.Descriptor instead.

func (*Intent_Message_BrowseCarouselCard) GetImageDisplayOptions Uses

func (x *Intent_Message_BrowseCarouselCard) GetImageDisplayOptions() Intent_Message_BrowseCarouselCard_ImageDisplayOptions

func (*Intent_Message_BrowseCarouselCard) GetItems Uses

func (x *Intent_Message_BrowseCarouselCard) GetItems() []*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem

func (*Intent_Message_BrowseCarouselCard) ProtoMessage Uses

func (*Intent_Message_BrowseCarouselCard) ProtoMessage()

func (*Intent_Message_BrowseCarouselCard) ProtoReflect Uses

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

func (*Intent_Message_BrowseCarouselCard) Reset Uses

func (x *Intent_Message_BrowseCarouselCard) Reset()

func (*Intent_Message_BrowseCarouselCard) String Uses

func (x *Intent_Message_BrowseCarouselCard) String() string

type Intent_Message_BrowseCarouselCard_ Uses

type Intent_Message_BrowseCarouselCard_ struct {
    // Browse carousel card for Actions on Google.
    BrowseCarouselCard *Intent_Message_BrowseCarouselCard `protobuf:"bytes,22,opt,name=browse_carousel_card,json=browseCarouselCard,proto3,oneof"`
}

type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem Uses

type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem struct {

    // Required. Action to present to the user.
    OpenUriAction *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction `protobuf:"bytes,1,opt,name=open_uri_action,json=openUriAction,proto3" json:"open_uri_action,omitempty"`
    // Required. Title of the carousel item. Maximum of two lines of text.
    Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
    // Optional. Description of the carousel item. Maximum of four lines of
    // text.
    Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
    // Optional. Hero image for the carousel item.
    Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
    // Optional. Text that appears at the bottom of the Browse Carousel
    // Card. Maximum of one line of text.
    Footer string `protobuf:"bytes,5,opt,name=footer,proto3" json:"footer,omitempty"`
    // contains filtered or unexported fields
}

Browsing carousel tile

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) Descriptor Uses

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

Deprecated: Use Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem.ProtoReflect.Descriptor instead.

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetDescription Uses

func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetDescription() string

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetFooter Uses

func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetFooter() string

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetImage Uses

func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetImage() *Intent_Message_Image

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetOpenUriAction Uses

func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetOpenUriAction() *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetTitle Uses

func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) GetTitle() string

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) ProtoMessage Uses

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) ProtoMessage()

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) ProtoReflect Uses

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

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) Reset Uses

func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) Reset()

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) String Uses

func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem) String() string

type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction Uses

type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction struct {

    // Required. URL
    Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
    // Optional. Specifies the type of viewer that is used when opening
    // the URL. Defaults to opening via web browser.
    UrlTypeHint Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint `protobuf:"varint,3,opt,name=url_type_hint,json=urlTypeHint,proto3,enum=google.cloud.dialogflow.v2beta1.Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint" json:"url_type_hint,omitempty"`
    // contains filtered or unexported fields
}

Actions on Google action to open a given url.

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) Descriptor Uses

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

Deprecated: Use Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction.ProtoReflect.Descriptor instead.

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) GetUrl Uses

func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) GetUrl() string

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) GetUrlTypeHint Uses

func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) GetUrlTypeHint() Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) ProtoMessage Uses

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) ProtoMessage()

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) ProtoReflect Uses

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

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) Reset Uses

func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) Reset()

func (*Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) String Uses

func (x *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction) String() string

type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint Uses

type Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint int32

Type of the URI.

const (
    // Unspecified
    Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_URL_TYPE_HINT_UNSPECIFIED Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint = 0
    // Url would be an amp action
    Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_AMP_ACTION Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint = 1
    // URL that points directly to AMP content, or to a canonical URL
    // which refers to AMP content via <link rel="amphtml">.
    Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_AMP_CONTENT Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint = 2
)

func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Descriptor Uses

func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Descriptor() protoreflect.EnumDescriptor

func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Enum Uses

func (x Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Enum() *Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint

func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) EnumDescriptor Uses

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

Deprecated: Use Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint.Descriptor instead.

func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Number Uses

func (x Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Number() protoreflect.EnumNumber

func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) String Uses

func (x Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) String() string

func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Type Uses

func (Intent_Message_BrowseCarouselCard_BrowseCarouselCardItem_OpenUrlAction_UrlTypeHint) Type() protoreflect.EnumType

type Intent_Message_BrowseCarouselCard_ImageDisplayOptions Uses

type Intent_Message_BrowseCarouselCard_ImageDisplayOptions int32

Image display options for Actions on Google. This should be used for when the image's aspect ratio does not match the image container's aspect ratio.

const (
    // Fill the gaps between the image and the image container with gray
    // bars.
    Intent_Message_BrowseCarouselCard_IMAGE_DISPLAY_OPTIONS_UNSPECIFIED Intent_Message_BrowseCarouselCard_ImageDisplayOptions = 0
    // Fill the gaps between the image and the image container with gray
    // bars.
    Intent_Message_BrowseCarouselCard_GRAY Intent_Message_BrowseCarouselCard_ImageDisplayOptions = 1
    // Fill the gaps between the image and the image container with white
    // bars.
    Intent_Message_BrowseCarouselCard_WHITE Intent_Message_BrowseCarouselCard_ImageDisplayOptions = 2
    // Image is scaled such that the image width and height match or exceed
    // the container dimensions. This may crop the top and bottom of the
    // image if the scaled image height is greater than the container
    // height, or crop the left and right of the image if the scaled image
    // width is greater than the container width. This is similar to "Zoom
    // Mode" on a widescreen TV when playing a 4:3 video.
    Intent_Message_BrowseCarouselCard_CROPPED Intent_Message_BrowseCarouselCard_ImageDisplayOptions = 3
    // Pad the gaps between image and image frame with a blurred copy of the
    // same image.
    Intent_Message_BrowseCarouselCard_BLURRED_BACKGROUND Intent_Message_BrowseCarouselCard_ImageDisplayOptions = 4
)

func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Descriptor Uses

func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Descriptor() protoreflect.EnumDescriptor

func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Enum Uses

func (x Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Enum() *Intent_Message_BrowseCarouselCard_ImageDisplayOptions

func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) EnumDescriptor Uses

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

Deprecated: Use Intent_Message_BrowseCarouselCard_ImageDisplayOptions.Descriptor instead.

func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Number Uses

func (x Intent_Message_BrowseCarouselCard_ImageDisplayOptions) Number() protoreflect.EnumNumber

func (Intent_Message_BrowseCarouselCard_ImageDisplayOptions) String Uses

func (x