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

package cx

import "google.golang.org/genproto/googleapis/cloud/dialogflow/cx/v3"

Index

Package Files

agent.pb.go audio_config.pb.go entity_type.pb.go environment.pb.go experiment.pb.go flow.pb.go fulfillment.pb.go intent.pb.go page.pb.go response_message.pb.go security_settings.pb.go session.pb.go session_entity_type.pb.go transition_route_group.pb.go version.pb.go webhook.pb.go

Variables

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",
        4:  "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS",
        3:  "OUTPUT_AUDIO_ENCODING_OGG_OPUS",
        5:  "OUTPUT_AUDIO_ENCODING_MULAW",
    }
    OutputAudioEncoding_value = map[string]int32{
        "OUTPUT_AUDIO_ENCODING_UNSPECIFIED": 0,
        "OUTPUT_AUDIO_ENCODING_LINEAR_16":   1,
        "OUTPUT_AUDIO_ENCODING_MP3":         2,
        "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS": 4,
        "OUTPUT_AUDIO_ENCODING_OGG_OPUS":    3,
        "OUTPUT_AUDIO_ENCODING_MULAW":       5,
    }
)

Enum value maps for OutputAudioEncoding.

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 (
    Experiment_State_name = map[int32]string{
        0:  "STATE_UNSPECIFIED",
        1:  "DRAFT",
        2:  "RUNNING",
        3:  "DONE",
    }
    Experiment_State_value = map[string]int32{
        "STATE_UNSPECIFIED": 0,
        "DRAFT":             1,
        "RUNNING":           2,
        "DONE":              3,
    }
)

Enum value maps for Experiment_State.

var (
    Experiment_Result_MetricType_name = map[int32]string{
        0:  "METRIC_UNSPECIFIED",
        1:  "CONTAINED_SESSION_NO_CALLBACK_RATE",
        2:  "LIVE_AGENT_HANDOFF_RATE",
        3:  "CALLBACK_SESSION_RATE",
        4:  "ABANDONED_SESSION_RATE",
        5:  "SESSION_END_RATE",
    }
    Experiment_Result_MetricType_value = map[string]int32{
        "METRIC_UNSPECIFIED":                 0,
        "CONTAINED_SESSION_NO_CALLBACK_RATE": 1,
        "LIVE_AGENT_HANDOFF_RATE":            2,
        "CALLBACK_SESSION_RATE":              3,
        "ABANDONED_SESSION_RATE":             4,
        "SESSION_END_RATE":                   5,
    }
)

Enum value maps for Experiment_Result_MetricType.

var (
    NluSettings_ModelType_name = map[int32]string{
        0:  "MODEL_TYPE_UNSPECIFIED",
        1:  "MODEL_TYPE_STANDARD",
        3:  "MODEL_TYPE_ADVANCED",
    }
    NluSettings_ModelType_value = map[string]int32{
        "MODEL_TYPE_UNSPECIFIED": 0,
        "MODEL_TYPE_STANDARD":    1,
        "MODEL_TYPE_ADVANCED":    3,
    }
)

Enum value maps for NluSettings_ModelType.

var (
    NluSettings_ModelTrainingMode_name = map[int32]string{
        0:  "MODEL_TRAINING_MODE_UNSPECIFIED",
        1:  "MODEL_TRAINING_MODE_AUTOMATIC",
        2:  "MODEL_TRAINING_MODE_MANUAL",
    }
    NluSettings_ModelTrainingMode_value = map[string]int32{
        "MODEL_TRAINING_MODE_UNSPECIFIED": 0,
        "MODEL_TRAINING_MODE_AUTOMATIC":   1,
        "MODEL_TRAINING_MODE_MANUAL":      2,
    }
)

Enum value maps for NluSettings_ModelTrainingMode.

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

Enum value maps for IntentView.

var (
    SecuritySettings_RedactionStrategy_name = map[int32]string{
        0:  "REDACTION_STRATEGY_UNSPECIFIED",
        1:  "REDACT_WITH_SERVICE",
    }
    SecuritySettings_RedactionStrategy_value = map[string]int32{
        "REDACTION_STRATEGY_UNSPECIFIED": 0,
        "REDACT_WITH_SERVICE":            1,
    }
)

Enum value maps for SecuritySettings_RedactionStrategy.

var (
    SecuritySettings_RedactionScope_name = map[int32]string{
        0:  "REDACTION_SCOPE_UNSPECIFIED",
        2:  "REDACT_DISK_STORAGE",
    }
    SecuritySettings_RedactionScope_value = map[string]int32{
        "REDACTION_SCOPE_UNSPECIFIED": 0,
        "REDACT_DISK_STORAGE":         2,
    }
)

Enum value maps for SecuritySettings_RedactionScope.

var (
    SecuritySettings_PurgeDataType_name = map[int32]string{
        0:  "PURGE_DATA_TYPE_UNSPECIFIED",
        1:  "DIALOGFLOW_HISTORY",
    }
    SecuritySettings_PurgeDataType_value = map[string]int32{
        "PURGE_DATA_TYPE_UNSPECIFIED": 0,
        "DIALOGFLOW_HISTORY":          1,
    }
)

Enum value maps for SecuritySettings_PurgeDataType.

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 (
    Match_MatchType_name = map[int32]string{
        0:  "MATCH_TYPE_UNSPECIFIED",
        1:  "INTENT",
        2:  "DIRECT_INTENT",
        3:  "PARAMETER_FILLING",
        4:  "NO_MATCH",
        5:  "NO_INPUT",
        6:  "EVENT",
    }
    Match_MatchType_value = map[string]int32{
        "MATCH_TYPE_UNSPECIFIED": 0,
        "INTENT":                 1,
        "DIRECT_INTENT":          2,
        "PARAMETER_FILLING":      3,
        "NO_MATCH":               4,
        "NO_INPUT":               5,
        "EVENT":                  6,
    }
)

Enum value maps for Match_MatchType.

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 (
    Version_State_name = map[int32]string{
        0:  "STATE_UNSPECIFIED",
        1:  "RUNNING",
        2:  "SUCCEEDED",
        3:  "FAILED",
    }
    Version_State_value = map[string]int32{
        "STATE_UNSPECIFIED": 0,
        "RUNNING":           1,
        "SUCCEEDED":         2,
        "FAILED":            3,
    }
)

Enum value maps for Version_State.

var (
    WebhookResponse_FulfillmentResponse_MergeBehavior_name = map[int32]string{
        0:  "MERGE_BEHAVIOR_UNSPECIFIED",
        1:  "APPEND",
        2:  "REPLACE",
    }
    WebhookResponse_FulfillmentResponse_MergeBehavior_value = map[string]int32{
        "MERGE_BEHAVIOR_UNSPECIFIED": 0,
        "APPEND":                     1,
        "REPLACE":                    2,
    }
)

Enum value maps for WebhookResponse_FulfillmentResponse_MergeBehavior.

var (
    PageInfo_FormInfo_ParameterInfo_ParameterState_name = map[int32]string{
        0:  "PARAMETER_STATE_UNSPECIFIED",
        1:  "EMPTY",
        2:  "INVALID",
        3:  "FILLED",
    }
    PageInfo_FormInfo_ParameterInfo_ParameterState_value = map[string]int32{
        "PARAMETER_STATE_UNSPECIFIED": 0,
        "EMPTY":                       1,
        "INVALID":                     2,
        "FILLED":                      3,
    }
)

Enum value maps for PageInfo_FormInfo_ParameterInfo_ParameterState.

var File_google_cloud_dialogflow_cx_v3_agent_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_audio_config_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_entity_type_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_environment_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_experiment_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_flow_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_fulfillment_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_intent_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_page_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_response_message_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_security_settings_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_session_entity_type_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_session_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_transition_route_group_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_version_proto protoreflect.FileDescriptor
var File_google_cloud_dialogflow_cx_v3_webhook_proto protoreflect.FileDescriptor

func RegisterAgentsServer Uses

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

func RegisterEntityTypesServer Uses

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

func RegisterEnvironmentsServer Uses

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

func RegisterExperimentsServer Uses

func RegisterExperimentsServer(s *grpc.Server, srv ExperimentsServer)

func RegisterFlowsServer Uses

func RegisterFlowsServer(s *grpc.Server, srv FlowsServer)

func RegisterIntentsServer Uses

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

func RegisterPagesServer Uses

func RegisterPagesServer(s *grpc.Server, srv PagesServer)

func RegisterSecuritySettingsServiceServer Uses

func RegisterSecuritySettingsServiceServer(s *grpc.Server, srv SecuritySettingsServiceServer)

func RegisterSessionEntityTypesServer Uses

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

func RegisterSessionsServer Uses

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

func RegisterTransitionRouteGroupsServer Uses

func RegisterTransitionRouteGroupsServer(s *grpc.Server, srv TransitionRouteGroupsServer)

func RegisterVersionsServer Uses

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

func RegisterWebhooksServer Uses

func RegisterWebhooksServer(s *grpc.Server, srv WebhooksServer)

type Agent Uses

type Agent struct {

    // The unique identifier of the agent.
    // Required for the [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method. [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent]
    // populates the name automatically.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The human-readable name of the agent, unique within the location.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // Immutable. 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 [Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent] method.
    DefaultLanguageCode string `protobuf:"bytes,3,opt,name=default_language_code,json=defaultLanguageCode,proto3" json:"default_language_code,omitempty"`
    // Required. The time zone of the 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"`
    // The description of the 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"`
    // 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"`
    // Speech recognition related settings.
    SpeechToTextSettings *SpeechToTextSettings `protobuf:"bytes,13,opt,name=speech_to_text_settings,json=speechToTextSettings,proto3" json:"speech_to_text_settings,omitempty"`
    // Immutable. Name of the start flow in this agent. A start flow will be automatically
    // created when the agent is created, and can only be deleted by deleting the
    // agent.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/flows/<Flow ID>`.
    StartFlow string `protobuf:"bytes,16,opt,name=start_flow,json=startFlow,proto3" json:"start_flow,omitempty"`
    // Indicates if stackdriver logging is enabled for the agent.
    EnableStackdriverLogging bool `protobuf:"varint,18,opt,name=enable_stackdriver_logging,json=enableStackdriverLogging,proto3" json:"enable_stackdriver_logging,omitempty"`
    // Indicates if automatic spell correction is enabled in detect intent
    // requests.
    EnableSpellCorrection bool `protobuf:"varint,20,opt,name=enable_spell_correction,json=enableSpellCorrection,proto3" json:"enable_spell_correction,omitempty"`
    // contains filtered or unexported fields
}

Agents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data. You can include agents in your app, product, or service to determine user intent and respond to the user in a natural way.

After you create an agent, you can add [Intents][google.cloud.dialogflow.cx.v3.Intent], [Entity Types][google.cloud.dialogflow.cx.v3.EntityType], [Flows][google.cloud.dialogflow.cx.v3.Flow], [Fulfillments][google.cloud.dialogflow.cx.v3.Fulfillment], [Webhooks][google.cloud.dialogflow.cx.v3.Webhook], and so on to manage the conversation flows..

func (*Agent) Descriptor Uses

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

Deprecated: Use Agent.ProtoReflect.Descriptor instead.

func (*Agent) GetAvatarUri Uses

func (x *Agent) GetAvatarUri() string

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) GetEnableSpellCorrection Uses

func (x *Agent) GetEnableSpellCorrection() bool

func (*Agent) GetEnableStackdriverLogging Uses

func (x *Agent) GetEnableStackdriverLogging() bool

func (*Agent) GetName Uses

func (x *Agent) GetName() string

func (*Agent) GetSpeechToTextSettings Uses

func (x *Agent) GetSpeechToTextSettings() *SpeechToTextSettings

func (*Agent) GetStartFlow Uses

func (x *Agent) GetStartFlow() string

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 AgentsClient Uses

