cx

package
v0.0.0-...-6edceaf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2021 License: Apache-2.0 Imports: 18 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

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

Functions

func RegisterAgentsServer

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

func RegisterEntityTypesServer

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

func RegisterEnvironmentsServer

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

func RegisterExperimentsServer

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

func RegisterFlowsServer

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

func RegisterIntentsServer

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

func RegisterPagesServer

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

func RegisterSecuritySettingsServiceServer

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

func RegisterSessionEntityTypesServer

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

func RegisterSessionsServer

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

func RegisterTransitionRouteGroupsServer

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

func RegisterVersionsServer

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

func RegisterWebhooksServer

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

Types

type Agent

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 `` /* 126-byte string literal not displayed */
	// 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 `` /* 137-byte string literal not displayed */
	// Indicates if automatic spell correction is enabled in detect intent
	// requests.
	EnableSpellCorrection bool `` /* 128-byte string literal not displayed */
	// 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 deprecated

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

Deprecated: Use Agent.ProtoReflect.Descriptor instead.

func (*Agent) GetAvatarUri

func (x *Agent) GetAvatarUri() string

func (*Agent) GetDefaultLanguageCode

func (x *Agent) GetDefaultLanguageCode() string

func (*Agent) GetDescription

func (x *Agent) GetDescription() string

func (*Agent) GetDisplayName

func (x *Agent) GetDisplayName() string

func (*Agent) GetEnableSpellCorrection

func (x *Agent) GetEnableSpellCorrection() bool

func (*Agent) GetEnableStackdriverLogging

func (x *Agent) GetEnableStackdriverLogging() bool

func (*Agent) GetName

func (x *Agent) GetName() string

func (*Agent) GetSpeechToTextSettings

func (x *Agent) GetSpeechToTextSettings() *SpeechToTextSettings

func (*Agent) GetStartFlow

func (x *Agent) GetStartFlow() string

func (*Agent) GetTimeZone

func (x *Agent) GetTimeZone() string

func (*Agent) ProtoMessage

func (*Agent) ProtoMessage()

func (*Agent) ProtoReflect

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

func (*Agent) Reset

func (x *Agent) Reset()

func (*Agent) String

func (x *Agent) String() string

type AgentsClient

type AgentsClient interface {
	// Returns the list of all agents in the specified location.
	ListAgents(ctx context.Context, in *ListAgentsRequest, opts ...grpc.CallOption) (*ListAgentsResponse, error)
	// Retrieves the specified agent.
	GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error)
	// Creates an agent in the specified location.
	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

func NewAgentsClient(cc grpc.ClientConnInterface) AgentsClient

type AgentsServer

type AgentsServer interface {
	// Returns the list of all agents in the specified location.
	ListAgents(context.Context, *ListAgentsRequest) (*ListAgentsResponse, error)
	// Retrieves the specified agent.
	GetAgent(context.Context, *GetAgentRequest) (*Agent, error)
	// Creates an agent in the specified location.
	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

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

func (AudioEncoding) Enum

func (x AudioEncoding) Enum() *AudioEncoding

func (AudioEncoding) EnumDescriptor deprecated

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

Deprecated: Use AudioEncoding.Descriptor instead.

func (AudioEncoding) Number

func (AudioEncoding) String

func (x AudioEncoding) String() string

func (AudioEncoding) Type

type AudioInput

type AudioInput struct {

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

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

Deprecated: Use AudioInput.ProtoReflect.Descriptor instead.

func (*AudioInput) GetAudio

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

func (*AudioInput) GetConfig

func (x *AudioInput) GetConfig() *InputAudioConfig

func (*AudioInput) ProtoMessage

func (*AudioInput) ProtoMessage()

func (*AudioInput) ProtoReflect

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

func (*AudioInput) Reset

func (x *AudioInput) Reset()

func (*AudioInput) String

func (x *AudioInput) String() string

type CreateAgentRequest

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 deprecated

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

Deprecated: Use CreateAgentRequest.ProtoReflect.Descriptor instead.

func (*CreateAgentRequest) GetAgent

func (x *CreateAgentRequest) GetAgent() *Agent

func (*CreateAgentRequest) GetParent

func (x *CreateAgentRequest) GetParent() string

func (*CreateAgentRequest) ProtoMessage

func (*CreateAgentRequest) ProtoMessage()

func (*CreateAgentRequest) ProtoReflect

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

func (*CreateAgentRequest) Reset

func (x *CreateAgentRequest) Reset()

func (*CreateAgentRequest) String

func (x *CreateAgentRequest) String() string

type CreateEntityTypeRequest

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 deprecated

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

Deprecated: Use CreateEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*CreateEntityTypeRequest) GetEntityType

func (x *CreateEntityTypeRequest) GetEntityType() *EntityType

func (*CreateEntityTypeRequest) GetLanguageCode

func (x *CreateEntityTypeRequest) GetLanguageCode() string

func (*CreateEntityTypeRequest) GetParent

func (x *CreateEntityTypeRequest) GetParent() string

func (*CreateEntityTypeRequest) ProtoMessage

func (*CreateEntityTypeRequest) ProtoMessage()

func (*CreateEntityTypeRequest) ProtoReflect

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

func (*CreateEntityTypeRequest) Reset

func (x *CreateEntityTypeRequest) Reset()

func (*CreateEntityTypeRequest) String

func (x *CreateEntityTypeRequest) String() string

type CreateEnvironmentRequest

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 deprecated

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

Deprecated: Use CreateEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*CreateEnvironmentRequest) GetEnvironment

func (x *CreateEnvironmentRequest) GetEnvironment() *Environment

func (*CreateEnvironmentRequest) GetParent

func (x *CreateEnvironmentRequest) GetParent() string

func (*CreateEnvironmentRequest) ProtoMessage

func (*CreateEnvironmentRequest) ProtoMessage()

func (*CreateEnvironmentRequest) ProtoReflect

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

func (*CreateEnvironmentRequest) Reset

func (x *CreateEnvironmentRequest) Reset()

func (*CreateEnvironmentRequest) String

func (x *CreateEnvironmentRequest) String() string

type CreateExperimentRequest

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 deprecated

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

Deprecated: Use CreateExperimentRequest.ProtoReflect.Descriptor instead.

func (*CreateExperimentRequest) GetExperiment

func (x *CreateExperimentRequest) GetExperiment() *Experiment

func (*CreateExperimentRequest) GetParent

func (x *CreateExperimentRequest) GetParent() string

func (*CreateExperimentRequest) ProtoMessage

func (*CreateExperimentRequest) ProtoMessage()

func (*CreateExperimentRequest) ProtoReflect

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

func (*CreateExperimentRequest) Reset

func (x *CreateExperimentRequest) Reset()

func (*CreateExperimentRequest) String

func (x *CreateExperimentRequest) String() string

type CreateFlowRequest

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 deprecated

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

Deprecated: Use CreateFlowRequest.ProtoReflect.Descriptor instead.

func (*CreateFlowRequest) GetFlow

func (x *CreateFlowRequest) GetFlow() *Flow

func (*CreateFlowRequest) GetLanguageCode

func (x *CreateFlowRequest) GetLanguageCode() string

func (*CreateFlowRequest) GetParent

func (x *CreateFlowRequest) GetParent() string

func (*CreateFlowRequest) ProtoMessage

func (*CreateFlowRequest) ProtoMessage()

func (*CreateFlowRequest) ProtoReflect

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

func (*CreateFlowRequest) Reset

func (x *CreateFlowRequest) Reset()

func (*CreateFlowRequest) String

func (x *CreateFlowRequest) String() string

type CreateIntentRequest

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 deprecated

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

Deprecated: Use CreateIntentRequest.ProtoReflect.Descriptor instead.

func (*CreateIntentRequest) GetIntent

func (x *CreateIntentRequest) GetIntent() *Intent

func (*CreateIntentRequest) GetLanguageCode

func (x *CreateIntentRequest) GetLanguageCode() string

func (*CreateIntentRequest) GetParent

func (x *CreateIntentRequest) GetParent() string

func (*CreateIntentRequest) ProtoMessage

func (*CreateIntentRequest) ProtoMessage()

func (*CreateIntentRequest) ProtoReflect

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

func (*CreateIntentRequest) Reset

func (x *CreateIntentRequest) Reset()

func (*CreateIntentRequest) String

func (x *CreateIntentRequest) String() string

type CreatePageRequest

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 deprecated

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

Deprecated: Use CreatePageRequest.ProtoReflect.Descriptor instead.

func (*CreatePageRequest) GetLanguageCode

func (x *CreatePageRequest) GetLanguageCode() string

func (*CreatePageRequest) GetPage

func (x *CreatePageRequest) GetPage() *Page

func (*CreatePageRequest) GetParent

func (x *CreatePageRequest) GetParent() string

func (*CreatePageRequest) ProtoMessage

func (*CreatePageRequest) ProtoMessage()

func (*CreatePageRequest) ProtoReflect

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

func (*CreatePageRequest) Reset

func (x *CreatePageRequest) Reset()

func (*CreatePageRequest) String

func (x *CreatePageRequest) String() string

type CreateSecuritySettingsRequest

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 deprecated

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

Deprecated: Use CreateSecuritySettingsRequest.ProtoReflect.Descriptor instead.

func (*CreateSecuritySettingsRequest) GetParent

func (x *CreateSecuritySettingsRequest) GetParent() string

func (*CreateSecuritySettingsRequest) GetSecuritySettings

func (x *CreateSecuritySettingsRequest) GetSecuritySettings() *SecuritySettings

func (*CreateSecuritySettingsRequest) ProtoMessage

func (*CreateSecuritySettingsRequest) ProtoMessage()

func (*CreateSecuritySettingsRequest) ProtoReflect

func (*CreateSecuritySettingsRequest) Reset

func (x *CreateSecuritySettingsRequest) Reset()

func (*CreateSecuritySettingsRequest) String

type CreateSessionEntityTypeRequest

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 deprecated

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

Deprecated: Use CreateSessionEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*CreateSessionEntityTypeRequest) GetParent

func (x *CreateSessionEntityTypeRequest) GetParent() string

func (*CreateSessionEntityTypeRequest) GetSessionEntityType

func (x *CreateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType

func (*CreateSessionEntityTypeRequest) ProtoMessage

func (*CreateSessionEntityTypeRequest) ProtoMessage()

func (*CreateSessionEntityTypeRequest) ProtoReflect

func (*CreateSessionEntityTypeRequest) Reset

func (x *CreateSessionEntityTypeRequest) Reset()

func (*CreateSessionEntityTypeRequest) String

type CreateTransitionRouteGroupRequest

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 deprecated

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

Deprecated: Use CreateTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.

func (*CreateTransitionRouteGroupRequest) GetLanguageCode

func (x *CreateTransitionRouteGroupRequest) GetLanguageCode() string

func (*CreateTransitionRouteGroupRequest) GetParent

func (*CreateTransitionRouteGroupRequest) GetTransitionRouteGroup

func (x *CreateTransitionRouteGroupRequest) GetTransitionRouteGroup() *TransitionRouteGroup

func (*CreateTransitionRouteGroupRequest) ProtoMessage

func (*CreateTransitionRouteGroupRequest) ProtoMessage()

func (*CreateTransitionRouteGroupRequest) ProtoReflect

func (*CreateTransitionRouteGroupRequest) Reset

func (*CreateTransitionRouteGroupRequest) String

type CreateVersionOperationMetadata

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 deprecated

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

Deprecated: Use CreateVersionOperationMetadata.ProtoReflect.Descriptor instead.

func (*CreateVersionOperationMetadata) GetVersion

func (x *CreateVersionOperationMetadata) GetVersion() string

func (*CreateVersionOperationMetadata) ProtoMessage

func (*CreateVersionOperationMetadata) ProtoMessage()

func (*CreateVersionOperationMetadata) ProtoReflect

func (*CreateVersionOperationMetadata) Reset

func (x *CreateVersionOperationMetadata) Reset()

func (*CreateVersionOperationMetadata) String

type CreateVersionRequest

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 deprecated

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

Deprecated: Use CreateVersionRequest.ProtoReflect.Descriptor instead.

func (*CreateVersionRequest) GetParent

func (x *CreateVersionRequest) GetParent() string

func (*CreateVersionRequest) GetVersion

func (x *CreateVersionRequest) GetVersion() *Version

func (*CreateVersionRequest) ProtoMessage

func (*CreateVersionRequest) ProtoMessage()

func (*CreateVersionRequest) ProtoReflect

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

func (*CreateVersionRequest) Reset

func (x *CreateVersionRequest) Reset()

func (*CreateVersionRequest) String

func (x *CreateVersionRequest) String() string

type CreateWebhookRequest

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 deprecated

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

Deprecated: Use CreateWebhookRequest.ProtoReflect.Descriptor instead.

func (*CreateWebhookRequest) GetParent

func (x *CreateWebhookRequest) GetParent() string

func (*CreateWebhookRequest) GetWebhook

func (x *CreateWebhookRequest) GetWebhook() *Webhook

func (*CreateWebhookRequest) ProtoMessage

func (*CreateWebhookRequest) ProtoMessage()

func (*CreateWebhookRequest) ProtoReflect

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

func (*CreateWebhookRequest) Reset

func (x *CreateWebhookRequest) Reset()

func (*CreateWebhookRequest) String

func (x *CreateWebhookRequest) String() string

type DeleteAgentRequest

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 deprecated

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

Deprecated: Use DeleteAgentRequest.ProtoReflect.Descriptor instead.

func (*DeleteAgentRequest) GetName

func (x *DeleteAgentRequest) GetName() string

func (*DeleteAgentRequest) ProtoMessage

func (*DeleteAgentRequest) ProtoMessage()

func (*DeleteAgentRequest) ProtoReflect

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

func (*DeleteAgentRequest) Reset

func (x *DeleteAgentRequest) Reset()

func (*DeleteAgentRequest) String

func (x *DeleteAgentRequest) String() string

type DeleteEntityTypeRequest

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 deprecated

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

Deprecated: Use DeleteEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntityTypeRequest) GetForce

func (x *DeleteEntityTypeRequest) GetForce() bool

func (*DeleteEntityTypeRequest) GetName

func (x *DeleteEntityTypeRequest) GetName() string

func (*DeleteEntityTypeRequest) ProtoMessage

func (*DeleteEntityTypeRequest) ProtoMessage()

func (*DeleteEntityTypeRequest) ProtoReflect

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

func (*DeleteEntityTypeRequest) Reset

func (x *DeleteEntityTypeRequest) Reset()

func (*DeleteEntityTypeRequest) String

func (x *DeleteEntityTypeRequest) String() string

type DeleteEnvironmentRequest

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 deprecated

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

Deprecated: Use DeleteEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*DeleteEnvironmentRequest) GetName

func (x *DeleteEnvironmentRequest) GetName() string

func (*DeleteEnvironmentRequest) ProtoMessage

func (*DeleteEnvironmentRequest) ProtoMessage()

func (*DeleteEnvironmentRequest) ProtoReflect

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

func (*DeleteEnvironmentRequest) Reset

func (x *DeleteEnvironmentRequest) Reset()

func (*DeleteEnvironmentRequest) String

func (x *DeleteEnvironmentRequest) String() string

type DeleteExperimentRequest

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 deprecated

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

Deprecated: Use DeleteExperimentRequest.ProtoReflect.Descriptor instead.

func (*DeleteExperimentRequest) GetName

func (x *DeleteExperimentRequest) GetName() string

func (*DeleteExperimentRequest) ProtoMessage

func (*DeleteExperimentRequest) ProtoMessage()

func (*DeleteExperimentRequest) ProtoReflect

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

func (*DeleteExperimentRequest) Reset

func (x *DeleteExperimentRequest) Reset()

func (*DeleteExperimentRequest) String

func (x *DeleteExperimentRequest) String() string

type DeleteFlowRequest

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 deprecated

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

Deprecated: Use DeleteFlowRequest.ProtoReflect.Descriptor instead.

func (*DeleteFlowRequest) GetForce

func (x *DeleteFlowRequest) GetForce() bool

func (*DeleteFlowRequest) GetName

func (x *DeleteFlowRequest) GetName() string

func (*DeleteFlowRequest) ProtoMessage

func (*DeleteFlowRequest) ProtoMessage()

func (*DeleteFlowRequest) ProtoReflect

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

func (*DeleteFlowRequest) Reset

func (x *DeleteFlowRequest) Reset()

func (*DeleteFlowRequest) String

func (x *DeleteFlowRequest) String() string

type DeleteIntentRequest

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 deprecated

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

Deprecated: Use DeleteIntentRequest.ProtoReflect.Descriptor instead.

func (*DeleteIntentRequest) GetName

func (x *DeleteIntentRequest) GetName() string

func (*DeleteIntentRequest) ProtoMessage

func (*DeleteIntentRequest) ProtoMessage()

func (*DeleteIntentRequest) ProtoReflect

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

func (*DeleteIntentRequest) Reset

func (x *DeleteIntentRequest) Reset()

func (*DeleteIntentRequest) String

func (x *DeleteIntentRequest) String() string

type DeletePageRequest

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 deprecated

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

Deprecated: Use DeletePageRequest.ProtoReflect.Descriptor instead.

func (*DeletePageRequest) GetForce

func (x *DeletePageRequest) GetForce() bool

func (*DeletePageRequest) GetName

func (x *DeletePageRequest) GetName() string

func (*DeletePageRequest) ProtoMessage

func (*DeletePageRequest) ProtoMessage()

func (*DeletePageRequest) ProtoReflect

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

func (*DeletePageRequest) Reset

func (x *DeletePageRequest) Reset()

func (*DeletePageRequest) String

func (x *DeletePageRequest) String() string

type DeleteSecuritySettingsRequest

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 deprecated

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

Deprecated: Use DeleteSecuritySettingsRequest.ProtoReflect.Descriptor instead.

func (*DeleteSecuritySettingsRequest) GetName

func (*DeleteSecuritySettingsRequest) ProtoMessage

func (*DeleteSecuritySettingsRequest) ProtoMessage()

func (*DeleteSecuritySettingsRequest) ProtoReflect

func (*DeleteSecuritySettingsRequest) Reset

func (x *DeleteSecuritySettingsRequest) Reset()

func (*DeleteSecuritySettingsRequest) String

type DeleteSessionEntityTypeRequest

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 deprecated

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

Deprecated: Use DeleteSessionEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*DeleteSessionEntityTypeRequest) GetName

func (*DeleteSessionEntityTypeRequest) ProtoMessage

func (*DeleteSessionEntityTypeRequest) ProtoMessage()

func (*DeleteSessionEntityTypeRequest) ProtoReflect

func (*DeleteSessionEntityTypeRequest) Reset

func (x *DeleteSessionEntityTypeRequest) Reset()

func (*DeleteSessionEntityTypeRequest) String

type DeleteTransitionRouteGroupRequest

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 deprecated

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

Deprecated: Use DeleteTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.

func (*DeleteTransitionRouteGroupRequest) GetForce

func (*DeleteTransitionRouteGroupRequest) GetName

func (*DeleteTransitionRouteGroupRequest) ProtoMessage

func (*DeleteTransitionRouteGroupRequest) ProtoMessage()

func (*DeleteTransitionRouteGroupRequest) ProtoReflect

func (*DeleteTransitionRouteGroupRequest) Reset

func (*DeleteTransitionRouteGroupRequest) String

type DeleteVersionRequest

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 deprecated

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

Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.

func (*DeleteVersionRequest) GetName

func (x *DeleteVersionRequest) GetName() string

func (*DeleteVersionRequest) ProtoMessage

func (*DeleteVersionRequest) ProtoMessage()

func (*DeleteVersionRequest) ProtoReflect

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

func (*DeleteVersionRequest) Reset

func (x *DeleteVersionRequest) Reset()

func (*DeleteVersionRequest) String

func (x *DeleteVersionRequest) String() string

type DeleteWebhookRequest

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 deprecated

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

Deprecated: Use DeleteWebhookRequest.ProtoReflect.Descriptor instead.

func (*DeleteWebhookRequest) GetForce

func (x *DeleteWebhookRequest) GetForce() bool

func (*DeleteWebhookRequest) GetName

func (x *DeleteWebhookRequest) GetName() string

func (*DeleteWebhookRequest) ProtoMessage

func (*DeleteWebhookRequest) ProtoMessage()

func (*DeleteWebhookRequest) ProtoReflect

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

func (*DeleteWebhookRequest) Reset

func (x *DeleteWebhookRequest) Reset()

func (*DeleteWebhookRequest) String

func (x *DeleteWebhookRequest) String() string

type DetectIntentRequest

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 deprecated

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

Deprecated: Use DetectIntentRequest.ProtoReflect.Descriptor instead.

func (*DetectIntentRequest) GetOutputAudioConfig