type AgentsClient interface {
    // Returns the list of all agents in the specified location.
    ListAgents(ctx context.Context, in *ListAgentsRequest, opts ...grpc.CallOption) (*ListAgentsResponse, error)
    // Retrieves the specified agent.
    GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error)
    // Creates an agent in the specified location.
    CreateAgent(ctx context.Context, in *CreateAgentRequest, opts ...grpc.CallOption) (*Agent, error)
    // Updates the specified agent.
    UpdateAgent(ctx context.Context, in *UpdateAgentRequest, opts ...grpc.CallOption) (*Agent, error)
    // Deletes the specified agent.
    DeleteAgent(ctx context.Context, in *DeleteAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
    // Exports the specified agent to a binary file.
    ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Restores the specified agent from a binary file.
    //
    // Replaces the current agent with a new one. Note that all existing resources
    // in agent (e.g. intents, entity types, flows) will be removed.
    RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*longrunning.Operation, 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 {
    // Returns the list of all agents in the specified location.
    ListAgents(context.Context, *ListAgentsRequest) (*ListAgentsResponse, error)
    // Retrieves the specified agent.
    GetAgent(context.Context, *GetAgentRequest) (*Agent, error)
    // Creates an agent in the specified location.
    CreateAgent(context.Context, *CreateAgentRequest) (*Agent, error)
    // Updates the specified agent.
    UpdateAgent(context.Context, *UpdateAgentRequest) (*Agent, error)
    // Deletes the specified agent.
    DeleteAgent(context.Context, *DeleteAgentRequest) (*emptypb.Empty, error)
    // Exports the specified agent to a binary file.
    ExportAgent(context.Context, *ExportAgentRequest) (*longrunning.Operation, error)
    // Restores the specified agent from a binary file.
    //
    // Replaces the current agent with a new one. Note that all existing resources
    // in agent (e.g. intents, entity types, flows) will be removed.
    RestoreAgent(context.Context, *RestoreAgentRequest) (*longrunning.Operation, 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 AudioInput Uses

type AudioInput struct {

    // Required. Instructs the speech recognizer how to process the speech audio.
    Config *InputAudioConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
    // The natural language speech audio to be processed.
    // A single request can contain up to 1 minute of speech audio data.
    // The [transcribed text][google.cloud.dialogflow.cx.v3.QueryResult.transcript] cannot contain more than 256
    // bytes.
    //
    // For non-streaming audio detect intent, both `config` and `audio` must be
    // provided.
    // For streaming audio detect intent, `config` must be provided in
    // the first request and `audio` must be provided in all following requests.
    Audio []byte `protobuf:"bytes,2,opt,name=audio,proto3" json:"audio,omitempty"`
    // contains filtered or unexported fields
}

Represents the natural speech audio to be processed.

func (*AudioInput) Descriptor Uses

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

Deprecated: Use AudioInput.ProtoReflect.Descriptor instead.

func (*AudioInput) GetAudio Uses

func (x *AudioInput) GetAudio() []byte

func (*AudioInput) GetConfig Uses

func (x *AudioInput) GetConfig() *InputAudioConfig

func (*AudioInput) ProtoMessage Uses

func (*AudioInput) ProtoMessage()

func (*AudioInput) ProtoReflect Uses

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

func (*AudioInput) Reset Uses

func (x *AudioInput) Reset()

func (*AudioInput) String Uses

func (x *AudioInput) String() string

type CreateAgentRequest Uses

type CreateAgentRequest struct {

    // Required. The location to create a agent for.
    // Format: `projects/<Project ID>/locations/<Location ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The agent to create.
    Agent *Agent `protobuf:"bytes,2,opt,name=agent,proto3" json:"agent,omitempty"`
    // contains filtered or unexported fields
}

The request message for [Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent].

func (*CreateAgentRequest) Descriptor Uses

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

Deprecated: Use CreateAgentRequest.ProtoReflect.Descriptor instead.

func (*CreateAgentRequest) GetAgent Uses

func (x *CreateAgentRequest) GetAgent() *Agent

func (*CreateAgentRequest) GetParent Uses

func (x *CreateAgentRequest) GetParent() string

func (*CreateAgentRequest) ProtoMessage Uses

func (*CreateAgentRequest) ProtoMessage()

func (*CreateAgentRequest) ProtoReflect Uses

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

func (*CreateAgentRequest) Reset Uses

func (x *CreateAgentRequest) Reset()

func (*CreateAgentRequest) String Uses

func (x *CreateAgentRequest) String() string

type CreateEntityTypeRequest Uses

type CreateEntityTypeRequest struct {

    // Required. The agent to create a entity type for.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
    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"`
    // The language of the following fields in `entity_type`:
    //
    // *   `EntityType.entities.value`
    // *   `EntityType.entities.synonyms`
    // *   `EntityType.excluded_phrases.value`
    //
    // 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 [EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3.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 CreateEnvironmentRequest Uses

type CreateEnvironmentRequest struct {

    // Required. The [Agent][google.cloud.dialogflow.cx.v3.Agent] to create an [Environment][google.cloud.dialogflow.cx.v3.Environment] for.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The environment to create.
    Environment *Environment `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CreateEnvironmentRequest) Descriptor Uses

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

Deprecated: Use CreateEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*CreateEnvironmentRequest) GetEnvironment Uses

func (x *CreateEnvironmentRequest) GetEnvironment() *Environment

func (*CreateEnvironmentRequest) GetParent Uses

func (x *CreateEnvironmentRequest) GetParent() string

func (*CreateEnvironmentRequest) ProtoMessage Uses

func (*CreateEnvironmentRequest) ProtoMessage()

func (*CreateEnvironmentRequest) ProtoReflect Uses

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

func (*CreateEnvironmentRequest) Reset Uses

func (x *CreateEnvironmentRequest) Reset()

func (*CreateEnvironmentRequest) String Uses

func (x *CreateEnvironmentRequest) String() string

type CreateExperimentRequest Uses

type CreateExperimentRequest struct {

    // Required. The [Agent][google.cloud.dialogflow.cx.v3.Agent] to create an [Environment][google.cloud.dialogflow.cx.v3.Environment] for.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/environments/<Environment ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The experiment to create.
    Experiment *Experiment `protobuf:"bytes,2,opt,name=experiment,proto3" json:"experiment,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CreateExperimentRequest) Descriptor Uses

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

Deprecated: Use CreateExperimentRequest.ProtoReflect.Descriptor instead.

func (*CreateExperimentRequest) GetExperiment Uses

func (x *CreateExperimentRequest) GetExperiment() *Experiment

func (*CreateExperimentRequest) GetParent Uses

func (x *CreateExperimentRequest) GetParent() string

func (*CreateExperimentRequest) ProtoMessage Uses

func (*CreateExperimentRequest) ProtoMessage()

func (*CreateExperimentRequest) ProtoReflect Uses

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

func (*CreateExperimentRequest) Reset Uses

func (x *CreateExperimentRequest) Reset()

func (*CreateExperimentRequest) String Uses

func (x *CreateExperimentRequest) String() string

type CreateFlowRequest Uses

type CreateFlowRequest struct {

    // Required. The agent to create a flow for.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The flow to create.
    Flow *Flow `protobuf:"bytes,2,opt,name=flow,proto3" json:"flow,omitempty"`
    // The language of the following fields in `flow`:
    //
    // *  `Flow.event_handlers.trigger_fulfillment.messages`
    // *  `Flow.transition_routes.trigger_fulfillment.messages`
    //
    // 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 [Flows.CreateFlow][google.cloud.dialogflow.cx.v3.Flows.CreateFlow].

func (*CreateFlowRequest) Descriptor Uses

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

Deprecated: Use CreateFlowRequest.ProtoReflect.Descriptor instead.

func (*CreateFlowRequest) GetFlow Uses

func (x *CreateFlowRequest) GetFlow() *Flow

func (*CreateFlowRequest) GetLanguageCode Uses

func (x *CreateFlowRequest) GetLanguageCode() string

func (*CreateFlowRequest) GetParent Uses

func (x *CreateFlowRequest) GetParent() string

func (*CreateFlowRequest) ProtoMessage Uses

func (*CreateFlowRequest) ProtoMessage()

func (*CreateFlowRequest) ProtoReflect Uses

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

func (*CreateFlowRequest) Reset Uses

func (x *CreateFlowRequest) Reset()

func (*CreateFlowRequest) String Uses

func (x *CreateFlowRequest) String() string

type CreateIntentRequest Uses

type CreateIntentRequest struct {

    // Required. The agent to create an intent for.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
    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"`
    // The language of the following fields in `intent`:
    //
    // *   `Intent.training_phrases.parts.text`
    //
    // 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 [Intents.CreateIntent][google.cloud.dialogflow.cx.v3.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) 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 CreatePageRequest Uses

type CreatePageRequest struct {

    // Required. The flow to create a page for.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/flows/<Flow ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The page to create.
    Page *Page `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
    // The language of the following fields in `page`:
    //
    // *  `Page.entry_fulfillment.messages`
    // *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
    // *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
    // *  `Page.transition_routes.trigger_fulfillment.messages`
    // *
    // `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
    //
    // 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 [Pages.CreatePage][google.cloud.dialogflow.cx.v3.Pages.CreatePage].

func (*CreatePageRequest) Descriptor Uses

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

Deprecated: Use CreatePageRequest.ProtoReflect.Descriptor instead.

func (*CreatePageRequest) GetLanguageCode Uses

func (x *CreatePageRequest) GetLanguageCode() string

func (*CreatePageRequest) GetPage Uses

func (x *CreatePageRequest) GetPage() *Page

func (*CreatePageRequest) GetParent Uses

func (x *CreatePageRequest) GetParent() string

func (*CreatePageRequest) ProtoMessage Uses

func (*CreatePageRequest) ProtoMessage()

func (*CreatePageRequest) ProtoReflect Uses

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

func (*CreatePageRequest) Reset Uses

func (x *CreatePageRequest) Reset()

func (*CreatePageRequest) String Uses

func (x *CreatePageRequest) String() string

type CreateSecuritySettingsRequest Uses

type CreateSecuritySettingsRequest struct {

    // Required. The location to create an [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] for.
    // Format: `projects/<Project ID>/locations/<Location ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The security settings to create.
    SecuritySettings *SecuritySettings `protobuf:"bytes,2,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"`
    // contains filtered or unexported fields
}

The request message for [SecuritySettings.CreateSecuritySettings][].

func (*CreateSecuritySettingsRequest) Descriptor Uses

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

Deprecated: Use CreateSecuritySettingsRequest.ProtoReflect.Descriptor instead.

func (*CreateSecuritySettingsRequest) GetParent Uses

func (x *CreateSecuritySettingsRequest) GetParent() string

func (*CreateSecuritySettingsRequest) GetSecuritySettings Uses

func (x *CreateSecuritySettingsRequest) GetSecuritySettings() *SecuritySettings

func (*CreateSecuritySettingsRequest) ProtoMessage Uses

func (*CreateSecuritySettingsRequest) ProtoMessage()

func (*CreateSecuritySettingsRequest) ProtoReflect Uses

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

func (*CreateSecuritySettingsRequest) Reset Uses

func (x *CreateSecuritySettingsRequest) Reset()

func (*CreateSecuritySettingsRequest) String Uses

func (x *CreateSecuritySettingsRequest) String() string

type CreateSessionEntityTypeRequest Uses

type CreateSessionEntityTypeRequest struct {

    // Required. The session to create a session entity type for.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/sessions/<Session ID>` or `projects/<Project ID>/locations/<Location
    // ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>`.
    // If `Environment ID` is not specified, we assume default 'draft'
    // environment.
    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.cx.v3.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 CreateTransitionRouteGroupRequest Uses

type CreateTransitionRouteGroupRequest struct {

    // Required. The flow to create an [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] for.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/flows/<Flow ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The transition route group to create.
    TransitionRouteGroup *TransitionRouteGroup `protobuf:"bytes,2,opt,name=transition_route_group,json=transitionRouteGroup,proto3" json:"transition_route_group,omitempty"`
    // The language to list transition route groups for. The field
    // [`messages`][TransitionRoute.trigger_fulfillment.messages] in
    // [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
    //
    // 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 [TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup].

func (*CreateTransitionRouteGroupRequest) Descriptor Uses

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

Deprecated: Use CreateTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateTransitionRouteGroupRequest) GetLanguageCode Uses

func (x *CreateTransitionRouteGroupRequest) GetLanguageCode() string

func (*CreateTransitionRouteGroupRequest) GetParent Uses

func (x *CreateTransitionRouteGroupRequest) GetParent() string

func (*CreateTransitionRouteGroupRequest) GetTransitionRouteGroup Uses

func (x *CreateTransitionRouteGroupRequest) GetTransitionRouteGroup() *TransitionRouteGroup

func (*CreateTransitionRouteGroupRequest) ProtoMessage Uses

func (*CreateTransitionRouteGroupRequest) ProtoMessage()

func (*CreateTransitionRouteGroupRequest) ProtoReflect Uses

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

func (*CreateTransitionRouteGroupRequest) Reset Uses

func (x *CreateTransitionRouteGroupRequest) Reset()

func (*CreateTransitionRouteGroupRequest) String Uses

func (x *CreateTransitionRouteGroupRequest) String() string

type CreateVersionOperationMetadata Uses

type CreateVersionOperationMetadata struct {

    // Name of the created version.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/flows/<Flow ID>/versions/<Version ID>`.
    Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CreateVersionOperationMetadata) Descriptor Uses

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

Deprecated: Use CreateVersionOperationMetadata.ProtoReflect.Descriptor instead.

func (*CreateVersionOperationMetadata) GetVersion Uses

func (x *CreateVersionOperationMetadata) GetVersion() string

func (*CreateVersionOperationMetadata) ProtoMessage Uses

func (*CreateVersionOperationMetadata) ProtoMessage()

func (*CreateVersionOperationMetadata) ProtoReflect Uses

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

func (*CreateVersionOperationMetadata) Reset Uses

func (x *CreateVersionOperationMetadata) Reset()

func (*CreateVersionOperationMetadata) String Uses

func (x *CreateVersionOperationMetadata) String() string

type CreateVersionRequest Uses

type CreateVersionRequest struct {

    // Required. The [Flow][google.cloud.dialogflow.cx.v3.Flow] to create an [Version][google.cloud.dialogflow.cx.v3.Version] for.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/flows/<Flow ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The version to create.
    Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CreateVersionRequest) Descriptor Uses

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

Deprecated: Use CreateVersionRequest.ProtoReflect.Descriptor instead.

func (*CreateVersionRequest) GetParent Uses

func (x *CreateVersionRequest) GetParent() string

func (*CreateVersionRequest) GetVersion Uses

func (x *CreateVersionRequest) GetVersion() *Version

func (*CreateVersionRequest) ProtoMessage Uses

func (*CreateVersionRequest) ProtoMessage()

func (*CreateVersionRequest) ProtoReflect Uses

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

func (*CreateVersionRequest) Reset Uses

func (x *CreateVersionRequest) Reset()

func (*CreateVersionRequest) String Uses

func (x *CreateVersionRequest) String() string

type CreateWebhookRequest Uses

type CreateWebhookRequest struct {

    // Required. The agent to create a webhook for.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The webhook to create.
    Webhook *Webhook `protobuf:"bytes,2,opt,name=webhook,proto3" json:"webhook,omitempty"`
    // contains filtered or unexported fields
}

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

func (*CreateWebhookRequest) Descriptor Uses

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

Deprecated: Use CreateWebhookRequest.ProtoReflect.Descriptor instead.

func (*CreateWebhookRequest) GetParent Uses

func (x *CreateWebhookRequest) GetParent() string

func (*CreateWebhookRequest) GetWebhook Uses

func (x *CreateWebhookRequest) GetWebhook() *Webhook

func (*CreateWebhookRequest) ProtoMessage Uses

func (*CreateWebhookRequest) ProtoMessage()

func (*CreateWebhookRequest) ProtoReflect Uses

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

func (*CreateWebhookRequest) Reset Uses

func (x *CreateWebhookRequest) Reset()

func (*CreateWebhookRequest) String Uses

func (x *CreateWebhookRequest) String() string

type DeleteAgentRequest Uses

type DeleteAgentRequest struct {

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

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

func (*DeleteAgentRequest) Descriptor Uses

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

Deprecated: Use DeleteAgentRequest.ProtoReflect.Descriptor instead.

func (*DeleteAgentRequest) GetName Uses

func (x *DeleteAgentRequest) GetName() 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 DeleteEntityTypeRequest Uses

type DeleteEntityTypeRequest struct {

    // Required. The name of the entity type to delete.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/entityTypes/<Entity Type ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // This field has no effect for entity type not being used.
    // For entity types that are used by intents or pages:
    //
    // *  If `force` is set to false, an error will be returned with message
    //    indicating the referencing resources.
    // *  If `force` is set to true, Dialogflow will remove the entity type, as
    //    well as any references to the entity type (i.e. Page
    //    [parameter][google.cloud.dialogflow.cx.v3.Form.Parameter] of the entity type will be changed to
    //    '@sys.any' and intent [parameter][google.cloud.dialogflow.cx.v3.Intent.Parameter] of the entity type
    //    will be removed).
    Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
    // contains filtered or unexported fields
}

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

func (*DeleteEntityTypeRequest) Descriptor Uses

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

Deprecated: Use DeleteEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntityTypeRequest) GetForce Uses

func (x *DeleteEntityTypeRequest) GetForce() bool

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 DeleteEnvironmentRequest Uses

type DeleteEnvironmentRequest struct {

    // Required. The name of the [Environment][google.cloud.dialogflow.cx.v3.Environment] to delete.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/environments/<Environment ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

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

func (*DeleteEnvironmentRequest) Descriptor Uses

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

Deprecated: Use DeleteEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*DeleteEnvironmentRequest) GetName Uses

func (x *DeleteEnvironmentRequest) GetName() string

func (*DeleteEnvironmentRequest) ProtoMessage Uses

func (*DeleteEnvironmentRequest) ProtoMessage()

func (*DeleteEnvironmentRequest) ProtoReflect Uses

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

func (*DeleteEnvironmentRequest) Reset Uses

func (x *DeleteEnvironmentRequest) Reset()

func (*DeleteEnvironmentRequest) String Uses

func (x *DeleteEnvironmentRequest) String() string

type DeleteExperimentRequest Uses

type DeleteExperimentRequest struct {

    // Required. The name of the [Environment][google.cloud.dialogflow.cx.v3.Environment] to delete.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/environments/<Environment ID>/experiments/<Experiment ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

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

func (*DeleteExperimentRequest) Descriptor Uses

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

Deprecated: Use DeleteExperimentRequest.ProtoReflect.Descriptor instead.

func (*DeleteExperimentRequest) GetName Uses

func (x *DeleteExperimentRequest) GetName() string

func (*DeleteExperimentRequest) ProtoMessage Uses

func (*DeleteExperimentRequest) ProtoMessage()

func (*DeleteExperimentRequest) ProtoReflect Uses

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

func (*DeleteExperimentRequest) Reset Uses

func (x *DeleteExperimentRequest) Reset()

func (*DeleteExperimentRequest) String Uses

func (x *DeleteExperimentRequest) String() string

type DeleteFlowRequest Uses

type DeleteFlowRequest struct {

    // Required. The name of the flow to delete.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/flows/<Flow ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // This field has no effect for flows with no incoming transitions.
    // For flows with incoming transitions:
    //
    // *  If `force` is set to false, an error will be returned with message
    //    indicating the incoming transitions.
    // *  If `force` is set to true, Dialogflow will remove the flow, as well as
    //    any transitions to the flow (i.e. [Target
    //    flow][EventHandler.target_flow] in event handlers or [Target
    //    flow][TransitionRoute.target_flow] in transition routes that point to
    //    this flow will be cleared).
    Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
    // contains filtered or unexported fields
}

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

func (*DeleteFlowRequest) Descriptor Uses

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

Deprecated: Use DeleteFlowRequest.ProtoReflect.Descriptor instead.

func (*DeleteFlowRequest) GetForce Uses

func (x *DeleteFlowRequest) GetForce() bool

func (*DeleteFlowRequest) GetName Uses

func (x *DeleteFlowRequest) GetName() string

func (*DeleteFlowRequest) ProtoMessage Uses

func (*DeleteFlowRequest) ProtoMessage()

func (*DeleteFlowRequest) ProtoReflect Uses

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

func (*DeleteFlowRequest) Reset Uses

func (x *DeleteFlowRequest) Reset()

func (*DeleteFlowRequest) String Uses

func (x *DeleteFlowRequest) String() string

type DeleteIntentRequest Uses

type DeleteIntentRequest struct {

    // Required. The name of the intent to delete.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/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.cx.v3.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 DeletePageRequest Uses

type DeletePageRequest struct {

    // Required. The name of the page to delete.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/Flows/<flow ID>/pages/<Page ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // This field has no effect for pages with no incoming transitions.
    // For pages with incoming transitions:
    //
    // *  If `force` is set to false, an error will be returned with message
    //    indicating the incoming transitions.
    // *  If `force` is set to true, Dialogflow will remove the page, as well as
    //    any transitions to the page (i.e. [Target
    //    page][EventHandler.target_page] in event handlers or [Target
    //    page][TransitionRoute.target_page] in transition routes that point to
    //    this page will be cleared).
    Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
    // contains filtered or unexported fields
}

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

func (*DeletePageRequest) Descriptor Uses

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

Deprecated: Use DeletePageRequest.ProtoReflect.Descriptor instead.

func (*DeletePageRequest) GetForce Uses

func (x *DeletePageRequest) GetForce() bool

func (*DeletePageRequest) GetName Uses

func (x *DeletePageRequest) GetName() string

func (*DeletePageRequest) ProtoMessage Uses

func (*DeletePageRequest) ProtoMessage()

func (*DeletePageRequest) ProtoReflect Uses

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

func (*DeletePageRequest) Reset Uses

func (x *DeletePageRequest) Reset()

func (*DeletePageRequest) String Uses

func (x *DeletePageRequest) String() string

type DeleteSecuritySettingsRequest Uses

type DeleteSecuritySettingsRequest struct {

    // Required. The name of the [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings] to delete.
    // Format: `projects/<Project ID>/locations/<Location
    // ID>/securitySettings/<Security Settings ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The request message for [SecuritySettings.DeleteSecuritySettings][].

func (*DeleteSecuritySettingsRequest) Descriptor Uses

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

Deprecated: Use DeleteSecuritySettingsRequest.ProtoReflect.Descriptor instead.

func (*DeleteSecuritySettingsRequest) GetName Uses

func (x *DeleteSecuritySettingsRequest) GetName() string

func (*DeleteSecuritySettingsRequest) ProtoMessage Uses

func (*DeleteSecuritySettingsRequest) ProtoMessage()

func (*DeleteSecuritySettingsRequest) ProtoReflect Uses

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

func (*DeleteSecuritySettingsRequest) Reset Uses

func (x *DeleteSecuritySettingsRequest) Reset()

func (*DeleteSecuritySettingsRequest) String Uses

func (x *DeleteSecuritySettingsRequest) String() string

type DeleteSessionEntityTypeRequest Uses

type DeleteSessionEntityTypeRequest struct {

    // Required. The name of the session entity type to delete.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>` or
    // `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity
    // Type ID>`. If `Environment ID` is not specified, we assume default 'draft'
    // environment.
    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.cx.v3.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 DeleteTransitionRouteGroupRequest Uses

type DeleteTransitionRouteGroupRequest struct {

    // Required. The name of the [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] to delete.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // This field has no effect for transition route group that no page is using.
    // If the transition route group is referenced by any page:
    //
    // *  If `force` is set to false, an error will be returned with message
    //    indicating pages that reference the transition route group.
    // *  If `force` is set to true, Dialogflow will remove the transition route
    //    group, as well as any reference to it.
    Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
    // contains filtered or unexported fields
}

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

func (*DeleteTransitionRouteGroupRequest) Descriptor Uses

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

Deprecated: Use DeleteTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteTransitionRouteGroupRequest) GetForce Uses

func (x *DeleteTransitionRouteGroupRequest) GetForce() bool

func (*DeleteTransitionRouteGroupRequest) GetName Uses

func (x *DeleteTransitionRouteGroupRequest) GetName() string

func (*DeleteTransitionRouteGroupRequest) ProtoMessage Uses

func (*DeleteTransitionRouteGroupRequest) ProtoMessage()

func (*DeleteTransitionRouteGroupRequest) ProtoReflect Uses

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

func (*DeleteTransitionRouteGroupRequest) Reset Uses

func (x *DeleteTransitionRouteGroupRequest) Reset()

func (*DeleteTransitionRouteGroupRequest) String Uses

func (x *DeleteTransitionRouteGroupRequest) String() string

type DeleteVersionRequest Uses

type DeleteVersionRequest struct {

    // Required. The name of the [Version][google.cloud.dialogflow.cx.v3.Version] to delete.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/flows/<Flow ID>/versions/<Version ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

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

func (*DeleteVersionRequest) Descriptor Uses

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

Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.

func (*DeleteVersionRequest) GetName Uses

func (x *DeleteVersionRequest) GetName() string

func (*DeleteVersionRequest) ProtoMessage Uses

func (*DeleteVersionRequest) ProtoMessage()

func (*DeleteVersionRequest) ProtoReflect Uses

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

func (*DeleteVersionRequest) Reset Uses

func (x *DeleteVersionRequest) Reset()

func (*DeleteVersionRequest) String Uses

func (x *DeleteVersionRequest) String() string

type DeleteWebhookRequest Uses

type DeleteWebhookRequest struct {

    // Required. The name of the webhook to delete.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/webhooks/<Webhook ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // This field has no effect for webhook not being used.
    // For webhooks that are used by pages/flows/transition route groups:
    //
    // *  If `force` is set to false, an error will be returned with message
    //    indicating the referenced resources.
    // *  If `force` is set to true, Dialogflow will remove the webhook, as well
    //    as any references to the webhook (i.e. [Webhook][google.cloud.dialogflow.cx.v3.Fulfillment.webhook]
    //    and [tag][google.cloud.dialogflow.cx.v3.Fulfillment.tag]in fulfillments that point to this webhook
    //    will be removed).
    Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
    // contains filtered or unexported fields
}

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

func (*DeleteWebhookRequest) Descriptor Uses

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

Deprecated: Use DeleteWebhookRequest.ProtoReflect.Descriptor instead.

func (*DeleteWebhookRequest) GetForce Uses

func (x *DeleteWebhookRequest) GetForce() bool

func (*DeleteWebhookRequest) GetName Uses

func (x *DeleteWebhookRequest) GetName() string

func (*DeleteWebhookRequest) ProtoMessage Uses

func (*DeleteWebhookRequest) ProtoMessage()

func (*DeleteWebhookRequest) ProtoReflect Uses

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

func (*DeleteWebhookRequest) Reset Uses

func (x *DeleteWebhookRequest) Reset()

func (*DeleteWebhookRequest) String Uses

func (x *DeleteWebhookRequest) String() string

type DetectIntentRequest Uses

type DetectIntentRequest struct {

    // Required. The name of the session this query is sent to.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/sessions/<Session ID>` or `projects/<Project ID>/locations/<Location
    // ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>`.
    // If `Environment ID` is not specified, we assume default 'draft'
    // environment.
    // It's up to the API caller to choose an appropriate `Session ID`. It can be
    // a random number or some type of session identifiers (preferably hashed).
    // The length of the `Session ID` must not exceed 36 characters.
    //
    // For more information, see the [sessions
    // guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
    //
    // Note: Always use agent versions for production traffic.
    // See [Versions and
    // environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
    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.
    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.
    OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,4,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,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) GetOutputAudioConfig Uses

func (x *DetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig

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 {

    // Output only. The unique identifier of the response. It can be used to
    // locate a response in the training example set or for reporting issues.
    ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"`
    // The result of the conversational query.
    QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"`
    // The audio data bytes encoded as specified in the request.
    // Note: The output audio is generated based on the values of default platform
    // text responses found in the
    // [`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages] field. If
    // multiple default text responses exist, they will be concatenated when
    // generating audio. If no default platform text responses exist, the
    // generated audio content will be empty.
    //
    // In some scenarios, multiple output audio fields may be present in the
    // response structure. In these cases, only the top-most-level audio output
    // has content.
    OutputAudio []byte `protobuf:"bytes,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,5,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) 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) 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 DtmfInput Uses

type DtmfInput struct {

    // The dtmf digits.
    Digits string `protobuf:"bytes,1,opt,name=digits,proto3" json:"digits,omitempty"`
    // The finish digit (if any).
    FinishDigit string `protobuf:"bytes,2,opt,name=finish_digit,json=finishDigit,proto3" json:"finish_digit,omitempty"`
    // contains filtered or unexported fields
}

Represents the input for dtmf event.

func (*DtmfInput) Descriptor Uses

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

Deprecated: Use DtmfInput.ProtoReflect.Descriptor instead.

func (*DtmfInput) GetDigits Uses

func (x *DtmfInput) GetDigits() string

func (*DtmfInput) GetFinishDigit Uses

func (x *DtmfInput) GetFinishDigit() string

func (*DtmfInput) ProtoMessage Uses

func (*DtmfInput) ProtoMessage()

func (*DtmfInput) ProtoReflect Uses

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

func (*DtmfInput) Reset Uses

func (x *DtmfInput) Reset()

func (*DtmfInput) String Uses

func (x *DtmfInput) String() string

type EntityType Uses

type EntityType struct {

    // The unique identifier of the entity type.
    // Required for [EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType].
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/entityTypes/<Entity Type ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The human-readable name of the entity type, unique within the agent.
    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.cx.v3.EntityType_Kind" json:"kind,omitempty"`
    // 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.cx.v3.EntityType_AutoExpansionMode" json:"auto_expansion_mode,omitempty"`
    // The collection of entity entries associated with the entity type.
    Entities []*EntityType_Entity `protobuf:"bytes,5,rep,name=entities,proto3" json:"entities,omitempty"`
    // Collection of exceptional words and phrases that shouldn't be matched.
    // For example, if you have a size entity type with entry `giant`(an
    // adjective), you might consider adding `giants`(a noun) as an exclusion.
    // If the kind of entity type is `KIND_MAP`, then the phrases specified by
    // entities and excluded phrases should be mutually exclusive.
    ExcludedPhrases []*EntityType_ExcludedPhrase `protobuf:"bytes,6,rep,name=excluded_phrases,json=excludedPhrases,proto3" json:"excluded_phrases,omitempty"`
    // 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
}

Entities are extracted from user input and represent parameters that are meaningful to your application. For example, a date range, a proper name such as a geographic location or landmark, and so on. Entities represent actionable data for your application.

When you define an entity, you can also include synonyms that all map to that entity. For example, "soft drink", "soda", "pop", and so on.

There are three types of entities:

* **System** - entities that are defined by the Dialogflow API for common

data types such as date, time, currency, and so on. A system entity is
represented by the `EntityType` type.

* **Custom** - entities that are defined by you that represent

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

* **User** - entities that are built for an individual user such as

favorites, preferences, playlists, and so on. A user entity is
represented by the [SessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityType] type.

For more information about entity types, see the [Dialogflow documentation](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) GetExcludedPhrases Uses

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

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

An **entity entry** for an associated entity type. Next Id = 8

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_ExcludedPhrase Uses

type EntityType_ExcludedPhrase struct {

    // Required. The word or phrase to be excluded.
    Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
    // contains filtered or unexported fields
}

An excluded entity phrase that should not be matched.

func (*EntityType_ExcludedPhrase) Descriptor Uses

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

Deprecated: Use EntityType_ExcludedPhrase.ProtoReflect.Descriptor instead.

func (*EntityType_ExcludedPhrase) GetValue Uses

func (x *EntityType_ExcludedPhrase) GetValue() string

func (*EntityType_ExcludedPhrase) ProtoMessage Uses

func (*EntityType_ExcludedPhrase) ProtoMessage()

func (*EntityType_ExcludedPhrase) ProtoReflect Uses

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

func (*EntityType_ExcludedPhrase) Reset Uses

func (x *EntityType_ExcludedPhrase) Reset()

func (*EntityType_ExcludedPhrase) String Uses

func (x *EntityType_ExcludedPhrase) 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 canonical
    // value.
    EntityType_KIND_MAP EntityType_Kind = 1
    // List entity types contain a set of entries that do not map to canonical
    // values. However, list entity types can contain references to other entity
    // types (with or without aliases).
    EntityType_KIND_LIST EntityType_Kind = 2
    // Regexp entity types allow to specify regular expressions in entries
    // values.
    EntityType_KIND_REGEXP EntityType_Kind = 3
)

func (EntityType_Kind) Descriptor 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) (*emptypb.Empty, error)
}

EntityTypesClient is the client API for EntityTypes service.

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

func NewEntityTypesClient 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) (*emptypb.Empty, error)
}

EntityTypesServer is the server API for EntityTypes service.

type Environment Uses

type Environment struct {

    // The name of the environment.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/environments/<Environment ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The human-readable name of the environment (unique in an agent). Limit of
    // 64 characters.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // The human-readable description of the environment. The maximum length is
    // 500 characters. If exceeded, the request is rejected.
    Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
    // Required. A list of configurations for flow versions. You should include version
    // configs for all flows that are reachable from [`Start
    // Flow`][Agent.start_flow] in the agent. Otherwise, an error will be
    // returned.
    VersionConfigs []*Environment_VersionConfig `protobuf:"bytes,6,rep,name=version_configs,json=versionConfigs,proto3" json:"version_configs,omitempty"`
    // Output only. Update time of this environment.
    UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
    // contains filtered or unexported fields
}

Represents an environment for an agent. You can create multiple versions of your agent and publish them to separate environments. When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent. When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for testing, development, production, etc.

func (*Environment) Descriptor Uses

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

Deprecated: Use Environment.ProtoReflect.Descriptor instead.

func (*Environment) GetDescription Uses

func (x *Environment) GetDescription() string

func (*Environment) GetDisplayName Uses

func (x *Environment) GetDisplayName() string

func (*Environment) GetName Uses

func (x *Environment) GetName() string

func (*Environment) GetUpdateTime Uses

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

func (*Environment) GetVersionConfigs Uses

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

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_VersionConfig Uses

type Environment_VersionConfig struct {

    // Required. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/flows/<Flow ID>/versions/<Version ID>.
    Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
    // contains filtered or unexported fields
}

Configuration for the version.

func (*Environment_VersionConfig) Descriptor Uses

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

Deprecated: Use Environment_VersionConfig.ProtoReflect.Descriptor instead.

func (*Environment_VersionConfig) GetVersion Uses

func (x *Environment_VersionConfig) GetVersion() string

func (*Environment_VersionConfig) ProtoMessage Uses

func (*Environment_VersionConfig) ProtoMessage()

func (*Environment_VersionConfig) ProtoReflect Uses

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

func (*Environment_VersionConfig) Reset Uses

func (x *Environment_VersionConfig) Reset()

func (*Environment_VersionConfig) String Uses

func (x *Environment_VersionConfig) String() string

type EnvironmentsClient Uses

type EnvironmentsClient interface {
    // Returns the list of all environments in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].
    ListEnvironments(ctx context.Context, in *ListEnvironmentsRequest, opts ...grpc.CallOption) (*ListEnvironmentsResponse, error)
    // Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
    GetEnvironment(ctx context.Context, in *GetEnvironmentRequest, opts ...grpc.CallOption) (*Environment, error)
    // Creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].
    CreateEnvironment(ctx context.Context, in *CreateEnvironmentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Updates the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
    UpdateEnvironment(ctx context.Context, in *UpdateEnvironmentRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
    // Deletes the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
    DeleteEnvironment(ctx context.Context, in *DeleteEnvironmentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
    // Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
    LookupEnvironmentHistory(ctx context.Context, in *LookupEnvironmentHistoryRequest, opts ...grpc.CallOption) (*LookupEnvironmentHistoryResponse, 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 environments in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].
    ListEnvironments(context.Context, *ListEnvironmentsRequest) (*ListEnvironmentsResponse, error)
    // Retrieves the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
    GetEnvironment(context.Context, *GetEnvironmentRequest) (*Environment, error)
    // Creates an [Environment][google.cloud.dialogflow.cx.v3.Environment] in the specified [Agent][google.cloud.dialogflow.cx.v3.Agent].
    CreateEnvironment(context.Context, *CreateEnvironmentRequest) (*longrunning.Operation, error)
    // Updates the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
    UpdateEnvironment(context.Context, *UpdateEnvironmentRequest) (*longrunning.Operation, error)
    // Deletes the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
    DeleteEnvironment(context.Context, *DeleteEnvironmentRequest) (*emptypb.Empty, error)
    // Looks up the history of the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
    LookupEnvironmentHistory(context.Context, *LookupEnvironmentHistoryRequest) (*LookupEnvironmentHistoryResponse, error)
}

EnvironmentsServer is the server API for Environments service.

type EventHandler Uses

type EventHandler struct {

    // Output only. The unique identifier of this event handler.
    Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The name of the event to handle.
    Event string `protobuf:"bytes,4,opt,name=event,proto3" json:"event,omitempty"`
    // The fulfillment to call when the event occurs.
    // Handling webhook errors with a fulfillment enabled with webhook could
    // cause infinite loop. It is invalid to specify such fulfillment for a
    // handler handling webhooks.
    TriggerFulfillment *Fulfillment `protobuf:"bytes,5,opt,name=trigger_fulfillment,json=triggerFulfillment,proto3" json:"trigger_fulfillment,omitempty"`
    // The target to transition to, either a page in the same host flow (the flow
    // that owns this [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute]), or another flow in the same agent.
    //
    // Types that are assignable to Target:
    //	*EventHandler_TargetPage
    //	*EventHandler_TargetFlow
    Target isEventHandler_Target `protobuf_oneof:"target"`
    // contains filtered or unexported fields
}

An event handler specifies an [event][google.cloud.dialogflow.cx.v3.EventHandler.event] that can be handled during a session. When the specified event happens, the following actions are taken in order:

* If there is a [`trigger_fulfillment`][google.cloud.dialogflow.cx.v3.EventHandler.trigger_fulfillment] associated with the event, it will be called. * If there is a [`target_page`][google.cloud.dialogflow.cx.v3.EventHandler.target_page] associated with the event, the session will transition into the specified page. * If there is a [`target_flow`][google.cloud.dialogflow.cx.v3.EventHandler.target_flow] associated with the event, the session will transition into the specified flow.

func (*EventHandler) Descriptor Uses

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

Deprecated: Use EventHandler.ProtoReflect.Descriptor instead.

func (*EventHandler) GetEvent Uses

func (x *EventHandler) GetEvent() string

func (*EventHandler) GetName Uses

func (x *EventHandler) GetName() string

func (*EventHandler) GetTarget Uses

func (m *EventHandler) GetTarget() isEventHandler_Target

func (*EventHandler) GetTargetFlow Uses

func (x *EventHandler) GetTargetFlow() string

func (*EventHandler) GetTargetPage Uses

func (x *EventHandler) GetTargetPage() string

func (*EventHandler) GetTriggerFulfillment Uses

func (x *EventHandler) GetTriggerFulfillment() *Fulfillment

func (*EventHandler) ProtoMessage Uses

func (*EventHandler) ProtoMessage()

func (*EventHandler) ProtoReflect Uses

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

func (*EventHandler) Reset Uses

func (x *EventHandler) Reset()

func (*EventHandler) String Uses

func (x *EventHandler) String() string

type EventHandler_TargetFlow Uses

type EventHandler_TargetFlow struct {
    // The target flow to transition to.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/flows/<Flow ID>`.
    TargetFlow string `protobuf:"bytes,3,opt,name=target_flow,json=targetFlow,proto3,oneof"`
}

type EventHandler_TargetPage Uses

type EventHandler_TargetPage struct {
    // The target page to transition to.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/flows/<Flow ID>/pages/<Page ID>`.
    TargetPage string `protobuf:"bytes,2,opt,name=target_page,json=targetPage,proto3,oneof"`
}

type EventInput Uses

type EventInput struct {

    // Name of the event.
    Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
    // contains filtered or unexported fields
}

Represents the event to trigger.

func (*EventInput) Descriptor Uses

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

Deprecated: Use EventInput.ProtoReflect.Descriptor instead.

func (*EventInput) GetEvent Uses

func (x *EventInput) GetEvent() string

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 Experiment Uses

type Experiment struct {

    // The name of the experiment.
    // Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/environments/<Environment ID>/experiments/<Experiment ID>..
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The human-readable name of the experiment (unique in an environment). Limit
    // of 64 characters.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // The human-readable description of the experiment.
    Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
    // The current state of the experiment.
    // Transition triggered by Expriments.StartExperiment: PENDING->RUNNING.
    // Transition triggered by Expriments.CancelExperiment: PENDING->CANCELLED or
    // RUNNING->CANCELLED.
    State Experiment_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.dialogflow.cx.v3.Experiment_State" json:"state,omitempty"`
    // The definition of the experiment.
    Definition *Experiment_Definition `protobuf:"bytes,5,opt,name=definition,proto3" json:"definition,omitempty"`
    // Inference result of the experiment.
    Result *Experiment_Result `protobuf:"bytes,6,opt,name=result,proto3" json:"result,omitempty"`
    // Creation time of this experiment.
    CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
    // Start time of this experiment.
    StartTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
    // End time of this experiment.
    EndTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
    // Last update time of this experiment.
    LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
    // Maximum number of days to run the experiment.
    ExperimentLength *durationpb.Duration `protobuf:"bytes,11,opt,name=experiment_length,json=experimentLength,proto3" json:"experiment_length,omitempty"`
    // The history of updates to the experiment variants.
    VariantsHistory []*VariantsHistory `protobuf:"bytes,12,rep,name=variants_history,json=variantsHistory,proto3" json:"variants_history,omitempty"`
    // contains filtered or unexported fields
}

Represents an experiment in an environment. Next ID: 13

func (*Experiment) Descriptor Uses

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

Deprecated: Use Experiment.ProtoReflect.Descriptor instead.

func (*Experiment) GetCreateTime Uses

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

func (*Experiment) GetDefinition Uses

func (x *Experiment) GetDefinition() *Experiment_Definition

func (*Experiment) GetDescription Uses

func (x *Experiment) GetDescription() string

func (*Experiment) GetDisplayName Uses

func (x *Experiment) GetDisplayName() string

func (*Experiment) GetEndTime Uses

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

func (*Experiment) GetExperimentLength Uses

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

func (*Experiment) GetLastUpdateTime Uses

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

func (*Experiment) GetName Uses

func (x *Experiment) GetName() string

func (*Experiment) GetResult Uses

func (x *Experiment) GetResult() *Experiment_Result

func (*Experiment) GetStartTime Uses

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

func (*Experiment) GetState Uses

func (x *Experiment) GetState() Experiment_State

func (*Experiment) GetVariantsHistory Uses

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

func (*Experiment) ProtoMessage Uses

func (*Experiment) ProtoMessage()

func (*Experiment) ProtoReflect Uses

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

func (*Experiment) Reset Uses

func (x *Experiment) Reset()

func (*Experiment) String Uses

func (x *Experiment) String() string

type Experiment_Definition Uses

type Experiment_Definition struct {

    // The condition defines which subset of sessions are selected for
    // this experiment. If not specified, all sessions are eligible. E.g.
    // "query_input.language_code=en" See the [conditions
    // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
    Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
    // The variants of the experiment. We currently only support single variant
    // experiment.
    //
    // Types that are assignable to Variants:
    //	*Experiment_Definition_VersionVariants
    Variants isExperiment_Definition_Variants `protobuf_oneof:"variants"`
    // contains filtered or unexported fields
}

Definition of the experiment. Next ID: 3

func (*Experiment_Definition) Descriptor Uses

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

Deprecated: Use Experiment_Definition.ProtoReflect.Descriptor instead.

func (*Experiment_Definition) GetCondition Uses

func (x *Experiment_Definition) GetCondition() string

func (*Experiment_Definition) GetVariants Uses

func (m *Experiment_Definition) GetVariants() isExperiment_Definition_Variants

func (*Experiment_Definition) GetVersionVariants Uses

func (x *Experiment_Definition) GetVersionVariants() *VersionVariants

func (*Experiment_Definition) ProtoMessage Uses

func (*Experiment_Definition) ProtoMessage()

func (*Experiment_Definition) ProtoReflect Uses

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

func (*Experiment_Definition) Reset Uses

func (x *Experiment_Definition) Reset()

func (*Experiment_Definition) String Uses

func (x *Experiment_Definition) String() string

type Experiment_Definition_VersionVariants Uses

type Experiment_Definition_VersionVariants struct {
    // The flow versions as the variants of this experiment.
    VersionVariants *VersionVariants `protobuf:"bytes,2,opt,name=version_variants,json=versionVariants,proto3,oneof"`
}

type Experiment_Result Uses

type Experiment_Result struct {

    // Version variants and metrics.
    VersionMetrics []*Experiment_Result_VersionMetrics `protobuf:"bytes,1,rep,name=version_metrics,json=versionMetrics,proto3" json:"version_metrics,omitempty"`
    // The last time the experiment's stats data was updated. Will have default
    // value if stats have never been computed for this experiment.
    LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
    // contains filtered or unexported fields
}

The inference result which includes an objective metric to optimize and the confidence interval.

func (*Experiment_Result) Descriptor Uses

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

Deprecated: Use Experiment_Result.ProtoReflect.Descriptor instead.

func (*Experiment_Result) GetLastUpdateTime Uses

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

func (*Experiment_Result) GetVersionMetrics Uses

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

func (*Experiment_Result) ProtoMessage Uses

func (*Experiment_Result) ProtoMessage()

func (*Experiment_Result) ProtoReflect Uses

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

func (*Experiment_Result) Reset Uses

func (x *Experiment_Result) Reset()

func (*Experiment_Result) String Uses

func (x *Experiment_Result) String() string

type Experiment_Result_ConfidenceInterval Uses

type Experiment_Result_ConfidenceInterval struct {

    // The confidence level used to construct the interval, i.e. there is X%
    // chance that the true value is within this interval.
    ConfidenceLevel float64 `protobuf:"fixed64,1,opt,name=confidence_level,json=confidenceLevel,proto3" json:"confidence_level,omitempty"`
    // The percent change between an experiment metric's value and the value
    // for its control.
    Ratio float64 `protobuf:"fixed64,2,opt,name=ratio,proto3" json:"ratio,omitempty"`
    // Lower bound of the interval.
    LowerBound float64 `protobuf:"fixed64,3,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"`
    // Upper bound of the interval.
    UpperBound float64 `protobuf:"fixed64,4,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"`
    // contains filtered or unexported fields
}

A confidence interval is a range of possible values for the experiment objective you are trying to measure.

func (*Experiment_Result_ConfidenceInterval) Descriptor Uses

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

Deprecated: Use Experiment_Result_ConfidenceInterval.ProtoReflect.Descriptor instead.

func (*Experiment_Result_ConfidenceInterval) GetConfidenceLevel Uses

func (x *Experiment_Result_ConfidenceInterval) GetConfidenceLevel() float64

func (*Experiment_Result_ConfidenceInterval) GetLowerBound Uses

func (x *Experiment_Result_ConfidenceInterval) GetLowerBound() float64

func (*Experiment_Result_ConfidenceInterval) GetRatio Uses

func (x *Experiment_Result_ConfidenceInterval) GetRatio() float64

func (*Experiment_Result_ConfidenceInterval) GetUpperBound Uses

func (x *Experiment_Result_ConfidenceInterval) GetUpperBound() float64

func (*Experiment_Result_ConfidenceInterval) ProtoMessage Uses

func (*Experiment_Result_ConfidenceInterval) ProtoMessage()

func (*Experiment_Result_ConfidenceInterval) ProtoReflect Uses

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

func (*Experiment_Result_ConfidenceInterval) Reset Uses

func (x *Experiment_Result_ConfidenceInterval) Reset()

func (*Experiment_Result_ConfidenceInterval) String Uses

func (x *Experiment_Result_ConfidenceInterval) String() string

type Experiment_Result_Metric Uses

type Experiment_Result_Metric struct {

    // The type of the metric.
    Type Experiment_Result_MetricType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.dialogflow.cx.v3.Experiment_Result_MetricType" json:"type,omitempty"`
    // The actual value of the metric.
    //
    // Types that are assignable to Value:
    //	*Experiment_Result_Metric_Ratio
    Value isExperiment_Result_Metric_Value `protobuf_oneof:"value"`
    // The probability that the treatment is better than all other treatments
    // in the experiment
    ConfidenceInterval *Experiment_Result_ConfidenceInterval `protobuf:"bytes,3,opt,name=confidence_interval,json=confidenceInterval,proto3" json:"confidence_interval,omitempty"`
    // contains filtered or unexported fields
}

Metric and corresponding confidence intervals.

func (*Experiment_Result_Metric) Descriptor Uses

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

Deprecated: Use Experiment_Result_Metric.ProtoReflect.Descriptor instead.

func (*Experiment_Result_Metric) GetConfidenceInterval Uses

func (x *Experiment_Result_Metric) GetConfidenceInterval() *Experiment_Result_ConfidenceInterval

func (*Experiment_Result_Metric) GetRatio Uses

func (x *Experiment_Result_Metric) GetRatio() float64

func (*Experiment_Result_Metric) GetType Uses

func (x *Experiment_Result_Metric) GetType() Experiment_Result_MetricType

func (*Experiment_Result_Metric) GetValue Uses

func (m *Experiment_Result_Metric) GetValue() isExperiment_Result_Metric_Value

func (*Experiment_Result_Metric) ProtoMessage Uses

func (*Experiment_Result_Metric) ProtoMessage()

func (*Experiment_Result_Metric) ProtoReflect Uses

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

func (*Experiment_Result_Metric) Reset Uses

func (x *Experiment_Result_Metric) Reset()

func (*Experiment_Result_Metric) String Uses

func (x *Experiment_Result_Metric) String() string

type Experiment_Result_MetricType Uses

type Experiment_Result_MetricType int32

Types of metric for Dialogflow experiment.

const (
    // Metric unspecified.
    Experiment_Result_METRIC_UNSPECIFIED Experiment_Result_MetricType = 0
    // Percentage of contained sessions without user calling back in 24 hours.
    Experiment_Result_CONTAINED_SESSION_NO_CALLBACK_RATE Experiment_Result_MetricType = 1
    // Percentage of sessions that were handed to a human agent.
    Experiment_Result_LIVE_AGENT_HANDOFF_RATE Experiment_Result_MetricType = 2
    // Percentage of sessions with the same user calling back.
    Experiment_Result_CALLBACK_SESSION_RATE Experiment_Result_MetricType = 3
    // Percentage of sessions where user hung up.
    Experiment_Result_ABANDONED_SESSION_RATE Experiment_Result_MetricType = 4
    // Percentage of sessions reached Dialogflow 'END_PAGE' or
    // 'END_SESSION'.
    Experiment_Result_SESSION_END_RATE Experiment_Result_MetricType = 5
)

func (Experiment_Result_MetricType) Descriptor Uses

func (Experiment_Result_MetricType) Descriptor() protoreflect.EnumDescriptor

func (Experiment_Result_MetricType) Enum Uses

func (x Experiment_Result_MetricType) Enum() *Experiment_Result_MetricType

func (Experiment_Result_MetricType) EnumDescriptor Uses

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

Deprecated: Use Experiment_Result_MetricType.Descriptor instead.

func (Experiment_Result_MetricType) Number Uses

func (x Experiment_Result_MetricType) Number() protoreflect.EnumNumber

func (Experiment_Result_MetricType) String Uses

func (x Experiment_Result_MetricType) String() string

func (Experiment_Result_MetricType) Type Uses

func (Experiment_Result_MetricType) Type() protoreflect.EnumType

type Experiment_Result_Metric_Ratio Uses

type Experiment_Result_Metric_Ratio struct {
    // Ratio value of a metric.
    Ratio float64 `protobuf:"fixed64,2,opt,name=ratio,proto3,oneof"`
}

type Experiment_Result_VersionMetrics Uses

type Experiment_Result_VersionMetrics struct {

    // The name of the flow [Version][google.cloud.dialogflow.cx.v3.Version].
    // Format: `projects/<Project Number>/locations/<Location
    // ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>`.
    Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
    // The metrics and corresponding confidence intervals in the inference
    // result.
    Metrics []*Experiment_Result_Metric `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"`
    // Number of sessions that were allocated to this version.
    SessionCount int32 `protobuf:"varint,3,opt,name=session_count,json=sessionCount,proto3" json:"session_count,omitempty"`
    // contains filtered or unexported fields
}

Version variant and associated metrics.

func (*Experiment_Result_VersionMetrics) Descriptor Uses

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

Deprecated: Use Experiment_Result_VersionMetrics.ProtoReflect.Descriptor instead.

func (*Experiment_Result_VersionMetrics) GetMetrics Uses

func (x *Experiment_Result_VersionMetrics) GetMetrics() []*Experiment_Result_Metric

func (*Experiment_Result_VersionMetrics) GetSessionCount Uses

func (x *Experiment_Result_VersionMetrics) GetSessionCount() int32

func (*Experiment_Result_VersionMetrics) GetVersion Uses

func (x *Experiment_Result_VersionMetrics) GetVersion() string

func (*Experiment_Result_VersionMetrics) ProtoMessage Uses

func (*Experiment_Result_VersionMetrics) ProtoMessage()

func (*Experiment_Result_VersionMetrics) ProtoReflect Uses

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

func (*Experiment_Result_VersionMetrics) Reset Uses

func (x *Experiment_Result_VersionMetrics) Reset()

func (*Experiment_Result_VersionMetrics) String Uses

func (x *Experiment_Result_VersionMetrics) String() string

type Experiment_State Uses

type Experiment_State int32

The state of the experiment.

const (
    // State unspecified.
    Experiment_STATE_UNSPECIFIED Experiment_State = 0
    // The experiment is created but not started yet.
    Experiment_DRAFT Experiment_State = 1
    // The experiment is running.
    Experiment_RUNNING Experiment_State = 2
    // The experiment is done.
    Experiment_DONE Experiment_State = 3
)

func (Experiment_State) Descriptor Uses

func (Experiment_State) Descriptor() protoreflect.EnumDescriptor

func (Experiment_State) Enum Uses

func (x Experiment_State) Enum() *Experiment_State

func (Experiment_State) EnumDescriptor Uses

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

Deprecated: Use Experiment_State.Descriptor instead.

func (Experiment_State) Number Uses

func (x Experiment_State) Number() protoreflect.EnumNumber

func (Experiment_State) String Uses

func (x Experiment_State) String() string

func (Experiment_State) Type Uses

func (Experiment_State) Type() protoreflect.EnumType

type ExperimentsClient Uses

type ExperimentsClient interface {
    // Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
    ListExperiments(ctx context.Context, in *ListExperimentsRequest, opts ...grpc.CallOption) (*ListExperimentsResponse, error)
    // Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
    GetExperiment(ctx context.Context, in *GetExperimentRequest, opts ...grpc.CallOption) (*Experiment, error)
    // Creates an [Experiment][google.cloud.dialogflow.cx.v3.Experiment] in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
    CreateExperiment(ctx context.Context, in *CreateExperimentRequest, opts ...grpc.CallOption) (*Experiment, error)
    // Updates the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
    UpdateExperiment(ctx context.Context, in *UpdateExperimentRequest, opts ...grpc.CallOption) (*Experiment, error)
    // Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
    DeleteExperiment(ctx context.Context, in *DeleteExperimentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
    // Starts the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only changes the state of
    // experiment from PENDING to RUNNING.
    StartExperiment(ctx context.Context, in *StartExperimentRequest, opts ...grpc.CallOption) (*Experiment, error)
    // Stops the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only changes the state of
    // experiment from RUNNING to DONE.
    StopExperiment(ctx context.Context, in *StopExperimentRequest, opts ...grpc.CallOption) (*Experiment, error)
}

ExperimentsClient is the client API for Experiments service.

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

func NewExperimentsClient Uses

func NewExperimentsClient(cc grpc.ClientConnInterface) ExperimentsClient

type ExperimentsServer Uses

type ExperimentsServer interface {
    // Returns the list of all experiments in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
    ListExperiments(context.Context, *ListExperimentsRequest) (*ListExperimentsResponse, error)
    // Retrieves the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
    GetExperiment(context.Context, *GetExperimentRequest) (*Experiment, error)
    // Creates an [Experiment][google.cloud.dialogflow.cx.v3.Experiment] in the specified [Environment][google.cloud.dialogflow.cx.v3.Environment].
    CreateExperiment(context.Context, *CreateExperimentRequest) (*Experiment, error)
    // Updates the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
    UpdateExperiment(context.Context, *UpdateExperimentRequest) (*Experiment, error)
    // Deletes the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment].
    DeleteExperiment(context.Context, *DeleteExperimentRequest) (*emptypb.Empty, error)
    // Starts the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only changes the state of
    // experiment from PENDING to RUNNING.
    StartExperiment(context.Context, *StartExperimentRequest) (*Experiment, error)
    // Stops the specified [Experiment][google.cloud.dialogflow.cx.v3.Experiment]. This rpc only changes the state of
    // experiment from RUNNING to DONE.
    StopExperiment(context.Context, *StopExperimentRequest) (*Experiment, error)
}

ExperimentsServer is the server API for Experiments service.

type ExportAgentRequest Uses

type ExportAgentRequest struct {

    // Required. The name of the agent to export.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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.cx.v3.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) GetName Uses

func (x *ExportAgentRequest) GetName() 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.cx.v3.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 {
    // Uncompressed 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][google.cloud.dialogflow.cx.v3.ExportAgentRequest].
    AgentUri string `protobuf:"bytes,1,opt,name=agent_uri,json=agentUri,proto3,oneof"`
}

type Flow Uses

type Flow struct {

    // The unique identifier of the flow.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/flows/<Flow ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The human-readable name of the flow.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // The description of the flow. The maximum length is 500 characters. If
    // exceeded, the request is rejected.
    Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
    // A flow's transition routes serve two purposes:
    //
    // *   They are responsible for matching the user's first utterances in the
    // flow.
    // *   They are inherited by every page's [transition
    // routes][Page.transition_routes] and can support use cases such as the user
    // saying "help" or "can I talk to a human?", which can be handled in a common
    // way regardless of the current page. Transition routes defined in the page
    // have higher priority than those defined in the flow.
    //
    // TransitionRoutes are evalauted in the following order:
    //
    // *   TransitionRoutes with intent specified..
    // *   TransitionRoutes with only condition specified.
    //
    // TransitionRoutes with intent specified are inherited by pages in the flow.
    TransitionRoutes []*TransitionRoute `protobuf:"bytes,4,rep,name=transition_routes,json=transitionRoutes,proto3" json:"transition_routes,omitempty"`
    // A flow's event handlers serve two purposes:
    //
    // *   They are responsible for handling events (e.g. no match,
    // webhook errors) in the flow.
    // *   They are inherited by every page's [event
    // handlers][Page.event_handlers], which can be used to handle common events
    // regardless of the current page. Event handlers defined in the page
    // have higher priority than those defined in the flow.
    //
    // Unlike [transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes], these handlers are
    // evaluated on a first-match basis. The first one that matches the event
    // get executed, with the rest being ignored.
    EventHandlers []*EventHandler `protobuf:"bytes,10,rep,name=event_handlers,json=eventHandlers,proto3" json:"event_handlers,omitempty"`
    // NLU related settings of the flow.
    NluSettings *NluSettings `protobuf:"bytes,11,opt,name=nlu_settings,json=nluSettings,proto3" json:"nlu_settings,omitempty"`
    // contains filtered or unexported fields
}

Flows represents the conversation flows when you build your chatbot agent.

A flow consists of many pages connected by the transition routes. Conversations always start with the built-in Start Flow (with an all-0 ID). Transition routes can direct the conversation session from the current flow (parent flow) to another flow (sub flow). When the sub flow is finished, Dialogflow will bring the session back to the parent flow, where the sub flow is started.

Usually, when a transition route is followed by a matched intent, the intent will be "consumed". This means the intent won't activate more transition routes. However, when the followed transition route moves the conversation session into a different flow, the matched intent can be carried over and to be consumed in the target flow.

func (*Flow) Descriptor Uses

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

Deprecated: Use Flow.ProtoReflect.Descriptor instead.

func (*Flow) GetDescription Uses

func (x *Flow) GetDescription() string

func (*Flow) GetDisplayName Uses

func (x *Flow) GetDisplayName() string

func (*Flow) GetEventHandlers Uses

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

func (*Flow) GetName Uses

func (x *Flow) GetName() string

func (*Flow) GetNluSettings Uses

func (x *Flow) GetNluSettings() *NluSettings

func (*Flow) GetTransitionRoutes Uses

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

func (*Flow) ProtoMessage Uses

func (*Flow) ProtoMessage()

func (*Flow) ProtoReflect Uses

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

func (*Flow) Reset Uses

func (x *Flow) Reset()

func (*Flow) String Uses

func (x *Flow) String() string

type FlowsClient Uses

type FlowsClient interface {
    // Creates a flow in the specified agent.
    CreateFlow(ctx context.Context, in *CreateFlowRequest, opts ...grpc.CallOption) (*Flow, error)
    // Deletes a specified flow.
    DeleteFlow(ctx context.Context, in *DeleteFlowRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
    // Returns the list of all flows in the specified agent.
    ListFlows(ctx context.Context, in *ListFlowsRequest, opts ...grpc.CallOption) (*ListFlowsResponse, error)
    // Retrieves the specified flow.
    GetFlow(ctx context.Context, in *GetFlowRequest, opts ...grpc.CallOption) (*Flow, error)
    // Updates the specified flow.
    UpdateFlow(ctx context.Context, in *UpdateFlowRequest, opts ...grpc.CallOption) (*Flow, error)
    // Trains the specified flow. Note that only the flow in 'draft' environment
    // is trained.
    TrainFlow(ctx context.Context, in *TrainFlowRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

FlowsClient is the client API for Flows service.

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

func NewFlowsClient Uses

func NewFlowsClient(cc grpc.ClientConnInterface) FlowsClient

type FlowsServer Uses

type FlowsServer interface {
    // Creates a flow in the specified agent.
    CreateFlow(context.Context, *CreateFlowRequest) (*Flow, error)
    // Deletes a specified flow.
    DeleteFlow(context.Context, *DeleteFlowRequest) (*emptypb.Empty, error)
    // Returns the list of all flows in the specified agent.
    ListFlows(context.Context, *ListFlowsRequest) (*ListFlowsResponse, error)
    // Retrieves the specified flow.
    GetFlow(context.Context, *GetFlowRequest) (*Flow, error)
    // Updates the specified flow.
    UpdateFlow(context.Context, *UpdateFlowRequest) (*Flow, error)
    // Trains the specified flow. Note that only the flow in 'draft' environment
    // is trained.
    TrainFlow(context.Context, *TrainFlowRequest) (*longrunning.Operation, error)
}

FlowsServer is the server API for Flows service.

type Form Uses

type Form struct {

    // Parameters to collect from the user.
    Parameters []*Form_Parameter `protobuf:"bytes,1,rep,name=parameters,proto3" json:"parameters,omitempty"`
    // contains filtered or unexported fields
}

A form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a [page][google.cloud.dialogflow.cx.v3.Page]. When form filling is done, the filled parameters will be written to the [session][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].

func (*Form) Descriptor Uses

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

Deprecated: Use Form.ProtoReflect.Descriptor instead.

func (*Form) GetParameters Uses

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

func (*Form) ProtoMessage Uses

func (*Form) ProtoMessage()

func (*Form) ProtoReflect Uses

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

func (*Form) Reset Uses

func (x *Form) Reset()

func (*Form) String Uses

func (x *Form) String() string

type Form_Parameter Uses

type Form_Parameter struct {

    // Required. The human-readable name of the parameter, unique within the
    // form.
    DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // Indicates whether the parameter is required. Optional parameters will not
    // trigger prompts; however, they are filled if the user specifies them.
    // Required parameters must be filled before form filling concludes.
    Required bool `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
    // Required. The entity type of the parameter.
    // Format: `projects/-/locations/-/agents/-/entityTypes/<System Entity Type
    // ID>` for system entity types (for example,
    // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or
    // `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/entityTypes/<Entity Type ID>` for developer entity types.
    EntityType string `protobuf:"bytes,3,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"`
    // Indicates whether the parameter represents a list of values.
    IsList bool `protobuf:"varint,4,opt,name=is_list,json=isList,proto3" json:"is_list,omitempty"`
    // Required. Defines fill behavior for the parameter.
    FillBehavior *Form_Parameter_FillBehavior `protobuf:"bytes,7,opt,name=fill_behavior,json=fillBehavior,proto3" json:"fill_behavior,omitempty"`
    // The default value of an optional parameter. If the parameter is required,
    // the default value will be ignored.
    DefaultValue *structpb.Value `protobuf:"bytes,9,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
    // Indicates whether the parameter content is logged in text and audio. If
    // it is set to true, the parameter content will be replaced to parameter
    // name in both request and response. The default value is false.
    Redact bool `protobuf:"varint,11,opt,name=redact,proto3" json:"redact,omitempty"`
    // contains filtered or unexported fields
}

Represents a form parameter.

func (*Form_Parameter) Descriptor Uses

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

Deprecated: Use Form_Parameter.ProtoReflect.Descriptor instead.

func (*Form_Parameter) GetDefaultValue Uses

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

func (*Form_Parameter) GetDisplayName Uses

func (x *Form_Parameter) GetDisplayName() string

func (*Form_Parameter) GetEntityType Uses

func (x *Form_Parameter) GetEntityType() string

func (*Form_Parameter) GetFillBehavior Uses

func (x *Form_Parameter) GetFillBehavior() *Form_Parameter_FillBehavior

func (*Form_Parameter) GetIsList Uses

func (x *Form_Parameter) GetIsList() bool

func (*Form_Parameter) GetRedact Uses

func (x *Form_Parameter) GetRedact() bool

func (*Form_Parameter) GetRequired Uses

func (x *Form_Parameter) GetRequired() bool

func (*Form_Parameter) ProtoMessage Uses

func (*Form_Parameter) ProtoMessage()

func (*Form_Parameter) ProtoReflect Uses

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

func (*Form_Parameter) Reset Uses

func (x *Form_Parameter) Reset()

func (*Form_Parameter) String Uses

func (x *Form_Parameter) String() string

type Form_Parameter_FillBehavior Uses

type Form_Parameter_FillBehavior struct {

    // Required. The fulfillment to provide the initial prompt that the agent
    // can present to the user in order to fill the parameter.
    InitialPromptFulfillment *Fulfillment `protobuf:"bytes,3,opt,name=initial_prompt_fulfillment,json=initialPromptFulfillment,proto3" json:"initial_prompt_fulfillment,omitempty"`
    // The handlers for parameter-level events, used to provide reprompt for
    // the parameter or transition to a different page/flow. The supported
    // events are:
    // *   `sys.no-match-<N>`, where N can be from 1 to 6
    // *   `sys.no-match-default`
    // *   `sys.no-input-<N>`, where N can be from 1 to 6
    // *   `sys.no-input-default`
    // *   `sys.invalid-parameter`
    //
    // `initial_prompt_fulfillment` provides the first prompt for the
    // parameter.
    //
    // If the user's response does not fill the parameter, a
    // no-match/no-input event will be triggered, and the fulfillment
    // associated with the `sys.no-match-1`/`sys.no-input-1` handler (if
    // defined) will be called to provide a prompt. The
    // `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond to
    // the next no-match/no-input event, and so on.
    //
    // A `sys.no-match-default` or `sys.no-input-default` handler will be used
    // to handle all following no-match/no-input events after all numbered
    // no-match/no-input handlers for the parameter are consumed.
    //
    // A `sys.invalid-parameter` handler can be defined to handle the case
    // where the parameter values have been `invalidated` by webhook. For
    // example, if the user's response fill the parameter, however the
    // parameter was invalidated by webhook, the fulfillment associated with
    // the `sys.invalid-parameter` handler (if defined) will be called to
    // provide a prompt.
    //
    // If the event handler for the corresponding event can't be found on the
    // parameter, `initial_prompt_fulfillment` will be re-prompted.
    RepromptEventHandlers []*EventHandler `protobuf:"bytes,5,rep,name=reprompt_event_handlers,json=repromptEventHandlers,proto3" json:"reprompt_event_handlers,omitempty"`
    // contains filtered or unexported fields
}

Configuration for how the filling of a parameter should be handled.

func (*Form_Parameter_FillBehavior) Descriptor Uses

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

Deprecated: Use Form_Parameter_FillBehavior.ProtoReflect.Descriptor instead.

func (*Form_Parameter_FillBehavior) GetInitialPromptFulfillment Uses

func (x *Form_Parameter_FillBehavior) GetInitialPromptFulfillment() *Fulfillment

func (*Form_Parameter_FillBehavior) GetRepromptEventHandlers Uses

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

func (*Form_Parameter_FillBehavior) ProtoMessage Uses

func (*Form_Parameter_FillBehavior) ProtoMessage()

func (*Form_Parameter_FillBehavior) ProtoReflect Uses

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

func (*Form_Parameter_FillBehavior) Reset Uses

func (x *Form_Parameter_FillBehavior) Reset()

func (*Form_Parameter_FillBehavior) String Uses

func (x *Form_Parameter_FillBehavior) String() string

type FulfillIntentRequest Uses

type FulfillIntentRequest struct {

    // Must be same as the corresponding MatchIntent request, otherwise the
    // behavior is undefined.
    MatchIntentRequest *MatchIntentRequest `protobuf:"bytes,1,opt,name=match_intent_request,json=matchIntentRequest,proto3" json:"match_intent_request,omitempty"`
    // The matched intent/event to fulfill.
    Match *Match `protobuf:"bytes,2,opt,name=match,proto3" json:"match,omitempty"`
    // Instructs the speech synthesizer how to generate output audio.
    OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,3,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"`
    // contains filtered or unexported fields
}

Request of [FulfillIntent][]

func (*FulfillIntentRequest) Descriptor Uses

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

Deprecated: Use FulfillIntentRequest.ProtoReflect.Descriptor instead.

func (*FulfillIntentRequest) GetMatch Uses

func (x *FulfillIntentRequest) GetMatch() *Match

func (*FulfillIntentRequest) GetMatchIntentRequest Uses

func (x *FulfillIntentRequest) GetMatchIntentRequest() *MatchIntentRequest

func (*FulfillIntentRequest) GetOutputAudioConfig Uses

func (x *FulfillIntentRequest) GetOutputAudioConfig() *OutputAudioConfig

func (*FulfillIntentRequest) ProtoMessage Uses

func (*FulfillIntentRequest) ProtoMessage()

func (*FulfillIntentRequest) ProtoReflect Uses

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

func (*FulfillIntentRequest) Reset Uses

func (x *FulfillIntentRequest) Reset()

func (*FulfillIntentRequest) String Uses

func (x *FulfillIntentRequest) String() string

type FulfillIntentResponse Uses

type FulfillIntentResponse struct {

    // Output only. The unique identifier of the response. It can be used to
    // locate a response in the training example set or for reporting issues.
    ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"`
    // The result of the conversational query.
    QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"`
    // The audio data bytes encoded as specified in the request.
    // Note: The output audio is generated based on the values of default platform
    // text responses found in the
    // [`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages] field. If
    // multiple default text responses exist, they will be concatenated when
    // generating audio. If no default platform text responses exist, the
    // generated audio content will be empty.
    //
    // In some scenarios, multiple output audio fields may be present in the
    // response structure. In these cases, only the top-most-level audio output
    // has content.
    OutputAudio []byte `protobuf:"bytes,3,opt,name=output_audio,json=outputAudio,proto3" json:"output_audio,omitempty"`
    // The config used by the speech synthesizer to generate the output audio.
    OutputAudioConfig *OutputAudioConfig `protobuf:"bytes,4,opt,name=output_audio_config,json=outputAudioConfig,proto3" json:"output_audio_config,omitempty"`
    // contains filtered or unexported fields
}

Response of [FulfillIntent][]

func (*FulfillIntentResponse) Descriptor Uses

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

Deprecated: Use FulfillIntentResponse.ProtoReflect.Descriptor instead.

func (*FulfillIntentResponse) GetOutputAudio Uses

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

func (*FulfillIntentResponse) GetOutputAudioConfig Uses

func (x *FulfillIntentResponse) GetOutputAudioConfig() *OutputAudioConfig

func (*FulfillIntentResponse) GetQueryResult Uses

func (x *FulfillIntentResponse) GetQueryResult() *QueryResult

func (*FulfillIntentResponse) GetResponseId Uses

func (x *FulfillIntentResponse) GetResponseId() string

func (*FulfillIntentResponse) ProtoMessage Uses

func (*FulfillIntentResponse) ProtoMessage()

func (*FulfillIntentResponse) ProtoReflect Uses

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

func (*FulfillIntentResponse) Reset Uses

func (x *FulfillIntentResponse) Reset()

func (*FulfillIntentResponse) String Uses

func (x *FulfillIntentResponse) String() string

type Fulfillment Uses

type Fulfillment struct {

    // The list of rich message responses to present to the user.
    Messages []*ResponseMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
    // The webhook to call.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/webhooks/<Webhook ID>`.
    Webhook string `protobuf:"bytes,2,opt,name=webhook,proto3" json:"webhook,omitempty"`
    // The tag used by the webhook to identify which fulfillment is being called.
    // This field is required if `webhook` is specified.
    Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag,omitempty"`
    // Set parameter values before executing the webhook.
    SetParameterActions []*Fulfillment_SetParameterAction `protobuf:"bytes,4,rep,name=set_parameter_actions,json=setParameterActions,proto3" json:"set_parameter_actions,omitempty"`
    // Conditional cases for this fulfillment.
    ConditionalCases []*Fulfillment_ConditionalCases `protobuf:"bytes,5,rep,name=conditional_cases,json=conditionalCases,proto3" json:"conditional_cases,omitempty"`
    // contains filtered or unexported fields
}

A fulfillment can do one or more of the following actions at the same time:

* Generate rich message responses.
* Set parameter values.
* Call the webhook.

Fulfillments can be called at various stages in the [Page][google.cloud.dialogflow.cx.v3.Page] or [Form][google.cloud.dialogflow.cx.v3.Form] lifecycle. For example, when a [DetectIntentRequest][google.cloud.dialogflow.cx.v3.DetectIntentRequest] drives a session to enter a new page, the page's entry fulfillment can add a static response to the [QueryResult][google.cloud.dialogflow.cx.v3.QueryResult] in the returning [DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse], call the webhook (for example, to load user data from a database), or both.

func (*Fulfillment) Descriptor Uses

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

Deprecated: Use Fulfillment.ProtoReflect.Descriptor instead.

func (*Fulfillment) GetConditionalCases Uses

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

func (*Fulfillment) GetMessages Uses

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

func (*Fulfillment) GetSetParameterActions Uses

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

func (*Fulfillment) GetTag Uses

func (x *Fulfillment) GetTag() string

func (*Fulfillment) GetWebhook Uses

func (x *Fulfillment) GetWebhook() string

func (*Fulfillment) ProtoMessage Uses

func (*Fulfillment) ProtoMessage()

func (*Fulfillment) ProtoReflect Uses

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

func (*Fulfillment) Reset Uses

func (x *Fulfillment) Reset()

func (*Fulfillment) String Uses

func (x *Fulfillment) String() string

type Fulfillment_ConditionalCases Uses

type Fulfillment_ConditionalCases struct {

    // A list of cascading if-else conditions.
    Cases []*Fulfillment_ConditionalCases_Case `protobuf:"bytes,1,rep,name=cases,proto3" json:"cases,omitempty"`
    // contains filtered or unexported fields
}

A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.

func (*Fulfillment_ConditionalCases) Descriptor Uses

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

Deprecated: Use Fulfillment_ConditionalCases.ProtoReflect.Descriptor instead.

func (*Fulfillment_ConditionalCases) GetCases Uses

func (x *Fulfillment_ConditionalCases) GetCases() []*Fulfillment_ConditionalCases_Case

func (*Fulfillment_ConditionalCases) ProtoMessage Uses

func (*Fulfillment_ConditionalCases) ProtoMessage()

func (*Fulfillment_ConditionalCases) ProtoReflect Uses

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

func (*Fulfillment_ConditionalCases) Reset Uses

func (x *Fulfillment_ConditionalCases) Reset()

func (*Fulfillment_ConditionalCases) String Uses

func (x *Fulfillment_ConditionalCases) String() string

type Fulfillment_ConditionalCases_Case Uses

type Fulfillment_ConditionalCases_Case struct {

    // The condition to activate and select this case. Empty means the
    // condition is always true. The condition is evaluated against [form
    // parameters][Form.parameters] or [session
    // parameters][SessionInfo.parameters].
    //
    // See the [conditions
    // reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
    Condition string `protobuf:"bytes,1,opt,name=condition,proto3" json:"condition,omitempty"`
    // A list of case content.
    CaseContent []*Fulfillment_ConditionalCases_Case_CaseContent `protobuf:"bytes,2,rep,name=case_content,json=caseContent,proto3" json:"case_content,omitempty"`
    // contains filtered or unexported fields
}

Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.

func (*Fulfillment_ConditionalCases_Case) Descriptor Uses

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

Deprecated: Use Fulfillment_ConditionalCases_Case.ProtoReflect.Descriptor instead.

func (*Fulfillment_ConditionalCases_Case) GetCaseContent Uses

func (x *Fulfillment_ConditionalCases_Case) GetCaseContent() []*Fulfillment_ConditionalCases_Case_CaseContent

func (*Fulfillment_ConditionalCases_Case) GetCondition Uses

func (x *Fulfillment_ConditionalCases_Case) GetCondition() string

func (*Fulfillment_ConditionalCases_Case) ProtoMessage Uses

func (*Fulfillment_ConditionalCases_Case) ProtoMessage()

func (*Fulfillment_ConditionalCases_Case) ProtoReflect Uses

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

func (*Fulfillment_ConditionalCases_Case) Reset Uses

func (x *Fulfillment_ConditionalCases_Case) Reset()

func (*Fulfillment_ConditionalCases_Case) String Uses

func (x *Fulfillment_ConditionalCases_Case) String() string

type Fulfillment_ConditionalCases_Case_CaseContent Uses

type Fulfillment_ConditionalCases_Case_CaseContent struct {

    // Either a message is returned or additional cases to be evaluated.
    //
    // Types that are assignable to CasesOrMessage:
    //	*Fulfillment_ConditionalCases_Case_CaseContent_Message
    //	*Fulfillment_ConditionalCases_Case_CaseContent_AdditionalCases
    CasesOrMessage isFulfillment_ConditionalCases_Case_CaseContent_CasesOrMessage `protobuf_oneof:"cases_or_message"`
    // contains filtered or unexported fields
}

The list of messages or conditional cases to activate for this case.

func (*Fulfillment_ConditionalCases_Case_CaseContent) Descriptor Uses

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

Deprecated: Use Fulfillment_ConditionalCases_Case_CaseContent.ProtoReflect.Descriptor instead.

func (*Fulfillment_ConditionalCases_Case_CaseContent) GetAdditionalCases Uses

func (x *Fulfillment_ConditionalCases_Case_CaseContent) GetAdditionalCases() *Fulfillment_ConditionalCases

func (*Fulfillment_ConditionalCases_Case_CaseContent) GetCasesOrMessage Uses

func (m *Fulfillment_ConditionalCases_Case_CaseContent) GetCasesOrMessage() isFulfillment_ConditionalCases_Case_CaseContent_CasesOrMessage

func (*Fulfillment_ConditionalCases_Case_CaseContent) GetMessage Uses

func (x *Fulfillment_ConditionalCases_Case_CaseContent) GetMessage() *ResponseMessage

func (*Fulfillment_ConditionalCases_Case_CaseContent) ProtoMessage Uses

func (*Fulfillment_ConditionalCases_Case_CaseContent) ProtoMessage()

func (*Fulfillment_ConditionalCases_Case_CaseContent) ProtoReflect Uses

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

func (*Fulfillment_ConditionalCases_Case_CaseContent) Reset Uses

func (x *Fulfillment_ConditionalCases_Case_CaseContent) Reset()

func (*Fulfillment_ConditionalCases_Case_CaseContent) String Uses

func (x *Fulfillment_ConditionalCases_Case_CaseContent) String() string

type Fulfillment_ConditionalCases_Case_CaseContent_AdditionalCases Uses

type Fulfillment_ConditionalCases_Case_CaseContent_AdditionalCases struct {
    // Additional cases to be evaluated.
    AdditionalCases *Fulfillment_ConditionalCases `protobuf:"bytes,2,opt,name=additional_cases,json=additionalCases,proto3,oneof"`
}

type Fulfillment_ConditionalCases_Case_CaseContent_Message Uses

type Fulfillment_ConditionalCases_Case_CaseContent_Message struct {
    // Returned message.
    Message *ResponseMessage `protobuf:"bytes,1,opt,name=message,proto3,oneof"`
}

type Fulfillment_SetParameterAction Uses

type Fulfillment_SetParameterAction struct {

    // Display name of the parameter.
    Parameter string `protobuf:"bytes,1,opt,name=parameter,proto3" json:"parameter,omitempty"`
    // The new value of the parameter. A null value clears the parameter.
    Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    // contains filtered or unexported fields
}

Setting a parameter value.

func (*Fulfillment_SetParameterAction) Descriptor Uses

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

Deprecated: Use Fulfillment_SetParameterAction.ProtoReflect.Descriptor instead.

func (*Fulfillment_SetParameterAction) GetParameter Uses

func (x *Fulfillment_SetParameterAction) GetParameter() string

func (*Fulfillment_SetParameterAction) GetValue Uses

func (x *Fulfillment_SetParameterAction) GetValue() *structpb.Value

func (*Fulfillment_SetParameterAction) ProtoMessage Uses

func (*Fulfillment_SetParameterAction) ProtoMessage()

func (*Fulfillment_SetParameterAction) ProtoReflect Uses

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

func (*Fulfillment_SetParameterAction) Reset Uses

func (x *Fulfillment_SetParameterAction) Reset()

func (*Fulfillment_SetParameterAction) String Uses

func (x *Fulfillment_SetParameterAction) String() string

type GetAgentRequest Uses

type GetAgentRequest struct {

    // Required. The name of the agent.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

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

func (*GetAgentRequest) Descriptor Uses

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

Deprecated: Use GetAgentRequest.ProtoReflect.Descriptor instead.

func (*GetAgentRequest) GetName Uses

func (x *GetAgentRequest) GetName() 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 GetEntityTypeRequest Uses

type GetEntityTypeRequest struct {

    // Required. The name of the entity type.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/entityTypes/<Entity Type ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The language to retrieve the entity type for. The following fields are
    // language dependent:
    //
    // *   `EntityType.entities.value`
    // *   `EntityType.entities.synonyms`
    // *   `EntityType.excluded_phrases.value`
    //
    // 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,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.cx.v3.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 GetEnvironmentRequest Uses

type GetEnvironmentRequest struct {

    // Required. The name of the [Environment][google.cloud.dialogflow.cx.v3.Environment].
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/environments/<Environment ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The request message for [Environments.GetEnvironment][google.cloud.dialogflow.cx.v3.Environments.GetEnvironment].

func (*GetEnvironmentRequest) Descriptor Uses

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

Deprecated: Use GetEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*GetEnvironmentRequest) GetName Uses

func (x *GetEnvironmentRequest) GetName() string

func (*GetEnvironmentRequest) ProtoMessage Uses

func (*GetEnvironmentRequest) ProtoMessage()

func (*GetEnvironmentRequest) ProtoReflect Uses

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

func (*GetEnvironmentRequest) Reset Uses

func (x *GetEnvironmentRequest) Reset()

func (*GetEnvironmentRequest) String Uses

func (x *GetEnvironmentRequest) String() string

type GetExperimentRequest Uses

type GetExperimentRequest struct {

    // Required. The name of the [Environment][google.cloud.dialogflow.cx.v3.Environment].
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/environments/<Environment ID>/experiments/<Experiment ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The request message for [Experiments.GetExperiment][google.cloud.dialogflow.cx.v3.Experiments.GetExperiment].

func (*GetExperimentRequest) Descriptor Uses

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

Deprecated: Use GetExperimentRequest.ProtoReflect.Descriptor instead.

func (*GetExperimentRequest) GetName Uses

func (x *GetExperimentRequest) GetName() string

func (*GetExperimentRequest) ProtoMessage Uses

func (*GetExperimentRequest) ProtoMessage()

func (*GetExperimentRequest) ProtoReflect Uses

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

func (*GetExperimentRequest) Reset Uses

func (x *GetExperimentRequest) Reset()

func (*GetExperimentRequest) String Uses

func (x *GetExperimentRequest) String() string

type GetFlowRequest Uses

type GetFlowRequest struct {

    // Required. The name of the flow to get.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/flows/<Flow ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The language to retrieve the flow for. The following fields are language
    // dependent:
    //
    // *  `Flow.event_handlers.trigger_fulfillment.messages`
    // *  `Flow.transition_routes.trigger_fulfillment.messages`
    //
    // 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,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // contains filtered or unexported fields
}

The response message for [Flows.GetFlow][google.cloud.dialogflow.cx.v3.Flows.GetFlow].

func (*GetFlowRequest) Descriptor Uses

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

Deprecated: Use GetFlowRequest.ProtoReflect.Descriptor instead.

func (*GetFlowRequest) GetLanguageCode Uses

func (x *GetFlowRequest) GetLanguageCode() string

func (*GetFlowRequest) GetName Uses

func (x *GetFlowRequest) GetName() string

func (*GetFlowRequest) ProtoMessage Uses

func (*GetFlowRequest) ProtoMessage()

func (*GetFlowRequest) ProtoReflect Uses

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

func (*GetFlowRequest) Reset Uses

func (x *GetFlowRequest) Reset()

func (*GetFlowRequest) String Uses

func (x *GetFlowRequest) String() string

type GetIntentRequest Uses

type GetIntentRequest struct {

    // Required. The name of the intent.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/intents/<Intent ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The language to retrieve the intent for. The following fields are language
    // dependent:
    //
    // *   `Intent.training_phrases.parts.text`
    //
    // 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,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // contains filtered or unexported fields
}

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

func (*GetIntentRequest) Descriptor Uses

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

Deprecated: Use GetIntentRequest.ProtoReflect.Descriptor instead.

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 GetPageRequest Uses

type GetPageRequest struct {

    // Required. The name of the page.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/flows/<Flow ID>/pages/<Page ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The language to retrieve the page for. The following fields are language
    // dependent:
    //
    // *  `Page.entry_fulfillment.messages`
    // *  `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages`
    // *  `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
    // *  `Page.transition_routes.trigger_fulfillment.messages`
    // *
    // `Page.transition_route_groups.transition_routes.trigger_fulfillment.messages`
    //
    // 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,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // contains filtered or unexported fields
}

The request message for [Pages.GetPage][google.cloud.dialogflow.cx.v3.Pages.GetPage].

func (*GetPageRequest) Descriptor Uses

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

Deprecated: Use GetPageRequest.ProtoReflect.Descriptor instead.

func (*GetPageRequest) GetLanguageCode Uses

func (x *GetPageRequest) GetLanguageCode() string

func (*GetPageRequest) GetName Uses

func (x *GetPageRequest) GetName() string

func (*GetPageRequest) ProtoMessage Uses

func (*GetPageRequest) ProtoMessage()

func (*GetPageRequest) ProtoReflect Uses

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

func (*GetPageRequest) Reset Uses

func (x *GetPageRequest) Reset()

func (*GetPageRequest) String Uses

func (x *GetPageRequest) String() string

type GetSecuritySettingsRequest Uses

type GetSecuritySettingsRequest struct {

    // Required. Resource name of the settings.
    // Format: `projects/<Project ID>/locations/<Location
    // ID>/securitySettings/<security settings ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The request message for [SecuritySettingsService.GetSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings].

func (*GetSecuritySettingsRequest) Descriptor Uses

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

Deprecated: Use GetSecuritySettingsRequest.ProtoReflect.Descriptor instead.

func (*GetSecuritySettingsRequest) GetName Uses

func (x *GetSecuritySettingsRequest) GetName() string

func (*GetSecuritySettingsRequest) ProtoMessage Uses

func (*GetSecuritySettingsRequest) ProtoMessage()

func (*GetSecuritySettingsRequest) ProtoReflect Uses

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

func (*GetSecuritySettingsRequest) Reset Uses

func (x *GetSecuritySettingsRequest) Reset()

func (*GetSecuritySettingsRequest) String Uses

func (x *GetSecuritySettingsRequest) String() string

type GetSessionEntityTypeRequest Uses

type GetSessionEntityTypeRequest struct {

    // Required. The name of the session entity type.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/sessions/<Session ID>/entityTypes/<Entity Type ID>` or
    // `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/environments/<Environment ID>/sessions/<Session ID>/entityTypes/<Entity
    // Type ID>`. If `Environment ID` is not specified, we assume default 'draft'
    // environment.
    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.cx.v3.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 GetTransitionRouteGroupRequest Uses

type GetTransitionRouteGroupRequest struct {

    // Required. The name of the [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/flows/<Flow ID>/transitionRouteGroups/<Transition Route Group ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // The language to list transition route groups for. The field
    // [`messages`][TransitionRoute.trigger_fulfillment.messages] in
    // [TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute] is language dependent.
    //
    // 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,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
    // contains filtered or unexported fields
}

The request message for [TransitionRouteGroups.GetTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.GetTransitionRouteGroup].

func (*GetTransitionRouteGroupRequest) Descriptor Uses

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

Deprecated: Use GetTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.

func (*GetTransitionRouteGroupRequest) GetLanguageCode Uses

func (x *GetTransitionRouteGroupRequest) GetLanguageCode() string

func (*GetTransitionRouteGroupRequest) GetName Uses

func (x *GetTransitionRouteGroupRequest) GetName() string

func (*GetTransitionRouteGroupRequest) ProtoMessage Uses

func (*GetTransitionRouteGroupRequest) ProtoMessage()

func (*GetTransitionRouteGroupRequest) ProtoReflect Uses

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

func (*GetTransitionRouteGroupRequest) Reset Uses

func (x *GetTransitionRouteGroupRequest) Reset()

func (*GetTransitionRouteGroupRequest) String Uses

func (x *GetTransitionRouteGroupRequest) String() string

type GetVersionRequest Uses

type GetVersionRequest struct {

    // Required. The name of the [Version][google.cloud.dialogflow.cx.v3.Version].
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/flows/<Flow ID>/versions/<Version ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The request message for [Versions.GetVersion][google.cloud.dialogflow.cx.v3.Versions.GetVersion].

func (*GetVersionRequest) Descriptor Uses

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

Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.

func (*GetVersionRequest) GetName Uses

func (x *GetVersionRequest) GetName() string

func (*GetVersionRequest) ProtoMessage Uses

func (*GetVersionRequest) ProtoMessage()

func (*GetVersionRequest) ProtoReflect Uses

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

func (*GetVersionRequest) Reset Uses

func (x *GetVersionRequest) Reset()

func (*GetVersionRequest) String Uses

func (x *GetVersionRequest) String() string

type GetWebhookRequest Uses

type GetWebhookRequest struct {

    // Required. The name of the webhook.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/webhooks/<Webhook ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // contains filtered or unexported fields
}

The request message for [Webhooks.GetWebhook][google.cloud.dialogflow.cx.v3.Webhooks.GetWebhook].

func (*GetWebhookRequest) Descriptor Uses

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

Deprecated: Use GetWebhookRequest.ProtoReflect.Descriptor instead.

func (*GetWebhookRequest) GetName Uses

func (x *GetWebhookRequest) GetName() string

func (*GetWebhookRequest) ProtoMessage Uses

func (*GetWebhookRequest) ProtoMessage()

func (*GetWebhookRequest) ProtoReflect Uses

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

func (*GetWebhookRequest) Reset Uses

func (x *GetWebhookRequest) Reset()

func (*GetWebhookRequest) String Uses

func (x *GetWebhookRequest) String() string

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.cx.v3.AudioEncoding" json:"audio_encoding,omitempty"`
    // 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"`
    // Optional. If `true`, Dialogflow returns [SpeechWordInfo][google.cloud.dialogflow.cx.v3.SpeechWordInfo] in
    // [StreamingRecognitionResult][google.cloud.dialogflow.cx.v3.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"`
    // Optional. 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.
    PhraseHints []string `protobuf:"bytes,4,rep,name=phrase_hints,json=phraseHints,proto3" json:"phrase_hints,omitempty"`
    // Optional. 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"`
    // Optional. Which variant of the [Speech model][google.cloud.dialogflow.cx.v3.InputAudioConfig.model] to use.
    ModelVariant SpeechModelVariant `protobuf:"varint,10,opt,name=model_variant,json=modelVariant,proto3,enum=google.cloud.dialogflow.cx.v3.SpeechModelVariant" json:"model_variant,omitempty"`
    // Optional. 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.
    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) 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

func (*InputAudioConfig) GetSampleRateHertz Uses

func (x *InputAudioConfig) GetSampleRateHertz() int32

func (*InputAudioConfig) GetSingleUtterance Uses

func (x *InputAudioConfig) GetSingleUtterance() bool

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 {

    // The unique identifier of the intent.
    // Required for the [Intents.UpdateIntent][google.cloud.dialogflow.cx.v3.Intents.UpdateIntent] method. [Intents.CreateIntent][google.cloud.dialogflow.cx.v3.Intents.CreateIntent]
    // populates the name automatically.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/intents/<Intent ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The human-readable name of the intent, unique within the agent.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // The collection of training phrases the agent is trained on to identify the
    // intent.
    TrainingPhrases []*Intent_TrainingPhrase `protobuf:"bytes,3,rep,name=training_phrases,json=trainingPhrases,proto3" json:"training_phrases,omitempty"`
    // The collection of parameters associated with the intent.
    Parameters []*Intent_Parameter `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty"`
    // 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,5,opt,name=priority,proto3" json:"priority,omitempty"`
    // Indicates whether this is a fallback intent. Currently only default
    // fallback intent is allowed in the agent, which is added upon agent
    // creation.
    // Adding training phrases to fallback intent is useful in the case of
    // requests that are mistakenly matched, since training phrases assigned to
    // fallback intents act as negative examples that triggers no-match event.
    IsFallback bool `protobuf:"varint,6,opt,name=is_fallback,json=isFallback,proto3" json:"is_fallback,omitempty"`
    // Optional. The key/value metadata to label an intent. Labels can contain
    // lowercase letters, digits and the symbols '-' and '_'. International
    // characters are allowed, including letters from unicase alphabets. Keys must
    // start with a letter. Keys and values can be no longer than 63 characters
    // and no more than 128 bytes.
    //
    // Prefix "sys." is reserved for Dialogflow defined labels. Currently allowed
    // Dialogflow defined labels include:
    // * sys.head
    // * sys.contextual
    // The above labels do not require value. "sys.head" means the intent is a
    // head intent. "sys.contextual" means the intent is a contextual intent.
    Labels map[string]string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // Optional. Human readable description for better understanding an intent like its
    // scope, content, result etc. Maximum character limit: 140 characters.
    Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
    // contains filtered or unexported fields
}

An intent represents a user's intent to interact with a conversational agent.

You can provide information for the Dialogflow API to use to match user input to an intent by adding training phrases (i.e., examples of user input) to your intent.

func (*Intent) Descriptor Uses

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

Deprecated: Use Intent.ProtoReflect.Descriptor instead.

func (*Intent) GetDescription Uses

func (x *Intent) GetDescription() string

func (*Intent) GetDisplayName Uses

func (x *Intent) GetDisplayName() string

func (*Intent) GetIsFallback Uses

func (x *Intent) GetIsFallback() bool

func (*Intent) GetLabels Uses

func (x *Intent) GetLabels() map[string]string

func (*Intent) GetName Uses

func (x *Intent) GetName() string

func (*Intent) GetParameters Uses

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

func (*Intent) GetPriority Uses

func (x *Intent) GetPriority() int32

func (*Intent) GetTrainingPhrases Uses

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

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 IntentInput Uses

type IntentInput struct {

    // Required. The unique identifier of the intent.
    // Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
    // ID>/intents/<Intent ID>`.
    Intent string `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
    // contains filtered or unexported fields
}

Represents the intent to trigger programmatically rather than as a result of natural language processing.

func (*IntentInput) Descriptor Uses

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

Deprecated: Use IntentInput.ProtoReflect.Descriptor instead.

func (*IntentInput) GetIntent Uses

func (x *IntentInput) GetIntent() string

func (*IntentInput) ProtoMessage Uses

func (*IntentInput) ProtoMessage()

func (*IntentInput) ProtoReflect Uses

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

func (*IntentInput) Reset Uses

func (x *IntentInput) Reset()

func (*IntentInput) String Uses

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

const (
    // Not specified. Treated as INTENT_VIEW_FULL.
    IntentView_INTENT_VIEW_UNSPECIFIED IntentView = 0
    // Training phrases field is not populated in the response.
    IntentView_INTENT_VIEW_PARTIAL IntentView = 1
    // All fields are populated.
    IntentView_INTENT_VIEW_FULL IntentView = 2
)

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