func (x *DetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig

func (*DetectIntentRequest) GetQueryInput

func (x *DetectIntentRequest) GetQueryInput() *QueryInput

func (*DetectIntentRequest) GetQueryParams

func (x *DetectIntentRequest) GetQueryParams() *QueryParameters

func (*DetectIntentRequest) GetSession

func (x *DetectIntentRequest) GetSession() string

func (*DetectIntentRequest) ProtoMessage

func (*DetectIntentRequest) ProtoMessage()

func (*DetectIntentRequest) ProtoReflect

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

func (*DetectIntentRequest) Reset

func (x *DetectIntentRequest) Reset()

func (*DetectIntentRequest) String

func (x *DetectIntentRequest) String() string

type DetectIntentResponse

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 deprecated

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

Deprecated: Use DetectIntentResponse.ProtoReflect.Descriptor instead.

func (*DetectIntentResponse) GetOutputAudio

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

func (*DetectIntentResponse) GetOutputAudioConfig

func (x *DetectIntentResponse) GetOutputAudioConfig() *OutputAudioConfig

func (*DetectIntentResponse) GetQueryResult

func (x *DetectIntentResponse) GetQueryResult() *QueryResult

func (*DetectIntentResponse) GetResponseId

func (x *DetectIntentResponse) GetResponseId() string

func (*DetectIntentResponse) ProtoMessage

func (*DetectIntentResponse) ProtoMessage()

func (*DetectIntentResponse) ProtoReflect

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

func (*DetectIntentResponse) Reset

func (x *DetectIntentResponse) Reset()

func (*DetectIntentResponse) String

func (x *DetectIntentResponse) String() string

type DtmfInput

type DtmfInput struct {

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

Represents the input for dtmf event.

func (*DtmfInput) Descriptor deprecated

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

Deprecated: Use DtmfInput.ProtoReflect.Descriptor instead.

func (*DtmfInput) GetDigits

func (x *DtmfInput) GetDigits() string

func (*DtmfInput) GetFinishDigit

func (x *DtmfInput) GetFinishDigit() string

func (*DtmfInput) ProtoMessage

func (*DtmfInput) ProtoMessage()

func (*DtmfInput) ProtoReflect

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

func (*DtmfInput) Reset

func (x *DtmfInput) Reset()

func (*DtmfInput) String

func (x *DtmfInput) String() string

type EntityType

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 `` /* 179-byte string literal not displayed */
	// 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 `` /* 127-byte string literal not displayed */
	// 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 deprecated

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

Deprecated: Use EntityType.ProtoReflect.Descriptor instead.

func (*EntityType) GetAutoExpansionMode

func (x *EntityType) GetAutoExpansionMode() EntityType_AutoExpansionMode

func (*EntityType) GetDisplayName

func (x *EntityType) GetDisplayName() string

func (*EntityType) GetEnableFuzzyExtraction

func (x *EntityType) GetEnableFuzzyExtraction() bool

func (*EntityType) GetEntities

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

func (*EntityType) GetExcludedPhrases

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

func (*EntityType) GetKind

func (x *EntityType) GetKind() EntityType_Kind

func (*EntityType) GetName

func (x *EntityType) GetName() string

func (*EntityType) ProtoMessage

func (*EntityType) ProtoMessage()

func (*EntityType) ProtoReflect

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

func (*EntityType) Reset

func (x *EntityType) Reset()

func (*EntityType) String

func (x *EntityType) String() string

type EntityType_AutoExpansionMode

type EntityType_AutoExpansionMode int32

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

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

func (EntityType_AutoExpansionMode) Descriptor

func (EntityType_AutoExpansionMode) Enum

func (EntityType_AutoExpansionMode) EnumDescriptor deprecated

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

Deprecated: Use EntityType_AutoExpansionMode.Descriptor instead.

func (EntityType_AutoExpansionMode) Number

func (EntityType_AutoExpansionMode) String

func (EntityType_AutoExpansionMode) Type

type EntityType_Entity

type EntityType_Entity struct {

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

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

func (*EntityType_Entity) Descriptor deprecated

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

Deprecated: Use EntityType_Entity.ProtoReflect.Descriptor instead.

func (*EntityType_Entity) GetSynonyms

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

func (*EntityType_Entity) GetValue

func (x *EntityType_Entity) GetValue() string

func (*EntityType_Entity) ProtoMessage

func (*EntityType_Entity) ProtoMessage()

func (*EntityType_Entity) ProtoReflect

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

func (*EntityType_Entity) Reset

func (x *EntityType_Entity) Reset()

func (*EntityType_Entity) String

func (x *EntityType_Entity) String() string

type EntityType_ExcludedPhrase

type EntityType_ExcludedPhrase struct {

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

An excluded entity phrase that should not be matched.

func (*EntityType_ExcludedPhrase) Descriptor deprecated

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

Deprecated: Use EntityType_ExcludedPhrase.ProtoReflect.Descriptor instead.

func (*EntityType_ExcludedPhrase) GetValue

func (x *EntityType_ExcludedPhrase) GetValue() string

func (*EntityType_ExcludedPhrase) ProtoMessage

func (*EntityType_ExcludedPhrase) ProtoMessage()

func (*EntityType_ExcludedPhrase) ProtoReflect

func (*EntityType_ExcludedPhrase) Reset

func (x *EntityType_ExcludedPhrase) Reset()

func (*EntityType_ExcludedPhrase) String

func (x *EntityType_ExcludedPhrase) String() string

type EntityType_Kind

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

func (EntityType_Kind) Enum

func (x EntityType_Kind) Enum() *EntityType_Kind

func (EntityType_Kind) EnumDescriptor deprecated

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

Deprecated: Use EntityType_Kind.Descriptor instead.

func (EntityType_Kind) Number

func (EntityType_Kind) String

func (x EntityType_Kind) String() string

func (EntityType_Kind) Type

type EntityTypesClient

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

type EntityTypesServer

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

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 deprecated

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

Deprecated: Use Environment.ProtoReflect.Descriptor instead.

func (*Environment) GetDescription

func (x *Environment) GetDescription() string

func (*Environment) GetDisplayName

func (x *Environment) GetDisplayName() string

func (*Environment) GetName

func (x *Environment) GetName() string

func (*Environment) GetUpdateTime

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

func (*Environment) GetVersionConfigs

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

func (*Environment) ProtoMessage

func (*Environment) ProtoMessage()

func (*Environment) ProtoReflect

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

func (*Environment) Reset

func (x *Environment) Reset()

func (*Environment) String

func (x *Environment) String() string

type Environment_VersionConfig

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 deprecated

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

Deprecated: Use Environment_VersionConfig.ProtoReflect.Descriptor instead.

func (*Environment_VersionConfig) GetVersion

func (x *Environment_VersionConfig) GetVersion() string

func (*Environment_VersionConfig) ProtoMessage

func (*Environment_VersionConfig) ProtoMessage()

func (*Environment_VersionConfig) ProtoReflect

func (*Environment_VersionConfig) Reset

func (x *Environment_VersionConfig) Reset()

func (*Environment_VersionConfig) String

func (x *Environment_VersionConfig) String() string

type EnvironmentsClient

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.

type EnvironmentsServer

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

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 deprecated

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

Deprecated: Use EventHandler.ProtoReflect.Descriptor instead.

func (*EventHandler) GetEvent

func (x *EventHandler) GetEvent() string

func (*EventHandler) GetName

func (x *EventHandler) GetName() string

func (*EventHandler) GetTarget

func (m *EventHandler) GetTarget() isEventHandler_Target

func (*EventHandler) GetTargetFlow

func (x *EventHandler) GetTargetFlow() string

func (*EventHandler) GetTargetPage

func (x *EventHandler) GetTargetPage() string

func (*EventHandler) GetTriggerFulfillment

func (x *EventHandler) GetTriggerFulfillment() *Fulfillment

func (*EventHandler) ProtoMessage

func (*EventHandler) ProtoMessage()

func (*EventHandler) ProtoReflect

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

func (*EventHandler) Reset

func (x *EventHandler) Reset()

func (*EventHandler) String

func (x *EventHandler) String() string

type EventHandler_TargetFlow

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

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

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 deprecated

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

Deprecated: Use EventInput.ProtoReflect.Descriptor instead.

func (*EventInput) GetEvent

func (x *EventInput) GetEvent() string

func (*EventInput) ProtoMessage

func (*EventInput) ProtoMessage()

func (*EventInput) ProtoReflect

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

func (*EventInput) Reset

func (x *EventInput) Reset()

func (*EventInput) String

func (x *EventInput) String() string

type Experiment

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 deprecated

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

Deprecated: Use Experiment.ProtoReflect.Descriptor instead.

func (*Experiment) GetCreateTime

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

func (*Experiment) GetDefinition

func (x *Experiment) GetDefinition() *Experiment_Definition

func (*Experiment) GetDescription

func (x *Experiment) GetDescription() string

func (*Experiment) GetDisplayName

func (x *Experiment) GetDisplayName() string

func (*Experiment) GetEndTime

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

func (*Experiment) GetExperimentLength

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

func (*Experiment) GetLastUpdateTime

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

func (*Experiment) GetName

func (x *Experiment) GetName() string

func (*Experiment) GetResult

func (x *Experiment) GetResult() *Experiment_Result

func (*Experiment) GetStartTime

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

func (*Experiment) GetState

func (x *Experiment) GetState() Experiment_State

func (*Experiment) GetVariantsHistory

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

func (*Experiment) ProtoMessage

func (*Experiment) ProtoMessage()

func (*Experiment) ProtoReflect

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

func (*Experiment) Reset

func (x *Experiment) Reset()

func (*Experiment) String

func (x *Experiment) String() string

type Experiment_Definition

type Experiment_Definition struct {

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

Definition of the experiment. Next ID: 3

func (*Experiment_Definition) Descriptor deprecated

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

Deprecated: Use Experiment_Definition.ProtoReflect.Descriptor instead.

func (*Experiment_Definition) GetCondition

func (x *Experiment_Definition) GetCondition() string

func (*Experiment_Definition) GetVariants

func (m *Experiment_Definition) GetVariants() isExperiment_Definition_Variants

func (*Experiment_Definition) GetVersionVariants

func (x *Experiment_Definition) GetVersionVariants() *VersionVariants

func (*Experiment_Definition) ProtoMessage

func (*Experiment_Definition) ProtoMessage()

func (*Experiment_Definition) ProtoReflect

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

func (*Experiment_Definition) Reset

func (x *Experiment_Definition) Reset()

func (*Experiment_Definition) String

func (x *Experiment_Definition) String() string

type Experiment_Definition_VersionVariants

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

type Experiment_Result

type Experiment_Result struct {

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

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

func (*Experiment_Result) Descriptor deprecated

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

Deprecated: Use Experiment_Result.ProtoReflect.Descriptor instead.

func (*Experiment_Result) GetLastUpdateTime

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

func (*Experiment_Result) GetVersionMetrics

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

func (*Experiment_Result) ProtoMessage

func (*Experiment_Result) ProtoMessage()

func (*Experiment_Result) ProtoReflect

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

func (*Experiment_Result) Reset

func (x *Experiment_Result) Reset()

func (*Experiment_Result) String

func (x *Experiment_Result) String() string

type Experiment_Result_ConfidenceInterval

type Experiment_Result_ConfidenceInterval struct {

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

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

func (*Experiment_Result_ConfidenceInterval) Descriptor deprecated

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

Deprecated: Use Experiment_Result_ConfidenceInterval.ProtoReflect.Descriptor instead.

func (*Experiment_Result_ConfidenceInterval) GetConfidenceLevel

func (x *Experiment_Result_ConfidenceInterval) GetConfidenceLevel() float64

func (*Experiment_Result_ConfidenceInterval) GetLowerBound

func (x *Experiment_Result_ConfidenceInterval) GetLowerBound() float64

func (*Experiment_Result_ConfidenceInterval) GetRatio

func (*Experiment_Result_ConfidenceInterval) GetUpperBound

func (x *Experiment_Result_ConfidenceInterval) GetUpperBound() float64

func (*Experiment_Result_ConfidenceInterval) ProtoMessage

func (*Experiment_Result_ConfidenceInterval) ProtoMessage()

func (*Experiment_Result_ConfidenceInterval) ProtoReflect

func (*Experiment_Result_ConfidenceInterval) Reset

func (*Experiment_Result_ConfidenceInterval) String

type Experiment_Result_Metric

type Experiment_Result_Metric struct {

	// The type of the metric.
	Type Experiment_Result_MetricType `` /* 126-byte string literal not displayed */
	// 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 deprecated

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

Deprecated: Use Experiment_Result_Metric.ProtoReflect.Descriptor instead.

func (*Experiment_Result_Metric) GetConfidenceInterval

func (*Experiment_Result_Metric) GetRatio

func (x *Experiment_Result_Metric) GetRatio() float64

func (*Experiment_Result_Metric) GetType

func (*Experiment_Result_Metric) GetValue

func (m *Experiment_Result_Metric) GetValue() isExperiment_Result_Metric_Value

func (*Experiment_Result_Metric) ProtoMessage

func (*Experiment_Result_Metric) ProtoMessage()

func (*Experiment_Result_Metric) ProtoReflect

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

func (*Experiment_Result_Metric) Reset

func (x *Experiment_Result_Metric) Reset()

func (*Experiment_Result_Metric) String

func (x *Experiment_Result_Metric) String() string

type Experiment_Result_MetricType

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

func (Experiment_Result_MetricType) Enum

func (Experiment_Result_MetricType) EnumDescriptor deprecated

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

Deprecated: Use Experiment_Result_MetricType.Descriptor instead.

func (Experiment_Result_MetricType) Number

func (Experiment_Result_MetricType) String

func (Experiment_Result_MetricType) Type

type Experiment_Result_Metric_Ratio

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

type Experiment_Result_VersionMetrics

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 deprecated

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

Deprecated: Use Experiment_Result_VersionMetrics.ProtoReflect.Descriptor instead.

func (*Experiment_Result_VersionMetrics) GetMetrics

func (*Experiment_Result_VersionMetrics) GetSessionCount

func (x *Experiment_Result_VersionMetrics) GetSessionCount() int32

func (*Experiment_Result_VersionMetrics) GetVersion

func (x *Experiment_Result_VersionMetrics) GetVersion() string

func (*Experiment_Result_VersionMetrics) ProtoMessage

func (*Experiment_Result_VersionMetrics) ProtoMessage()

func (*Experiment_Result_VersionMetrics) ProtoReflect

func (*Experiment_Result_VersionMetrics) Reset

func (*Experiment_Result_VersionMetrics) String

type Experiment_State

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

func (Experiment_State) Enum

func (Experiment_State) EnumDescriptor deprecated

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

Deprecated: Use Experiment_State.Descriptor instead.

func (Experiment_State) Number

func (Experiment_State) String

func (x Experiment_State) String() string

func (Experiment_State) Type

type ExperimentsClient

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.

type ExperimentsServer

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

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 deprecated

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

Deprecated: Use ExportAgentRequest.ProtoReflect.Descriptor instead.

func (*ExportAgentRequest) GetAgentUri

func (x *ExportAgentRequest) GetAgentUri() string

func (*ExportAgentRequest) GetName

func (x *ExportAgentRequest) GetName() string

func (*ExportAgentRequest) ProtoMessage

func (*ExportAgentRequest) ProtoMessage()

func (*ExportAgentRequest) ProtoReflect

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

func (*ExportAgentRequest) Reset

func (x *ExportAgentRequest) Reset()

func (*ExportAgentRequest) String

func (x *ExportAgentRequest) String() string

type ExportAgentResponse

type ExportAgentResponse struct {

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

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

func (*ExportAgentResponse) Descriptor deprecated

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

Deprecated: Use ExportAgentResponse.ProtoReflect.Descriptor instead.

func (*ExportAgentResponse) GetAgent

func (m *ExportAgentResponse) GetAgent() isExportAgentResponse_Agent

func (*ExportAgentResponse) GetAgentContent

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

func (*ExportAgentResponse) GetAgentUri

func (x *ExportAgentResponse) GetAgentUri() string

func (*ExportAgentResponse) ProtoMessage

func (*ExportAgentResponse) ProtoMessage()

func (*ExportAgentResponse) ProtoReflect

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

func (*ExportAgentResponse) Reset

func (x *ExportAgentResponse) Reset()

func (*ExportAgentResponse) String

func (x *ExportAgentResponse) String() string

type ExportAgentResponse_AgentContent

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

type ExportAgentResponse_AgentUri

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

type Flow

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 deprecated

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

Deprecated: Use Flow.ProtoReflect.Descriptor instead.

func (*Flow) GetDescription

func (x *Flow) GetDescription() string

func (*Flow) GetDisplayName

func (x *Flow) GetDisplayName() string

func (*Flow) GetEventHandlers

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

func (*Flow) GetName

func (x *Flow) GetName() string

func (*Flow) GetNluSettings

func (x *Flow) GetNluSettings() *NluSettings

func (*Flow) GetTransitionRoutes

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

func (*Flow) ProtoMessage

func (*Flow) ProtoMessage()

func (*Flow) ProtoReflect

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

func (*Flow) Reset

func (x *Flow) Reset()

func (*Flow) String

func (x *Flow) String() string

type FlowsClient

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

func NewFlowsClient(cc grpc.ClientConnInterface) FlowsClient

type FlowsServer

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

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 deprecated

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

Deprecated: Use Form.ProtoReflect.Descriptor instead.

func (*Form) GetParameters

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

func (*Form) ProtoMessage

func (*Form) ProtoMessage()

func (*Form) ProtoReflect

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

func (*Form) Reset

func (x *Form) Reset()

func (*Form) String

func (x *Form) String() string

type Form_Parameter

type Form_Parameter struct {

	// Required. The human-readable name of the parameter, unique within the
	// form.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Indicates whether the parameter is required. Optional parameters will not
	// trigger prompts; however, they are filled if the user specifies them.
	// Required parameters must be filled before form filling concludes.
	Required bool `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"`
	// Required. The entity type of the parameter.
	// Format: `projects/-/locations/-/agents/-/entityTypes/<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 deprecated

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

Deprecated: Use Form_Parameter.ProtoReflect.Descriptor instead.

func (*Form_Parameter) GetDefaultValue

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

func (*Form_Parameter) GetDisplayName

func (x *Form_Parameter) GetDisplayName() string

func (*Form_Parameter) GetEntityType

func (x *Form_Parameter) GetEntityType() string

func (*Form_Parameter) GetFillBehavior

func (x *Form_Parameter) GetFillBehavior() *Form_Parameter_FillBehavior

func (*Form_Parameter) GetIsList

func (x *Form_Parameter) GetIsList() bool

func (*Form_Parameter) GetRedact

func (x *Form_Parameter) GetRedact() bool

func (*Form_Parameter) GetRequired

func (x *Form_Parameter) GetRequired() bool

func (*Form_Parameter) ProtoMessage

func (*Form_Parameter) ProtoMessage()

func (*Form_Parameter) ProtoReflect

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

func (*Form_Parameter) Reset

func (x *Form_Parameter) Reset()

func (*Form_Parameter) String

func (x *Form_Parameter) String() string

type Form_Parameter_FillBehavior

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 `` /* 135-byte string literal not displayed */
	// 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 `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*Form_Parameter_FillBehavior) Descriptor deprecated

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

Deprecated: Use Form_Parameter_FillBehavior.ProtoReflect.Descriptor instead.

func (*Form_Parameter_FillBehavior) GetInitialPromptFulfillment

func (x *Form_Parameter_FillBehavior) GetInitialPromptFulfillment() *Fulfillment

func (*Form_Parameter_FillBehavior) GetRepromptEventHandlers

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

func (*Form_Parameter_FillBehavior) ProtoMessage

func (*Form_Parameter_FillBehavior) ProtoMessage()

func (*Form_Parameter_FillBehavior) ProtoReflect

func (*Form_Parameter_FillBehavior) Reset

func (x *Form_Parameter_FillBehavior) Reset()

func (*Form_Parameter_FillBehavior) String

func (x *Form_Parameter_FillBehavior) String() string

type FulfillIntentRequest

type FulfillIntentRequest struct {

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

Request of [FulfillIntent][]

func (*FulfillIntentRequest) Descriptor deprecated

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

Deprecated: Use FulfillIntentRequest.ProtoReflect.Descriptor instead.

func (*FulfillIntentRequest) GetMatch

func (x *FulfillIntentRequest) GetMatch() *Match

func (*FulfillIntentRequest) GetMatchIntentRequest

func (x *FulfillIntentRequest) GetMatchIntentRequest() *MatchIntentRequest

func (*FulfillIntentRequest) GetOutputAudioConfig

func (x *FulfillIntentRequest) GetOutputAudioConfig() *OutputAudioConfig

func (*FulfillIntentRequest) ProtoMessage

func (*FulfillIntentRequest) ProtoMessage()

func (*FulfillIntentRequest) ProtoReflect

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

func (*FulfillIntentRequest) Reset

func (x *FulfillIntentRequest) Reset()

func (*FulfillIntentRequest) String

func (x *FulfillIntentRequest) String() string

type FulfillIntentResponse

type FulfillIntentResponse struct {

	// Output only. The unique identifier of the response. It can be used to
	// locate a response in the training example set or for reporting issues.
	ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty"`
	// The result of the conversational query.
	QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"`
	// The audio data bytes encoded as specified in the request.
	// Note: The output audio is generated based on the values of default platform
	// text responses found in the
	// [`query_result.response_messages`][google.cloud.dialogflow.cx.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 deprecated

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

Deprecated: Use FulfillIntentResponse.ProtoReflect.Descriptor instead.

func (*FulfillIntentResponse) GetOutputAudio

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

func (*FulfillIntentResponse) GetOutputAudioConfig

func (x *FulfillIntentResponse) GetOutputAudioConfig() *OutputAudioConfig

func (*FulfillIntentResponse) GetQueryResult

func (x *FulfillIntentResponse) GetQueryResult() *QueryResult

func (*FulfillIntentResponse) GetResponseId

func (x *FulfillIntentResponse) GetResponseId() string

func (*FulfillIntentResponse) ProtoMessage

func (*FulfillIntentResponse) ProtoMessage()

func (*FulfillIntentResponse) ProtoReflect

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

func (*FulfillIntentResponse) Reset

func (x *FulfillIntentResponse) Reset()

func (*FulfillIntentResponse) String

func (x *FulfillIntentResponse) String() string

type Fulfillment

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 deprecated

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

Deprecated: Use Fulfillment.ProtoReflect.Descriptor instead.

func (*Fulfillment) GetConditionalCases

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

func (*Fulfillment) GetMessages

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

func (*Fulfillment) GetSetParameterActions

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

func (*Fulfillment) GetTag

func (x *Fulfillment) GetTag() string

func (*Fulfillment) GetWebhook

func (x *Fulfillment) GetWebhook() string

func (*Fulfillment) ProtoMessage

func (*Fulfillment) ProtoMessage()

func (*Fulfillment) ProtoReflect

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

func (*Fulfillment) Reset

func (x *Fulfillment) Reset()

func (*Fulfillment) String

func (x *Fulfillment) String() string

type Fulfillment_ConditionalCases

type Fulfillment_ConditionalCases struct {

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

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

func (*Fulfillment_ConditionalCases) Descriptor deprecated

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

Deprecated: Use Fulfillment_ConditionalCases.ProtoReflect.Descriptor instead.

func (*Fulfillment_ConditionalCases) GetCases

func (*Fulfillment_ConditionalCases) ProtoMessage

func (*Fulfillment_ConditionalCases) ProtoMessage()

func (*Fulfillment_ConditionalCases) ProtoReflect

func (*Fulfillment_ConditionalCases) Reset

func (x *Fulfillment_ConditionalCases) Reset()

func (*Fulfillment_ConditionalCases) String

type Fulfillment_ConditionalCases_Case

type Fulfillment_ConditionalCases_Case struct {

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

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

func (*Fulfillment_ConditionalCases_Case) Descriptor deprecated

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

Deprecated: Use Fulfillment_ConditionalCases_Case.ProtoReflect.Descriptor instead.

func (*Fulfillment_ConditionalCases_Case) GetCaseContent

func (*Fulfillment_ConditionalCases_Case) GetCondition

func (x *Fulfillment_ConditionalCases_Case) GetCondition() string

func (*Fulfillment_ConditionalCases_Case) ProtoMessage

func (*Fulfillment_ConditionalCases_Case) ProtoMessage()

func (*Fulfillment_ConditionalCases_Case) ProtoReflect

func (*Fulfillment_ConditionalCases_Case) Reset

func (*Fulfillment_ConditionalCases_Case) String

type Fulfillment_ConditionalCases_Case_CaseContent

type Fulfillment_ConditionalCases_Case_CaseContent struct {

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

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

func (*Fulfillment_ConditionalCases_Case_CaseContent) Descriptor deprecated

Deprecated: Use Fulfillment_ConditionalCases_Case_CaseContent.ProtoReflect.Descriptor instead.

func (*Fulfillment_ConditionalCases_Case_CaseContent) GetAdditionalCases

func (*Fulfillment_ConditionalCases_Case_CaseContent) GetCasesOrMessage

func (m *Fulfillment_ConditionalCases_Case_CaseContent) GetCasesOrMessage() isFulfillment_ConditionalCases_Case_CaseContent_CasesOrMessage

func (*Fulfillment_ConditionalCases_Case_CaseContent) GetMessage

func (*Fulfillment_ConditionalCases_Case_CaseContent) ProtoMessage

func (*Fulfillment_ConditionalCases_Case_CaseContent) ProtoReflect

func (*Fulfillment_ConditionalCases_Case_CaseContent) Reset

func (*Fulfillment_ConditionalCases_Case_CaseContent) String

type Fulfillment_ConditionalCases_Case_CaseContent_AdditionalCases

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

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

type Fulfillment_SetParameterAction

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 deprecated

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

Deprecated: Use Fulfillment_SetParameterAction.ProtoReflect.Descriptor instead.

func (*Fulfillment_SetParameterAction) GetParameter

func (x *Fulfillment_SetParameterAction) GetParameter() string

func (*Fulfillment_SetParameterAction) GetValue

func (*Fulfillment_SetParameterAction) ProtoMessage

func (*Fulfillment_SetParameterAction) ProtoMessage()

func (*Fulfillment_SetParameterAction) ProtoReflect

func (*Fulfillment_SetParameterAction) Reset

func (x *Fulfillment_SetParameterAction) Reset()

func (*Fulfillment_SetParameterAction) String

type GetAgentRequest

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 deprecated

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

Deprecated: Use GetAgentRequest.ProtoReflect.Descriptor instead.

func (*GetAgentRequest) GetName

func (x *GetAgentRequest) GetName() string

func (*GetAgentRequest) ProtoMessage

func (*GetAgentRequest) ProtoMessage()

func (*GetAgentRequest) ProtoReflect

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

func (*GetAgentRequest) Reset

func (x *GetAgentRequest) Reset()

func (*GetAgentRequest) String

func (x *GetAgentRequest) String() string

type GetEntityTypeRequest

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 deprecated

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

Deprecated: Use GetEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*GetEntityTypeRequest) GetLanguageCode

func (x *GetEntityTypeRequest) GetLanguageCode() string

func (*GetEntityTypeRequest) GetName

func (x *GetEntityTypeRequest) GetName() string

func (*GetEntityTypeRequest) ProtoMessage

func (*GetEntityTypeRequest) ProtoMessage()

func (*GetEntityTypeRequest) ProtoReflect

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

func (*GetEntityTypeRequest) Reset

func (x *GetEntityTypeRequest) Reset()

func (*GetEntityTypeRequest) String

func (x *GetEntityTypeRequest) String() string

type GetEnvironmentRequest

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 deprecated

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

Deprecated: Use GetEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*GetEnvironmentRequest) GetName

func (x *GetEnvironmentRequest) GetName() string

func (*GetEnvironmentRequest) ProtoMessage

func (*GetEnvironmentRequest) ProtoMessage()

func (*GetEnvironmentRequest) ProtoReflect

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

func (*GetEnvironmentRequest) Reset

func (x *GetEnvironmentRequest) Reset()

func (*GetEnvironmentRequest) String

func (x *GetEnvironmentRequest) String() string

type GetExperimentRequest

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 deprecated

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

Deprecated: Use GetExperimentRequest.ProtoReflect.Descriptor instead.

func (*GetExperimentRequest) GetName

func (x *GetExperimentRequest) GetName() string

func (*GetExperimentRequest) ProtoMessage

func (*GetExperimentRequest) ProtoMessage()

func (*GetExperimentRequest) ProtoReflect

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

func (*GetExperimentRequest) Reset

func (x *GetExperimentRequest) Reset()

func (*GetExperimentRequest) String

func (x *GetExperimentRequest) String() string

type GetFlowRequest

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 deprecated

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

Deprecated: Use GetFlowRequest.ProtoReflect.Descriptor instead.

func (*GetFlowRequest) GetLanguageCode

func (x *GetFlowRequest) GetLanguageCode() string

func (*GetFlowRequest) GetName

func (x *GetFlowRequest) GetName() string

func (*GetFlowRequest) ProtoMessage

func (*GetFlowRequest) ProtoMessage()

func (*GetFlowRequest) ProtoReflect

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

func (*GetFlowRequest) Reset

func (x *GetFlowRequest) Reset()

func (*GetFlowRequest) String

func (x *GetFlowRequest) String() string

type GetIntentRequest

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 deprecated

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

Deprecated: Use GetIntentRequest.ProtoReflect.Descriptor instead.

func (*GetIntentRequest) GetLanguageCode

func (x *GetIntentRequest) GetLanguageCode() string

func (*GetIntentRequest) GetName

func (x *GetIntentRequest) GetName() string

func (*GetIntentRequest) ProtoMessage

func (*GetIntentRequest) ProtoMessage()

func (*GetIntentRequest) ProtoReflect

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

func (*GetIntentRequest) Reset

func (x *GetIntentRequest) Reset()

func (*GetIntentRequest) String

func (x *GetIntentRequest) String() string

type GetPageRequest

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 deprecated

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

Deprecated: Use GetPageRequest.ProtoReflect.Descriptor instead.

func (*GetPageRequest) GetLanguageCode

func (x *GetPageRequest) GetLanguageCode() string

func (*GetPageRequest) GetName

func (x *GetPageRequest) GetName() string

func (*GetPageRequest) ProtoMessage

func (*GetPageRequest) ProtoMessage()

func (*GetPageRequest) ProtoReflect

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

func (*GetPageRequest) Reset

func (x *GetPageRequest) Reset()

func (*GetPageRequest) String

func (x *GetPageRequest) String() string

type GetSecuritySettingsRequest

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 deprecated

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

Deprecated: Use GetSecuritySettingsRequest.ProtoReflect.Descriptor instead.

func (*GetSecuritySettingsRequest) GetName

func (x *GetSecuritySettingsRequest) GetName() string

func (*GetSecuritySettingsRequest) ProtoMessage

func (*GetSecuritySettingsRequest) ProtoMessage()

func (*GetSecuritySettingsRequest) ProtoReflect

func (*GetSecuritySettingsRequest) Reset

func (x *GetSecuritySettingsRequest) Reset()

func (*GetSecuritySettingsRequest) String

func (x *GetSecuritySettingsRequest) String() string

type GetSessionEntityTypeRequest

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 deprecated

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

Deprecated: Use GetSessionEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*GetSessionEntityTypeRequest) GetName

func (x *GetSessionEntityTypeRequest) GetName() string

func (*GetSessionEntityTypeRequest) ProtoMessage

func (*GetSessionEntityTypeRequest) ProtoMessage()

func (*GetSessionEntityTypeRequest) ProtoReflect

func (*GetSessionEntityTypeRequest) Reset

func (x *GetSessionEntityTypeRequest) Reset()

func (*GetSessionEntityTypeRequest) String

func (x *GetSessionEntityTypeRequest) String() string

type GetTransitionRouteGroupRequest

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 deprecated

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

Deprecated: Use GetTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.

func (*GetTransitionRouteGroupRequest) GetLanguageCode

func (x *GetTransitionRouteGroupRequest) GetLanguageCode() string

func (*GetTransitionRouteGroupRequest) GetName

func (*GetTransitionRouteGroupRequest) ProtoMessage

func (*GetTransitionRouteGroupRequest) ProtoMessage()

func (*GetTransitionRouteGroupRequest) ProtoReflect

func (*GetTransitionRouteGroupRequest) Reset

func (x *GetTransitionRouteGroupRequest) Reset()

func (*GetTransitionRouteGroupRequest) String

type GetVersionRequest

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 deprecated

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

Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.

func (*GetVersionRequest) GetName

func (x *GetVersionRequest) GetName() string

func (*GetVersionRequest) ProtoMessage

func (*GetVersionRequest) ProtoMessage()

func (*GetVersionRequest) ProtoReflect

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

func (*GetVersionRequest) Reset

func (x *GetVersionRequest) Reset()

func (*GetVersionRequest) String

func (x *GetVersionRequest) String() string

type GetWebhookRequest

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 deprecated

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

Deprecated: Use GetWebhookRequest.ProtoReflect.Descriptor instead.

func (*GetWebhookRequest) GetName

func (x *GetWebhookRequest) GetName() string

func (*GetWebhookRequest) ProtoMessage

func (*GetWebhookRequest) ProtoMessage()

func (*GetWebhookRequest) ProtoReflect

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

func (*GetWebhookRequest) Reset

func (x *GetWebhookRequest) Reset()

func (*GetWebhookRequest) String

func (x *GetWebhookRequest) String() string

type InputAudioConfig

type InputAudioConfig struct {

	// Required. Audio encoding of the audio content to process.
	AudioEncoding AudioEncoding `` /* 150-byte string literal not displayed */
	// 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 `` /* 153-byte string literal not displayed */
	// 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 deprecated

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

Deprecated: Use InputAudioConfig.ProtoReflect.Descriptor instead.

func (*InputAudioConfig) GetAudioEncoding

func (x *InputAudioConfig) GetAudioEncoding() AudioEncoding

func (*InputAudioConfig) GetEnableWordInfo

func (x *InputAudioConfig) GetEnableWordInfo() bool

func (*InputAudioConfig) GetModel

func (x *InputAudioConfig) GetModel() string

func (*InputAudioConfig) GetModelVariant

func (x *InputAudioConfig) GetModelVariant() SpeechModelVariant

func (*InputAudioConfig) GetPhraseHints

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

func (*InputAudioConfig) GetSampleRateHertz

func (x *InputAudioConfig) GetSampleRateHertz() int32

func (*InputAudioConfig) GetSingleUtterance

func (x *InputAudioConfig) GetSingleUtterance() bool

func (*InputAudioConfig) ProtoMessage

func (*InputAudioConfig) ProtoMessage()

func (*InputAudioConfig) ProtoReflect

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

func (*InputAudioConfig) Reset

func (x *InputAudioConfig) Reset()

func (*InputAudioConfig) String

func (x *InputAudioConfig) String() string

type Intent

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 `` /* 153-byte string literal not displayed */
	// 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 deprecated

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

Deprecated: Use Intent.ProtoReflect.Descriptor instead.

func (*Intent) GetDescription

func (x *Intent) GetDescription() string

func (*Intent) GetDisplayName

func (x *Intent) GetDisplayName() string

func (*Intent) GetIsFallback

func (x *Intent) GetIsFallback() bool

func (*Intent) GetLabels

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

func (*Intent) GetName

func (x *Intent) GetName() string

func (*Intent) GetParameters

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

func (*Intent) GetPriority

func (x *Intent) GetPriority() int32

func (*Intent) GetTrainingPhrases

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

func (*Intent) ProtoMessage

func (*Intent) ProtoMessage()

func (*Intent) ProtoReflect

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

func (*Intent) Reset

func (x *Intent) Reset()

func (*Intent) String

func (x *Intent) String() string

type IntentInput

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 deprecated

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

Deprecated: Use IntentInput.ProtoReflect.Descriptor instead.

func (*IntentInput) GetIntent

func (x *IntentInput) GetIntent() string

func (*IntentInput) ProtoMessage

func (*IntentInput) ProtoMessage()

func (*IntentInput) ProtoReflect

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

func (*IntentInput) Reset

func (x *IntentInput) Reset()

func (*IntentInput) String

func (x *IntentInput) String() string

type IntentView

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

func (IntentView) Descriptor() protoreflect.EnumDescriptor

func (IntentView) Enum

func (x IntentView) Enum() *IntentView

func (IntentView) EnumDescriptor deprecated

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

Deprecated: Use IntentView.Descriptor instead.

func (IntentView) Number

func (x IntentView) Number() protoreflect.EnumNumber

func (IntentView) String

func (x IntentView) String() string

func (IntentView) Type

type Intent_Parameter

type Intent_Parameter struct {

	// Required. The unique identifier of the parameter. This field
	// is used by [training phrases][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase] to annotate their
	// [parts][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part].
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,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,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"`
	// Indicates whether the parameter represents a list of values.
	IsList bool `protobuf:"varint,3,opt,name=is_list,json=isList,proto3" json:"is_list,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
	// id in both request and response. The default value is false.
	Redact bool `protobuf:"varint,4,opt,name=redact,proto3" json:"redact,omitempty"`
	// contains filtered or unexported fields
}

Represents an intent parameter.

func (*Intent_Parameter) Descriptor deprecated

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

Deprecated: Use Intent_Parameter.ProtoReflect.Descriptor instead.

func (*Intent_Parameter) GetEntityType

func (x *Intent_Parameter) GetEntityType() string

func (*Intent_Parameter) GetId

func (x *Intent_Parameter) GetId() string

func (*Intent_Parameter) GetIsList

func (x *Intent_Parameter) GetIsList() bool

func (*Intent_Parameter) GetRedact

func (x *Intent_Parameter) GetRedact() bool

func (*Intent_Parameter) ProtoMessage

func (*Intent_Parameter) ProtoMessage()

func (*Intent_Parameter) ProtoReflect

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

func (*Intent_Parameter) Reset

func (x *Intent_Parameter) Reset()

func (*Intent_Parameter) String

func (x *Intent_Parameter) String() string

type Intent_TrainingPhrase

type Intent_TrainingPhrase struct {

	// Output only. The unique identifier of the training phrase.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Required. The ordered list of training phrase parts.
	// The parts are concatenated in order to form the training phrase.
	//
	// Note: The API does not automatically annotate training phrases like the
	// Dialogflow Console does.
	//
	// Note: Do not forget to include whitespace at part boundaries, so the
	// training phrase is well formatted when the parts are concatenated.
	//
	// If the training phrase does not need to be annotated with parameters,
	// you just need a single part with only the [Part.text][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part.text] field set.
	//
	// If you want to annotate the training phrase, you must create multiple
	// parts, where the fields of each part are populated in one of two ways:
	//
	// -   `Part.text` is set to a part of the phrase that has no parameters.
	// -   `Part.text` is set to a part of the phrase that you want to annotate,
	//     and the `parameter_id` field is set.
	Parts []*Intent_TrainingPhrase_Part `protobuf:"bytes,2,rep,name=parts,proto3" json:"parts,omitempty"`
	// Indicates how many times this example was added to the intent.
	RepeatCount int32 `protobuf:"varint,3,opt,name=repeat_count,json=repeatCount,proto3" json:"repeat_count,omitempty"`
	// contains filtered or unexported fields
}

Represents an example that the agent is trained on to identify the intent.

func (*Intent_TrainingPhrase) Descriptor deprecated

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

Deprecated: Use Intent_TrainingPhrase.ProtoReflect.Descriptor instead.

func (*Intent_TrainingPhrase) GetId

func (x *Intent_TrainingPhrase) GetId() string

func (*Intent_TrainingPhrase) GetParts

func (*Intent_TrainingPhrase) GetRepeatCount

func (x *Intent_TrainingPhrase) GetRepeatCount() int32

func (*Intent_TrainingPhrase) ProtoMessage

func (*Intent_TrainingPhrase) ProtoMessage()

func (*Intent_TrainingPhrase) ProtoReflect

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

func (*Intent_TrainingPhrase) Reset

func (x *Intent_TrainingPhrase) Reset()

func (*Intent_TrainingPhrase) String

func (x *Intent_TrainingPhrase) String() string

type Intent_TrainingPhrase_Part

type Intent_TrainingPhrase_Part struct {

	// Required. The text for this part.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// The [parameter][google.cloud.dialogflow.cx.v3.Intent.Parameter] used to annotate this part of the
	// training phrase. This field is required for annotated parts of the
	// training phrase.
	ParameterId string `protobuf:"bytes,2,opt,name=parameter_id,json=parameterId,proto3" json:"parameter_id,omitempty"`
	// contains filtered or unexported fields
}

Represents a part of a training phrase.

func (*Intent_TrainingPhrase_Part) Descriptor deprecated

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

Deprecated: Use Intent_TrainingPhrase_Part.ProtoReflect.Descriptor instead.

func (*Intent_TrainingPhrase_Part) GetParameterId

func (x *Intent_TrainingPhrase_Part) GetParameterId() string

func (*Intent_TrainingPhrase_Part) GetText

func (x *Intent_TrainingPhrase_Part) GetText() string

func (*Intent_TrainingPhrase_Part) ProtoMessage

func (*Intent_TrainingPhrase_Part) ProtoMessage()

func (*Intent_TrainingPhrase_Part) ProtoReflect

func (*Intent_TrainingPhrase_Part) Reset

func (x *Intent_TrainingPhrase_Part) Reset()

func (*Intent_TrainingPhrase_Part) String

func (x *Intent_TrainingPhrase_Part) String() string

type IntentsClient

type IntentsClient interface {
	// Returns the list of all intents in the specified agent.
	ListIntents(ctx context.Context, in *ListIntentsRequest, opts ...grpc.CallOption) (*ListIntentsResponse, error)
	// Retrieves the specified intent.
	GetIntent(ctx context.Context, in *GetIntentRequest, opts ...grpc.CallOption) (*Intent, error)
	// Creates an intent in the specified agent.
	CreateIntent(ctx context.Context, in *CreateIntentRequest, opts ...grpc.CallOption) (*Intent, error)
	// Updates the specified intent.
	UpdateIntent(ctx context.Context, in *UpdateIntentRequest, opts ...grpc.CallOption) (*Intent, error)
	// Deletes the specified intent.
	DeleteIntent(ctx context.Context, in *DeleteIntentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

IntentsClient is the client API for Intents service.

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

func NewIntentsClient

func NewIntentsClient(cc grpc.ClientConnInterface) IntentsClient

type IntentsServer

type IntentsServer interface {
	// Returns the list of all intents in the specified agent.
	ListIntents(context.Context, *ListIntentsRequest) (*ListIntentsResponse, error)
	// Retrieves the specified intent.
	GetIntent(context.Context, *GetIntentRequest) (*Intent, error)
	// Creates an intent in the specified agent.
	CreateIntent(context.Context, *CreateIntentRequest) (*Intent, error)
	// Updates the specified intent.
	UpdateIntent(context.Context, *UpdateIntentRequest) (*Intent, error)
	// Deletes the specified intent.
	DeleteIntent(context.Context, *DeleteIntentRequest) (*emptypb.Empty, error)
}

IntentsServer is the server API for Intents service.

type ListAgentsRequest

type ListAgentsRequest struct {

	// Required. The location to list all agents for.
	// Format: `projects/<Project ID>/locations/<Location ID>`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return in a single page. By default 100 and
	// at most 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListAgentsRequest) Descriptor deprecated

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

Deprecated: Use ListAgentsRequest.ProtoReflect.Descriptor instead.

func (*ListAgentsRequest) GetPageSize

func (x *ListAgentsRequest) GetPageSize() int32

func (*ListAgentsRequest) GetPageToken

func (x *ListAgentsRequest) GetPageToken() string

func (*ListAgentsRequest) GetParent

func (x *ListAgentsRequest) GetParent() string

func (*ListAgentsRequest) ProtoMessage

func (*ListAgentsRequest) ProtoMessage()

func (*ListAgentsRequest) ProtoReflect

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

func (*ListAgentsRequest) Reset

func (x *ListAgentsRequest) Reset()

func (*ListAgentsRequest) String

func (x *ListAgentsRequest) String() string

type ListAgentsResponse

type ListAgentsResponse struct {

	// The list of agents. There will be a maximum number of items returned based
	// on the page_size field in the request.
	Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response message for [Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents].

func (*ListAgentsResponse) Descriptor deprecated

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

Deprecated: Use ListAgentsResponse.ProtoReflect.Descriptor instead.

func (*ListAgentsResponse) GetAgents

func (x *ListAgentsResponse) GetAgents() []*Agent

func (*ListAgentsResponse) GetNextPageToken

func (x *ListAgentsResponse) GetNextPageToken() string

func (*ListAgentsResponse) ProtoMessage

func (*ListAgentsResponse) ProtoMessage()

func (*ListAgentsResponse) ProtoReflect

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

func (*ListAgentsResponse) Reset

func (x *ListAgentsResponse) Reset()

func (*ListAgentsResponse) String

func (x *ListAgentsResponse) String() string

type ListEntityTypesRequest

type ListEntityTypesRequest struct {

	// Required. The agent to list all entity types for.
	// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The language to list entity types 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"`
	// The maximum number of items to return in a single page. By default 100 and
	// at most 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous list request.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListEntityTypesRequest) Descriptor deprecated

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

Deprecated: Use ListEntityTypesRequest.ProtoReflect.Descriptor instead.

func (*ListEntityTypesRequest) GetLanguageCode

func (x *ListEntityTypesRequest) GetLanguageCode() string

func (*ListEntityTypesRequest) GetPageSize

func (x *ListEntityTypesRequest) GetPageSize() int32

func (*ListEntityTypesRequest) GetPageToken

func (x *ListEntityTypesRequest) GetPageToken() string

func (*ListEntityTypesRequest) GetParent

func (x *ListEntityTypesRequest) GetParent() string

func (*ListEntityTypesRequest) ProtoMessage

func (*ListEntityTypesRequest) ProtoMessage()

func (*ListEntityTypesRequest) ProtoReflect

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

func (*ListEntityTypesRequest) Reset

func (x *ListEntityTypesRequest) Reset()

func (*ListEntityTypesRequest) String

func (x *ListEntityTypesRequest) String() string

type ListEntityTypesResponse

type ListEntityTypesResponse struct {

	// The list of entity types. There will be a maximum number of items returned
	// based on the page_size field in the request.
	EntityTypes []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes,proto3" json:"entity_types,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no
	// more results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response message for [EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes].

func (*ListEntityTypesResponse) Descriptor deprecated

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

Deprecated: Use ListEntityTypesResponse.ProtoReflect.Descriptor instead.

func (*ListEntityTypesResponse) GetEntityTypes

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

func (*ListEntityTypesResponse) GetNextPageToken

func (x *ListEntityTypesResponse) GetNextPageToken() string

func (*ListEntityTypesResponse) ProtoMessage

func (*ListEntityTypesResponse) ProtoMessage()

func (*ListEntityTypesResponse) ProtoReflect

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

func (*ListEntityTypesResponse) Reset

func (x *ListEntityTypesResponse) Reset()

func (*ListEntityTypesResponse) String

func (x *ListEntityTypesResponse) String() string

type ListEnvironmentsRequest

type ListEnvironmentsRequest struct {

	// Required. The [Agent][google.cloud.dialogflow.cx.v3.Agent] to list all environments for.
	// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return in a single page. By default 20 and
	// at most 100.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListEnvironmentsRequest) Descriptor deprecated

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

Deprecated: Use ListEnvironmentsRequest.ProtoReflect.Descriptor instead.

func (*ListEnvironmentsRequest) GetPageSize

func (x *ListEnvironmentsRequest) GetPageSize() int32

func (*ListEnvironmentsRequest) GetPageToken

func (x *ListEnvironmentsRequest) GetPageToken() string

func (*ListEnvironmentsRequest) GetParent

func (x *ListEnvironmentsRequest) GetParent() string

func (*ListEnvironmentsRequest) ProtoMessage

func (*ListEnvironmentsRequest) ProtoMessage()

func (*ListEnvironmentsRequest) ProtoReflect

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

func (*ListEnvironmentsRequest) Reset

func (x *ListEnvironmentsRequest) Reset()

func (*ListEnvironmentsRequest) String

func (x *ListEnvironmentsRequest) String() string

type ListEnvironmentsResponse

type ListEnvironmentsResponse struct {

	// The list of environments. There will be a maximum number of items
	// returned based on the page_size field in the request. The list may in some
	// cases be empty or contain fewer entries than page_size even if this isn't
	// the last page.
	Environments []*Environment `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response message for [Environments.ListEnvironments][google.cloud.dialogflow.cx.v3.Environments.ListEnvironments].

func (*ListEnvironmentsResponse) Descriptor deprecated

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

Deprecated: Use ListEnvironmentsResponse.ProtoReflect.Descriptor instead.

func (*ListEnvironmentsResponse) GetEnvironments

func (x *ListEnvironmentsResponse) GetEnvironments() []*Environment

func (*ListEnvironmentsResponse) GetNextPageToken

func (x *ListEnvironmentsResponse) GetNextPageToken() string

func (*ListEnvironmentsResponse) ProtoMessage

func (*ListEnvironmentsResponse) ProtoMessage()

func (*ListEnvironmentsResponse) ProtoReflect

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

func (*ListEnvironmentsResponse) Reset

func (x *ListEnvironmentsResponse) Reset()

func (*ListEnvironmentsResponse) String

func (x *ListEnvironmentsResponse) String() string

type ListExperimentsRequest

type ListExperimentsRequest struct {

	// Required. The [Environment][google.cloud.dialogflow.cx.v3.Environment] to list all environments 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"`
	// The maximum number of items to return in a single page. By default 20 and
	// at most 100.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListExperimentsRequest) Descriptor deprecated

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

Deprecated: Use ListExperimentsRequest.ProtoReflect.Descriptor instead.

func (*ListExperimentsRequest) GetPageSize

func (x *ListExperimentsRequest) GetPageSize() int32

func (*ListExperimentsRequest) GetPageToken

func (x *ListExperimentsRequest) GetPageToken() string

func (*ListExperimentsRequest) GetParent

func (x *ListExperimentsRequest) GetParent() string

func (*ListExperimentsRequest) ProtoMessage

func (*ListExperimentsRequest) ProtoMessage()

func (*ListExperimentsRequest) ProtoReflect

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

func (*ListExperimentsRequest) Reset

func (x *ListExperimentsRequest) Reset()

func (*ListExperimentsRequest) String

func (x *ListExperimentsRequest) String() string

type ListExperimentsResponse

type ListExperimentsResponse struct {

	// The list of experiments. There will be a maximum number of items
	// returned based on the page_size field in the request. The list may in some
	// cases be empty or contain fewer entries than page_size even if this isn't
	// the last page.
	Experiments []*Experiment `protobuf:"bytes,1,rep,name=experiments,proto3" json:"experiments,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response message for [Experiments.ListExperiments][google.cloud.dialogflow.cx.v3.Experiments.ListExperiments].

func (*ListExperimentsResponse) Descriptor deprecated

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

Deprecated: Use ListExperimentsResponse.ProtoReflect.Descriptor instead.

func (*ListExperimentsResponse) GetExperiments

func (x *ListExperimentsResponse) GetExperiments() []*Experiment

func (*ListExperimentsResponse) GetNextPageToken

func (x *ListExperimentsResponse) GetNextPageToken() string

func (*ListExperimentsResponse) ProtoMessage

func (*ListExperimentsResponse) ProtoMessage()

func (*ListExperimentsResponse) ProtoReflect

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

func (*ListExperimentsResponse) Reset

func (x *ListExperimentsResponse) Reset()

func (*ListExperimentsResponse) String

func (x *ListExperimentsResponse) String() string

type ListFlowsRequest

type ListFlowsRequest struct {

	// Required. The agent containing the flows.
	// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return in a single page. By default 100 and
	// at most 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The language to list flows 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,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListFlowsRequest) Descriptor deprecated

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

Deprecated: Use ListFlowsRequest.ProtoReflect.Descriptor instead.

func (*ListFlowsRequest) GetLanguageCode

func (x *ListFlowsRequest) GetLanguageCode() string

func (*ListFlowsRequest) GetPageSize

func (x *ListFlowsRequest) GetPageSize() int32

func (*ListFlowsRequest) GetPageToken

func (x *ListFlowsRequest) GetPageToken() string

func (*ListFlowsRequest) GetParent

func (x *ListFlowsRequest) GetParent() string

func (*ListFlowsRequest) ProtoMessage

func (*ListFlowsRequest) ProtoMessage()

func (*ListFlowsRequest) ProtoReflect

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

func (*ListFlowsRequest) Reset

func (x *ListFlowsRequest) Reset()

func (*ListFlowsRequest) String

func (x *ListFlowsRequest) String() string

type ListFlowsResponse

type ListFlowsResponse struct {

	// The list of flows. There will be a maximum number of items returned based
	// on the page_size field in the request.
	Flows []*Flow `protobuf:"bytes,1,rep,name=flows,proto3" json:"flows,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListFlowsResponse) Descriptor deprecated

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

Deprecated: Use ListFlowsResponse.ProtoReflect.Descriptor instead.

func (*ListFlowsResponse) GetFlows

func (x *ListFlowsResponse) GetFlows() []*Flow

func (*ListFlowsResponse) GetNextPageToken

func (x *ListFlowsResponse) GetNextPageToken() string

func (*ListFlowsResponse) ProtoMessage

func (*ListFlowsResponse) ProtoMessage()

func (*ListFlowsResponse) ProtoReflect

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

func (*ListFlowsResponse) Reset

func (x *ListFlowsResponse) Reset()

func (*ListFlowsResponse) String

func (x *ListFlowsResponse) String() string

type ListIntentsRequest

type ListIntentsRequest struct {

	// Required. The agent to list all intents for.
	// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The language to list intents 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"`
	// The resource view to apply to the returned intent.
	IntentView IntentView `` /* 138-byte string literal not displayed */
	// The maximum number of items to return in a single page. By default 100 and
	// at most 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous list request.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListIntentsRequest) Descriptor deprecated

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

Deprecated: Use ListIntentsRequest.ProtoReflect.Descriptor instead.

func (*ListIntentsRequest) GetIntentView

func (x *ListIntentsRequest) GetIntentView() IntentView

func (*ListIntentsRequest) GetLanguageCode

func (x *ListIntentsRequest) GetLanguageCode() string

func (*ListIntentsRequest) GetPageSize

func (x *ListIntentsRequest) GetPageSize() int32

func (*ListIntentsRequest) GetPageToken

func (x *ListIntentsRequest) GetPageToken() string

func (*ListIntentsRequest) GetParent

func (x *ListIntentsRequest) GetParent() string

func (*ListIntentsRequest) ProtoMessage

func (*ListIntentsRequest) ProtoMessage()

func (*ListIntentsRequest) ProtoReflect

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

func (*ListIntentsRequest) Reset

func (x *ListIntentsRequest) Reset()

func (*ListIntentsRequest) String

func (x *ListIntentsRequest) String() string

type ListIntentsResponse

type ListIntentsResponse struct {

	// The list of intents. There will be a maximum number of items returned based
	// on the page_size field in the request.
	Intents []*Intent `protobuf:"bytes,1,rep,name=intents,proto3" json:"intents,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response message for [Intents.ListIntents][google.cloud.dialogflow.cx.v3.Intents.ListIntents].

func (*ListIntentsResponse) Descriptor deprecated

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

Deprecated: Use ListIntentsResponse.ProtoReflect.Descriptor instead.

func (*ListIntentsResponse) GetIntents

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

func (*ListIntentsResponse) GetNextPageToken

func (x *ListIntentsResponse) GetNextPageToken() string

func (*ListIntentsResponse) ProtoMessage

func (*ListIntentsResponse) ProtoMessage()

func (*ListIntentsResponse) ProtoReflect

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

func (*ListIntentsResponse) Reset

func (x *ListIntentsResponse) Reset()

func (*ListIntentsResponse) String

func (x *ListIntentsResponse) String() string

type ListPagesRequest

type ListPagesRequest struct {

	// Required. The flow to list all pages 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"`
	// The language to list pages 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"`
	// The maximum number of items to return in a single page. By default 100 and
	// at most 1000.
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous list request.
	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListPagesRequest) Descriptor deprecated

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

Deprecated: Use ListPagesRequest.ProtoReflect.Descriptor instead.

func (*ListPagesRequest) GetLanguageCode

func (x *ListPagesRequest) GetLanguageCode() string

func (*ListPagesRequest) GetPageSize

func (x *ListPagesRequest) GetPageSize() int32

func (*ListPagesRequest) GetPageToken

func (x *ListPagesRequest) GetPageToken() string

func (*ListPagesRequest) GetParent

func (x *ListPagesRequest) GetParent() string

func (*ListPagesRequest) ProtoMessage

func (*ListPagesRequest) ProtoMessage()

func (*ListPagesRequest) ProtoReflect

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

func (*ListPagesRequest) Reset

func (x *ListPagesRequest) Reset()

func (*ListPagesRequest) String

func (x *ListPagesRequest) String() string

type ListPagesResponse

type ListPagesResponse struct {

	// The list of pages. There will be a maximum number of items returned based
	// on the page_size field in the request.
	Pages []*Page `protobuf:"bytes,1,rep,name=pages,proto3" json:"pages,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response message for [Pages.ListPages][google.cloud.dialogflow.cx.v3.Pages.ListPages].

func (*ListPagesResponse) Descriptor deprecated

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

Deprecated: Use ListPagesResponse.ProtoReflect.Descriptor instead.

func (*ListPagesResponse) GetNextPageToken

func (x *ListPagesResponse) GetNextPageToken() string

func (*ListPagesResponse) GetPages

func (x *ListPagesResponse) GetPages() []*Page

func (*ListPagesResponse) ProtoMessage

func (*ListPagesResponse) ProtoMessage()

func (*ListPagesResponse) ProtoReflect

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

func (*ListPagesResponse) Reset

func (x *ListPagesResponse) Reset()

func (*ListPagesResponse) String

func (x *ListPagesResponse) String() string

type ListSecuritySettingsRequest

type ListSecuritySettingsRequest struct {

	// Required. The location to list all security settings for.
	// Format: `projects/<Project ID>/locations/<Location ID>`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return in a single page. By default 20 and
	// at most 100.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListSecuritySettingsRequest) Descriptor deprecated

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

Deprecated: Use ListSecuritySettingsRequest.ProtoReflect.Descriptor instead.

func (*ListSecuritySettingsRequest) GetPageSize

func (x *ListSecuritySettingsRequest) GetPageSize() int32

func (*ListSecuritySettingsRequest) GetPageToken

func (x *ListSecuritySettingsRequest) GetPageToken() string

func (*ListSecuritySettingsRequest) GetParent

func (x *ListSecuritySettingsRequest) GetParent() string

func (*ListSecuritySettingsRequest) ProtoMessage

func (*ListSecuritySettingsRequest) ProtoMessage()

func (*ListSecuritySettingsRequest) ProtoReflect

func (*ListSecuritySettingsRequest) Reset

func (x *ListSecuritySettingsRequest) Reset()

func (*ListSecuritySettingsRequest) String

func (x *ListSecuritySettingsRequest) String() string

type ListSecuritySettingsResponse

type ListSecuritySettingsResponse struct {

	// The list of security settings.
	SecuritySettings []*SecuritySettings `protobuf:"bytes,1,rep,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response message for [SecuritySettings.ListSecuritySettings][].

func (*ListSecuritySettingsResponse) Descriptor deprecated

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

Deprecated: Use ListSecuritySettingsResponse.ProtoReflect.Descriptor instead.

func (*ListSecuritySettingsResponse) GetNextPageToken

func (x *ListSecuritySettingsResponse) GetNextPageToken() string

func (*ListSecuritySettingsResponse) GetSecuritySettings

func (x *ListSecuritySettingsResponse) GetSecuritySettings() []*SecuritySettings

func (*ListSecuritySettingsResponse) ProtoMessage

func (*ListSecuritySettingsResponse) ProtoMessage()

func (*ListSecuritySettingsResponse) ProtoReflect

func (*ListSecuritySettingsResponse) Reset

func (x *ListSecuritySettingsResponse) Reset()

func (*ListSecuritySettingsResponse) String

type ListSessionEntityTypesRequest

type ListSessionEntityTypesRequest struct {

	// Required. The session to list all session entity types from.
	// 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"`
	// The maximum number of items to return in a single page. By default 100 and
	// at most 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

The request message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes].

func (*ListSessionEntityTypesRequest) Descriptor deprecated

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

Deprecated: Use ListSessionEntityTypesRequest.ProtoReflect.Descriptor instead.

func (*ListSessionEntityTypesRequest) GetPageSize

func (x *ListSessionEntityTypesRequest) GetPageSize() int32

func (*ListSessionEntityTypesRequest) GetPageToken

func (x *ListSessionEntityTypesRequest) GetPageToken() string

func (*ListSessionEntityTypesRequest) GetParent

func (x *ListSessionEntityTypesRequest) GetParent() string

func (*ListSessionEntityTypesRequest) ProtoMessage

func (*ListSessionEntityTypesRequest) ProtoMessage()

func (*ListSessionEntityTypesRequest) ProtoReflect

func (*ListSessionEntityTypesRequest) Reset

func (x *ListSessionEntityTypesRequest) Reset()

func (*ListSessionEntityTypesRequest) String

type ListSessionEntityTypesResponse

type ListSessionEntityTypesResponse struct {

	// The list of session entity types. There will be a maximum number of items
	// returned based on the page_size field in the request.
	SessionEntityTypes []*SessionEntityType `protobuf:"bytes,1,rep,name=session_entity_types,json=sessionEntityTypes,proto3" json:"session_entity_types,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no
	// more results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response message for [SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes].

func (*ListSessionEntityTypesResponse) Descriptor deprecated

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

Deprecated: Use ListSessionEntityTypesResponse.ProtoReflect.Descriptor instead.

func (*ListSessionEntityTypesResponse) GetNextPageToken

func (x *ListSessionEntityTypesResponse) GetNextPageToken() string

func (*ListSessionEntityTypesResponse) GetSessionEntityTypes

func (x *ListSessionEntityTypesResponse) GetSessionEntityTypes() []*SessionEntityType

func (*ListSessionEntityTypesResponse) ProtoMessage

func (*ListSessionEntityTypesResponse) ProtoMessage()

func (*ListSessionEntityTypesResponse) ProtoReflect

func (*ListSessionEntityTypesResponse) Reset

func (x *ListSessionEntityTypesResponse) Reset()

func (*ListSessionEntityTypesResponse) String

type ListTransitionRouteGroupsRequest

type ListTransitionRouteGroupsRequest struct {

	// Required. The flow to list all transition route groups 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"`
	// The maximum number of items to return in a single page. By default 100 and
	// at most 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,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,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListTransitionRouteGroupsRequest) Descriptor deprecated

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

Deprecated: Use ListTransitionRouteGroupsRequest.ProtoReflect.Descriptor instead.

func (*ListTransitionRouteGroupsRequest) GetLanguageCode

func (x *ListTransitionRouteGroupsRequest) GetLanguageCode() string

func (*ListTransitionRouteGroupsRequest) GetPageSize

func (x *ListTransitionRouteGroupsRequest) GetPageSize() int32

func (*ListTransitionRouteGroupsRequest) GetPageToken

func (x *ListTransitionRouteGroupsRequest) GetPageToken() string

func (*ListTransitionRouteGroupsRequest) GetParent

func (*ListTransitionRouteGroupsRequest) ProtoMessage

func (*ListTransitionRouteGroupsRequest) ProtoMessage()

func (*ListTransitionRouteGroupsRequest) ProtoReflect

func (*ListTransitionRouteGroupsRequest) Reset

func (*ListTransitionRouteGroupsRequest) String

type ListTransitionRouteGroupsResponse

type ListTransitionRouteGroupsResponse struct {

	// The list of transition route groups. There will be a maximum number of
	// items returned based on the page_size field in the request. The list may in
	// some cases be empty or contain fewer entries than page_size even if this
	// isn't the last page.
	TransitionRouteGroups []*TransitionRouteGroup `` /* 126-byte string literal not displayed */
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response message for [TransitionRouteGroups.ListTransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups].

func (*ListTransitionRouteGroupsResponse) Descriptor deprecated

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

Deprecated: Use ListTransitionRouteGroupsResponse.ProtoReflect.Descriptor instead.

func (*ListTransitionRouteGroupsResponse) GetNextPageToken

func (x *ListTransitionRouteGroupsResponse) GetNextPageToken() string

func (*ListTransitionRouteGroupsResponse) GetTransitionRouteGroups

func (x *ListTransitionRouteGroupsResponse) GetTransitionRouteGroups() []*TransitionRouteGroup

func (*ListTransitionRouteGroupsResponse) ProtoMessage

func (*ListTransitionRouteGroupsResponse) ProtoMessage()

func (*ListTransitionRouteGroupsResponse) ProtoReflect

func (*ListTransitionRouteGroupsResponse) Reset

func (*ListTransitionRouteGroupsResponse) String

type ListVersionsRequest

type ListVersionsRequest struct {

	// Required. The [Flow][google.cloud.dialogflow.cx.v3.Flow] to list all versions 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"`
	// The maximum number of items to return in a single page. By default 20 and
	// at most 100.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListVersionsRequest) Descriptor deprecated

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

Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.

func (*ListVersionsRequest) GetPageSize

func (x *ListVersionsRequest) GetPageSize() int32

func (*ListVersionsRequest) GetPageToken

func (x *ListVersionsRequest) GetPageToken() string

func (*ListVersionsRequest) GetParent

func (x *ListVersionsRequest) GetParent() string

func (*ListVersionsRequest) ProtoMessage

func (*ListVersionsRequest) ProtoMessage()

func (*ListVersionsRequest) ProtoReflect

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

func (*ListVersionsRequest) Reset

func (x *ListVersionsRequest) Reset()

func (*ListVersionsRequest) String

func (x *ListVersionsRequest) String() string

type ListVersionsResponse

type ListVersionsResponse struct {

	// A list of versions. There will be a maximum number of items returned based
	// on the page_size field in the request. The list may in some cases be empty
	// or contain fewer entries than page_size even if this isn't the last page.
	Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response message for [Versions.ListVersions][google.cloud.dialogflow.cx.v3.Versions.ListVersions].

func (*ListVersionsResponse) Descriptor deprecated

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

Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.

func (*ListVersionsResponse) GetNextPageToken

func (x *ListVersionsResponse) GetNextPageToken() string

func (*ListVersionsResponse) GetVersions

func (x *ListVersionsResponse) GetVersions() []*Version

func (*ListVersionsResponse) ProtoMessage

func (*ListVersionsResponse) ProtoMessage()

func (*ListVersionsResponse) ProtoReflect

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

func (*ListVersionsResponse) Reset

func (x *ListVersionsResponse) Reset()

func (*ListVersionsResponse) String

func (x *ListVersionsResponse) String() string

type ListWebhooksRequest

type ListWebhooksRequest struct {

	// Required. The agent to list all webhooks for.
	// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The maximum number of items to return in a single page. By default 100 and
	// at most 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListWebhooksRequest) Descriptor deprecated

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

Deprecated: Use ListWebhooksRequest.ProtoReflect.Descriptor instead.

func (*ListWebhooksRequest) GetPageSize

func (x *ListWebhooksRequest) GetPageSize() int32

func (*ListWebhooksRequest) GetPageToken

func (x *ListWebhooksRequest) GetPageToken() string

func (*ListWebhooksRequest) GetParent

func (x *ListWebhooksRequest) GetParent() string

func (*ListWebhooksRequest) ProtoMessage

func (*ListWebhooksRequest) ProtoMessage()

func (*ListWebhooksRequest) ProtoReflect

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

func (*ListWebhooksRequest) Reset

func (x *ListWebhooksRequest) Reset()

func (*ListWebhooksRequest) String

func (x *ListWebhooksRequest) String() string

type ListWebhooksResponse

type ListWebhooksResponse struct {

	// The list of webhooks. There will be a maximum number of items returned
	// based on the page_size field in the request.
	Webhooks []*Webhook `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response message for [Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks].

func (*ListWebhooksResponse) Descriptor deprecated

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

Deprecated: Use ListWebhooksResponse.ProtoReflect.Descriptor instead.

func (*ListWebhooksResponse) GetNextPageToken

func (x *ListWebhooksResponse) GetNextPageToken() string

func (*ListWebhooksResponse) GetWebhooks

func (x *ListWebhooksResponse) GetWebhooks() []*Webhook

func (*ListWebhooksResponse) ProtoMessage

func (*ListWebhooksResponse) ProtoMessage()

func (*ListWebhooksResponse) ProtoReflect

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

func (*ListWebhooksResponse) Reset

func (x *ListWebhooksResponse) Reset()

func (*ListWebhooksResponse) String

func (x *ListWebhooksResponse) String() string

type LoadVersionRequest

type LoadVersionRequest struct {

	// Required. The [Version][google.cloud.dialogflow.cx.v3.Version] to be loaded to draft 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"`
	// This field is used to prevent accidental overwrite of other agent resources
	// in the draft version, which can potentially impact other flow's behavior.
	// If `allow_override_agent_resources` is false, conflicted agent-level
	// resources will not be overridden (i.e. intents, entities, webhooks).
	AllowOverrideAgentResources bool `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*LoadVersionRequest) Descriptor deprecated

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

Deprecated: Use LoadVersionRequest.ProtoReflect.Descriptor instead.

func (*LoadVersionRequest) GetAllowOverrideAgentResources

func (x *LoadVersionRequest) GetAllowOverrideAgentResources() bool

func (*LoadVersionRequest) GetName

func (x *LoadVersionRequest) GetName() string

func (*LoadVersionRequest) ProtoMessage

func (*LoadVersionRequest) ProtoMessage()

func (*LoadVersionRequest) ProtoReflect

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

func (*LoadVersionRequest) Reset

func (x *LoadVersionRequest) Reset()

func (*LoadVersionRequest) String

func (x *LoadVersionRequest) String() string

type LookupEnvironmentHistoryRequest

type LookupEnvironmentHistoryRequest struct {

	// Required. Resource name of the environment to look up the history for.
	// 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"`
	// The maximum number of items to return in a single page. By default 100 and
	// at most 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The next_page_token value returned from a previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

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

func (*LookupEnvironmentHistoryRequest) Descriptor deprecated

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

Deprecated: Use LookupEnvironmentHistoryRequest.ProtoReflect.Descriptor instead.

func (*LookupEnvironmentHistoryRequest) GetName

func (*LookupEnvironmentHistoryRequest) GetPageSize

func (x *LookupEnvironmentHistoryRequest) GetPageSize() int32

func (*LookupEnvironmentHistoryRequest) GetPageToken

func (x *LookupEnvironmentHistoryRequest) GetPageToken() string

func (*LookupEnvironmentHistoryRequest) ProtoMessage

func (*LookupEnvironmentHistoryRequest) ProtoMessage()

func (*LookupEnvironmentHistoryRequest) ProtoReflect

func (*LookupEnvironmentHistoryRequest) Reset

func (*LookupEnvironmentHistoryRequest) String

type LookupEnvironmentHistoryResponse

type LookupEnvironmentHistoryResponse struct {

	// Represents a list of snapshots for an environment. Time of the snapshots is
	// stored in [`update_time`][google.cloud.dialogflow.cx.v3.Environment.update_time].
	Environments []*Environment `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response message for [Environments.LookupEnvironmentHistory][google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory].

func (*LookupEnvironmentHistoryResponse) Descriptor deprecated

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

Deprecated: Use LookupEnvironmentHistoryResponse.ProtoReflect.Descriptor instead.

func (*LookupEnvironmentHistoryResponse) GetEnvironments

func (x *LookupEnvironmentHistoryResponse) GetEnvironments() []*Environment

func (*LookupEnvironmentHistoryResponse) GetNextPageToken

func (x *LookupEnvironmentHistoryResponse) GetNextPageToken() string

func (*LookupEnvironmentHistoryResponse) ProtoMessage

func (*LookupEnvironmentHistoryResponse) ProtoMessage()

func (*LookupEnvironmentHistoryResponse) ProtoReflect

func (*LookupEnvironmentHistoryResponse) Reset

func (*LookupEnvironmentHistoryResponse) String

type Match

type Match struct {

	// The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the query. Some, not all fields are filled in
	// this message, including but not limited to: `name` and `display_name`. Only
	// filled for [`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type.
	Intent *Intent `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
	// The event that matched the query. Only filled for
	// [`EVENT`][google.cloud.dialogflow.cx.v3.Match.MatchType] match type.
	Event string `protobuf:"bytes,6,opt,name=event,proto3" json:"event,omitempty"`
	// The collection of parameters extracted from the query.
	//
	// Depending on your protocol or client library language, this is a
	// map, associative array, symbol table, dictionary, or JSON object
	// composed of a collection of (MapKey, MapValue) pairs:
	//
	// -   MapKey type: string
	// -   MapKey value: parameter name
	// -   MapValue type:
	//     -   If parameter's entity type is a composite entity: map
	//     -   Else: depending on parameter value type, could be one of string,
	//         number, boolean, null, list or map
	// -   MapValue value:
	//     -   If parameter's entity type is a composite entity:
	//         map from composite entity property names to property values
	//     -   Else: parameter value
	Parameters *structpb.Struct `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// Final text input which was matched during MatchIntent. This value can be
	// different from original input sent in request because of spelling
	// correction or other processing.
	ResolvedInput string `protobuf:"bytes,3,opt,name=resolved_input,json=resolvedInput,proto3" json:"resolved_input,omitempty"`
	// Type of this [Match][google.cloud.dialogflow.cx.v3.Match].
	MatchType Match_MatchType `` /* 140-byte string literal not displayed */
	// The confidence of this match. Values range from 0.0 (completely uncertain)
	// to 1.0 (completely certain).
	// This value is for informational purpose only and is only used to help match
	// the best intent within the classification threshold. This value may change
	// for the same end-user expression at any time due to a model retraining or
	// change in implementation.
	Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// contains filtered or unexported fields
}

Represents one match result of [MatchIntent][].

func (*Match) Descriptor deprecated

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

Deprecated: Use Match.ProtoReflect.Descriptor instead.

func (*Match) GetConfidence

func (x *Match) GetConfidence() float32

func (*Match) GetEvent

func (x *Match) GetEvent() string

func (*Match) GetIntent

func (x *Match) GetIntent() *Intent

func (*Match) GetMatchType

func (x *Match) GetMatchType() Match_MatchType

func (*Match) GetParameters

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

func (*Match) GetResolvedInput

func (x *Match) GetResolvedInput() string

func (*Match) ProtoMessage

func (*Match) ProtoMessage()

func (*Match) ProtoReflect

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

func (*Match) Reset

func (x *Match) Reset()

func (*Match) String

func (x *Match) String() string

type MatchIntentRequest

type MatchIntentRequest 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).
	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"`
	// contains filtered or unexported fields
}

Request of [MatchIntent][].

func (*MatchIntentRequest) Descriptor deprecated

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

Deprecated: Use MatchIntentRequest.ProtoReflect.Descriptor instead.

func (*MatchIntentRequest) GetQueryInput

func (x *MatchIntentRequest) GetQueryInput() *QueryInput

func (*MatchIntentRequest) GetQueryParams

func (x *MatchIntentRequest) GetQueryParams() *QueryParameters

func (*MatchIntentRequest) GetSession

func (x *MatchIntentRequest) GetSession() string

func (*MatchIntentRequest) ProtoMessage

func (*MatchIntentRequest) ProtoMessage()

func (*MatchIntentRequest) ProtoReflect

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

func (*MatchIntentRequest) Reset

func (x *MatchIntentRequest) Reset()

func (*MatchIntentRequest) String

func (x *MatchIntentRequest) String() string

type MatchIntentResponse

type MatchIntentResponse struct {

	// The original conversational query.
	//
	// Types that are assignable to Query:
	//	*MatchIntentResponse_Text
	//	*MatchIntentResponse_TriggerIntent
	//	*MatchIntentResponse_Transcript
	//	*MatchIntentResponse_TriggerEvent
	Query isMatchIntentResponse_Query `protobuf_oneof:"query"`
	// Match results, if more than one, ordered descendingly by the confidence
	// we have that the particular intent matches the query.
	Matches []*Match `protobuf:"bytes,4,rep,name=matches,proto3" json:"matches,omitempty"`
	// The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message,
	// including but not limited to `name` and `display_name`.
	CurrentPage *Page `protobuf:"bytes,5,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"`
	// contains filtered or unexported fields
}

Response of [MatchIntent][].

func (*MatchIntentResponse) Descriptor deprecated

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

Deprecated: Use MatchIntentResponse.ProtoReflect.Descriptor instead.

func (*MatchIntentResponse) GetCurrentPage

func (x *MatchIntentResponse) GetCurrentPage() *Page

func (*MatchIntentResponse) GetMatches

func (x *MatchIntentResponse) GetMatches() []*Match

func (*MatchIntentResponse) GetQuery

func (m *MatchIntentResponse) GetQuery() isMatchIntentResponse_Query

func (*MatchIntentResponse) GetText

func (x *MatchIntentResponse) GetText() string

func (*MatchIntentResponse) GetTranscript

func (x *MatchIntentResponse) GetTranscript() string

func (*MatchIntentResponse) GetTriggerEvent

func (x *MatchIntentResponse) GetTriggerEvent() string

func (*MatchIntentResponse) GetTriggerIntent

func (x *MatchIntentResponse) GetTriggerIntent() string

func (*MatchIntentResponse) ProtoMessage

func (*MatchIntentResponse) ProtoMessage()

func (*MatchIntentResponse) ProtoReflect

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

func (*MatchIntentResponse) Reset

func (x *MatchIntentResponse) Reset()

func (*MatchIntentResponse) String

func (x *MatchIntentResponse) String() string

type MatchIntentResponse_Text

type MatchIntentResponse_Text struct {
	// If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
	// will contain a copy of the text.
	Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}

type MatchIntentResponse_Transcript

type MatchIntentResponse_Transcript struct {
	// If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
	// this field will contain the trascript for the audio.
	Transcript string `protobuf:"bytes,3,opt,name=transcript,proto3,oneof"`
}

type MatchIntentResponse_TriggerEvent

type MatchIntentResponse_TriggerEvent struct {
	// If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will
	// contain a copy of the event name.
	TriggerEvent string `protobuf:"bytes,6,opt,name=trigger_event,json=triggerEvent,proto3,oneof"`
}

type MatchIntentResponse_TriggerIntent

type MatchIntentResponse_TriggerIntent struct {
	// If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
	// contain a copy of the intent identifier.
	TriggerIntent string `protobuf:"bytes,2,opt,name=trigger_intent,json=triggerIntent,proto3,oneof"`
}

type Match_MatchType

type Match_MatchType int32

Type of a Match.

const (
	// Not specified. Should never be used.
	Match_MATCH_TYPE_UNSPECIFIED Match_MatchType = 0
	// The query was matched to an intent.
	Match_INTENT Match_MatchType = 1
	// The query directly triggered an intent.
	Match_DIRECT_INTENT Match_MatchType = 2
	// The query was used for parameter filling.
	Match_PARAMETER_FILLING Match_MatchType = 3
	// No match was found for the query.
	Match_NO_MATCH Match_MatchType = 4
	// Indicates an empty query.
	Match_NO_INPUT Match_MatchType = 5
	// The query directly triggered an event.
	Match_EVENT Match_MatchType = 6
)

func (Match_MatchType) Descriptor

func (Match_MatchType) Enum

func (x Match_MatchType) Enum() *Match_MatchType

func (Match_MatchType) EnumDescriptor deprecated

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

Deprecated: Use Match_MatchType.Descriptor instead.

func (Match_MatchType) Number

func (Match_MatchType) String

func (x Match_MatchType) String() string

func (Match_MatchType) Type

type NluSettings

type NluSettings struct {

	// Indicates the type of NLU model.
	ModelType NluSettings_ModelType `` /* 146-byte string literal not displayed */
	// To filter out false positive results and still get variety in matched
	// natural language inputs for your agent, you can tune the machine learning
	// classification threshold. If the returned score value is less than the
	// threshold value, then a no-match event will be triggered. The score values
	// range from 0.0 (completely uncertain) to 1.0 (completely certain). If set
	// to 0.0, the default of 0.3 is used.
	ClassificationThreshold float32 `` /* 132-byte string literal not displayed */
	// Indicates NLU model training mode.
	ModelTrainingMode NluSettings_ModelTrainingMode `` /* 180-byte string literal not displayed */
	// contains filtered or unexported fields
}

Settings related to NLU.

func (*NluSettings) Descriptor deprecated

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

Deprecated: Use NluSettings.ProtoReflect.Descriptor instead.

func (*NluSettings) GetClassificationThreshold

func (x *NluSettings) GetClassificationThreshold() float32

func (*NluSettings) GetModelTrainingMode

func (x *NluSettings) GetModelTrainingMode() NluSettings_ModelTrainingMode

func (*NluSettings) GetModelType

func (x *NluSettings) GetModelType() NluSettings_ModelType

func (*NluSettings) ProtoMessage

func (*NluSettings) ProtoMessage()

func (*NluSettings) ProtoReflect

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

func (*NluSettings) Reset

func (x *NluSettings) Reset()

func (*NluSettings) String

func (x *NluSettings) String() string

type NluSettings_ModelTrainingMode

type NluSettings_ModelTrainingMode int32

NLU model training mode.

const (
	// Not specified. `MODEL_TRAINING_MODE_AUTOMATIC` will be used.
	NluSettings_MODEL_TRAINING_MODE_UNSPECIFIED NluSettings_ModelTrainingMode = 0
	// NLU model training is automatically triggered when a flow gets modified.
	// User can also manually trigger model training in this mode.
	NluSettings_MODEL_TRAINING_MODE_AUTOMATIC NluSettings_ModelTrainingMode = 1
	// User needs to manually trigger NLU model training. Best for large flows
	// whose models take long time to train.
	NluSettings_MODEL_TRAINING_MODE_MANUAL NluSettings_ModelTrainingMode = 2
)

func (NluSettings_ModelTrainingMode) Descriptor

func (NluSettings_ModelTrainingMode) Enum

func (NluSettings_ModelTrainingMode) EnumDescriptor deprecated

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

Deprecated: Use NluSettings_ModelTrainingMode.Descriptor instead.

func (NluSettings_ModelTrainingMode) Number

func (NluSettings_ModelTrainingMode) String

func (NluSettings_ModelTrainingMode) Type

type NluSettings_ModelType

type NluSettings_ModelType int32

NLU model type.

const (
	// Not specified. `MODEL_TYPE_STANDARD` will be used.
	NluSettings_MODEL_TYPE_UNSPECIFIED NluSettings_ModelType = 0
	// Use standard NLU model.
	NluSettings_MODEL_TYPE_STANDARD NluSettings_ModelType = 1
	// Use advanced NLU model.
	NluSettings_MODEL_TYPE_ADVANCED NluSettings_ModelType = 3
)

func (NluSettings_ModelType) Descriptor

func (NluSettings_ModelType) Enum

func (NluSettings_ModelType) EnumDescriptor deprecated

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

Deprecated: Use NluSettings_ModelType.Descriptor instead.

func (NluSettings_ModelType) Number

func (NluSettings_ModelType) String

func (x NluSettings_ModelType) String() string

func (NluSettings_ModelType) Type

type OutputAudioConfig

type OutputAudioConfig struct {

	// Required. Audio encoding of the synthesized audio content.
	AudioEncoding OutputAudioEncoding `` /* 156-byte string literal not displayed */
	// Optional. The synthesis sample rate (in hertz) for this audio. If not
	// provided, then the synthesizer will use the default sample rate based on
	// the audio encoding. If this is different from the voice's natural sample
	// rate, then the synthesizer will honor this request by converting to the
	// desired sample rate (which might result in worse audio quality).
	SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
	// Optional. Configuration of how speech should be synthesized.
	SynthesizeSpeechConfig *SynthesizeSpeechConfig `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

Instructs the speech synthesizer how to generate the output audio content.

func (*OutputAudioConfig) Descriptor deprecated

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

Deprecated: Use OutputAudioConfig.ProtoReflect.Descriptor instead.

func (*OutputAudioConfig) GetAudioEncoding

func (x *OutputAudioConfig) GetAudioEncoding() OutputAudioEncoding

func (*OutputAudioConfig) GetSampleRateHertz

func (x *OutputAudioConfig) GetSampleRateHertz() int32

func (*OutputAudioConfig) GetSynthesizeSpeechConfig

func (x *OutputAudioConfig) GetSynthesizeSpeechConfig() *SynthesizeSpeechConfig

func (*OutputAudioConfig) ProtoMessage

func (*OutputAudioConfig) ProtoMessage()

func (*OutputAudioConfig) ProtoReflect

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

func (*OutputAudioConfig) Reset

func (x *OutputAudioConfig) Reset()

func (*OutputAudioConfig) String

func (x *OutputAudioConfig) String() string

type OutputAudioEncoding

type OutputAudioEncoding int32

Audio encoding of the output audio format in Text-To-Speech.

const (
	// Not specified.
	OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_UNSPECIFIED OutputAudioEncoding = 0
	// Uncompressed 16-bit signed little-endian samples (Linear PCM).
	// Audio content returned as LINEAR16 also contains a WAV header.
	OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_LINEAR_16 OutputAudioEncoding = 1
	// MP3 audio at 32kbps.
	OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3 OutputAudioEncoding = 2
	// MP3 audio at 64kbps.
	OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MP3_64_KBPS OutputAudioEncoding = 4
	// Opus encoded audio wrapped in an ogg container. The result will be a
	// file which can be played natively on Android, and in browsers (at least
	// Chrome and Firefox). The quality of the encoding is considerably higher
	// than MP3 while using approximately the same bitrate.
	OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_OGG_OPUS OutputAudioEncoding = 3
	// 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.
	OutputAudioEncoding_OUTPUT_AUDIO_ENCODING_MULAW OutputAudioEncoding = 5
)

func (OutputAudioEncoding) Descriptor

func (OutputAudioEncoding) Enum

func (OutputAudioEncoding) EnumDescriptor deprecated

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

Deprecated: Use OutputAudioEncoding.Descriptor instead.

func (OutputAudioEncoding) Number

func (OutputAudioEncoding) String

func (x OutputAudioEncoding) String() string

func (OutputAudioEncoding) Type

type Page

type Page struct {

	// The unique identifier of the page.
	// Required for the [Pages.UpdatePage][google.cloud.dialogflow.cx.v3.Pages.UpdatePage] method. [Pages.CreatePage][google.cloud.dialogflow.cx.v3.Pages.CreatePage]
	// populates the name automatically.
	// 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"`
	// Required. The human-readable name of the page, unique within the agent.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The fulfillment to call when the session is entering the page.
	EntryFulfillment *Fulfillment `protobuf:"bytes,7,opt,name=entry_fulfillment,json=entryFulfillment,proto3" json:"entry_fulfillment,omitempty"`
	// The form associated with the page, used for collecting parameters
	// relevant to the page.
	Form *Form `protobuf:"bytes,4,opt,name=form,proto3" json:"form,omitempty"`
	// Ordered list of [`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] associated
	// with the page. Transition route groups must be unique within a page.
	//
	// *   If multiple transition routes within a page scope refer to the same
	//     intent, then the precedence order is: page's transition route -> page's
	//     transition route group -> flow's transition routes.
	//
	// *   If multiple transition route groups within a page contain the same
	//     intent, then the first group in the ordered list takes precedence.
	//
	// Format:`projects/<Project ID>/locations/<Location ID>/agents/<Agent
	// ID>/flows/<Flow ID>/transitionRouteGroups/<TransitionRouteGroup ID>`.
	TransitionRouteGroups []string `` /* 127-byte string literal not displayed */
	// A list of transitions for the transition rules of this page.
	// They route the conversation to another page in the same flow, or another
	// flow.
	//
	// When we are in a certain page, the TransitionRoutes are evalauted in the
	// following order:
	//
	// *   TransitionRoutes defined in the page with intent specified.
	// *   TransitionRoutes defined in the
	// [transition route groups][google.cloud.dialogflow.cx.v3.Page.transition_route_groups].
	// *   TransitionRoutes defined in flow with intent specified.
	// *   TransitionRoutes defined in the page with only condition specified.
	TransitionRoutes []*TransitionRoute `protobuf:"bytes,9,rep,name=transition_routes,json=transitionRoutes,proto3" json:"transition_routes,omitempty"`
	// Handlers associated with the page to handle events such as webhook errors,
	// no match or no input.
	EventHandlers []*EventHandler `protobuf:"bytes,10,rep,name=event_handlers,json=eventHandlers,proto3" json:"event_handlers,omitempty"`
	// contains filtered or unexported fields
}

A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages.

For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page.

You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page.

For more information, see the [Page guide](https://cloud.google.com/dialogflow/cx/docs/concept/page).

func (*Page) Descriptor deprecated

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

Deprecated: Use Page.ProtoReflect.Descriptor instead.

func (*Page) GetDisplayName

func (x *Page) GetDisplayName() string

func (*Page) GetEntryFulfillment

func (x *Page) GetEntryFulfillment() *Fulfillment

func (*Page) GetEventHandlers

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

func (*Page) GetForm

func (x *Page) GetForm() *Form

func (*Page) GetName

func (x *Page) GetName() string

func (*Page) GetTransitionRouteGroups

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

func (*Page) GetTransitionRoutes

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

func (*Page) ProtoMessage

func (*Page) ProtoMessage()

func (*Page) ProtoReflect

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

func (*Page) Reset

func (x *Page) Reset()

func (*Page) String

func (x *Page) String() string

type PageInfo

type PageInfo struct {

	// Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
	// The unique identifier of the current page.
	// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
	// ID>/flows/<Flow ID>/pages/<Page ID>`.
	CurrentPage string `protobuf:"bytes,1,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"`
	// Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
	// Information about the form.
	FormInfo *PageInfo_FormInfo `protobuf:"bytes,3,opt,name=form_info,json=formInfo,proto3" json:"form_info,omitempty"`
	// contains filtered or unexported fields
}

Represents page information communicated to and from the webhook.

func (*PageInfo) Descriptor deprecated

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

Deprecated: Use PageInfo.ProtoReflect.Descriptor instead.

func (*PageInfo) GetCurrentPage

func (x *PageInfo) GetCurrentPage() string

func (*PageInfo) GetFormInfo

func (x *PageInfo) GetFormInfo() *PageInfo_FormInfo

func (*PageInfo) ProtoMessage

func (*PageInfo) ProtoMessage()

func (*PageInfo) ProtoReflect

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

func (*PageInfo) Reset

func (x *PageInfo) Reset()

func (*PageInfo) String

func (x *PageInfo) String() string

type PageInfo_FormInfo

type PageInfo_FormInfo struct {

	// Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
	// The parameters contained in the form. Note that the webhook cannot add
	// or remove any form parameter.
	ParameterInfo []*PageInfo_FormInfo_ParameterInfo `protobuf:"bytes,2,rep,name=parameter_info,json=parameterInfo,proto3" json:"parameter_info,omitempty"`
	// contains filtered or unexported fields
}

Represents form information.

func (*PageInfo_FormInfo) Descriptor deprecated

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

Deprecated: Use PageInfo_FormInfo.ProtoReflect.Descriptor instead.

func (*PageInfo_FormInfo) GetParameterInfo

func (x *PageInfo_FormInfo) GetParameterInfo() []*PageInfo_FormInfo_ParameterInfo

func (*PageInfo_FormInfo) ProtoMessage

func (*PageInfo_FormInfo) ProtoMessage()

func (*PageInfo_FormInfo) ProtoReflect

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

func (*PageInfo_FormInfo) Reset

func (x *PageInfo_FormInfo) Reset()

func (*PageInfo_FormInfo) String

func (x *PageInfo_FormInfo) String() string

type PageInfo_FormInfo_ParameterInfo

type PageInfo_FormInfo_ParameterInfo struct {

	// Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
	// [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
	// The human-readable name of the parameter, unique within the form. This
	// field cannot be modified by the webhook.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
	// 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"`
	// Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Required for
	// [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The state of the parameter. This field can be set
	// to [INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID] by
	// the webhook to invalidate the parameter; other values set by the
	// webhook will be ignored.
	State PageInfo_FormInfo_ParameterInfo_ParameterState `` /* 146-byte string literal not displayed */
	// Optional for both [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest] and [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
	// The value of the parameter. This field can be set by the webhook to
	// change the parameter value.
	Value *structpb.Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
	// Indicates if the parameter value was just collected on the last
	// conversation turn.
	JustCollected bool `protobuf:"varint,5,opt,name=just_collected,json=justCollected,proto3" json:"just_collected,omitempty"`
	// contains filtered or unexported fields
}

Represents parameter information.

func (*PageInfo_FormInfo_ParameterInfo) Descriptor deprecated

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

Deprecated: Use PageInfo_FormInfo_ParameterInfo.ProtoReflect.Descriptor instead.

func (*PageInfo_FormInfo_ParameterInfo) GetDisplayName

func (x *PageInfo_FormInfo_ParameterInfo) GetDisplayName() string

func (*PageInfo_FormInfo_ParameterInfo) GetJustCollected

func (x *PageInfo_FormInfo_ParameterInfo) GetJustCollected() bool

func (*PageInfo_FormInfo_ParameterInfo) GetRequired

func (x *PageInfo_FormInfo_ParameterInfo) GetRequired() bool

func (*PageInfo_FormInfo_ParameterInfo) GetState

func (*PageInfo_FormInfo_ParameterInfo) GetValue

func (*PageInfo_FormInfo_ParameterInfo) ProtoMessage

func (*PageInfo_FormInfo_ParameterInfo) ProtoMessage()

func (*PageInfo_FormInfo_ParameterInfo) ProtoReflect

func (*PageInfo_FormInfo_ParameterInfo) Reset

func (*PageInfo_FormInfo_ParameterInfo) String

type PageInfo_FormInfo_ParameterInfo_ParameterState

type PageInfo_FormInfo_ParameterInfo_ParameterState int32

Represents the state of a parameter.

const (
	// Not specified. This value should be never used.
	PageInfo_FormInfo_ParameterInfo_PARAMETER_STATE_UNSPECIFIED PageInfo_FormInfo_ParameterInfo_ParameterState = 0
	// Indicates that the parameter does not have a value.
	PageInfo_FormInfo_ParameterInfo_EMPTY PageInfo_FormInfo_ParameterInfo_ParameterState = 1
	// Indicates that the parameter value is invalid. This field can be used
	// by the webhook to invalidate the parameter and ask the server to
	// collect it from the user again.
	PageInfo_FormInfo_ParameterInfo_INVALID PageInfo_FormInfo_ParameterInfo_ParameterState = 2
	// Indicates that the parameter has a value.
	PageInfo_FormInfo_ParameterInfo_FILLED PageInfo_FormInfo_ParameterInfo_ParameterState = 3
)

func (PageInfo_FormInfo_ParameterInfo_ParameterState) Descriptor

func (PageInfo_FormInfo_ParameterInfo_ParameterState) Enum

func (PageInfo_FormInfo_ParameterInfo_ParameterState) EnumDescriptor deprecated

Deprecated: Use PageInfo_FormInfo_ParameterInfo_ParameterState.Descriptor instead.

func (PageInfo_FormInfo_ParameterInfo_ParameterState) Number

func (PageInfo_FormInfo_ParameterInfo_ParameterState) String

func (PageInfo_FormInfo_ParameterInfo_ParameterState) Type

type PagesClient

type PagesClient interface {
	// Returns the list of all pages in the specified flow.
	ListPages(ctx context.Context, in *ListPagesRequest, opts ...grpc.CallOption) (*ListPagesResponse, error)
	// Retrieves the specified page.
	GetPage(ctx context.Context, in *GetPageRequest, opts ...grpc.CallOption) (*Page, error)
	// Creates a page in the specified flow.
	CreatePage(ctx context.Context, in *CreatePageRequest, opts ...grpc.CallOption) (*Page, error)
	// Updates the specified page.
	UpdatePage(ctx context.Context, in *UpdatePageRequest, opts ...grpc.CallOption) (*Page, error)
	// Deletes the specified page.
	DeletePage(ctx context.Context, in *DeletePageRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

PagesClient is the client API for Pages service.

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

func NewPagesClient

func NewPagesClient(cc grpc.ClientConnInterface) PagesClient

type PagesServer

type PagesServer interface {
	// Returns the list of all pages in the specified flow.
	ListPages(context.Context, *ListPagesRequest) (*ListPagesResponse, error)
	// Retrieves the specified page.
	GetPage(context.Context, *GetPageRequest) (*Page, error)
	// Creates a page in the specified flow.
	CreatePage(context.Context, *CreatePageRequest) (*Page, error)
	// Updates the specified page.
	UpdatePage(context.Context, *UpdatePageRequest) (*Page, error)
	// Deletes the specified page.
	DeletePage(context.Context, *DeletePageRequest) (*emptypb.Empty, error)
}

PagesServer is the server API for Pages service.

type QueryInput

type QueryInput struct {

	// Required. The input specification.
	//
	// Types that are assignable to Input:
	//	*QueryInput_Text
	//	*QueryInput_Intent
	//	*QueryInput_Audio
	//	*QueryInput_Event
	//	*QueryInput_Dtmf
	Input isQueryInput_Input `protobuf_oneof:"input"`
	// Required. The language of the input. See [Language
	// Support](https://cloud.google.com/dialogflow/docs/reference/language) for a
	// list of the currently supported language codes. Note that queries in the
	// same session do not necessarily need to specify the same language.
	LanguageCode string `protobuf:"bytes,4,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// contains filtered or unexported fields
}

Represents the query input. It can contain one of:

1. A conversational query in the form of text.

2. An intent query that specifies which intent to trigger.

3. Natural language speech audio to be processed.

4. An event to be triggered.

func (*QueryInput) Descriptor deprecated

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

Deprecated: Use QueryInput.ProtoReflect.Descriptor instead.

func (*QueryInput) GetAudio

func (x *QueryInput) GetAudio() *AudioInput

func (*QueryInput) GetDtmf

func (x *QueryInput) GetDtmf() *DtmfInput

func (*QueryInput) GetEvent

func (x *QueryInput) GetEvent() *EventInput

func (*QueryInput) GetInput

func (m *QueryInput) GetInput() isQueryInput_Input

func (*QueryInput) GetIntent

func (x *QueryInput) GetIntent() *IntentInput

func (*QueryInput) GetLanguageCode

func (x *QueryInput) GetLanguageCode() string

func (*QueryInput) GetText

func (x *QueryInput) GetText() *TextInput

func (*QueryInput) ProtoMessage

func (*QueryInput) ProtoMessage()

func (*QueryInput) ProtoReflect

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

func (*QueryInput) Reset

func (x *QueryInput) Reset()

func (*QueryInput) String

func (x *QueryInput) String() string

type QueryInput_Audio

type QueryInput_Audio struct {
	// The natural language speech audio to be processed.
	Audio *AudioInput `protobuf:"bytes,5,opt,name=audio,proto3,oneof"`
}

type QueryInput_Dtmf

type QueryInput_Dtmf struct {
	// The DTMF event to be handled.
	Dtmf *DtmfInput `protobuf:"bytes,7,opt,name=dtmf,proto3,oneof"`
}

type QueryInput_Event

type QueryInput_Event struct {
	// The event to be triggered.
	Event *EventInput `protobuf:"bytes,6,opt,name=event,proto3,oneof"`
}

type QueryInput_Intent

type QueryInput_Intent struct {
	// The intent to be triggered.
	Intent *IntentInput `protobuf:"bytes,3,opt,name=intent,proto3,oneof"`
}

type QueryInput_Text

type QueryInput_Text struct {
	// The natural language text to be processed.
	Text *TextInput `protobuf:"bytes,2,opt,name=text,proto3,oneof"`
}

type QueryParameters

type QueryParameters struct {

	// The time zone of this conversational query from the [time zone
	// database](https://www.iana.org/time-zones), e.g., America/New_York,
	// Europe/Paris. If not provided, the time zone specified in the agent is
	// used.
	TimeZone string `protobuf:"bytes,1,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
	// The geo location of this conversational query.
	GeoLocation *latlng.LatLng `protobuf:"bytes,2,opt,name=geo_location,json=geoLocation,proto3" json:"geo_location,omitempty"`
	// Additional session entity types to replace or extend developer entity types
	// with. The entity synonyms apply to all languages and persist for the
	// session of this query.
	SessionEntityTypes []*SessionEntityType `protobuf:"bytes,3,rep,name=session_entity_types,json=sessionEntityTypes,proto3" json:"session_entity_types,omitempty"`
	// This field can be used to pass custom data into the webhook associated with
	// the agent. Arbitrary JSON objects are supported.
	Payload *structpb.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	// Additional parameters to be put into [session
	// parameters][SessionInfo.parameters]. To remove a
	// parameter from the session, clients should explicitly set the parameter
	// value to null.
	//
	// Depending on your protocol or client library language, this is a
	// map, associative array, symbol table, dictionary, or JSON object
	// composed of a collection of (MapKey, MapValue) pairs:
	//
	// -   MapKey type: string
	// -   MapKey value: parameter name
	// -   MapValue type:
	//     -   If parameter's entity type is a composite entity: map
	//     -   Else: depending on parameter value type, could be one of string,
	//         number, boolean, null, list or map
	// -   MapValue value:
	//     -   If parameter's entity type is a composite entity:
	//         map from composite entity property names to property values
	//     -   Else: parameter value
	Parameters *structpb.Struct `protobuf:"bytes,5,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// Configures whether sentiment analysis should be performed. If not
	// provided, sentiment analysis is not performed.
	AnalyzeQueryTextSentiment bool `` /* 141-byte string literal not displayed */
	// This field can be used to pass HTTP headers for a webhook
	// call. These headers will be sent to webhook along with the headers that
	// have been configured through Dialogflow web console. The headers defined
	// within this field will overwrite the headers configured through Dialogflow
	// console if there is a conflict. Header names are case-insensitive.
	// Google's specified headers are not allowed. Including: "Host",
	// "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding",
	// "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc.
	WebhookHeaders map[string]string `` /* 192-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents the parameters of a conversational query.

func (*QueryParameters) Descriptor deprecated

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

Deprecated: Use QueryParameters.ProtoReflect.Descriptor instead.

func (*QueryParameters) GetAnalyzeQueryTextSentiment

func (x *QueryParameters) GetAnalyzeQueryTextSentiment() bool

func (*QueryParameters) GetGeoLocation

func (x *QueryParameters) GetGeoLocation() *latlng.LatLng

func (*QueryParameters) GetParameters

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

func (*QueryParameters) GetPayload

func (x *QueryParameters) GetPayload() *structpb.Struct

func (*QueryParameters) GetSessionEntityTypes

func (x *QueryParameters) GetSessionEntityTypes() []*SessionEntityType

func (*QueryParameters) GetTimeZone

func (x *QueryParameters) GetTimeZone() string

func (*QueryParameters) GetWebhookHeaders

func (x *QueryParameters) GetWebhookHeaders() map[string]string

func (*QueryParameters) ProtoMessage

func (*QueryParameters) ProtoMessage()

func (*QueryParameters) ProtoReflect

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

func (*QueryParameters) Reset

func (x *QueryParameters) Reset()

func (*QueryParameters) String

func (x *QueryParameters) String() string

type QueryResult

type QueryResult struct {

	// The original conversational query.
	//
	// Types that are assignable to Query:
	//	*QueryResult_Text
	//	*QueryResult_TriggerIntent
	//	*QueryResult_Transcript
	//	*QueryResult_TriggerEvent
	Query isQueryResult_Query `protobuf_oneof:"query"`
	// The language that was triggered during intent detection.
	// See [Language
	// Support](https://cloud.google.com/dialogflow/docs/reference/language)
	// for a list of the currently supported language codes.
	LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// The collected [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
	//
	// Depending on your protocol or client library language, this is a
	// map, associative array, symbol table, dictionary, or JSON object
	// composed of a collection of (MapKey, MapValue) pairs:
	//
	// -   MapKey type: string
	// -   MapKey value: parameter name
	// -   MapValue type:
	//     -   If parameter's entity type is a composite entity: map
	//     -   Else: depending on parameter value type, could be one of string,
	//         number, boolean, null, list or map
	// -   MapValue value:
	//     -   If parameter's entity type is a composite entity:
	//         map from composite entity property names to property values
	//     -   Else: parameter value
	Parameters *structpb.Struct `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty"`
	// The list of rich messages returned to the client. Responses vary from
	// simple text messages to more sophisticated, structured payloads used
	// to drive complex logic.
	ResponseMessages []*ResponseMessage `protobuf:"bytes,4,rep,name=response_messages,json=responseMessages,proto3" json:"response_messages,omitempty"`
	// The list of webhook call status in the order of call sequence.
	WebhookStatuses []*status.Status `protobuf:"bytes,13,rep,name=webhook_statuses,json=webhookStatuses,proto3" json:"webhook_statuses,omitempty"`
	// The list of webhook payload in [WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload], in
	// the order of call sequence. If some webhook call fails or doesn't return
	// any payload, an empty `Struct` would be used instead.
	WebhookPayloads []*structpb.Struct `protobuf:"bytes,6,rep,name=webhook_payloads,json=webhookPayloads,proto3" json:"webhook_payloads,omitempty"`
	// The current [Page][google.cloud.dialogflow.cx.v3.Page]. Some, not all fields are filled in this message,
	// including but not limited to `name` and `display_name`.
	CurrentPage *Page `protobuf:"bytes,7,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"`
	// The [Intent][google.cloud.dialogflow.cx.v3.Intent] that matched the conversational query. Some, not all fields
	// are filled in this message, including but not limited to: `name` and
	// `display_name`.
	// This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead.
	//
	// Deprecated: Do not use.
	Intent *Intent `protobuf:"bytes,8,opt,name=intent,proto3" json:"intent,omitempty"`
	// The intent detection confidence. Values range from 0.0 (completely
	// uncertain) to 1.0 (completely certain).
	// This value is for informational purpose only and is only used to
	// help match the best intent within the classification threshold.
	// This value may change for the same end-user expression at any time due to a
	// model retraining or change in implementation.
	// This field is deprecated, please use [QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match] instead.
	//
	// Deprecated: Do not use.
	IntentDetectionConfidence float32 `` /* 140-byte string literal not displayed */
	// Intent match result, could be an intent or an event.
	Match *Match `protobuf:"bytes,15,opt,name=match,proto3" json:"match,omitempty"`
	// The free-form diagnostic info. For example, this field could contain
	// webhook call latency. The string keys of the Struct's fields map can change
	// without notice.
	DiagnosticInfo *structpb.Struct `protobuf:"bytes,10,opt,name=diagnostic_info,json=diagnosticInfo,proto3" json:"diagnostic_info,omitempty"`
	// The sentiment analyss result, which depends on
	// [`analyze_query_text_sentiment`]
	// [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
	SentimentAnalysisResult *SentimentAnalysisResult `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents the result of a conversational query.

func (*QueryResult) Descriptor deprecated

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

Deprecated: Use QueryResult.ProtoReflect.Descriptor instead.

func (*QueryResult) GetCurrentPage

func (x *QueryResult) GetCurrentPage() *Page

func (*QueryResult) GetDiagnosticInfo

func (x *QueryResult) GetDiagnosticInfo() *structpb.Struct

func (*QueryResult) GetIntent deprecated

func (x *QueryResult) GetIntent() *Intent

Deprecated: Do not use.

func (*QueryResult) GetIntentDetectionConfidence deprecated

func (x *QueryResult) GetIntentDetectionConfidence() float32

Deprecated: Do not use.

func (*QueryResult) GetLanguageCode

func (x *QueryResult) GetLanguageCode() string

func (*QueryResult) GetMatch

func (x *QueryResult) GetMatch() *Match

func (*QueryResult) GetParameters

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

func (*QueryResult) GetQuery

func (m *QueryResult) GetQuery() isQueryResult_Query

func (*QueryResult) GetResponseMessages

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

func (*QueryResult) GetSentimentAnalysisResult

func (x *QueryResult) GetSentimentAnalysisResult() *SentimentAnalysisResult

func (*QueryResult) GetText

func (x *QueryResult) GetText() string

func (*QueryResult) GetTranscript

func (x *QueryResult) GetTranscript() string

func (*QueryResult) GetTriggerEvent

func (x *QueryResult) GetTriggerEvent() string

func (*QueryResult) GetTriggerIntent

func (x *QueryResult) GetTriggerIntent() string

func (*QueryResult) GetWebhookPayloads

func (x *QueryResult) GetWebhookPayloads() []*structpb.Struct

func (*QueryResult) GetWebhookStatuses

func (x *QueryResult) GetWebhookStatuses() []*status.Status

func (*QueryResult) ProtoMessage

func (*QueryResult) ProtoMessage()

func (*QueryResult) ProtoReflect

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

func (*QueryResult) Reset

func (x *QueryResult) Reset()

func (*QueryResult) String

func (x *QueryResult) String() string

type QueryResult_Text

type QueryResult_Text struct {
	// If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field
	// will contain a copy of the text.
	Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}

type QueryResult_Transcript

type QueryResult_Transcript struct {
	// If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input,
	// this field will contain the trascript for the audio.
	Transcript string `protobuf:"bytes,12,opt,name=transcript,proto3,oneof"`
}

type QueryResult_TriggerEvent

type QueryResult_TriggerEvent struct {
	// If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain
	// the name of the event.
	TriggerEvent string `protobuf:"bytes,14,opt,name=trigger_event,json=triggerEvent,proto3,oneof"`
}

type QueryResult_TriggerIntent

type QueryResult_TriggerIntent struct {
	// If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will
	// contain a copy of the intent identifier.
	TriggerIntent string `protobuf:"bytes,11,opt,name=trigger_intent,json=triggerIntent,proto3,oneof"`
}

type ResponseMessage

type ResponseMessage struct {

	// Required. The rich response message.
	//
	// Types that are assignable to Message:
	//	*ResponseMessage_Text_
	//	*ResponseMessage_Payload
	//	*ResponseMessage_ConversationSuccess_
	//	*ResponseMessage_OutputAudioText_
	//	*ResponseMessage_LiveAgentHandoff_
	//	*ResponseMessage_EndInteraction_
	//	*ResponseMessage_PlayAudio_
	//	*ResponseMessage_MixedAudio_
	Message isResponseMessage_Message `protobuf_oneof:"message"`
	// contains filtered or unexported fields
}

Represents a response message that can be returned by a conversational agent.

Response messages are also used for output audio synthesis. The approach is as follows:

  • If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis.
  • If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design.
  • Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis.

This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.

func (*ResponseMessage) Descriptor deprecated

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

Deprecated: Use ResponseMessage.ProtoReflect.Descriptor instead.

func (*ResponseMessage) GetConversationSuccess

func (x *ResponseMessage) GetConversationSuccess() *ResponseMessage_ConversationSuccess

func (*ResponseMessage) GetEndInteraction

func (x *ResponseMessage) GetEndInteraction() *ResponseMessage_EndInteraction

func (*ResponseMessage) GetLiveAgentHandoff

func (x *ResponseMessage) GetLiveAgentHandoff() *ResponseMessage_LiveAgentHandoff

func (*ResponseMessage) GetMessage

func (m *ResponseMessage) GetMessage() isResponseMessage_Message

func (*ResponseMessage) GetMixedAudio

func (x *ResponseMessage) GetMixedAudio() *ResponseMessage_MixedAudio

func (*ResponseMessage) GetOutputAudioText

func (x *ResponseMessage) GetOutputAudioText() *ResponseMessage_OutputAudioText

func (*ResponseMessage) GetPayload

func (x *ResponseMessage) GetPayload() *structpb.Struct

func (*ResponseMessage) GetPlayAudio

func (x *ResponseMessage) GetPlayAudio() *ResponseMessage_PlayAudio

func (*ResponseMessage) GetText

func (x *ResponseMessage) GetText() *ResponseMessage_Text

func (*ResponseMessage) ProtoMessage

func (*ResponseMessage) ProtoMessage()

func (*ResponseMessage) ProtoReflect

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

func (*ResponseMessage) Reset

func (x *ResponseMessage) Reset()

func (*ResponseMessage) String

func (x *ResponseMessage) String() string

type ResponseMessage_ConversationSuccess

type ResponseMessage_ConversationSuccess struct {

	// Custom metadata. Dialogflow doesn't impose any structure on this.
	Metadata *structpb.Struct `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about.

Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return [ConversationSuccess][google.cloud.dialogflow.cx.v3.ResponseMessage.ConversationSuccess].

You may set this, for example:

  • In the [entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] of a Page[google.cloud.dialogflow.cx.v3.Page] if entering the page indicates that the conversation succeeded.
  • In a webhook response when you determine that you handled the customer issue.

func (*ResponseMessage_ConversationSuccess) Descriptor deprecated

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

Deprecated: Use ResponseMessage_ConversationSuccess.ProtoReflect.Descriptor instead.

func (*ResponseMessage_ConversationSuccess) GetMetadata

func (*ResponseMessage_ConversationSuccess) ProtoMessage

func (*ResponseMessage_ConversationSuccess) ProtoMessage()

func (*ResponseMessage_ConversationSuccess) ProtoReflect

func (*ResponseMessage_ConversationSuccess) Reset

func (*ResponseMessage_ConversationSuccess) String

type ResponseMessage_ConversationSuccess_

type ResponseMessage_ConversationSuccess_ struct {
	// Indicates that the conversation succeeded.
	ConversationSuccess *ResponseMessage_ConversationSuccess `protobuf:"bytes,9,opt,name=conversation_success,json=conversationSuccess,proto3,oneof"`
}

type ResponseMessage_EndInteraction

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

Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user.

func (*ResponseMessage_EndInteraction) Descriptor deprecated

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

Deprecated: Use ResponseMessage_EndInteraction.ProtoReflect.Descriptor instead.

func (*ResponseMessage_EndInteraction) ProtoMessage

func (*ResponseMessage_EndInteraction) ProtoMessage()

func (*ResponseMessage_EndInteraction) ProtoReflect

func (*ResponseMessage_EndInteraction) Reset

func (x *ResponseMessage_EndInteraction) Reset()

func (*ResponseMessage_EndInteraction) String

type ResponseMessage_EndInteraction_

type ResponseMessage_EndInteraction_ struct {
	// Output only. A signal that indicates the interaction with the Dialogflow agent has
	// ended.
	// This message is generated by Dialogflow only when the conversation
	// reaches `END_SESSION` or `END_PAGE` page. It is not supposed to be
	// defined by the user.
	// It's guaranteed that there is at most one such message in each response.
	EndInteraction *ResponseMessage_EndInteraction `protobuf:"bytes,11,opt,name=end_interaction,json=endInteraction,proto3,oneof"`
}

type ResponseMessage_LiveAgentHandoff

type ResponseMessage_LiveAgentHandoff struct {

	// Custom metadata for your handoff procedure. Dialogflow doesn't impose
	// any structure on this.
	Metadata *structpb.Struct `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

Indicates that the conversation should be handed off to a live agent.

Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures.

You may set this, for example:

  • In the [entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] of a Page[google.cloud.dialogflow.cx.v3.Page] if entering the page indicates something went extremely wrong in the conversation.
  • In a webhook response when you determine that the customer issue can only be handled by a human.

func (*ResponseMessage_LiveAgentHandoff) Descriptor deprecated

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

Deprecated: Use ResponseMessage_LiveAgentHandoff.ProtoReflect.Descriptor instead.

func (*ResponseMessage_LiveAgentHandoff) GetMetadata

func (*ResponseMessage_LiveAgentHandoff) ProtoMessage

func (*ResponseMessage_LiveAgentHandoff) ProtoMessage()

func (*ResponseMessage_LiveAgentHandoff) ProtoReflect

func (*ResponseMessage_LiveAgentHandoff) Reset

func (*ResponseMessage_LiveAgentHandoff) String

type ResponseMessage_LiveAgentHandoff_

type ResponseMessage_LiveAgentHandoff_ struct {
	// Hands off conversation to a human agent.
	LiveAgentHandoff *ResponseMessage_LiveAgentHandoff `protobuf:"bytes,10,opt,name=live_agent_handoff,json=liveAgentHandoff,proto3,oneof"`
}

type ResponseMessage_MixedAudio

type ResponseMessage_MixedAudio struct {

	// Segments this audio response is composed of.
	Segments []*ResponseMessage_MixedAudio_Segment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"`
	// contains filtered or unexported fields
}

Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via [play_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.play_audio]. This message is generated by Dialogflow only and not supposed to be defined by the user.

func (*ResponseMessage_MixedAudio) Descriptor deprecated

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

Deprecated: Use ResponseMessage_MixedAudio.ProtoReflect.Descriptor instead.

func (*ResponseMessage_MixedAudio) GetSegments

func (*ResponseMessage_MixedAudio) ProtoMessage

func (*ResponseMessage_MixedAudio) ProtoMessage()

func (*ResponseMessage_MixedAudio) ProtoReflect

func (*ResponseMessage_MixedAudio) Reset

func (x *ResponseMessage_MixedAudio) Reset()

func (*ResponseMessage_MixedAudio) String

func (x *ResponseMessage_MixedAudio) String() string

type ResponseMessage_MixedAudio_

type ResponseMessage_MixedAudio_ struct {
	// Output only. An audio response message composed of both the synthesized Dialogflow
	// agent responses and responses defined via
	// [play_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.play_audio].
	// This message is generated by Dialogflow only and not supposed to be
	// defined by the user.
	MixedAudio *ResponseMessage_MixedAudio `protobuf:"bytes,13,opt,name=mixed_audio,json=mixedAudio,proto3,oneof"`
}

type ResponseMessage_MixedAudio_Segment

type ResponseMessage_MixedAudio_Segment struct {

	// Content of the segment.
	//
	// Types that are assignable to Content:
	//	*ResponseMessage_MixedAudio_Segment_Audio
	//	*ResponseMessage_MixedAudio_Segment_Uri
	Content isResponseMessage_MixedAudio_Segment_Content `protobuf_oneof:"content"`
	// Output only. Whether the playback of this segment can be interrupted by the end
	// user's speech and the client should then start the next Dialogflow
	// request.
	AllowPlaybackInterruption bool `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents one segment of audio.

func (*ResponseMessage_MixedAudio_Segment) Descriptor deprecated

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

Deprecated: Use ResponseMessage_MixedAudio_Segment.ProtoReflect.Descriptor instead.

func (*ResponseMessage_MixedAudio_Segment) GetAllowPlaybackInterruption

func (x *ResponseMessage_MixedAudio_Segment) GetAllowPlaybackInterruption() bool

func (*ResponseMessage_MixedAudio_Segment) GetAudio

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

func (*ResponseMessage_MixedAudio_Segment) GetContent

func (m *ResponseMessage_MixedAudio_Segment) GetContent() isResponseMessage_MixedAudio_Segment_Content

func (*ResponseMessage_MixedAudio_Segment) GetUri

func (*ResponseMessage_MixedAudio_Segment) ProtoMessage

func (*ResponseMessage_MixedAudio_Segment) ProtoMessage()

func (*ResponseMessage_MixedAudio_Segment) ProtoReflect

func (*ResponseMessage_MixedAudio_Segment) Reset

func (*ResponseMessage_MixedAudio_Segment) String

type ResponseMessage_MixedAudio_Segment_Audio

type ResponseMessage_MixedAudio_Segment_Audio struct {
	// Raw audio synthesized from the Dialogflow agent's response using
	// the output config specified in the request.
	Audio []byte `protobuf:"bytes,1,opt,name=audio,proto3,oneof"`
}

type ResponseMessage_MixedAudio_Segment_Uri

type ResponseMessage_MixedAudio_Segment_Uri struct {
	// Client-specific URI that points to an audio clip accessible to the
	// client. Dialogflow does not impose any validation on it.
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"`
}

type ResponseMessage_OutputAudioText

type ResponseMessage_OutputAudioText struct {

	// The source, which is either plain text or SSML.
	//
	// Types that are assignable to Source:
	//	*ResponseMessage_OutputAudioText_Text
	//	*ResponseMessage_OutputAudioText_Ssml
	Source isResponseMessage_OutputAudioText_Source `protobuf_oneof:"source"`
	// Output only. Whether the playback of this message can be interrupted by the end
	// user's speech and the client can then starts the next Dialogflow
	// request.
	AllowPlaybackInterruption bool `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.

func (*ResponseMessage_OutputAudioText) Descriptor deprecated

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

Deprecated: Use ResponseMessage_OutputAudioText.ProtoReflect.Descriptor instead.

func (*ResponseMessage_OutputAudioText) GetAllowPlaybackInterruption

func (x *ResponseMessage_OutputAudioText) GetAllowPlaybackInterruption() bool

func (*ResponseMessage_OutputAudioText) GetSource

func (m *ResponseMessage_OutputAudioText) GetSource() isResponseMessage_OutputAudioText_Source

func (*ResponseMessage_OutputAudioText) GetSsml

func (*ResponseMessage_OutputAudioText) GetText

func (*ResponseMessage_OutputAudioText) ProtoMessage

func (*ResponseMessage_OutputAudioText) ProtoMessage()

func (*ResponseMessage_OutputAudioText) ProtoReflect

func (*ResponseMessage_OutputAudioText) Reset

func (*ResponseMessage_OutputAudioText) String

type ResponseMessage_OutputAudioText_

type ResponseMessage_OutputAudioText_ struct {
	// A text or ssml response that is preferentially used for TTS output audio
	// synthesis, as described in the comment on the ResponseMessage message.
	OutputAudioText *ResponseMessage_OutputAudioText `protobuf:"bytes,8,opt,name=output_audio_text,json=outputAudioText,proto3,oneof"`
}

type ResponseMessage_OutputAudioText_Ssml

type ResponseMessage_OutputAudioText_Ssml struct {
	// The SSML text to be synthesized. For more information, see
	// [SSML](/speech/text-to-speech/docs/ssml).
	Ssml string `protobuf:"bytes,2,opt,name=ssml,proto3,oneof"`
}

type ResponseMessage_OutputAudioText_Text

type ResponseMessage_OutputAudioText_Text struct {
	// The raw text to be synthesized.
	Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}

type ResponseMessage_Payload

type ResponseMessage_Payload struct {
	// Returns a response containing a custom, platform-specific payload.
	Payload *structpb.Struct `protobuf:"bytes,2,opt,name=payload,proto3,oneof"`
}

type ResponseMessage_PlayAudio

type ResponseMessage_PlayAudio struct {

	// Required. URI of the audio clip. Dialogflow does not impose any validation on this
	// value. It is specific to the client that reads it.
	AudioUri string `protobuf:"bytes,1,opt,name=audio_uri,json=audioUri,proto3" json:"audio_uri,omitempty"`
	// Output only. Whether the playback of this message can be interrupted by the end
	// user's speech and the client can then starts the next Dialogflow
	// request.
	AllowPlaybackInterruption bool `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

Specifies an audio clip to be played by the client as part of the response.

func (*ResponseMessage_PlayAudio) Descriptor deprecated

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

Deprecated: Use ResponseMessage_PlayAudio.ProtoReflect.Descriptor instead.

func (*ResponseMessage_PlayAudio) GetAllowPlaybackInterruption

func (x *ResponseMessage_PlayAudio) GetAllowPlaybackInterruption() bool

func (*ResponseMessage_PlayAudio) GetAudioUri

func (x *ResponseMessage_PlayAudio) GetAudioUri() string

func (*ResponseMessage_PlayAudio) ProtoMessage

func (*ResponseMessage_PlayAudio) ProtoMessage()

func (*ResponseMessage_PlayAudio) ProtoReflect

func (*ResponseMessage_PlayAudio) Reset

func (x *ResponseMessage_PlayAudio) Reset()

func (*ResponseMessage_PlayAudio) String

func (x *ResponseMessage_PlayAudio) String() string

type ResponseMessage_PlayAudio_

type ResponseMessage_PlayAudio_ struct {
	// Signal that the client should play an audio clip hosted at a
	// client-specific URI. Dialogflow uses this to construct
	// [mixed_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.mixed_audio]. However, Dialogflow itself
	// does not try to read or process the URI in any way.
	PlayAudio *ResponseMessage_PlayAudio `protobuf:"bytes,12,opt,name=play_audio,json=playAudio,proto3,oneof"`
}

type ResponseMessage_Text

type ResponseMessage_Text struct {

	// Required. A collection of text responses.
	Text []string `protobuf:"bytes,1,rep,name=text,proto3" json:"text,omitempty"`
	// Output only. Whether the playback of this message can be interrupted by the end
	// user's speech and the client can then starts the next Dialogflow
	// request.
	AllowPlaybackInterruption bool `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

The text response message.

func (*ResponseMessage_Text) Descriptor deprecated

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

Deprecated: Use ResponseMessage_Text.ProtoReflect.Descriptor instead.

func (*ResponseMessage_Text) GetAllowPlaybackInterruption

func (x *ResponseMessage_Text) GetAllowPlaybackInterruption() bool

func (*ResponseMessage_Text) GetText

func (x *ResponseMessage_Text) GetText() []string

func (*ResponseMessage_Text) ProtoMessage

func (*ResponseMessage_Text) ProtoMessage()

func (*ResponseMessage_Text) ProtoReflect

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

func (*ResponseMessage_Text) Reset

func (x *ResponseMessage_Text) Reset()

func (*ResponseMessage_Text) String

func (x *ResponseMessage_Text) String() string

type ResponseMessage_Text_

type ResponseMessage_Text_ struct {
	// Returns a text response.
	Text *ResponseMessage_Text `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}

type RestoreAgentRequest

type RestoreAgentRequest struct {

	// Required. The name of the agent to restore into.
	// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The agent to restore.
	//
	// Types that are assignable to Agent:
	//	*RestoreAgentRequest_AgentUri
	//	*RestoreAgentRequest_AgentContent
	Agent isRestoreAgentRequest_Agent `protobuf_oneof:"agent"`
	// contains filtered or unexported fields
}

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

func (*RestoreAgentRequest) Descriptor deprecated

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

Deprecated: Use RestoreAgentRequest.ProtoReflect.Descriptor instead.

func (*RestoreAgentRequest) GetAgent

func (m *RestoreAgentRequest) GetAgent() isRestoreAgentRequest_Agent

func (*RestoreAgentRequest) GetAgentContent

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

func (*RestoreAgentRequest) GetAgentUri

func (x *RestoreAgentRequest) GetAgentUri() string

func (*RestoreAgentRequest) GetName

func (x *RestoreAgentRequest) GetName() string

func (*RestoreAgentRequest) ProtoMessage

func (*RestoreAgentRequest) ProtoMessage()

func (*RestoreAgentRequest) ProtoReflect

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

func (*RestoreAgentRequest) Reset

func (x *RestoreAgentRequest) Reset()

func (*RestoreAgentRequest) String

func (x *RestoreAgentRequest) String() string

type RestoreAgentRequest_AgentContent

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

type RestoreAgentRequest_AgentUri

type RestoreAgentRequest_AgentUri struct {
	// The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI
	// to restore agent from. The format of this URI must be
	// `gs://<bucket-name>/<object-name>`.
	AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,proto3,oneof"`
}

type SecuritySettings

type SecuritySettings 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"`
	// Required. The human-readable name of the security settings, unique within the
	// location.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Strategy that defines how we do redaction.
	RedactionStrategy SecuritySettings_RedactionStrategy `` /* 183-byte string literal not displayed */
	// Defines on what data we apply redaction. Note that we don't
	// redact data to which we don't have access, e.g., Stackdriver logs.
	RedactionScope SecuritySettings_RedactionScope `` /* 171-byte string literal not displayed */
	// DLP inspect template name. Use this template to define inspect base
	// settings.
	//
	// If empty, we use the default DLP inspect config.
	//
	// The template name will have one of the following formats:
	// `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR
	// `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`
	InspectTemplate string `protobuf:"bytes,9,opt,name=inspect_template,json=inspectTemplate,proto3" json:"inspect_template,omitempty"`
	// Specifies how data is retained. Note that even if the data is
	// purged due to retention policy, we may still hold it in backup storage for
	// a few days without allowing direct readings.
	//
	// Types that are assignable to DataRetention:
	//	*SecuritySettings_RetentionWindowDays
	DataRetention isSecuritySettings_DataRetention `protobuf_oneof:"data_retention"`
	// List of types of data to remove when retention settings triggers purge.
	PurgeDataTypes []SecuritySettings_PurgeDataType `` /* 179-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents the settings related to security issues, such as data redaction and data retention. It may take hours for updates on the settings to propagate to all the related components and take effect.

func (*SecuritySettings) Descriptor deprecated

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

Deprecated: Use SecuritySettings.ProtoReflect.Descriptor instead.

func (*SecuritySettings) GetDataRetention

func (m *SecuritySettings) GetDataRetention() isSecuritySettings_DataRetention

func (*SecuritySettings) GetDisplayName

func (x *SecuritySettings) GetDisplayName() string

func (*SecuritySettings) GetInspectTemplate

func (x *SecuritySettings) GetInspectTemplate() string

func (*SecuritySettings) GetName

func (x *SecuritySettings) GetName() string

func (*SecuritySettings) GetPurgeDataTypes

func (x *SecuritySettings) GetPurgeDataTypes() []SecuritySettings_PurgeDataType

func (*SecuritySettings) GetRedactionScope

func (x *SecuritySettings) GetRedactionScope() SecuritySettings_RedactionScope

func (*SecuritySettings) GetRedactionStrategy

func (x *SecuritySettings) GetRedactionStrategy() SecuritySettings_RedactionStrategy

func (*SecuritySettings) GetRetentionWindowDays

func (x *SecuritySettings) GetRetentionWindowDays() int32

func (*SecuritySettings) ProtoMessage

func (*SecuritySettings) ProtoMessage()

func (*SecuritySettings) ProtoReflect

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

func (*SecuritySettings) Reset

func (x *SecuritySettings) Reset()

func (*SecuritySettings) String

func (x *SecuritySettings) String() string

type SecuritySettingsServiceClient

type SecuritySettingsServiceClient interface {
	// Create security settings in the specified location.
	CreateSecuritySettings(ctx context.Context, in *CreateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error)
	// Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].
	// The returned settings may be stale by up to 1 minute.
	GetSecuritySettings(ctx context.Context, in *GetSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error)
	// Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].
	UpdateSecuritySettings(ctx context.Context, in *UpdateSecuritySettingsRequest, opts ...grpc.CallOption) (*SecuritySettings, error)
	// Returns the list of all security settings in the specified location.
	ListSecuritySettings(ctx context.Context, in *ListSecuritySettingsRequest, opts ...grpc.CallOption) (*ListSecuritySettingsResponse, error)
	// Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].
	DeleteSecuritySettings(ctx context.Context, in *DeleteSecuritySettingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

SecuritySettingsServiceClient is the client API for SecuritySettingsService service.

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

type SecuritySettingsServiceServer

type SecuritySettingsServiceServer interface {
	// Create security settings in the specified location.
	CreateSecuritySettings(context.Context, *CreateSecuritySettingsRequest) (*SecuritySettings, error)
	// Retrieves the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].
	// The returned settings may be stale by up to 1 minute.
	GetSecuritySettings(context.Context, *GetSecuritySettingsRequest) (*SecuritySettings, error)
	// Updates the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].
	UpdateSecuritySettings(context.Context, *UpdateSecuritySettingsRequest) (*SecuritySettings, error)
	// Returns the list of all security settings in the specified location.
	ListSecuritySettings(context.Context, *ListSecuritySettingsRequest) (*ListSecuritySettingsResponse, error)
	// Deletes the specified [SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings].
	DeleteSecuritySettings(context.Context, *DeleteSecuritySettingsRequest) (*emptypb.Empty, error)
}

SecuritySettingsServiceServer is the server API for SecuritySettingsService service.

type SecuritySettings_PurgeDataType

type SecuritySettings_PurgeDataType int32

Type of data we purge after retention settings triggers purge.

const (
	// Unspecified. Do not use.
	SecuritySettings_PURGE_DATA_TYPE_UNSPECIFIED SecuritySettings_PurgeDataType = 0
	// Dialogflow history. This does not include Stackdriver log, which is
	// owned by the user not Dialogflow.
	SecuritySettings_DIALOGFLOW_HISTORY SecuritySettings_PurgeDataType = 1
)

func (SecuritySettings_PurgeDataType) Descriptor

func (SecuritySettings_PurgeDataType) Enum

func (SecuritySettings_PurgeDataType) EnumDescriptor deprecated

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

Deprecated: Use SecuritySettings_PurgeDataType.Descriptor instead.

func (SecuritySettings_PurgeDataType) Number

func (SecuritySettings_PurgeDataType) String

func (SecuritySettings_PurgeDataType) Type

type SecuritySettings_RedactionScope

type SecuritySettings_RedactionScope int32

Defines what types of data to redact.

const (
	// Don't redact any kind of data.
	SecuritySettings_REDACTION_SCOPE_UNSPECIFIED SecuritySettings_RedactionScope = 0
	// On data to be written to disk or similar devices that are capable of
	// holding data even if power is disconnected. This includes data that are
	// temporarily saved on disk.
	SecuritySettings_REDACT_DISK_STORAGE SecuritySettings_RedactionScope = 2
)

func (SecuritySettings_RedactionScope) Descriptor

func (SecuritySettings_RedactionScope) Enum

func (SecuritySettings_RedactionScope) EnumDescriptor deprecated

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

Deprecated: Use SecuritySettings_RedactionScope.Descriptor instead.

func (SecuritySettings_RedactionScope) Number

func (SecuritySettings_RedactionScope) String

func (SecuritySettings_RedactionScope) Type

type SecuritySettings_RedactionStrategy

type SecuritySettings_RedactionStrategy int32

Defines how we redact data.

const (
	// Do not redact.
	SecuritySettings_REDACTION_STRATEGY_UNSPECIFIED SecuritySettings_RedactionStrategy = 0
	// Call redaction service to clean up the data to be persisted.
	SecuritySettings_REDACT_WITH_SERVICE SecuritySettings_RedactionStrategy = 1
)

func (SecuritySettings_RedactionStrategy) Descriptor

func (SecuritySettings_RedactionStrategy) Enum

func (SecuritySettings_RedactionStrategy) EnumDescriptor deprecated

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

Deprecated: Use SecuritySettings_RedactionStrategy.Descriptor instead.

func (SecuritySettings_RedactionStrategy) Number

func (SecuritySettings_RedactionStrategy) String

func (SecuritySettings_RedactionStrategy) Type

type SecuritySettings_RetentionWindowDays

type SecuritySettings_RetentionWindowDays struct {
	// Retains the data for the specified number of days.
	// User must Set a value lower than Dialogflow's default 30d TTL. Setting a
	// value higher than that has no effect.
	// A missing value or setting to 0 also means we use Dialogflow's default
	// TTL.
	RetentionWindowDays int32 `protobuf:"varint,6,opt,name=retention_window_days,json=retentionWindowDays,proto3,oneof"`
}

type SentimentAnalysisResult

type SentimentAnalysisResult struct {

	// Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
	// sentiment).
	Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"`
	// A non-negative number in the [0, +inf) range, which represents the absolute
	// magnitude of sentiment, regardless of score (positive or negative).
	Magnitude float32 `protobuf:"fixed32,2,opt,name=magnitude,proto3" json:"magnitude,omitempty"`
	// contains filtered or unexported fields
}

The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral.

func (*SentimentAnalysisResult) Descriptor deprecated

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

Deprecated: Use SentimentAnalysisResult.ProtoReflect.Descriptor instead.

func (*SentimentAnalysisResult) GetMagnitude

func (x *SentimentAnalysisResult) GetMagnitude() float32

func (*SentimentAnalysisResult) GetScore

func (x *SentimentAnalysisResult) GetScore() float32

func (*SentimentAnalysisResult) ProtoMessage

func (*SentimentAnalysisResult) ProtoMessage()

func (*SentimentAnalysisResult) ProtoReflect

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

func (*SentimentAnalysisResult) Reset

func (x *SentimentAnalysisResult) Reset()

func (*SentimentAnalysisResult) String

func (x *SentimentAnalysisResult) String() string

type SessionEntityType

type SessionEntityType struct {

	// Required. The unique identifier 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"`
	// Required. Indicates whether the additional data should override or supplement the
	// custom entity type definition.
	EntityOverrideMode SessionEntityType_EntityOverrideMode `` /* 190-byte string literal not displayed */
	// Required. The collection of entities to override or supplement the custom entity
	// type.
	Entities []*EntityType_Entity `protobuf:"bytes,4,rep,name=entities,proto3" json:"entities,omitempty"`
	// contains filtered or unexported fields
}

Session entity types are referred to as **User** entity types and are entities that are built for an individual user such as favorites, preferences, playlists, and so on.

You can redefine a session entity type at the session level to extend or replace a [custom entity type][google.cloud.dialogflow.cx.v3.EntityType] at the user session level (we refer to the entity types defined at the agent level as "custom entity types").

Note: session entity types apply to all queries, regardless of the language.

For more information about entity types, see the [Dialogflow documentation](https://cloud.google.com/dialogflow/docs/entities-overview).

func (*SessionEntityType) Descriptor deprecated

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

Deprecated: Use SessionEntityType.ProtoReflect.Descriptor instead.

func (*SessionEntityType) GetEntities

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

func (*SessionEntityType) GetEntityOverrideMode

func (x *SessionEntityType) GetEntityOverrideMode() SessionEntityType_EntityOverrideMode

func (*SessionEntityType) GetName

func (x *SessionEntityType) GetName() string

func (*SessionEntityType) ProtoMessage

func (*SessionEntityType) ProtoMessage()

func (*SessionEntityType) ProtoReflect

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

func (*SessionEntityType) Reset

func (x *SessionEntityType) Reset()

func (*SessionEntityType) String

func (x *SessionEntityType) String() string

type SessionEntityType_EntityOverrideMode

type SessionEntityType_EntityOverrideMode int32

The types of modifications for the session entity type.

const (
	// Not specified. This value should be never used.
	SessionEntityType_ENTITY_OVERRIDE_MODE_UNSPECIFIED SessionEntityType_EntityOverrideMode = 0
	// The collection of session entities overrides the collection of entities
	// in the corresponding custom entity type.
	SessionEntityType_ENTITY_OVERRIDE_MODE_OVERRIDE SessionEntityType_EntityOverrideMode = 1
	// The collection of session entities extends the collection of entities in
	// the corresponding custom entity type.
	//
	// Note: Even in this override mode calls to `ListSessionEntityTypes`,
	// `GetSessionEntityType`, `CreateSessionEntityType` and
	// `UpdateSessionEntityType` only return the additional entities added in
	// this session entity type. If you want to get the supplemented list,
	// please call [EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType] on the custom entity type
	// and merge.
	SessionEntityType_ENTITY_OVERRIDE_MODE_SUPPLEMENT SessionEntityType_EntityOverrideMode = 2
)

func (SessionEntityType_EntityOverrideMode) Descriptor

func (SessionEntityType_EntityOverrideMode) Enum

func (SessionEntityType_EntityOverrideMode) EnumDescriptor deprecated

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

Deprecated: Use SessionEntityType_EntityOverrideMode.Descriptor instead.

func (SessionEntityType_EntityOverrideMode) Number

func (SessionEntityType_EntityOverrideMode) String

func (SessionEntityType_EntityOverrideMode) Type

type SessionEntityTypesClient

type SessionEntityTypesClient interface {
	// Returns the list of all session entity types in the specified session.
	ListSessionEntityTypes(ctx context.Context, in *ListSessionEntityTypesRequest, opts ...grpc.CallOption) (*ListSessionEntityTypesResponse, error)
	// Retrieves the specified session entity type.
	GetSessionEntityType(ctx context.Context, in *GetSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error)
	// Creates a session entity type.
	//
	// If the specified session entity type already exists, overrides the
	// session entity type.
	CreateSessionEntityType(ctx context.Context, in *CreateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error)
	// Updates the specified session entity type.
	UpdateSessionEntityType(ctx context.Context, in *UpdateSessionEntityTypeRequest, opts ...grpc.CallOption) (*SessionEntityType, error)
	// Deletes the specified session entity type.
	DeleteSessionEntityType(ctx context.Context, in *DeleteSessionEntityTypeRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

SessionEntityTypesClient is the client API for SessionEntityTypes service.

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

type SessionEntityTypesServer

type SessionEntityTypesServer interface {
	// Returns the list of all session entity types in the specified session.
	ListSessionEntityTypes(context.Context, *ListSessionEntityTypesRequest) (*ListSessionEntityTypesResponse, error)
	// Retrieves the specified session entity type.
	GetSessionEntityType(context.Context, *GetSessionEntityTypeRequest) (*SessionEntityType, error)
	// Creates a session entity type.
	//
	// If the specified session entity type already exists, overrides the
	// session entity type.
	CreateSessionEntityType(context.Context, *CreateSessionEntityTypeRequest) (*SessionEntityType, error)
	// Updates the specified session entity type.
	UpdateSessionEntityType(context.Context, *UpdateSessionEntityTypeRequest) (*SessionEntityType, error)
	// Deletes the specified session entity type.
	DeleteSessionEntityType(context.Context, *DeleteSessionEntityTypeRequest) (*emptypb.Empty, error)
}

SessionEntityTypesServer is the server API for SessionEntityTypes service.

type SessionInfo

type SessionInfo struct {

	// Always present for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Ignored for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
	// The unique identifier of the [session][google.cloud.dialogflow.cx.v3.DetectIntentRequest.session]. This
	// field can be used by the webhook to identify a user.
	// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
	// ID>/sessions/<Session ID>`.
	Session string `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	// Optional for [WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest]. Optional for [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse].
	// All parameters collected from forms and intents during the session.
	// Parameters can be created, updated, or removed by the webhook. To remove a
	// parameter from the session, the webhook should explicitly set the parameter
	// value to null in [WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse]. The map is keyed by parameters'
	// display names.
	Parameters map[string]*structpb.Value `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents session information communicated to and from the webhook.

func (*SessionInfo) Descriptor deprecated

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

Deprecated: Use SessionInfo.ProtoReflect.Descriptor instead.

func (*SessionInfo) GetParameters

func (x *SessionInfo) GetParameters() map[string]*structpb.Value

func (*SessionInfo) GetSession

func (x *SessionInfo) GetSession() string

func (*SessionInfo) ProtoMessage

func (*SessionInfo) ProtoMessage()

func (*SessionInfo) ProtoReflect

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

func (*SessionInfo) Reset

func (x *SessionInfo) Reset()

func (*SessionInfo) String

func (x *SessionInfo) String() string

type SessionsClient

type SessionsClient interface {
	// Processes a natural language query and returns structured, actionable data
	// as a result. This method is not idempotent, because it may cause session
	// entity types to be updated, which in turn might affect results of future
	// queries.
	//
	// Note: Always use agent versions for production traffic.
	// See [Versions and
	// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
	DetectIntent(ctx context.Context, in *DetectIntentRequest, opts ...grpc.CallOption) (*DetectIntentResponse, error)
	// Processes a natural language query in audio format in a streaming fashion
	// and returns structured, actionable data as a result. This method is only
	// available via the gRPC API (not REST).
	//
	// Note: Always use agent versions for production traffic.
	// See [Versions and
	// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
	StreamingDetectIntent(ctx context.Context, opts ...grpc.CallOption) (Sessions_StreamingDetectIntentClient, error)
	// Returns preliminary intent match results, doesn't change the session
	// status.
	MatchIntent(ctx context.Context, in *MatchIntentRequest, opts ...grpc.CallOption) (*MatchIntentResponse, error)
	// Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent].
	// Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with input from
	// [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse]. Otherwise, the behavior is undefined.
	FulfillIntent(ctx context.Context, in *FulfillIntentRequest, opts ...grpc.CallOption) (*FulfillIntentResponse, error)
}

SessionsClient is the client API for Sessions service.

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

func NewSessionsClient

func NewSessionsClient(cc grpc.ClientConnInterface) SessionsClient

type SessionsServer

type SessionsServer interface {
	// Processes a natural language query and returns structured, actionable data
	// as a result. This method is not idempotent, because it may cause session
	// entity types to be updated, which in turn might affect results of future
	// queries.
	//
	// Note: Always use agent versions for production traffic.
	// See [Versions and
	// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
	DetectIntent(context.Context, *DetectIntentRequest) (*DetectIntentResponse, error)
	// Processes a natural language query in audio format in a streaming fashion
	// and returns structured, actionable data as a result. This method is only
	// available via the gRPC API (not REST).
	//
	// Note: Always use agent versions for production traffic.
	// See [Versions and
	// environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
	StreamingDetectIntent(Sessions_StreamingDetectIntentServer) error
	// Returns preliminary intent match results, doesn't change the session
	// status.
	MatchIntent(context.Context, *MatchIntentRequest) (*MatchIntentResponse, error)
	// Fulfills a matched intent returned by [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent].
	// Must be called after [MatchIntent][google.cloud.dialogflow.cx.v3.Sessions.MatchIntent], with input from
	// [MatchIntentResponse][google.cloud.dialogflow.cx.v3.MatchIntentResponse]. Otherwise, the behavior is undefined.
	FulfillIntent(context.Context, *FulfillIntentRequest) (*FulfillIntentResponse, error)
}

SessionsServer is the server API for Sessions service.

type Sessions_StreamingDetectIntentClient

type Sessions_StreamingDetectIntentClient interface {
	Send(*StreamingDetectIntentRequest) error
	Recv() (*StreamingDetectIntentResponse, error)
	grpc.ClientStream
}

type Sessions_StreamingDetectIntentServer

type Sessions_StreamingDetectIntentServer interface {
	Send(*StreamingDetectIntentResponse) error
	Recv() (*StreamingDetectIntentRequest, error)
	grpc.ServerStream
}

type SpeechModelVariant

type SpeechModelVariant int32

Variant of the specified [Speech model][google.cloud.dialogflow.cx.v3.InputAudioConfig.model] to use.

See the [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) for which models have different variants. For example, the "phone_call" model has both a standard and an enhanced variant. When you use an enhanced model, you will generally receive higher quality results than for a standard model.

const (
	// No model variant specified. In this case Dialogflow defaults to
	// USE_BEST_AVAILABLE.
	SpeechModelVariant_SPEECH_MODEL_VARIANT_UNSPECIFIED SpeechModelVariant = 0
	// Use the best available variant of the [Speech
	// model][InputAudioConfig.model] that the caller is eligible for.
	//
	// Please see the [Dialogflow
	// docs](https://cloud.google.com/dialogflow/docs/data-logging) for
	// how to make your project eligible for enhanced models.
	SpeechModelVariant_USE_BEST_AVAILABLE SpeechModelVariant = 1
	// Use standard model variant even if an enhanced model is available.  See the
	// [Cloud Speech
	// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
	// for details about enhanced models.
	SpeechModelVariant_USE_STANDARD SpeechModelVariant = 2
	// Use an enhanced model variant:
	//
	// * If an enhanced variant does not exist for the given
	//   [model][google.cloud.dialogflow.cx.v3.InputAudioConfig.model] and request language, Dialogflow falls
	//   back to the standard variant.
	//
	//   The [Cloud Speech
	//   documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
	//   describes which models have enhanced variants.
	//
	// * If the API caller isn't eligible for enhanced models, Dialogflow returns
	//   an error.  Please see the [Dialogflow
	//   docs](https://cloud.google.com/dialogflow/docs/data-logging)
	//   for how to make your project eligible.
	SpeechModelVariant_USE_ENHANCED SpeechModelVariant = 3
)

func (SpeechModelVariant) Descriptor

func (SpeechModelVariant) Enum

func (SpeechModelVariant) EnumDescriptor deprecated

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

Deprecated: Use SpeechModelVariant.Descriptor instead.

func (SpeechModelVariant) Number

func (SpeechModelVariant) String

func (x SpeechModelVariant) String() string

func (SpeechModelVariant) Type

type SpeechToTextSettings

type SpeechToTextSettings struct {

	// Whether to use speech adaptation for speech recognition.
	EnableSpeechAdaptation bool `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

Settings related to speech recognition.

func (*SpeechToTextSettings) Descriptor deprecated

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

Deprecated: Use SpeechToTextSettings.ProtoReflect.Descriptor instead.

func (*SpeechToTextSettings) GetEnableSpeechAdaptation

func (x *SpeechToTextSettings) GetEnableSpeechAdaptation() bool

func (*SpeechToTextSettings) ProtoMessage

func (*SpeechToTextSettings) ProtoMessage()

func (*SpeechToTextSettings) ProtoReflect

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

func (*SpeechToTextSettings) Reset

func (x *SpeechToTextSettings) Reset()

func (*SpeechToTextSettings) String

func (x *SpeechToTextSettings) String() string

type SpeechWordInfo

type SpeechWordInfo struct {

	// The word this info is for.
	Word string `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"`
	// Time offset relative to the beginning of the audio that corresponds to the
	// start of the spoken word. This is an experimental feature and the accuracy
	// of the time offset can vary.
	StartOffset *durationpb.Duration `protobuf:"bytes,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"`
	// Time offset relative to the beginning of the audio that corresponds to the
	// end of the spoken word. This is an experimental feature and the accuracy of
	// the time offset can vary.
	EndOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"`
	// The Speech confidence between 0.0 and 1.0 for this word. A higher number
	// indicates an estimated greater likelihood that the recognized word is
	// correct. The default of 0.0 is a sentinel value indicating that confidence
	// was not set.
	//
	// This field is not guaranteed to be fully stable over time for the same
	// audio input. Users should also not rely on it to always be provided.
	Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// contains filtered or unexported fields
}

Information for a word recognized by the speech recognizer.

func (*SpeechWordInfo) Descriptor deprecated

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

Deprecated: Use SpeechWordInfo.ProtoReflect.Descriptor instead.

func (*SpeechWordInfo) GetConfidence

func (x *SpeechWordInfo) GetConfidence() float32

func (*SpeechWordInfo) GetEndOffset

func (x *SpeechWordInfo) GetEndOffset() *durationpb.Duration

func (*SpeechWordInfo) GetStartOffset

func (x *SpeechWordInfo) GetStartOffset() *durationpb.Duration

func (*SpeechWordInfo) GetWord

func (x *SpeechWordInfo) GetWord() string

func (*SpeechWordInfo) ProtoMessage

func (*SpeechWordInfo) ProtoMessage()

func (*SpeechWordInfo) ProtoReflect

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

func (*SpeechWordInfo) Reset

func (x *SpeechWordInfo) Reset()

func (*SpeechWordInfo) String

func (x *SpeechWordInfo) String() string

type SsmlVoiceGender

type SsmlVoiceGender int32

Gender of the voice as described in [SSML voice element](https://www.w3.org/TR/speech-synthesis11/#edef_voice).

const (
	// An unspecified gender, which means that the client doesn't care which
	// gender the selected voice will have.
	SsmlVoiceGender_SSML_VOICE_GENDER_UNSPECIFIED SsmlVoiceGender = 0
	// A male voice.
	SsmlVoiceGender_SSML_VOICE_GENDER_MALE SsmlVoiceGender = 1
	// A female voice.
	SsmlVoiceGender_SSML_VOICE_GENDER_FEMALE SsmlVoiceGender = 2
	// A gender-neutral voice.
	SsmlVoiceGender_SSML_VOICE_GENDER_NEUTRAL SsmlVoiceGender = 3
)

func (SsmlVoiceGender) Descriptor

func (SsmlVoiceGender) Enum

func (x SsmlVoiceGender) Enum() *SsmlVoiceGender

func (SsmlVoiceGender) EnumDescriptor deprecated

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

Deprecated: Use SsmlVoiceGender.Descriptor instead.

func (SsmlVoiceGender) Number

func (SsmlVoiceGender) String

func (x SsmlVoiceGender) String() string

func (SsmlVoiceGender) Type

type StartExperimentRequest

type StartExperimentRequest struct {

	// Required. Resource name of the experiment to start.
	// 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.StartExperiment][google.cloud.dialogflow.cx.v3.Experiments.StartExperiment].

func (*StartExperimentRequest) Descriptor deprecated

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

Deprecated: Use StartExperimentRequest.ProtoReflect.Descriptor instead.

func (*StartExperimentRequest) GetName

func (x *StartExperimentRequest) GetName() string

func (*StartExperimentRequest) ProtoMessage

func (*StartExperimentRequest) ProtoMessage()

func (*StartExperimentRequest) ProtoReflect

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

func (*StartExperimentRequest) Reset

func (x *StartExperimentRequest) Reset()

func (*StartExperimentRequest) String

func (x *StartExperimentRequest) String() string

type StopExperimentRequest

type StopExperimentRequest struct {

	// Required. Resource name of the experiment to stop.
	// 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.StopExperiment][google.cloud.dialogflow.cx.v3.Experiments.StopExperiment].

func (*StopExperimentRequest) Descriptor deprecated

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

Deprecated: Use StopExperimentRequest.ProtoReflect.Descriptor instead.

func (*StopExperimentRequest) GetName

func (x *StopExperimentRequest) GetName() string

func (*StopExperimentRequest) ProtoMessage

func (*StopExperimentRequest) ProtoMessage()

func (*StopExperimentRequest) ProtoReflect

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

func (*StopExperimentRequest) Reset

func (x *StopExperimentRequest) Reset()

func (*StopExperimentRequest) String

func (x *StopExperimentRequest) String() string

type StreamingDetectIntentRequest

type StreamingDetectIntentRequest struct {

	// 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.
	// Note: session must be set in the first request.
	//
	// 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 top-level message sent by the client to the [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent] method.

Multiple request messages should be sent in order:

1. The first message must contain [session][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.session],

[query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] plus optionally
[query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params]. If the client
wants to receive an audio response, it should also contain
[output_audio_config][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.output_audio_config].
  1. If [query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input] was set to [query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config], all subsequent messages must contain [query_input.audio.audio][google.cloud.dialogflow.cx.v3.AudioInput.audio] to continue with Speech recognition. If you decide to rather detect an intent from text input after you already started Speech recognition, please send a message with [query_input.text][google.cloud.dialogflow.cx.v3.QueryInput.text].

    However, note that:

    * Dialogflow will bill you for the audio duration so far. * Dialogflow discards all Speech recognition results in favor of the input text. * Dialogflow will use the language code from the first message.

After you sent all input, you must half-close or abort the request stream.

func (*StreamingDetectIntentRequest) Descriptor deprecated

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

Deprecated: Use StreamingDetectIntentRequest.ProtoReflect.Descriptor instead.

func (*StreamingDetectIntentRequest) GetOutputAudioConfig

func (x *StreamingDetectIntentRequest) GetOutputAudioConfig() *OutputAudioConfig

func (*StreamingDetectIntentRequest) GetQueryInput

func (x *StreamingDetectIntentRequest) GetQueryInput() *QueryInput

func (*StreamingDetectIntentRequest) GetQueryParams

func (x *StreamingDetectIntentRequest) GetQueryParams() *QueryParameters

func (*StreamingDetectIntentRequest) GetSession

func (x *StreamingDetectIntentRequest) GetSession() string

func (*StreamingDetectIntentRequest) ProtoMessage

func (*StreamingDetectIntentRequest) ProtoMessage()

func (*StreamingDetectIntentRequest) ProtoReflect

func (*StreamingDetectIntentRequest) Reset

func (x *StreamingDetectIntentRequest) Reset()

func (*StreamingDetectIntentRequest) String

type StreamingDetectIntentResponse

type StreamingDetectIntentResponse struct {

	// The output response.
	//
	// Types that are assignable to Response:
	//	*StreamingDetectIntentResponse_RecognitionResult
	//	*StreamingDetectIntentResponse_DetectIntentResponse
	Response isStreamingDetectIntentResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

The top-level message returned from the `StreamingDetectIntent` method.

Multiple response messages can be returned in order:

  1. If the input was set to streaming audio, the first one or more messages contain `recognition_result`. Each `recognition_result` represents a more complete transcript of what the user said. The last `recognition_result` has `is_final` set to `true`.

2. The last message contains `detect_intent_response`.

func (*StreamingDetectIntentResponse) Descriptor deprecated

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

Deprecated: Use StreamingDetectIntentResponse.ProtoReflect.Descriptor instead.

func (*StreamingDetectIntentResponse) GetDetectIntentResponse

func (x *StreamingDetectIntentResponse) GetDetectIntentResponse() *DetectIntentResponse

func (*StreamingDetectIntentResponse) GetRecognitionResult

func (x *StreamingDetectIntentResponse) GetRecognitionResult() *StreamingRecognitionResult

func (*StreamingDetectIntentResponse) GetResponse

func (m *StreamingDetectIntentResponse) GetResponse() isStreamingDetectIntentResponse_Response

func (*StreamingDetectIntentResponse) ProtoMessage

func (*StreamingDetectIntentResponse) ProtoMessage()

func (*StreamingDetectIntentResponse) ProtoReflect

func (*StreamingDetectIntentResponse) Reset

func (x *StreamingDetectIntentResponse) Reset()

func (*StreamingDetectIntentResponse) String

type StreamingDetectIntentResponse_DetectIntentResponse

type StreamingDetectIntentResponse_DetectIntentResponse struct {
	// The response from detect intent.
	DetectIntentResponse *DetectIntentResponse `protobuf:"bytes,2,opt,name=detect_intent_response,json=detectIntentResponse,proto3,oneof"`
}

type StreamingDetectIntentResponse_RecognitionResult

type StreamingDetectIntentResponse_RecognitionResult struct {
	// The result of speech recognition.
	RecognitionResult *StreamingRecognitionResult `protobuf:"bytes,1,opt,name=recognition_result,json=recognitionResult,proto3,oneof"`
}

type StreamingRecognitionResult

type StreamingRecognitionResult struct {

	// Type of the result message.
	MessageType StreamingRecognitionResult_MessageType `` /* 169-byte string literal not displayed */
	// Transcript text representing the words that the user spoke.
	// Populated if and only if `message_type` = `TRANSCRIPT`.
	Transcript string `protobuf:"bytes,2,opt,name=transcript,proto3" json:"transcript,omitempty"`
	// If `false`, the `StreamingRecognitionResult` represents an
	// interim result that may change. If `true`, the recognizer will not return
	// any further hypotheses about this piece of the audio. May only be populated
	// for `message_type` = `TRANSCRIPT`.
	IsFinal bool `protobuf:"varint,3,opt,name=is_final,json=isFinal,proto3" json:"is_final,omitempty"`
	// The Speech confidence between 0.0 and 1.0 for the current portion of audio.
	// A higher number indicates an estimated greater likelihood that the
	// recognized words are correct. The default of 0.0 is a sentinel value
	// indicating that confidence was not set.
	//
	// This field is typically only provided if `is_final` is true and you should
	// not rely on it being accurate or even set.
	Confidence float32 `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// An estimate of the likelihood that the speech recognizer will
	// not change its guess about this interim recognition result:
	// * If the value is unspecified or 0.0, Dialogflow didn't compute the
	//   stability. In particular, Dialogflow will only provide stability for
	//   `TRANSCRIPT` results with `is_final = false`.
	// * Otherwise, the value is in (0.0, 1.0] where 0.0 means completely
	//   unstable and 1.0 means completely stable.
	Stability float32 `protobuf:"fixed32,6,opt,name=stability,proto3" json:"stability,omitempty"`
	// Word-specific information for the words recognized by Speech in
	// [transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript]. Populated if and only if `message_type` = `TRANSCRIPT` and
	// [InputAudioConfig.enable_word_info] is set.
	SpeechWordInfo []*SpeechWordInfo `protobuf:"bytes,7,rep,name=speech_word_info,json=speechWordInfo,proto3" json:"speech_word_info,omitempty"`
	// Time offset of the end of this Speech recognition result relative to the
	// beginning of the audio. Only populated for `message_type` =
	// `TRANSCRIPT`.
	SpeechEndOffset *durationpb.Duration `protobuf:"bytes,8,opt,name=speech_end_offset,json=speechEndOffset,proto3" json:"speech_end_offset,omitempty"`
	// contains filtered or unexported fields
}

Contains a speech recognition result corresponding to a portion of the audio that is currently being processed or an indication that this is the end of the single requested utterance.

Example:

1. transcript: "tube"

2. transcript: "to be a"

3. transcript: "to be"

  1. transcript: "to be or not to be" is_final: true

5. transcript: " that's"

6. transcript: " that is"

7. message_type: `END_OF_SINGLE_UTTERANCE`

  1. transcript: " that is the question" is_final: true

Only two of the responses contain final results (#4 and #8 indicated by `is_final: true`). Concatenating these generates the full transcript: "to be or not to be that is the question".

In each response we populate:

* for `TRANSCRIPT`: `transcript` and possibly `is_final`.

* for `END_OF_SINGLE_UTTERANCE`: only `message_type`.

func (*StreamingRecognitionResult) Descriptor deprecated

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

Deprecated: Use StreamingRecognitionResult.ProtoReflect.Descriptor instead.

func (*StreamingRecognitionResult) GetConfidence

func (x *StreamingRecognitionResult) GetConfidence() float32

func (*StreamingRecognitionResult) GetIsFinal

func (x *StreamingRecognitionResult) GetIsFinal() bool

func (*StreamingRecognitionResult) GetMessageType

func (*StreamingRecognitionResult) GetSpeechEndOffset

func (x *StreamingRecognitionResult) GetSpeechEndOffset() *durationpb.Duration

func (*StreamingRecognitionResult) GetSpeechWordInfo

func (x *StreamingRecognitionResult) GetSpeechWordInfo() []*SpeechWordInfo

func (*StreamingRecognitionResult) GetStability

func (x *StreamingRecognitionResult) GetStability() float32

func (*StreamingRecognitionResult) GetTranscript

func (x *StreamingRecognitionResult) GetTranscript() string

func (*StreamingRecognitionResult) ProtoMessage

func (*StreamingRecognitionResult) ProtoMessage()

func (*StreamingRecognitionResult) ProtoReflect

func (*StreamingRecognitionResult) Reset

func (x *StreamingRecognitionResult) Reset()

func (*StreamingRecognitionResult) String

func (x *StreamingRecognitionResult) String() string

type StreamingRecognitionResult_MessageType

type StreamingRecognitionResult_MessageType int32

Type of the response message.

const (
	// Not specified. Should never be used.
	StreamingRecognitionResult_MESSAGE_TYPE_UNSPECIFIED StreamingRecognitionResult_MessageType = 0
	// Message contains a (possibly partial) transcript.
	StreamingRecognitionResult_TRANSCRIPT StreamingRecognitionResult_MessageType = 1
	// Event indicates that the server has detected the end of the user's speech
	// utterance and expects no additional speech. Therefore, the server will
	// not process additional audio (although it may subsequently return
	// additional results). The client should stop sending additional audio
	// data, half-close the gRPC connection, and wait for any additional results
	// until the server closes the gRPC connection. This message is only sent if
	// [`single_utterance`][google.cloud.dialogflow.cx.v3.InputAudioConfig.single_utterance] was set to
	// `true`, and is not used otherwise.
	StreamingRecognitionResult_END_OF_SINGLE_UTTERANCE StreamingRecognitionResult_MessageType = 2
)

func (StreamingRecognitionResult_MessageType) Descriptor

func (StreamingRecognitionResult_MessageType) Enum

func (StreamingRecognitionResult_MessageType) EnumDescriptor deprecated

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

Deprecated: Use StreamingRecognitionResult_MessageType.Descriptor instead.

func (StreamingRecognitionResult_MessageType) Number

func (StreamingRecognitionResult_MessageType) String

func (StreamingRecognitionResult_MessageType) Type

type SynthesizeSpeechConfig

type SynthesizeSpeechConfig struct {

	// Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal
	// native speed supported by the specific voice. 2.0 is twice as fast, and
	// 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any
	// other values < 0.25 or > 4.0 will return an error.
	SpeakingRate float64 `protobuf:"fixed64,1,opt,name=speaking_rate,json=speakingRate,proto3" json:"speaking_rate,omitempty"`
	// Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20
	// semitones from the original pitch. -20 means decrease 20 semitones from the
	// original pitch.
	Pitch float64 `protobuf:"fixed64,2,opt,name=pitch,proto3" json:"pitch,omitempty"`
	// Optional. Volume gain (in dB) of the normal native volume supported by the
	// specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of
	// 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB)
	// will play at approximately half the amplitude of the normal native signal
	// amplitude. A value of +6.0 (dB) will play at approximately twice the
	// amplitude of the normal native signal amplitude. We strongly recommend not
	// to exceed +10 (dB) as there's usually no effective increase in loudness for
	// any value greater than that.
	VolumeGainDb float64 `protobuf:"fixed64,3,opt,name=volume_gain_db,json=volumeGainDb,proto3" json:"volume_gain_db,omitempty"`
	// Optional. An identifier which selects 'audio effects' profiles that are
	// applied on (post synthesized) text to speech. Effects are applied on top of
	// each other in the order they are given.
	EffectsProfileId []string `protobuf:"bytes,5,rep,name=effects_profile_id,json=effectsProfileId,proto3" json:"effects_profile_id,omitempty"`
	// Optional. The desired voice of the synthesized audio.
	Voice *VoiceSelectionParams `protobuf:"bytes,4,opt,name=voice,proto3" json:"voice,omitempty"`
	// contains filtered or unexported fields
}

Configuration of how speech should be synthesized.

func (*SynthesizeSpeechConfig) Descriptor deprecated

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

Deprecated: Use SynthesizeSpeechConfig.ProtoReflect.Descriptor instead.

func (*SynthesizeSpeechConfig) GetEffectsProfileId

func (x *SynthesizeSpeechConfig) GetEffectsProfileId() []string

func (*SynthesizeSpeechConfig) GetPitch

func (x *SynthesizeSpeechConfig) GetPitch() float64

func (*SynthesizeSpeechConfig) GetSpeakingRate

func (x *SynthesizeSpeechConfig) GetSpeakingRate() float64

func (*SynthesizeSpeechConfig) GetVoice

func (*SynthesizeSpeechConfig) GetVolumeGainDb

func (x *SynthesizeSpeechConfig) GetVolumeGainDb() float64

func (*SynthesizeSpeechConfig) ProtoMessage

func (*SynthesizeSpeechConfig) ProtoMessage()

func (*SynthesizeSpeechConfig) ProtoReflect

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

func (*SynthesizeSpeechConfig) Reset

func (x *SynthesizeSpeechConfig) Reset()

func (*SynthesizeSpeechConfig) String

func (x *SynthesizeSpeechConfig) String() string

type TextInput

type TextInput struct {

	// Required. The UTF-8 encoded natural language text to be processed. Text length must
	// not exceed 256 characters.
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

Represents the natural language text to be processed.

func (*TextInput) Descriptor deprecated

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

Deprecated: Use TextInput.ProtoReflect.Descriptor instead.

func (*TextInput) GetText

func (x *TextInput) GetText() string

func (*TextInput) ProtoMessage

func (*TextInput) ProtoMessage()

func (*TextInput) ProtoReflect

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

func (*TextInput) Reset

func (x *TextInput) Reset()

func (*TextInput) String

func (x *TextInput) String() string

type TrainFlowRequest

type TrainFlowRequest struct {

	// Required. The flow to train.
	// 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"`
	// contains filtered or unexported fields
}

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

func (*TrainFlowRequest) Descriptor deprecated

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

Deprecated: Use TrainFlowRequest.ProtoReflect.Descriptor instead.

func (*TrainFlowRequest) GetName

func (x *TrainFlowRequest) GetName() string

func (*TrainFlowRequest) ProtoMessage

func (*TrainFlowRequest) ProtoMessage()

func (*TrainFlowRequest) ProtoReflect

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

func (*TrainFlowRequest) Reset

func (x *TrainFlowRequest) Reset()

func (*TrainFlowRequest) String

func (x *TrainFlowRequest) String() string

type TransitionRoute

type TransitionRoute struct {

	// Output only. The unique identifier of this transition route.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// The unique identifier of an [Intent][google.cloud.dialogflow.cx.v3.Intent].
	// Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
	// ID>/intents/<Intent ID>`.
	// Indicates that the transition can only happen when the given intent is
	// matched.
	// At least one of `intent` or `condition` must be specified. When both
	// `intent` and `condition` are specified, the transition can only happen
	// when both are fulfilled.
	Intent string `protobuf:"bytes,1,opt,name=intent,proto3" json:"intent,omitempty"`
	// The condition to evaluate against [form parameters][google.cloud.dialogflow.cx.v3.Form.parameters] or
	// [session parameters][google.cloud.dialogflow.cx.v3.SessionInfo.parameters].
	//
	// See the [conditions
	// reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
	// At least one of `intent` or `condition` must be specified. When both
	// `intent` and `condition` are specified, the transition can only happen
	// when both are fulfilled.
	Condition string `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"`
	// The fulfillment to call when the condition is satisfied. At least one of
	// `trigger_fulfillment` and `target` must be specified. When both are
	// defined, `trigger_fulfillment` is executed first.
	TriggerFulfillment *Fulfillment `protobuf:"bytes,3,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:
	//	*TransitionRoute_TargetPage
	//	*TransitionRoute_TargetFlow
	Target isTransitionRoute_Target `protobuf_oneof:"target"`
	// contains filtered or unexported fields
}

A transition route specifies a [intent][google.cloud.dialogflow.cx.v3.Intent] that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order:

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

func (*TransitionRoute) Descriptor deprecated

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

Deprecated: Use TransitionRoute.ProtoReflect.Descriptor instead.

func (*TransitionRoute) GetCondition

func (x *TransitionRoute) GetCondition() string

func (*TransitionRoute) GetIntent

func (x *TransitionRoute) GetIntent() string

func (*TransitionRoute) GetName

func (x *TransitionRoute) GetName() string

func (*TransitionRoute) GetTarget

func (m *TransitionRoute) GetTarget() isTransitionRoute_Target

func (*TransitionRoute) GetTargetFlow

func (x *TransitionRoute) GetTargetFlow() string

func (*TransitionRoute) GetTargetPage

func (x *TransitionRoute) GetTargetPage() string

func (*TransitionRoute) GetTriggerFulfillment

func (x *TransitionRoute) GetTriggerFulfillment() *Fulfillment

func (*TransitionRoute) ProtoMessage

func (*TransitionRoute) ProtoMessage()

func (*TransitionRoute) ProtoReflect

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

func (*TransitionRoute) Reset

func (x *TransitionRoute) Reset()

func (*TransitionRoute) String

func (x *TransitionRoute) String() string

type TransitionRouteGroup

type TransitionRouteGroup struct {

	// The unique identifier of the transition route group.
	// [TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup] populates the name
	// automatically.
	// 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"`
	// Required. The human-readable name of the transition route group, unique within
	// the [Agent][google.cloud.dialogflow.cx.v3.Agent]. The display name can be no longer than 30 characters.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Transition routes associated with the [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
	// Duplicate transition routes (i.e. using the same
	// [`intent`][google.cloud.dialogflow.cx.v3.TransitionRoute.intent]) are not allowed.
	//
	// Note that the [`name`][google.cloud.dialogflow.cx.v3.TransitionRoute.name] field is not used in the
	// transition route group scope.
	TransitionRoutes []*TransitionRoute `protobuf:"bytes,5,rep,name=transition_routes,json=transitionRoutes,proto3" json:"transition_routes,omitempty"`
	// contains filtered or unexported fields
}

An TransitionRouteGroup represents a group of [`TransitionRoutes`][google.cloud.dialogflow.cx.v3.TransitionRoute] to be used by a Page[google.cloud.dialogflow.cx.v3.Page].

func (*TransitionRouteGroup) Descriptor deprecated

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

Deprecated: Use TransitionRouteGroup.ProtoReflect.Descriptor instead.

func (*TransitionRouteGroup) GetDisplayName

func (x *TransitionRouteGroup) GetDisplayName() string

func (*TransitionRouteGroup) GetName

func (x *TransitionRouteGroup) GetName() string

func (*TransitionRouteGroup) GetTransitionRoutes

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

func (*TransitionRouteGroup) ProtoMessage

func (*TransitionRouteGroup) ProtoMessage()

func (*TransitionRouteGroup) ProtoReflect

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

func (*TransitionRouteGroup) Reset

func (x *TransitionRouteGroup) Reset()

func (*TransitionRouteGroup) String

func (x *TransitionRouteGroup) String() string

type TransitionRouteGroupsClient

type TransitionRouteGroupsClient interface {
	// Returns the list of all transition route groups in the specified flow.
	ListTransitionRouteGroups(ctx context.Context, in *ListTransitionRouteGroupsRequest, opts ...grpc.CallOption) (*ListTransitionRouteGroupsResponse, error)
	// Retrieves the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
	GetTransitionRouteGroup(ctx context.Context, in *GetTransitionRouteGroupRequest, opts ...grpc.CallOption) (*TransitionRouteGroup, error)
	// Creates an [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] in the specified flow.
	CreateTransitionRouteGroup(ctx context.Context, in *CreateTransitionRouteGroupRequest, opts ...grpc.CallOption) (*TransitionRouteGroup, error)
	// Updates the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
	UpdateTransitionRouteGroup(ctx context.Context, in *UpdateTransitionRouteGroupRequest, opts ...grpc.CallOption) (*TransitionRouteGroup, error)
	// Deletes the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
	DeleteTransitionRouteGroup(ctx context.Context, in *DeleteTransitionRouteGroupRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

TransitionRouteGroupsClient is the client API for TransitionRouteGroups service.

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

type TransitionRouteGroupsServer

type TransitionRouteGroupsServer interface {
	// Returns the list of all transition route groups in the specified flow.
	ListTransitionRouteGroups(context.Context, *ListTransitionRouteGroupsRequest) (*ListTransitionRouteGroupsResponse, error)
	// Retrieves the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
	GetTransitionRouteGroup(context.Context, *GetTransitionRouteGroupRequest) (*TransitionRouteGroup, error)
	// Creates an [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup] in the specified flow.
	CreateTransitionRouteGroup(context.Context, *CreateTransitionRouteGroupRequest) (*TransitionRouteGroup, error)
	// Updates the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
	UpdateTransitionRouteGroup(context.Context, *UpdateTransitionRouteGroupRequest) (*TransitionRouteGroup, error)
	// Deletes the specified [TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup].
	DeleteTransitionRouteGroup(context.Context, *DeleteTransitionRouteGroupRequest) (*emptypb.Empty, error)
}

TransitionRouteGroupsServer is the server API for TransitionRouteGroups service.

type TransitionRoute_TargetFlow

type TransitionRoute_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,5,opt,name=target_flow,json=targetFlow,proto3,oneof"`
}

type TransitionRoute_TargetPage

type TransitionRoute_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,4,opt,name=target_page,json=targetPage,proto3,oneof"`
}

type UnimplementedAgentsServer

type UnimplementedAgentsServer struct {
}

UnimplementedAgentsServer can be embedded to have forward compatible implementations.

func (*UnimplementedAgentsServer) CreateAgent

func (*UnimplementedAgentsServer) DeleteAgent

func (*UnimplementedAgentsServer) ExportAgent

func (*UnimplementedAgentsServer) GetAgent

func (*UnimplementedAgentsServer) ListAgents

func (*UnimplementedAgentsServer) RestoreAgent

func (*UnimplementedAgentsServer) UpdateAgent

type UnimplementedEntityTypesServer

type UnimplementedEntityTypesServer struct {
}

UnimplementedEntityTypesServer can be embedded to have forward compatible implementations.

func (*UnimplementedEntityTypesServer) CreateEntityType

func (*UnimplementedEntityTypesServer) DeleteEntityType

func (*UnimplementedEntityTypesServer) GetEntityType

func (*UnimplementedEntityTypesServer) ListEntityTypes

func (*UnimplementedEntityTypesServer) UpdateEntityType

type UnimplementedEnvironmentsServer

type UnimplementedEnvironmentsServer struct {
}

UnimplementedEnvironmentsServer can be embedded to have forward compatible implementations.

func (*UnimplementedEnvironmentsServer) CreateEnvironment

func (*UnimplementedEnvironmentsServer) DeleteEnvironment

func (*UnimplementedEnvironmentsServer) GetEnvironment

func (*UnimplementedEnvironmentsServer) ListEnvironments

func (*UnimplementedEnvironmentsServer) UpdateEnvironment

type UnimplementedExperimentsServer

type UnimplementedExperimentsServer struct {
}

UnimplementedExperimentsServer can be embedded to have forward compatible implementations.

func (*UnimplementedExperimentsServer) CreateExperiment

func (*UnimplementedExperimentsServer) DeleteExperiment

func (*UnimplementedExperimentsServer) GetExperiment

func (*UnimplementedExperimentsServer) ListExperiments

func (*UnimplementedExperimentsServer) StartExperiment

func (*UnimplementedExperimentsServer) StopExperiment

func (*UnimplementedExperimentsServer) UpdateExperiment

type UnimplementedFlowsServer

type UnimplementedFlowsServer struct {
}

UnimplementedFlowsServer can be embedded to have forward compatible implementations.

func (*UnimplementedFlowsServer) CreateFlow

func (*UnimplementedFlowsServer) DeleteFlow

func (*UnimplementedFlowsServer) GetFlow

func (*UnimplementedFlowsServer) ListFlows

func (*UnimplementedFlowsServer) TrainFlow

func (*UnimplementedFlowsServer) UpdateFlow

type UnimplementedIntentsServer

type UnimplementedIntentsServer struct {
}

UnimplementedIntentsServer can be embedded to have forward compatible implementations.

func (*UnimplementedIntentsServer) CreateIntent

func (*UnimplementedIntentsServer) DeleteIntent

func (*UnimplementedIntentsServer) GetIntent

func (*UnimplementedIntentsServer) ListIntents

func (*UnimplementedIntentsServer) UpdateIntent

type UnimplementedPagesServer

type UnimplementedPagesServer struct {
}

UnimplementedPagesServer can be embedded to have forward compatible implementations.

func (*UnimplementedPagesServer) CreatePage

func (*UnimplementedPagesServer) DeletePage

func (*UnimplementedPagesServer) GetPage

func (*UnimplementedPagesServer) ListPages

func (*UnimplementedPagesServer) UpdatePage

type UnimplementedSecuritySettingsServiceServer

type UnimplementedSecuritySettingsServiceServer struct {
}

UnimplementedSecuritySettingsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSecuritySettingsServiceServer) CreateSecuritySettings

func (*UnimplementedSecuritySettingsServiceServer) DeleteSecuritySettings

func (*UnimplementedSecuritySettingsServiceServer) GetSecuritySettings

func (*UnimplementedSecuritySettingsServiceServer) ListSecuritySettings

func (*UnimplementedSecuritySettingsServiceServer) UpdateSecuritySettings

type UnimplementedSessionEntityTypesServer

type UnimplementedSessionEntityTypesServer struct {
}

UnimplementedSessionEntityTypesServer can be embedded to have forward compatible implementations.

func (*UnimplementedSessionEntityTypesServer) CreateSessionEntityType

func (*UnimplementedSessionEntityTypesServer) DeleteSessionEntityType

func (*UnimplementedSessionEntityTypesServer) GetSessionEntityType

func (*UnimplementedSessionEntityTypesServer) ListSessionEntityTypes

func (*UnimplementedSessionEntityTypesServer) UpdateSessionEntityType

type UnimplementedSessionsServer

type UnimplementedSessionsServer struct {
}

UnimplementedSessionsServer can be embedded to have forward compatible implementations.

func (*UnimplementedSessionsServer) DetectIntent

func (*UnimplementedSessionsServer) FulfillIntent

func (*UnimplementedSessionsServer) MatchIntent

func (*UnimplementedSessionsServer) StreamingDetectIntent

type UnimplementedTransitionRouteGroupsServer

type UnimplementedTransitionRouteGroupsServer struct {
}

UnimplementedTransitionRouteGroupsServer can be embedded to have forward compatible implementations.

func (*UnimplementedTransitionRouteGroupsServer) CreateTransitionRouteGroup

func (*UnimplementedTransitionRouteGroupsServer) DeleteTransitionRouteGroup

func (*UnimplementedTransitionRouteGroupsServer) GetTransitionRouteGroup

func (*UnimplementedTransitionRouteGroupsServer) UpdateTransitionRouteGroup

type UnimplementedVersionsServer

type UnimplementedVersionsServer struct {
}

UnimplementedVersionsServer can be embedded to have forward compatible implementations.

func (*UnimplementedVersionsServer) CreateVersion

func (*UnimplementedVersionsServer) DeleteVersion

func (*UnimplementedVersionsServer) GetVersion

func (*UnimplementedVersionsServer) ListVersions

func (*UnimplementedVersionsServer) LoadVersion

func (*UnimplementedVersionsServer) UpdateVersion

type UnimplementedWebhooksServer

type UnimplementedWebhooksServer struct {
}

UnimplementedWebhooksServer can be embedded to have forward compatible implementations.

func (*UnimplementedWebhooksServer) CreateWebhook

func (*UnimplementedWebhooksServer) DeleteWebhook

func (*UnimplementedWebhooksServer) GetWebhook

func (*UnimplementedWebhooksServer) ListWebhooks

func (*UnimplementedWebhooksServer) UpdateWebhook

type UpdateAgentRequest

type UpdateAgentRequest struct {

	// Required. The agent to update.
	Agent *Agent `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"`
	// The mask to control which fields get updated. If the mask is not present,
	// all fields will be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

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

func (*UpdateAgentRequest) Descriptor deprecated

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

Deprecated: Use UpdateAgentRequest.ProtoReflect.Descriptor instead.

func (*UpdateAgentRequest) GetAgent

func (x *UpdateAgentRequest) GetAgent() *Agent

func (*UpdateAgentRequest) GetUpdateMask

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

func (*UpdateAgentRequest) ProtoMessage

func (*UpdateAgentRequest) ProtoMessage()

func (*UpdateAgentRequest) ProtoReflect

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

func (*UpdateAgentRequest) Reset

func (x *UpdateAgentRequest) Reset()

func (*UpdateAgentRequest) String

func (x *UpdateAgentRequest) String() string

type UpdateEntityTypeRequest

type UpdateEntityTypeRequest struct {

	// Required. The entity type to update.
	EntityType *EntityType `protobuf:"bytes,1,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,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// The mask to control which fields get updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

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

func (*UpdateEntityTypeRequest) Descriptor deprecated

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

Deprecated: Use UpdateEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*UpdateEntityTypeRequest) GetEntityType

func (x *UpdateEntityTypeRequest) GetEntityType() *EntityType

func (*UpdateEntityTypeRequest) GetLanguageCode

func (x *UpdateEntityTypeRequest) GetLanguageCode() string

func (*UpdateEntityTypeRequest) GetUpdateMask

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

func (*UpdateEntityTypeRequest) ProtoMessage

func (*UpdateEntityTypeRequest) ProtoMessage()

func (*UpdateEntityTypeRequest) ProtoReflect

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

func (*UpdateEntityTypeRequest) Reset

func (x *UpdateEntityTypeRequest) Reset()

func (*UpdateEntityTypeRequest) String

func (x *UpdateEntityTypeRequest) String() string

type UpdateEnvironmentRequest

type UpdateEnvironmentRequest struct {

	// Required. The environment to update.
	Environment *Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"`
	// Required. The mask to control which fields get updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

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

func (*UpdateEnvironmentRequest) Descriptor deprecated

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

Deprecated: Use UpdateEnvironmentRequest.ProtoReflect.Descriptor instead.

func (*UpdateEnvironmentRequest) GetEnvironment

func (x *UpdateEnvironmentRequest) GetEnvironment() *Environment

func (*UpdateEnvironmentRequest) GetUpdateMask

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

func (*UpdateEnvironmentRequest) ProtoMessage

func (*UpdateEnvironmentRequest) ProtoMessage()

func (*UpdateEnvironmentRequest) ProtoReflect

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

func (*UpdateEnvironmentRequest) Reset

func (x *UpdateEnvironmentRequest) Reset()

func (*UpdateEnvironmentRequest) String

func (x *UpdateEnvironmentRequest) String() string

type UpdateExperimentRequest

type UpdateExperimentRequest struct {

	// Required. The experiment to update.
	Experiment *Experiment `protobuf:"bytes,1,opt,name=experiment,proto3" json:"experiment,omitempty"`
	// Required. The mask to control which fields get updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

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

func (*UpdateExperimentRequest) Descriptor deprecated

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

Deprecated: Use UpdateExperimentRequest.ProtoReflect.Descriptor instead.

func (*UpdateExperimentRequest) GetExperiment

func (x *UpdateExperimentRequest) GetExperiment() *Experiment

func (*UpdateExperimentRequest) GetUpdateMask

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

func (*UpdateExperimentRequest) ProtoMessage

func (*UpdateExperimentRequest) ProtoMessage()

func (*UpdateExperimentRequest) ProtoReflect

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

func (*UpdateExperimentRequest) Reset

func (x *UpdateExperimentRequest) Reset()

func (*UpdateExperimentRequest) String

func (x *UpdateExperimentRequest) String() string

type UpdateFlowRequest

type UpdateFlowRequest struct {

	// Required. The flow to update.
	Flow *Flow `protobuf:"bytes,1,opt,name=flow,proto3" json:"flow,omitempty"`
	// Required. The mask to control which fields get updated. If `update_mask` is not
	// specified, an error will be returned.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,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.UpdateFlow][google.cloud.dialogflow.cx.v3.Flows.UpdateFlow].

func (*UpdateFlowRequest) Descriptor deprecated

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

Deprecated: Use UpdateFlowRequest.ProtoReflect.Descriptor instead.

func (*UpdateFlowRequest) GetFlow

func (x *UpdateFlowRequest) GetFlow() *Flow

func (*UpdateFlowRequest) GetLanguageCode

func (x *UpdateFlowRequest) GetLanguageCode() string

func (*UpdateFlowRequest) GetUpdateMask

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

func (*UpdateFlowRequest) ProtoMessage

func (*UpdateFlowRequest) ProtoMessage()

func (*UpdateFlowRequest) ProtoReflect

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

func (*UpdateFlowRequest) Reset

func (x *UpdateFlowRequest) Reset()

func (*UpdateFlowRequest) String

func (x *UpdateFlowRequest) String() string

type UpdateIntentRequest

type UpdateIntentRequest struct {

	// Required. The intent to update.
	Intent *Intent `protobuf:"bytes,1,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,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// The mask to control which fields get updated. If the mask is not present,
	// all fields will be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

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

func (*UpdateIntentRequest) Descriptor deprecated

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

Deprecated: Use UpdateIntentRequest.ProtoReflect.Descriptor instead.

func (*UpdateIntentRequest) GetIntent

func (x *UpdateIntentRequest) GetIntent() *Intent

func (*UpdateIntentRequest) GetLanguageCode

func (x *UpdateIntentRequest) GetLanguageCode() string

func (*UpdateIntentRequest) GetUpdateMask

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

func (*UpdateIntentRequest) ProtoMessage

func (*UpdateIntentRequest) ProtoMessage()

func (*UpdateIntentRequest) ProtoReflect

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

func (*UpdateIntentRequest) Reset

func (x *UpdateIntentRequest) Reset()

func (*UpdateIntentRequest) String

func (x *UpdateIntentRequest) String() string

type UpdatePageRequest

type UpdatePageRequest struct {

	// Required. The page to update.
	Page *Page `protobuf:"bytes,1,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,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	// The mask to control which fields get updated. If the mask is not present,
	// all fields will be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

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

func (*UpdatePageRequest) Descriptor deprecated

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

Deprecated: Use UpdatePageRequest.ProtoReflect.Descriptor instead.

func (*UpdatePageRequest) GetLanguageCode

func (x *UpdatePageRequest) GetLanguageCode() string

func (*UpdatePageRequest) GetPage

func (x *UpdatePageRequest) GetPage() *Page

func (*UpdatePageRequest) GetUpdateMask

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

func (*UpdatePageRequest) ProtoMessage

func (*UpdatePageRequest) ProtoMessage()

func (*UpdatePageRequest) ProtoReflect

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

func (*UpdatePageRequest) Reset

func (x *UpdatePageRequest) Reset()

func (*UpdatePageRequest) String

func (x *UpdatePageRequest) String() string

type UpdateSecuritySettingsRequest

type UpdateSecuritySettingsRequest struct {

	// Required. [SecuritySettings] object that contains values for each of the
	// fields to update.
	SecuritySettings *SecuritySettings `protobuf:"bytes,1,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"`
	// Required. The mask to control which fields get updated. If the mask is not present,
	// all fields will be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

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

func (*UpdateSecuritySettingsRequest) Descriptor deprecated

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

Deprecated: Use UpdateSecuritySettingsRequest.ProtoReflect.Descriptor instead.

func (*UpdateSecuritySettingsRequest) GetSecuritySettings

func (x *UpdateSecuritySettingsRequest) GetSecuritySettings() *SecuritySettings

func (*UpdateSecuritySettingsRequest) GetUpdateMask

func (*UpdateSecuritySettingsRequest) ProtoMessage

func (*UpdateSecuritySettingsRequest) ProtoMessage()

func (*UpdateSecuritySettingsRequest) ProtoReflect

func (*UpdateSecuritySettingsRequest) Reset

func (x *UpdateSecuritySettingsRequest) Reset()

func (*UpdateSecuritySettingsRequest) String

type UpdateSessionEntityTypeRequest

type UpdateSessionEntityTypeRequest struct {

	// Required. The session entity type to update.
	// 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.
	SessionEntityType *SessionEntityType `protobuf:"bytes,1,opt,name=session_entity_type,json=sessionEntityType,proto3" json:"session_entity_type,omitempty"`
	// The mask to control which fields get updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

The request message for [SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.UpdateSessionEntityType].

func (*UpdateSessionEntityTypeRequest) Descriptor deprecated

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

Deprecated: Use UpdateSessionEntityTypeRequest.ProtoReflect.Descriptor instead.

func (*UpdateSessionEntityTypeRequest) GetSessionEntityType

func (x *UpdateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType

func (*UpdateSessionEntityTypeRequest) GetUpdateMask

func (*UpdateSessionEntityTypeRequest) ProtoMessage

func (*UpdateSessionEntityTypeRequest) ProtoMessage()

func (*UpdateSessionEntityTypeRequest) ProtoReflect

func (*UpdateSessionEntityTypeRequest) Reset

func (x *UpdateSessionEntityTypeRequest) Reset()

func (*UpdateSessionEntityTypeRequest) String

type UpdateTransitionRouteGroupRequest

type UpdateTransitionRouteGroupRequest struct {

	// Required. The transition route group to update.
	TransitionRouteGroup *TransitionRouteGroup `protobuf:"bytes,1,opt,name=transition_route_group,json=transitionRouteGroup,proto3" json:"transition_route_group,omitempty"`
	// The mask to control which fields get updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,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.UpdateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.UpdateTransitionRouteGroup].

func (*UpdateTransitionRouteGroupRequest) Descriptor deprecated

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

Deprecated: Use UpdateTransitionRouteGroupRequest.ProtoReflect.Descriptor instead.

func (*UpdateTransitionRouteGroupRequest) GetLanguageCode

func (x *UpdateTransitionRouteGroupRequest) GetLanguageCode() string

func (*UpdateTransitionRouteGroupRequest) GetTransitionRouteGroup

func (x *UpdateTransitionRouteGroupRequest) GetTransitionRouteGroup() *TransitionRouteGroup

func (*UpdateTransitionRouteGroupRequest) GetUpdateMask

func (*UpdateTransitionRouteGroupRequest) ProtoMessage

func (*UpdateTransitionRouteGroupRequest) ProtoMessage()

func (*UpdateTransitionRouteGroupRequest) ProtoReflect

func (*UpdateTransitionRouteGroupRequest) Reset

func (*UpdateTransitionRouteGroupRequest) String

type UpdateVersionRequest

type UpdateVersionRequest struct {

	// Required. The version to update.
	Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Required. The mask to control which fields get updated. Currently only `description`
	// and `display_name` can be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

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

func (*UpdateVersionRequest) Descriptor deprecated

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

Deprecated: Use UpdateVersionRequest.ProtoReflect.Descriptor instead.

func (*UpdateVersionRequest) GetUpdateMask

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

func (*UpdateVersionRequest) GetVersion

func (x *UpdateVersionRequest) GetVersion() *Version

func (*UpdateVersionRequest) ProtoMessage

func (*UpdateVersionRequest) ProtoMessage()

func (*UpdateVersionRequest) ProtoReflect

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

func (*UpdateVersionRequest) Reset

func (x *UpdateVersionRequest) Reset()

func (*UpdateVersionRequest) String

func (x *UpdateVersionRequest) String() string

type UpdateWebhookRequest

type UpdateWebhookRequest struct {

	// Required. The webhook to update.
	Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"`
	// The mask to control which fields get updated. If the mask is not present,
	// all fields will be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

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

func (*UpdateWebhookRequest) Descriptor deprecated

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

Deprecated: Use UpdateWebhookRequest.ProtoReflect.Descriptor instead.

func (*UpdateWebhookRequest) GetUpdateMask

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

func (*UpdateWebhookRequest) GetWebhook

func (x *UpdateWebhookRequest) GetWebhook() *Webhook

func (*UpdateWebhookRequest) ProtoMessage

func (*UpdateWebhookRequest) ProtoMessage()

func (*UpdateWebhookRequest) ProtoReflect

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

func (*UpdateWebhookRequest) Reset

func (x *UpdateWebhookRequest) Reset()

func (*UpdateWebhookRequest) String

func (x *UpdateWebhookRequest) String() string

type VariantsHistory

type VariantsHistory struct {

	// The variants updated. We currently only support single variant
	// experiment.
	//
	// Types that are assignable to Variants:
	//	*VariantsHistory_VersionVariants
	Variants isVariantsHistory_Variants `protobuf_oneof:"variants"`
	// Update time of the variants.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

The history of variants update.

func (*VariantsHistory) Descriptor deprecated

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

Deprecated: Use VariantsHistory.ProtoReflect.Descriptor instead.

func (*VariantsHistory) GetUpdateTime

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

func (*VariantsHistory) GetVariants

func (m *VariantsHistory) GetVariants() isVariantsHistory_Variants

func (*VariantsHistory) GetVersionVariants

func (x *VariantsHistory) GetVersionVariants() *VersionVariants

func (*VariantsHistory) ProtoMessage

func (*VariantsHistory) ProtoMessage()

func (*VariantsHistory) ProtoReflect

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

func (*VariantsHistory) Reset

func (x *VariantsHistory) Reset()

func (*VariantsHistory) String

func (x *VariantsHistory) String() string

type VariantsHistory_VersionVariants

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

type Version

type Version struct {

	// Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent
	// ID>/flows/<Flow ID>/versions/<Version ID>. Version ID is a self-increasing
	// number generated by Dialogflow upon version creation.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The human-readable name of the version. Limit of 64 characters.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The description of the version. The maximum length is 500 characters. If
	// exceeded, the request is rejected.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. The NLU settings of the flow at version creation.
	NluSettings *NluSettings `protobuf:"bytes,4,opt,name=nlu_settings,json=nluSettings,proto3" json:"nlu_settings,omitempty"`
	// Output only. Create time of the version.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The state of this version. This field is read-only and cannot be set by
	// create and update methods.
	State Version_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.dialogflow.cx.v3.Version_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Represents a version of a flow.

func (*Version) Descriptor deprecated

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

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetCreateTime

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

func (*Version) GetDescription

func (x *Version) GetDescription() string

func (*Version) GetDisplayName

func (x *Version) GetDisplayName() string

func (*Version) GetName

func (x *Version) GetName() string

func (*Version) GetNluSettings

func (x *Version) GetNluSettings() *NluSettings

func (*Version) GetState

func (x *Version) GetState() Version_State

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

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

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

type VersionVariants

type VersionVariants struct {

	// A list of flow version variants.
	Variants []*VersionVariants_Variant `protobuf:"bytes,1,rep,name=variants,proto3" json:"variants,omitempty"`
	// contains filtered or unexported fields
}

A list of flow version variants.

func (*VersionVariants) Descriptor deprecated

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

Deprecated: Use VersionVariants.ProtoReflect.Descriptor instead.

func (*VersionVariants) GetVariants

func (x *VersionVariants) GetVariants() []*VersionVariants_Variant

func (*VersionVariants) ProtoMessage

func (*VersionVariants) ProtoMessage()

func (*VersionVariants) ProtoReflect

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

func (*VersionVariants) Reset

func (x *VersionVariants) Reset()

func (*VersionVariants) String

func (x *VersionVariants) String() string

type VersionVariants_Variant

type VersionVariants_Variant struct {

	// The name of the flow 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"`
	// Percentage of the traffic which should be routed to this
	// version of flow. Traffic allocation for a single flow must sum up to 1.0.
	TrafficAllocation float32 `protobuf:"fixed32,2,opt,name=traffic_allocation,json=trafficAllocation,proto3" json:"traffic_allocation,omitempty"`
	// Whether the variant is for the control group.
	IsControlGroup bool `protobuf:"varint,3,opt,name=is_control_group,json=isControlGroup,proto3" json:"is_control_group,omitempty"`
	// contains filtered or unexported fields
}

A single flow version with specified traffic allocation.

func (*VersionVariants_Variant) Descriptor deprecated

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

Deprecated: Use VersionVariants_Variant.ProtoReflect.Descriptor instead.

func (*VersionVariants_Variant) GetIsControlGroup

func (x *VersionVariants_Variant) GetIsControlGroup() bool

func (*VersionVariants_Variant) GetTrafficAllocation

func (x *VersionVariants_Variant) GetTrafficAllocation() float32

func (*VersionVariants_Variant) GetVersion

func (x *VersionVariants_Variant) GetVersion() string

func (*VersionVariants_Variant) ProtoMessage

func (*VersionVariants_Variant) ProtoMessage()

func (*VersionVariants_Variant) ProtoReflect

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

func (*VersionVariants_Variant) Reset

func (x *VersionVariants_Variant) Reset()

func (*VersionVariants_Variant) String

func (x *VersionVariants_Variant) String() string

type Version_State

type Version_State int32

The state of the version.

const (
	// Not specified. This value is not used.
	Version_STATE_UNSPECIFIED Version_State = 0
	// Version is not ready to serve (e.g. training is running).
	Version_RUNNING Version_State = 1
	// Training has succeeded and this version is ready to serve.
	Version_SUCCEEDED Version_State = 2
	// Version training failed.
	Version_FAILED Version_State = 3
)

func (Version_State) Descriptor

func (Version_State) Enum

func (x Version_State) Enum() *Version_State

func (Version_State) EnumDescriptor deprecated

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

Deprecated: Use Version_State.Descriptor instead.

func (Version_State) Number

func (Version_State) String

func (x Version_State) String() string

func (Version_State) Type

type VersionsClient

type VersionsClient interface {
	// Returns the list of all versions in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].
	ListVersions(ctx context.Context, in *ListVersionsRequest, opts ...grpc.CallOption) (*ListVersionsResponse, error)
	// Retrieves the specified [Version][google.cloud.dialogflow.cx.v3.Version].
	GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*Version, error)
	// Creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].
	CreateVersion(ctx context.Context, in *CreateVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates the specified [Version][google.cloud.dialogflow.cx.v3.Version].
	UpdateVersion(ctx context.Context, in *UpdateVersionRequest, opts ...grpc.CallOption) (*Version, error)
	// Deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version].
	DeleteVersion(ctx context.Context, in *DeleteVersionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Loads a specified version to draft version.
	LoadVersion(ctx context.Context, in *LoadVersionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
}

VersionsClient is the client API for Versions service.

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

func NewVersionsClient

func NewVersionsClient(cc grpc.ClientConnInterface) VersionsClient

type VersionsServer

type VersionsServer interface {
	// Returns the list of all versions in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].
	ListVersions(context.Context, *ListVersionsRequest) (*ListVersionsResponse, error)
	// Retrieves the specified [Version][google.cloud.dialogflow.cx.v3.Version].
	GetVersion(context.Context, *GetVersionRequest) (*Version, error)
	// Creates a [Version][google.cloud.dialogflow.cx.v3.Version] in the specified [Flow][google.cloud.dialogflow.cx.v3.Flow].
	CreateVersion(context.Context, *CreateVersionRequest) (*longrunning.Operation, error)
	// Updates the specified [Version][google.cloud.dialogflow.cx.v3.Version].
	UpdateVersion(context.Context, *UpdateVersionRequest) (*Version, error)
	// Deletes the specified [Version][google.cloud.dialogflow.cx.v3.Version].
	DeleteVersion(context.Context, *DeleteVersionRequest) (*emptypb.Empty, error)
	// Loads a specified version to draft version.
	LoadVersion(context.Context, *LoadVersionRequest) (*longrunning.Operation, error)
}

VersionsServer is the server API for Versions service.

type VoiceSelectionParams

type VoiceSelectionParams struct {

	// Optional. The name of the voice. If not set, the service will choose a
	// voice based on the other parameters such as language_code and
	// [ssml_gender][google.cloud.dialogflow.cx.v3.VoiceSelectionParams.ssml_gender].
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The preferred gender of the voice. If not set, the service will
	// choose a voice based on the other parameters such as language_code and
	// [name][google.cloud.dialogflow.cx.v3.VoiceSelectionParams.name]. Note that this is only a preference, not requirement. If a
	// voice of the appropriate gender is not available, the synthesizer should
	// substitute a voice with a different gender rather than failing the request.
	SsmlGender SsmlVoiceGender `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

Description of which voice to use for speech synthesis.

func (*VoiceSelectionParams) Descriptor deprecated

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

Deprecated: Use VoiceSelectionParams.ProtoReflect.Descriptor instead.

func (*VoiceSelectionParams) GetName

func (x *VoiceSelectionParams) GetName() string

func (*VoiceSelectionParams) GetSsmlGender

func (x *VoiceSelectionParams) GetSsmlGender() SsmlVoiceGender

func (*VoiceSelectionParams) ProtoMessage

func (*VoiceSelectionParams) ProtoMessage()

func (*VoiceSelectionParams) ProtoReflect

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

func (*VoiceSelectionParams) Reset

func (x *VoiceSelectionParams) Reset()

func (*VoiceSelectionParams) String

func (x *VoiceSelectionParams) String() string

type Webhook

type Webhook struct {

	// The unique identifier of the webhook.
	// Required for the [Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook] method.
	// [Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook] populates the name automatically.
	// 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"`
	// Required. The human-readable name of the webhook, unique within the agent.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Required. The webhook configuration.
	//
	// Types that are assignable to Webhook:
	//	*Webhook_GenericWebService_
	Webhook isWebhook_Webhook `protobuf_oneof:"webhook"`
	// Webhook execution timeout. Execution is considered failed if Dialogflow
	// doesn't receive a response from webhook at the end of the timeout period.
	// Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
	Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Indicates whether the webhook is disabled.
	Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

Webhooks host the developer's business logic. During a session, webhooks allow the developer to use the data extracted by Dialogflow's natural language processing to generate dynamic responses, validate collected data, or trigger actions on the backend.

func (*Webhook) Descriptor deprecated

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

Deprecated: Use Webhook.ProtoReflect.Descriptor instead.

func (*Webhook) GetDisabled

func (x *Webhook) GetDisabled() bool

func (*Webhook) GetDisplayName

func (x *Webhook) GetDisplayName() string

func (*Webhook) GetGenericWebService

func (x *Webhook) GetGenericWebService() *Webhook_GenericWebService

func (*Webhook) GetName

func (x *Webhook) GetName() string

func (*Webhook) GetTimeout

func (x *Webhook) GetTimeout() *durationpb.Duration

func (*Webhook) GetWebhook

func (m *Webhook) GetWebhook() isWebhook_Webhook

func (*Webhook) ProtoMessage

func (*Webhook) ProtoMessage()

func (*Webhook) ProtoReflect

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

func (*Webhook) Reset

func (x *Webhook) Reset()

func (*Webhook) String

func (x *Webhook) String() string

type WebhookRequest

type WebhookRequest struct {

	// Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse] that
	// will be returned to the API caller.
	DetectIntentResponseId string `` /* 131-byte string literal not displayed */
	// Always present. Information about the fulfillment that triggered this
	// webhook call.
	FulfillmentInfo *WebhookRequest_FulfillmentInfo `protobuf:"bytes,6,opt,name=fulfillment_info,json=fulfillmentInfo,proto3" json:"fulfillment_info,omitempty"`
	// Information about the last matched intent.
	IntentInfo *WebhookRequest_IntentInfo `protobuf:"bytes,3,opt,name=intent_info,json=intentInfo,proto3" json:"intent_info,omitempty"`
	// Information about page status.
	PageInfo *PageInfo `protobuf:"bytes,4,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
	// Information about session status.
	SessionInfo *SessionInfo `protobuf:"bytes,5,opt,name=session_info,json=sessionInfo,proto3" json:"session_info,omitempty"`
	// The list of rich message responses to present to the user. Webhook can
	// choose to append or replace this list in
	// [WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3.WebhookResponse.fulfillment_response];
	Messages []*ResponseMessage `protobuf:"bytes,7,rep,name=messages,proto3" json:"messages,omitempty"`
	// Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload].
	Payload *structpb.Struct `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

The request message for a webhook call.

func (*WebhookRequest) Descriptor deprecated

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

Deprecated: Use WebhookRequest.ProtoReflect.Descriptor instead.

func (*WebhookRequest) GetDetectIntentResponseId

func (x *WebhookRequest) GetDetectIntentResponseId() string

func (*WebhookRequest) GetFulfillmentInfo

func (x *WebhookRequest) GetFulfillmentInfo() *WebhookRequest_FulfillmentInfo

func (*WebhookRequest) GetIntentInfo

func (x *WebhookRequest) GetIntentInfo() *WebhookRequest_IntentInfo

func (*WebhookRequest) GetMessages

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

func (*WebhookRequest) GetPageInfo

func (x *WebhookRequest) GetPageInfo() *PageInfo

func (*WebhookRequest) GetPayload

func (x *WebhookRequest) GetPayload() *structpb.Struct

func (*WebhookRequest) GetSessionInfo

func (x *WebhookRequest) GetSessionInfo() *SessionInfo

func (*WebhookRequest) ProtoMessage

func (*WebhookRequest) ProtoMessage()

func (*WebhookRequest) ProtoReflect

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

func (*WebhookRequest) Reset

func (x *WebhookRequest) Reset()

func (*WebhookRequest) String

func (x *WebhookRequest) String() string

type WebhookRequest_FulfillmentInfo

type WebhookRequest_FulfillmentInfo struct {

	// Always present. The tag used to identify which fulfillment is being
	// called.
	Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

Represents fulfillment information communicated to the webhook.

func (*WebhookRequest_FulfillmentInfo) Descriptor deprecated

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

Deprecated: Use WebhookRequest_FulfillmentInfo.ProtoReflect.Descriptor instead.

func (*WebhookRequest_FulfillmentInfo) GetTag

func (*WebhookRequest_FulfillmentInfo) ProtoMessage

func (*WebhookRequest_FulfillmentInfo) ProtoMessage()

func (*WebhookRequest_FulfillmentInfo) ProtoReflect

func (*WebhookRequest_FulfillmentInfo) Reset

func (x *WebhookRequest_FulfillmentInfo) Reset()

func (*WebhookRequest_FulfillmentInfo) String

type WebhookRequest_IntentInfo

type WebhookRequest_IntentInfo struct {

	// Always present. The unique identifier of the last matched
	// [intent][google.cloud.dialogflow.cx.v3.Intent]. Format: `projects/<Project ID>/locations/<Location
	// ID>/agents/<Agent ID>/intents/<Intent ID>`.
	LastMatchedIntent string `protobuf:"bytes,1,opt,name=last_matched_intent,json=lastMatchedIntent,proto3" json:"last_matched_intent,omitempty"`
	// Parameters identified as a result of intent matching. This is a map of
	// the name of the identified parameter to the value of the parameter
	// identified from the user's utterance. All parameters defined in the
	// matched intent that are identified will be surfaced here.
	Parameters map[string]*WebhookRequest_IntentInfo_IntentParameterValue `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents intent information communicated to the webhook.

func (*WebhookRequest_IntentInfo) Descriptor deprecated

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

Deprecated: Use WebhookRequest_IntentInfo.ProtoReflect.Descriptor instead.

func (*WebhookRequest_IntentInfo) GetLastMatchedIntent

func (x *WebhookRequest_IntentInfo) GetLastMatchedIntent() string

func (*WebhookRequest_IntentInfo) GetParameters

func (*WebhookRequest_IntentInfo) ProtoMessage

func (*WebhookRequest_IntentInfo) ProtoMessage()

func (*WebhookRequest_IntentInfo) ProtoReflect

func (*WebhookRequest_IntentInfo) Reset

func (x *WebhookRequest_IntentInfo) Reset()

func (*WebhookRequest_IntentInfo) String

func (x *WebhookRequest_IntentInfo) String() string

type WebhookRequest_IntentInfo_IntentParameterValue

type WebhookRequest_IntentInfo_IntentParameterValue struct {

	// Always present. Original text value extracted from user utterance.
	OriginalValue string `protobuf:"bytes,1,opt,name=original_value,json=originalValue,proto3" json:"original_value,omitempty"`
	// Always present. Structured value for the parameter extracted from user
	// utterance.
	ResolvedValue *structpb.Value `protobuf:"bytes,2,opt,name=resolved_value,json=resolvedValue,proto3" json:"resolved_value,omitempty"`
	// contains filtered or unexported fields
}

Represents a value for an intent parameter.

func (*WebhookRequest_IntentInfo_IntentParameterValue) Descriptor deprecated

Deprecated: Use WebhookRequest_IntentInfo_IntentParameterValue.ProtoReflect.Descriptor instead.

func (*WebhookRequest_IntentInfo_IntentParameterValue) GetOriginalValue

func (*WebhookRequest_IntentInfo_IntentParameterValue) GetResolvedValue

func (*WebhookRequest_IntentInfo_IntentParameterValue) ProtoMessage

func (*WebhookRequest_IntentInfo_IntentParameterValue) ProtoReflect

func (*WebhookRequest_IntentInfo_IntentParameterValue) Reset

func (*WebhookRequest_IntentInfo_IntentParameterValue) String

type WebhookResponse

type WebhookResponse struct {

	// The fulfillment response to send to the user. This field can be omitted by
	// the webhook if it does not intend to send any response to the user.
	FulfillmentResponse *WebhookResponse_FulfillmentResponse `protobuf:"bytes,1,opt,name=fulfillment_response,json=fulfillmentResponse,proto3" json:"fulfillment_response,omitempty"`
	// Information about page status. This field can be omitted by the webhook if
	// it does not intend to modify page status.
	PageInfo *PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"`
	// Information about session status. This field can be omitted by the webhook
	// if it does not intend to modify session status.
	SessionInfo *SessionInfo `protobuf:"bytes,3,opt,name=session_info,json=sessionInfo,proto3" json:"session_info,omitempty"`
	// Value to append directly to [QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads].
	Payload *structpb.Struct `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	// The target to transition to. This can be set optionally to indicate an
	// immediate transition to a different page in the same host flow, or a
	// different flow in the same agent.
	//
	// Types that are assignable to Transition:
	//	*WebhookResponse_TargetPage
	//	*WebhookResponse_TargetFlow
	Transition isWebhookResponse_Transition `protobuf_oneof:"transition"`
	// contains filtered or unexported fields
}

The response message for a webhook call.

func (*WebhookResponse) Descriptor deprecated

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

Deprecated: Use WebhookResponse.ProtoReflect.Descriptor instead.

func (*WebhookResponse) GetFulfillmentResponse

func (x *WebhookResponse) GetFulfillmentResponse() *WebhookResponse_FulfillmentResponse

func (*WebhookResponse) GetPageInfo

func (x *WebhookResponse) GetPageInfo() *PageInfo

func (*WebhookResponse) GetPayload

func (x *WebhookResponse) GetPayload() *structpb.Struct

func (*WebhookResponse) GetSessionInfo

func (x *WebhookResponse) GetSessionInfo() *SessionInfo

func (*WebhookResponse) GetTargetFlow

func (x *WebhookResponse) GetTargetFlow() string

func (*WebhookResponse) GetTargetPage

func (x *WebhookResponse) GetTargetPage() string

func (*WebhookResponse) GetTransition

func (m *WebhookResponse) GetTransition() isWebhookResponse_Transition

func (*WebhookResponse) ProtoMessage

func (*WebhookResponse) ProtoMessage()

func (*WebhookResponse) ProtoReflect

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

func (*WebhookResponse) Reset

func (x *WebhookResponse) Reset()

func (*WebhookResponse) String

func (x *WebhookResponse) String() string

type WebhookResponse_FulfillmentResponse

type WebhookResponse_FulfillmentResponse struct {

	// The list of rich message responses to present to the user.
	Messages []*ResponseMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// Merge behavior for `messages`.
	MergeBehavior WebhookResponse_FulfillmentResponse_MergeBehavior `` /* 186-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents a fulfillment response to the user.

func (*WebhookResponse_FulfillmentResponse) Descriptor deprecated

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

Deprecated: Use WebhookResponse_FulfillmentResponse.ProtoReflect.Descriptor instead.

func (*WebhookResponse_FulfillmentResponse) GetMergeBehavior

func (*WebhookResponse_FulfillmentResponse) GetMessages

func (*WebhookResponse_FulfillmentResponse) ProtoMessage

func (*WebhookResponse_FulfillmentResponse) ProtoMessage()

func (*WebhookResponse_FulfillmentResponse) ProtoReflect

func (*WebhookResponse_FulfillmentResponse) Reset

func (*WebhookResponse_FulfillmentResponse) String

type WebhookResponse_FulfillmentResponse_MergeBehavior

type WebhookResponse_FulfillmentResponse_MergeBehavior int32

Defines merge behavior for `messages`.

const (
	// Not specified. `APPEND` will be used.
	WebhookResponse_FulfillmentResponse_MERGE_BEHAVIOR_UNSPECIFIED WebhookResponse_FulfillmentResponse_MergeBehavior = 0
	// `messages` will be appended to the list of messages waiting to be sent
	// to the user.
	WebhookResponse_FulfillmentResponse_APPEND WebhookResponse_FulfillmentResponse_MergeBehavior = 1
	// `messages` will replace the list of messages waiting to be sent to the
	// user.
	WebhookResponse_FulfillmentResponse_REPLACE WebhookResponse_FulfillmentResponse_MergeBehavior = 2
)

func (WebhookResponse_FulfillmentResponse_MergeBehavior) Descriptor

func (WebhookResponse_FulfillmentResponse_MergeBehavior) Enum

func (WebhookResponse_FulfillmentResponse_MergeBehavior) EnumDescriptor deprecated

Deprecated: Use WebhookResponse_FulfillmentResponse_MergeBehavior.Descriptor instead.

func (WebhookResponse_FulfillmentResponse_MergeBehavior) Number

func (WebhookResponse_FulfillmentResponse_MergeBehavior) String

func (WebhookResponse_FulfillmentResponse_MergeBehavior) Type

type WebhookResponse_TargetFlow

type WebhookResponse_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,6,opt,name=target_flow,json=targetFlow,proto3,oneof"`
}

type WebhookResponse_TargetPage

type WebhookResponse_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,5,opt,name=target_page,json=targetPage,proto3,oneof"`
}

type Webhook_GenericWebService

type Webhook_GenericWebService struct {

	// Required. The webhook URI for receiving POST requests. It must use https protocol.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// The user name for HTTP Basic authentication.
	//
	// Deprecated: Do not use.
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// The password for HTTP Basic authentication.
	//
	// Deprecated: Do not use.
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// The HTTP request headers to send together with webhook
	// requests.
	RequestHeaders map[string]string `` /* 191-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents configuration for a generic web service.

func (*Webhook_GenericWebService) Descriptor deprecated

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

Deprecated: Use Webhook_GenericWebService.ProtoReflect.Descriptor instead.

func (*Webhook_GenericWebService) GetPassword deprecated

func (x *Webhook_GenericWebService) GetPassword() string

Deprecated: Do not use.

func (*Webhook_GenericWebService) GetRequestHeaders

func (x *Webhook_GenericWebService) GetRequestHeaders() map[string]string

func (*Webhook_GenericWebService) GetUri

func (x *Webhook_GenericWebService) GetUri() string

func (*Webhook_GenericWebService) GetUsername deprecated

func (x *Webhook_GenericWebService) GetUsername() string

Deprecated: Do not use.

func (*Webhook_GenericWebService) ProtoMessage

func (*Webhook_GenericWebService) ProtoMessage()

func (*Webhook_GenericWebService) ProtoReflect

func (*Webhook_GenericWebService) Reset

func (x *Webhook_GenericWebService) Reset()

func (*Webhook_GenericWebService) String

func (x *Webhook_GenericWebService) String() string

type Webhook_GenericWebService_

type Webhook_GenericWebService_ struct {
	// Configuration for a generic web service.
	GenericWebService *Webhook_GenericWebService `protobuf:"bytes,4,opt,name=generic_web_service,json=genericWebService,proto3,oneof"`
}

type WebhooksClient

type WebhooksClient interface {
	// Returns the list of all webhooks in the specified agent.
	ListWebhooks(ctx context.Context, in *ListWebhooksRequest, opts ...grpc.CallOption) (*ListWebhooksResponse, error)
	// Retrieves the specified webhook.
	GetWebhook(ctx context.Context, in *GetWebhookRequest, opts ...grpc.CallOption) (*Webhook, error)
	// Creates a webhook in the specified agent.
	CreateWebhook(ctx context.Context, in *CreateWebhookRequest, opts ...grpc.CallOption) (*Webhook, error)
	// Updates the specified webhook.
	UpdateWebhook(ctx context.Context, in *UpdateWebhookRequest, opts ...grpc.CallOption) (*Webhook, error)
	// Deletes the specified webhook.
	DeleteWebhook(ctx context.Context, in *DeleteWebhookRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

WebhooksClient is the client API for Webhooks service.

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

func NewWebhooksClient

func NewWebhooksClient(cc grpc.ClientConnInterface) WebhooksClient

type WebhooksServer

type WebhooksServer interface {
	// Returns the list of all webhooks in the specified agent.
	ListWebhooks(context.Context, *ListWebhooksRequest) (*ListWebhooksResponse, error)
	// Retrieves the specified webhook.
	GetWebhook(context.Context, *GetWebhookRequest) (*Webhook, error)
	// Creates a webhook in the specified agent.
	CreateWebhook(context.Context, *CreateWebhookRequest) (*Webhook, error)
	// Updates the specified webhook.
	UpdateWebhook(context.Context, *UpdateWebhookRequest) (*Webhook, error)
	// Deletes the specified webhook.
	DeleteWebhook(context.Context, *DeleteWebhookRequest) (*emptypb.Empty, error)
}

WebhooksServer is the server API for Webhooks service.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL