Documentation

Overview

    Package dialogflow is a generated protocol buffer package.

    It is generated from these files:

    google/cloud/dialogflow/v2/agent.proto
    google/cloud/dialogflow/v2/context.proto
    google/cloud/dialogflow/v2/entity_type.proto
    google/cloud/dialogflow/v2/intent.proto
    google/cloud/dialogflow/v2/session.proto
    google/cloud/dialogflow/v2/session_entity_type.proto
    google/cloud/dialogflow/v2/webhook.proto
    

    It has these top-level messages:

    Agent
    GetAgentRequest
    SearchAgentsRequest
    SearchAgentsResponse
    TrainAgentRequest
    ExportAgentRequest
    ExportAgentResponse
    ImportAgentRequest
    RestoreAgentRequest
    Context
    ListContextsRequest
    ListContextsResponse
    GetContextRequest
    CreateContextRequest
    UpdateContextRequest
    DeleteContextRequest
    DeleteAllContextsRequest
    EntityType
    ListEntityTypesRequest
    ListEntityTypesResponse
    GetEntityTypeRequest
    CreateEntityTypeRequest
    UpdateEntityTypeRequest
    DeleteEntityTypeRequest
    BatchUpdateEntityTypesRequest
    BatchUpdateEntityTypesResponse
    BatchDeleteEntityTypesRequest
    BatchCreateEntitiesRequest
    BatchUpdateEntitiesRequest
    BatchDeleteEntitiesRequest
    EntityTypeBatch
    Intent
    ListIntentsRequest
    ListIntentsResponse
    GetIntentRequest
    CreateIntentRequest
    UpdateIntentRequest
    DeleteIntentRequest
    BatchUpdateIntentsRequest
    BatchUpdateIntentsResponse
    BatchDeleteIntentsRequest
    IntentBatch
    DetectIntentRequest
    DetectIntentResponse
    QueryParameters
    QueryInput
    QueryResult
    StreamingDetectIntentRequest
    StreamingDetectIntentResponse
    StreamingRecognitionResult
    InputAudioConfig
    TextInput
    EventInput
    SessionEntityType
    ListSessionEntityTypesRequest
    ListSessionEntityTypesResponse
    GetSessionEntityTypeRequest
    CreateSessionEntityTypeRequest
    UpdateSessionEntityTypeRequest
    DeleteSessionEntityTypeRequest
    WebhookRequest
    WebhookResponse
    OriginalDetectIntentRequest
    

    Index

    Constants

    This section is empty.

    Variables

    View Source
    var Agent_MatchMode_name = map[int32]string{
    	0: "MATCH_MODE_UNSPECIFIED",
    	1: "MATCH_MODE_HYBRID",
    	2: "MATCH_MODE_ML_ONLY",
    }
    View Source
    var Agent_MatchMode_value = map[string]int32{
    	"MATCH_MODE_UNSPECIFIED": 0,
    	"MATCH_MODE_HYBRID":      1,
    	"MATCH_MODE_ML_ONLY":     2,
    }
    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",
    }
    View Source
    var 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,
    }
    View Source
    var EntityType_AutoExpansionMode_name = map[int32]string{
    	0: "AUTO_EXPANSION_MODE_UNSPECIFIED",
    	1: "AUTO_EXPANSION_MODE_DEFAULT",
    }
    View Source
    var EntityType_AutoExpansionMode_value = map[string]int32{
    	"AUTO_EXPANSION_MODE_UNSPECIFIED": 0,
    	"AUTO_EXPANSION_MODE_DEFAULT":     1,
    }
    View Source
    var EntityType_Kind_name = map[int32]string{
    	0: "KIND_UNSPECIFIED",
    	1: "KIND_MAP",
    	2: "KIND_LIST",
    }
    View Source
    var EntityType_Kind_value = map[string]int32{
    	"KIND_UNSPECIFIED": 0,
    	"KIND_MAP":         1,
    	"KIND_LIST":        2,
    }
    View Source
    var IntentView_name = map[int32]string{
    	0: "INTENT_VIEW_UNSPECIFIED",
    	1: "INTENT_VIEW_FULL",
    }
    View Source
    var IntentView_value = map[string]int32{
    	"INTENT_VIEW_UNSPECIFIED": 0,
    	"INTENT_VIEW_FULL":        1,
    }
    View Source
    var Intent_Message_Platform_name = map[int32]string{
    	0: "PLATFORM_UNSPECIFIED",
    	1: "FACEBOOK",
    	2: "SLACK",
    	3: "TELEGRAM",
    	4: "KIK",
    	5: "SKYPE",
    	6: "LINE",
    	7: "VIBER",
    	8: "ACTIONS_ON_GOOGLE",
    }
    View Source
    var Intent_Message_Platform_value = map[string]int32{
    	"PLATFORM_UNSPECIFIED": 0,
    	"FACEBOOK":             1,
    	"SLACK":                2,
    	"TELEGRAM":             3,
    	"KIK":                  4,
    	"SKYPE":                5,
    	"LINE":                 6,
    	"VIBER":                7,
    	"ACTIONS_ON_GOOGLE":    8,
    }
    View Source
    var Intent_TrainingPhrase_Type_name = map[int32]string{
    	0: "TYPE_UNSPECIFIED",
    	1: "EXAMPLE",
    	2: "TEMPLATE",
    }
    View Source
    var Intent_TrainingPhrase_Type_value = map[string]int32{
    	"TYPE_UNSPECIFIED": 0,
    	"EXAMPLE":          1,
    	"TEMPLATE":         2,
    }
    View Source
    var Intent_WebhookState_name = map[int32]string{
    	0: "WEBHOOK_STATE_UNSPECIFIED",
    	1: "WEBHOOK_STATE_ENABLED",
    	2: "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING",
    }
    View Source
    var Intent_WebhookState_value = map[string]int32{
    	"WEBHOOK_STATE_UNSPECIFIED":              0,
    	"WEBHOOK_STATE_ENABLED":                  1,
    	"WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING": 2,
    }
    View Source
    var SessionEntityType_EntityOverrideMode_name = map[int32]string{
    	0: "ENTITY_OVERRIDE_MODE_UNSPECIFIED",
    	1: "ENTITY_OVERRIDE_MODE_OVERRIDE",
    	2: "ENTITY_OVERRIDE_MODE_SUPPLEMENT",
    }
    View Source
    var SessionEntityType_EntityOverrideMode_value = map[string]int32{
    	"ENTITY_OVERRIDE_MODE_UNSPECIFIED": 0,
    	"ENTITY_OVERRIDE_MODE_OVERRIDE":    1,
    	"ENTITY_OVERRIDE_MODE_SUPPLEMENT":  2,
    }
    View Source
    var StreamingRecognitionResult_MessageType_name = map[int32]string{
    	0: "MESSAGE_TYPE_UNSPECIFIED",
    	1: "TRANSCRIPT",
    	2: "END_OF_SINGLE_UTTERANCE",
    }
    View Source
    var StreamingRecognitionResult_MessageType_value = map[string]int32{
    	"MESSAGE_TYPE_UNSPECIFIED": 0,
    	"TRANSCRIPT":               1,
    	"END_OF_SINGLE_UTTERANCE":  2,
    }

    Functions

    func RegisterAgentsServer

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

    func RegisterContextsServer

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

    func RegisterEntityTypesServer

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

    func RegisterIntentsServer

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

    func RegisterSessionEntityTypesServer

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

    func RegisterSessionsServer

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

    Types

    type Agent

    type Agent struct {
    	// Required. The project of this agent.
    	// Format: `projects/<Project ID>`.
    	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
    	// Required. The name of this agent.
    	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
    	// Required. The default language of the agent as a language tag. See
    	// [Language Support](https://dialogflow.com/docs/reference/language) for a
    	// list of the currently supported language codes.
    	// This field cannot be set by the `Update` method.
    	DefaultLanguageCode string `protobuf:"bytes,3,opt,name=default_language_code,json=defaultLanguageCode" json:"default_language_code,omitempty"`
    	// Optional. The list of all languages supported by this agent (except for the
    	// `default_language_code`).
    	SupportedLanguageCodes []string `protobuf:"bytes,4,rep,name=supported_language_codes,json=supportedLanguageCodes" json:"supported_language_codes,omitempty"`
    	// Required. The time zone of this agent from the
    	// [time zone database](https://www.iana.org/time-zones), e.g.,
    	// America/New_York, Europe/Paris.
    	TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone" json:"time_zone,omitempty"`
    	// Optional. The description of this agent.
    	// The maximum length is 500 characters. If exceeded, the request is rejected.
    	Description string `protobuf:"bytes,6,opt,name=description" json:"description,omitempty"`
    	// Optional. The URI of the agent's avatar.
    	// Avatars are used throughout the Dialogflow console and in the self-hosted
    	// [Web Demo](https://dialogflow.com/docs/integrations/web-demo) integration.
    	AvatarUri string `protobuf:"bytes,7,opt,name=avatar_uri,json=avatarUri" json:"avatar_uri,omitempty"`
    	// Optional. Determines whether this agent should log conversation queries.
    	EnableLogging bool `protobuf:"varint,8,opt,name=enable_logging,json=enableLogging" json:"enable_logging,omitempty"`
    	// Optional. Determines how intents are detected from user queries.
    	MatchMode Agent_MatchMode `` /* 130-byte string literal not displayed */
    	// Optional. To filter out false positive results and still get variety in
    	// matched natural language inputs for your agent, you can tune the machine
    	// learning classification threshold. If the returned score value is less than
    	// the threshold value, then a fallback intent is be triggered or, if there
    	// are no fallback intents defined, no intent will be triggered. The score
    	// values range from 0.0 (completely uncertain) to 1.0 (completely certain).
    	// If set to 0.0, the default of 0.3 is used.
    	ClassificationThreshold float32 `` /* 126-byte string literal not displayed */
    }

      Represents a conversational agent.

      func (*Agent) Descriptor

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

      func (*Agent) GetAvatarUri

      func (m *Agent) GetAvatarUri() string

      func (*Agent) GetClassificationThreshold

      func (m *Agent) GetClassificationThreshold() float32

      func (*Agent) GetDefaultLanguageCode

      func (m *Agent) GetDefaultLanguageCode() string

      func (*Agent) GetDescription

      func (m *Agent) GetDescription() string

      func (*Agent) GetDisplayName

      func (m *Agent) GetDisplayName() string

      func (*Agent) GetEnableLogging

      func (m *Agent) GetEnableLogging() bool

      func (*Agent) GetMatchMode

      func (m *Agent) GetMatchMode() Agent_MatchMode

      func (*Agent) GetParent

      func (m *Agent) GetParent() string

      func (*Agent) GetSupportedLanguageCodes

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

      func (*Agent) GetTimeZone

      func (m *Agent) GetTimeZone() string

      func (*Agent) ProtoMessage

      func (*Agent) ProtoMessage()

      func (*Agent) Reset

      func (m *Agent) Reset()

      func (*Agent) String

      func (m *Agent) String() string

      type Agent_MatchMode

      type Agent_MatchMode int32

        Match mode determines how intents are detected from user queries.

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

        func (Agent_MatchMode) EnumDescriptor

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

        func (Agent_MatchMode) String

        func (x Agent_MatchMode) String() string

        type AgentsClient

        type AgentsClient interface {
        	// Retrieves the specified agent.
        	GetAgent(ctx context.Context, in *GetAgentRequest, opts ...grpc.CallOption) (*Agent, error)
        	// Returns the list of agents.
        	//
        	// Since there is at most one conversational agent per project, this method is
        	// useful primarily for listing all agents across projects the caller has
        	// access to. One can achieve that with a wildcard project collection id "-".
        	// Refer to [List
        	// Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).
        	SearchAgents(ctx context.Context, in *SearchAgentsRequest, opts ...grpc.CallOption) (*SearchAgentsResponse, error)
        	// Trains the specified agent.
        	//
        	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
        	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
        	TrainAgent(ctx context.Context, in *TrainAgentRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
        	// Exports the specified agent to a ZIP file.
        	//
        	// Operation <response: [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse],
        	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
        	ExportAgent(ctx context.Context, in *ExportAgentRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
        	// Imports the specified agent from a ZIP file.
        	//
        	// Uploads new intents and entity types without deleting the existing ones.
        	// Intents and entity types with the same name are replaced with the new
        	// versions from ImportAgentRequest.
        	//
        	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
        	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
        	ImportAgent(ctx context.Context, in *ImportAgentRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
        	// Restores the specified agent from a ZIP file.
        	//
        	// Replaces the current agent version with a new one. All the intents and
        	// entity types in the older version are deleted.
        	//
        	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
        	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
        	RestoreAgent(ctx context.Context, in *RestoreAgentRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
        }

        func NewAgentsClient

        func NewAgentsClient(cc *grpc.ClientConn) AgentsClient

        type AgentsServer

        type AgentsServer interface {
        	// Retrieves the specified agent.
        	GetAgent(context.Context, *GetAgentRequest) (*Agent, error)
        	// Returns the list of agents.
        	//
        	// Since there is at most one conversational agent per project, this method is
        	// useful primarily for listing all agents across projects the caller has
        	// access to. One can achieve that with a wildcard project collection id "-".
        	// Refer to [List
        	// Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-collections).
        	SearchAgents(context.Context, *SearchAgentsRequest) (*SearchAgentsResponse, error)
        	// Trains the specified agent.
        	//
        	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
        	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
        	TrainAgent(context.Context, *TrainAgentRequest) (*google_longrunning.Operation, error)
        	// Exports the specified agent to a ZIP file.
        	//
        	// Operation <response: [ExportAgentResponse][google.cloud.dialogflow.v2.ExportAgentResponse],
        	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
        	ExportAgent(context.Context, *ExportAgentRequest) (*google_longrunning.Operation, error)
        	// Imports the specified agent from a ZIP file.
        	//
        	// Uploads new intents and entity types without deleting the existing ones.
        	// Intents and entity types with the same name are replaced with the new
        	// versions from ImportAgentRequest.
        	//
        	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
        	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
        	ImportAgent(context.Context, *ImportAgentRequest) (*google_longrunning.Operation, error)
        	// Restores the specified agent from a ZIP file.
        	//
        	// Replaces the current agent version with a new one. All the intents and
        	// entity types in the older version are deleted.
        	//
        	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
        	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
        	RestoreAgent(context.Context, *RestoreAgentRequest) (*google_longrunning.Operation, error)
        }

        type AudioEncoding

        type AudioEncoding int32

          Audio encoding of the audio content sent in the conversational query request. Refer to the [Cloud Speech API documentation](/speech/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) EnumDescriptor

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

          func (AudioEncoding) String

          func (x AudioEncoding) String() string

          type BatchCreateEntitiesRequest

          type BatchCreateEntitiesRequest struct {
          	// Required. The name of the entity type to create entities in. Format:
          	// `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
          	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
          	// Required. The collection of entities to create.
          	Entities []*EntityType_Entity `protobuf:"bytes,2,rep,name=entities" json:"entities,omitempty"`
          	// Optional. The language of entity synonyms defined in `entities`. If not
          	// specified, the agent's default language is used.
          	// [More than a dozen
          	// languages](https://dialogflow.com/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" json:"language_code,omitempty"`
          }

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

            func (*BatchCreateEntitiesRequest) Descriptor

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

            func (*BatchCreateEntitiesRequest) GetEntities

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

            func (*BatchCreateEntitiesRequest) GetLanguageCode

            func (m *BatchCreateEntitiesRequest) GetLanguageCode() string

            func (*BatchCreateEntitiesRequest) GetParent

            func (m *BatchCreateEntitiesRequest) GetParent() string

            func (*BatchCreateEntitiesRequest) ProtoMessage

            func (*BatchCreateEntitiesRequest) ProtoMessage()

            func (*BatchCreateEntitiesRequest) Reset

            func (m *BatchCreateEntitiesRequest) Reset()

            func (*BatchCreateEntitiesRequest) String

            func (m *BatchCreateEntitiesRequest) String() string

            type BatchDeleteEntitiesRequest

            type BatchDeleteEntitiesRequest struct {
            	// Required. The name of the entity type to delete entries for. Format:
            	// `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
            	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
            	// Required. The canonical `values` of the entities to delete. Note that
            	// these are not fully-qualified names, i.e. they don't start with
            	// `projects/<Project ID>`.
            	EntityValues []string `protobuf:"bytes,2,rep,name=entity_values,json=entityValues" json:"entity_values,omitempty"`
            	// Optional. The language of entity synonyms defined in `entities`. If not
            	// specified, the agent's default language is used.
            	// [More than a dozen
            	// languages](https://dialogflow.com/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" json:"language_code,omitempty"`
            }

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

              func (*BatchDeleteEntitiesRequest) Descriptor

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

              func (*BatchDeleteEntitiesRequest) GetEntityValues

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

              func (*BatchDeleteEntitiesRequest) GetLanguageCode

              func (m *BatchDeleteEntitiesRequest) GetLanguageCode() string

              func (*BatchDeleteEntitiesRequest) GetParent

              func (m *BatchDeleteEntitiesRequest) GetParent() string

              func (*BatchDeleteEntitiesRequest) ProtoMessage

              func (*BatchDeleteEntitiesRequest) ProtoMessage()

              func (*BatchDeleteEntitiesRequest) Reset

              func (m *BatchDeleteEntitiesRequest) Reset()

              func (*BatchDeleteEntitiesRequest) String

              func (m *BatchDeleteEntitiesRequest) String() string

              type BatchDeleteEntityTypesRequest

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

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

                func (*BatchDeleteEntityTypesRequest) Descriptor

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

                func (*BatchDeleteEntityTypesRequest) GetEntityTypeNames

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

                func (*BatchDeleteEntityTypesRequest) GetParent

                func (m *BatchDeleteEntityTypesRequest) GetParent() string

                func (*BatchDeleteEntityTypesRequest) ProtoMessage

                func (*BatchDeleteEntityTypesRequest) ProtoMessage()

                func (*BatchDeleteEntityTypesRequest) Reset

                func (m *BatchDeleteEntityTypesRequest) Reset()

                func (*BatchDeleteEntityTypesRequest) String

                type BatchDeleteIntentsRequest

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

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

                  func (*BatchDeleteIntentsRequest) Descriptor

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

                  func (*BatchDeleteIntentsRequest) GetIntents

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

                  func (*BatchDeleteIntentsRequest) GetParent

                  func (m *BatchDeleteIntentsRequest) GetParent() string

                  func (*BatchDeleteIntentsRequest) ProtoMessage

                  func (*BatchDeleteIntentsRequest) ProtoMessage()

                  func (*BatchDeleteIntentsRequest) Reset

                  func (m *BatchDeleteIntentsRequest) Reset()

                  func (*BatchDeleteIntentsRequest) String

                  func (m *BatchDeleteIntentsRequest) String() string

                  type BatchUpdateEntitiesRequest

                  type BatchUpdateEntitiesRequest struct {
                  	// Required. The name of the entity type to update the entities in. Format:
                  	// `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
                  	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
                  	// Required. The collection of new entities to replace the existing entities.
                  	Entities []*EntityType_Entity `protobuf:"bytes,2,rep,name=entities" json:"entities,omitempty"`
                  	// Optional. The language of entity synonyms defined in `entities`. If not
                  	// specified, the agent's default language is used.
                  	// [More than a dozen
                  	// languages](https://dialogflow.com/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" json:"language_code,omitempty"`
                  	// Optional. The mask to control which fields get updated.
                  	UpdateMask *google_protobuf3.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
                  }

                    The response message for [EntityTypes.BatchCreateEntities][google.cloud.dialogflow.v2.EntityTypes.BatchCreateEntities].

                    func (*BatchUpdateEntitiesRequest) Descriptor

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

                    func (*BatchUpdateEntitiesRequest) GetEntities

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

                    func (*BatchUpdateEntitiesRequest) GetLanguageCode

                    func (m *BatchUpdateEntitiesRequest) GetLanguageCode() string

                    func (*BatchUpdateEntitiesRequest) GetParent

                    func (m *BatchUpdateEntitiesRequest) GetParent() string

                    func (*BatchUpdateEntitiesRequest) GetUpdateMask

                    func (*BatchUpdateEntitiesRequest) ProtoMessage

                    func (*BatchUpdateEntitiesRequest) ProtoMessage()

                    func (*BatchUpdateEntitiesRequest) Reset

                    func (m *BatchUpdateEntitiesRequest) Reset()

                    func (*BatchUpdateEntitiesRequest) String

                    func (m *BatchUpdateEntitiesRequest) String() string

                    type BatchUpdateEntityTypesRequest

                    type BatchUpdateEntityTypesRequest struct {
                    	// Required. The name of the agent to update or create entity types in.
                    	// Format: `projects/<Project ID>/agent`.
                    	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
                    	// Required. The source of the entity type batch.
                    	//
                    	// For each entity type in the batch:
                    	// * If `name` is specified, we update an existing entity type.
                    	// * If `name` is not specified, we create a new entity type.
                    	//
                    	// Types that are valid to be assigned to EntityTypeBatch:
                    	//	*BatchUpdateEntityTypesRequest_EntityTypeBatchUri
                    	//	*BatchUpdateEntityTypesRequest_EntityTypeBatchInline
                    	EntityTypeBatch isBatchUpdateEntityTypesRequest_EntityTypeBatch `protobuf_oneof:"entity_type_batch"`
                    	// Optional. The language of entity synonyms defined in `entity_types`. If not
                    	// specified, the agent's default language is used.
                    	// [More than a dozen
                    	// languages](https://dialogflow.com/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" json:"language_code,omitempty"`
                    	// Optional. The mask to control which fields get updated.
                    	UpdateMask *google_protobuf3.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
                    }

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

                      func (*BatchUpdateEntityTypesRequest) Descriptor

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

                      func (*BatchUpdateEntityTypesRequest) GetEntityTypeBatch

                      func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatch() isBatchUpdateEntityTypesRequest_EntityTypeBatch

                      func (*BatchUpdateEntityTypesRequest) GetEntityTypeBatchInline

                      func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatchInline() *EntityTypeBatch

                      func (*BatchUpdateEntityTypesRequest) GetEntityTypeBatchUri

                      func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatchUri() string

                      func (*BatchUpdateEntityTypesRequest) GetLanguageCode

                      func (m *BatchUpdateEntityTypesRequest) GetLanguageCode() string

                      func (*BatchUpdateEntityTypesRequest) GetParent

                      func (m *BatchUpdateEntityTypesRequest) GetParent() string

                      func (*BatchUpdateEntityTypesRequest) GetUpdateMask

                      func (*BatchUpdateEntityTypesRequest) ProtoMessage

                      func (*BatchUpdateEntityTypesRequest) ProtoMessage()

                      func (*BatchUpdateEntityTypesRequest) Reset

                      func (m *BatchUpdateEntityTypesRequest) Reset()

                      func (*BatchUpdateEntityTypesRequest) String

                      func (*BatchUpdateEntityTypesRequest) XXX_OneofFuncs

                      func (*BatchUpdateEntityTypesRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

                        XXX_OneofFuncs is for the internal use of the proto package.

                        type BatchUpdateEntityTypesRequest_EntityTypeBatchInline

                        type BatchUpdateEntityTypesRequest_EntityTypeBatchInline struct {
                        	EntityTypeBatchInline *EntityTypeBatch `protobuf:"bytes,3,opt,name=entity_type_batch_inline,json=entityTypeBatchInline,oneof"`
                        }

                        type BatchUpdateEntityTypesRequest_EntityTypeBatchUri

                        type BatchUpdateEntityTypesRequest_EntityTypeBatchUri struct {
                        	EntityTypeBatchUri string `protobuf:"bytes,2,opt,name=entity_type_batch_uri,json=entityTypeBatchUri,oneof"`
                        }

                        type BatchUpdateEntityTypesResponse

                        type BatchUpdateEntityTypesResponse struct {
                        	// The collection of updated or created entity types.
                        	EntityTypes []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes" json:"entity_types,omitempty"`
                        }

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

                          func (*BatchUpdateEntityTypesResponse) Descriptor

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

                          func (*BatchUpdateEntityTypesResponse) GetEntityTypes

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

                          func (*BatchUpdateEntityTypesResponse) ProtoMessage

                          func (*BatchUpdateEntityTypesResponse) ProtoMessage()

                          func (*BatchUpdateEntityTypesResponse) Reset

                          func (m *BatchUpdateEntityTypesResponse) Reset()

                          func (*BatchUpdateEntityTypesResponse) String

                          type BatchUpdateIntentsRequest

                          type BatchUpdateIntentsRequest struct {
                          	// Required. The name of the agent to update or create intents in.
                          	// Format: `projects/<Project ID>/agent`.
                          	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
                          	// Required. The source of the intent batch.
                          	//
                          	// Types that are valid to be assigned to IntentBatch:
                          	//	*BatchUpdateIntentsRequest_IntentBatchUri
                          	//	*BatchUpdateIntentsRequest_IntentBatchInline
                          	IntentBatch isBatchUpdateIntentsRequest_IntentBatch `protobuf_oneof:"intent_batch"`
                          	// Optional. The language of training phrases, parameters and rich messages
                          	// defined in `intents`. If not specified, the agent's default language is
                          	// used. [More than a dozen
                          	// languages](https://dialogflow.com/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" json:"language_code,omitempty"`
                          	// Optional. The mask to control which fields get updated.
                          	UpdateMask *google_protobuf3.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask" json:"update_mask,omitempty"`
                          	// Optional. The resource view to apply to the returned intent.
                          	IntentView IntentView `` /* 128-byte string literal not displayed */
                          }

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

                            func (*BatchUpdateIntentsRequest) Descriptor

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

                            func (*BatchUpdateIntentsRequest) GetIntentBatch

                            func (m *BatchUpdateIntentsRequest) GetIntentBatch() isBatchUpdateIntentsRequest_IntentBatch

                            func (*BatchUpdateIntentsRequest) GetIntentBatchInline

                            func (m *BatchUpdateIntentsRequest) GetIntentBatchInline() *IntentBatch

                            func (*BatchUpdateIntentsRequest) GetIntentBatchUri

                            func (m *BatchUpdateIntentsRequest) GetIntentBatchUri() string

                            func (*BatchUpdateIntentsRequest) GetIntentView

                            func (m *BatchUpdateIntentsRequest) GetIntentView() IntentView

                            func (*BatchUpdateIntentsRequest) GetLanguageCode

                            func (m *BatchUpdateIntentsRequest) GetLanguageCode() string

                            func (*BatchUpdateIntentsRequest) GetParent

                            func (m *BatchUpdateIntentsRequest) GetParent() string

                            func (*BatchUpdateIntentsRequest) GetUpdateMask

                            func (*BatchUpdateIntentsRequest) ProtoMessage

                            func (*BatchUpdateIntentsRequest) ProtoMessage()

                            func (*BatchUpdateIntentsRequest) Reset

                            func (m *BatchUpdateIntentsRequest) Reset()

                            func (*BatchUpdateIntentsRequest) String

                            func (m *BatchUpdateIntentsRequest) String() string

                            func (*BatchUpdateIntentsRequest) XXX_OneofFuncs

                            func (*BatchUpdateIntentsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

                              XXX_OneofFuncs is for the internal use of the proto package.

                              type BatchUpdateIntentsRequest_IntentBatchInline

                              type BatchUpdateIntentsRequest_IntentBatchInline struct {
                              	IntentBatchInline *IntentBatch `protobuf:"bytes,3,opt,name=intent_batch_inline,json=intentBatchInline,oneof"`
                              }

                              type BatchUpdateIntentsRequest_IntentBatchUri

                              type BatchUpdateIntentsRequest_IntentBatchUri struct {
                              	IntentBatchUri string `protobuf:"bytes,2,opt,name=intent_batch_uri,json=intentBatchUri,oneof"`
                              }

                              type BatchUpdateIntentsResponse

                              type BatchUpdateIntentsResponse struct {
                              	// The collection of updated or created intents.
                              	Intents []*Intent `protobuf:"bytes,1,rep,name=intents" json:"intents,omitempty"`
                              }

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

                                func (*BatchUpdateIntentsResponse) Descriptor

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

                                func (*BatchUpdateIntentsResponse) GetIntents

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

                                func (*BatchUpdateIntentsResponse) ProtoMessage

                                func (*BatchUpdateIntentsResponse) ProtoMessage()

                                func (*BatchUpdateIntentsResponse) Reset

                                func (m *BatchUpdateIntentsResponse) Reset()

                                func (*BatchUpdateIntentsResponse) String

                                func (m *BatchUpdateIntentsResponse) String() string

                                type Context

                                type Context struct {
                                	// Required. The unique identifier of the context. Format:
                                	// `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
                                	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
                                	// Optional. The number of conversational query requests after which the
                                	// context expires. If set to `0` (the default) the context expires
                                	// immediately. Contexts expire automatically after 10 minutes even if there
                                	// are no matching queries.
                                	LifespanCount int32 `protobuf:"varint,2,opt,name=lifespan_count,json=lifespanCount" json:"lifespan_count,omitempty"`
                                	// Optional. The collection of parameters associated with this context.
                                	// Refer to [this doc](https://dialogflow.com/docs/actions-and-parameters) for
                                	// syntax.
                                	Parameters *google_protobuf4.Struct `protobuf:"bytes,3,opt,name=parameters" json:"parameters,omitempty"`
                                }

                                  Represents a context.

                                  func (*Context) Descriptor

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

                                  func (*Context) GetLifespanCount

                                  func (m *Context) GetLifespanCount() int32

                                  func (*Context) GetName

                                  func (m *Context) GetName() string

                                  func (*Context) GetParameters

                                  func (m *Context) GetParameters() *google_protobuf4.Struct

                                  func (*Context) ProtoMessage

                                  func (*Context) ProtoMessage()

                                  func (*Context) Reset

                                  func (m *Context) Reset()

                                  func (*Context) String

                                  func (m *Context) String() string

                                  type ContextsClient

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

                                  func NewContextsClient

                                  func NewContextsClient(cc *grpc.ClientConn) ContextsClient

                                  type ContextsServer

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

                                  type CreateContextRequest

                                  type CreateContextRequest struct {
                                  	// Required. The session to create a context for.
                                  	// Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
                                  	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
                                  	// Required. The context to create.
                                  	Context *Context `protobuf:"bytes,2,opt,name=context" json:"context,omitempty"`
                                  }

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

                                    func (*CreateContextRequest) Descriptor

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

                                    func (*CreateContextRequest) GetContext

                                    func (m *CreateContextRequest) GetContext() *Context

                                    func (*CreateContextRequest) GetParent

                                    func (m *CreateContextRequest) GetParent() string

                                    func (*CreateContextRequest) ProtoMessage

                                    func (*CreateContextRequest) ProtoMessage()

                                    func (*CreateContextRequest) Reset

                                    func (m *CreateContextRequest) Reset()

                                    func (*CreateContextRequest) String

                                    func (m *CreateContextRequest) String() string

                                    type CreateEntityTypeRequest

                                    type CreateEntityTypeRequest struct {
                                    	// Required. The agent to create a entity type for.
                                    	// Format: `projects/<Project ID>/agent`.
                                    	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
                                    	// Required. The entity type to create.
                                    	EntityType *EntityType `protobuf:"bytes,2,opt,name=entity_type,json=entityType" json:"entity_type,omitempty"`
                                    	// Optional. The language of entity synonyms defined in `entity_type`. If not
                                    	// specified, the agent's default language is used.
                                    	// [More than a dozen
                                    	// languages](https://dialogflow.com/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" json:"language_code,omitempty"`
                                    }

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

                                      func (*CreateEntityTypeRequest) Descriptor

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

                                      func (*CreateEntityTypeRequest) GetEntityType

                                      func (m *CreateEntityTypeRequest) GetEntityType() *EntityType

                                      func (*CreateEntityTypeRequest) GetLanguageCode

                                      func (m *CreateEntityTypeRequest) GetLanguageCode() string

                                      func (*CreateEntityTypeRequest) GetParent

                                      func (m *CreateEntityTypeRequest) GetParent() string

                                      func (*CreateEntityTypeRequest) ProtoMessage

                                      func (*CreateEntityTypeRequest) ProtoMessage()

                                      func (*CreateEntityTypeRequest) Reset

                                      func (m *CreateEntityTypeRequest) Reset()

                                      func (*CreateEntityTypeRequest) String

                                      func (m *CreateEntityTypeRequest) String() string

                                      type CreateIntentRequest

                                      type CreateIntentRequest struct {
                                      	// Required. The agent to create a intent for.
                                      	// Format: `projects/<Project ID>/agent`.
                                      	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
                                      	// Required. The intent to create.
                                      	Intent *Intent `protobuf:"bytes,2,opt,name=intent" json:"intent,omitempty"`
                                      	// Optional. The language of training phrases, parameters and rich messages
                                      	// defined in `intent`. If not specified, the agent's default language is
                                      	// used. [More than a dozen
                                      	// languages](https://dialogflow.com/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" json:"language_code,omitempty"`
                                      	// Optional. The resource view to apply to the returned intent.
                                      	IntentView IntentView `` /* 128-byte string literal not displayed */
                                      }

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

                                        func (*CreateIntentRequest) Descriptor

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

                                        func (*CreateIntentRequest) GetIntent

                                        func (m *CreateIntentRequest) GetIntent() *Intent

                                        func (*CreateIntentRequest) GetIntentView

                                        func (m *CreateIntentRequest) GetIntentView() IntentView

                                        func (*CreateIntentRequest) GetLanguageCode

                                        func (m *CreateIntentRequest) GetLanguageCode() string

                                        func (*CreateIntentRequest) GetParent

                                        func (m *CreateIntentRequest) GetParent() string

                                        func (*CreateIntentRequest) ProtoMessage

                                        func (*CreateIntentRequest) ProtoMessage()

                                        func (*CreateIntentRequest) Reset

                                        func (m *CreateIntentRequest) Reset()

                                        func (*CreateIntentRequest) String

                                        func (m *CreateIntentRequest) String() string

                                        type CreateSessionEntityTypeRequest

                                        type CreateSessionEntityTypeRequest struct {
                                        	// Required. The session to create a session entity type for.
                                        	// Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
                                        	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
                                        	// Required. The session entity type to create.
                                        	SessionEntityType *SessionEntityType `protobuf:"bytes,2,opt,name=session_entity_type,json=sessionEntityType" json:"session_entity_type,omitempty"`
                                        }

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

                                          func (*CreateSessionEntityTypeRequest) Descriptor

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

                                          func (*CreateSessionEntityTypeRequest) GetParent

                                          func (m *CreateSessionEntityTypeRequest) GetParent() string

                                          func (*CreateSessionEntityTypeRequest) GetSessionEntityType

                                          func (m *CreateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType

                                          func (*CreateSessionEntityTypeRequest) ProtoMessage

                                          func (*CreateSessionEntityTypeRequest) ProtoMessage()

                                          func (*CreateSessionEntityTypeRequest) Reset

                                          func (m *CreateSessionEntityTypeRequest) Reset()

                                          func (*CreateSessionEntityTypeRequest) String

                                          type DeleteAllContextsRequest

                                          type DeleteAllContextsRequest struct {
                                          	// Required. The name of the session to delete all contexts from. Format:
                                          	// `projects/<Project ID>/agent/sessions/<Session ID>`.
                                          	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
                                          }

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

                                            func (*DeleteAllContextsRequest) Descriptor

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

                                            func (*DeleteAllContextsRequest) GetParent

                                            func (m *DeleteAllContextsRequest) GetParent() string

                                            func (*DeleteAllContextsRequest) ProtoMessage

                                            func (*DeleteAllContextsRequest) ProtoMessage()

                                            func (*DeleteAllContextsRequest) Reset

                                            func (m *DeleteAllContextsRequest) Reset()

                                            func (*DeleteAllContextsRequest) String

                                            func (m *DeleteAllContextsRequest) String() string

                                            type DeleteContextRequest

                                            type DeleteContextRequest struct {
                                            	// Required. The name of the context to delete. Format:
                                            	// `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
                                            	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
                                            }

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

                                              func (*DeleteContextRequest) Descriptor

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

                                              func (*DeleteContextRequest) GetName

                                              func (m *DeleteContextRequest) GetName() string

                                              func (*DeleteContextRequest) ProtoMessage

                                              func (*DeleteContextRequest) ProtoMessage()

                                              func (*DeleteContextRequest) Reset

                                              func (m *DeleteContextRequest) Reset()

                                              func (*DeleteContextRequest) String

                                              func (m *DeleteContextRequest) String() string

                                              type DeleteEntityTypeRequest

                                              type DeleteEntityTypeRequest struct {
                                              	// Required. The name of the entity type to delete.
                                              	// Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
                                              	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
                                              }

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

                                                func (*DeleteEntityTypeRequest) Descriptor

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

                                                func (*DeleteEntityTypeRequest) GetName

                                                func (m *DeleteEntityTypeRequest) GetName() string

                                                func (*DeleteEntityTypeRequest) ProtoMessage

                                                func (*DeleteEntityTypeRequest) ProtoMessage()

                                                func (*DeleteEntityTypeRequest) Reset

                                                func (m *DeleteEntityTypeRequest) Reset()

                                                func (*DeleteEntityTypeRequest) String

                                                func (m *DeleteEntityTypeRequest) String() string

                                                type DeleteIntentRequest

                                                type DeleteIntentRequest struct {
                                                	// Required. The name of the intent to delete.
                                                	// Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
                                                	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
                                                }

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

                                                  func (*DeleteIntentRequest) Descriptor

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

                                                  func (*DeleteIntentRequest) GetName

                                                  func (m *DeleteIntentRequest) GetName() string

                                                  func (*DeleteIntentRequest) ProtoMessage

                                                  func (*DeleteIntentRequest) ProtoMessage()

                                                  func (*DeleteIntentRequest) Reset

                                                  func (m *DeleteIntentRequest) Reset()

                                                  func (*DeleteIntentRequest) String

                                                  func (m *DeleteIntentRequest) String() string

                                                  type DeleteSessionEntityTypeRequest

                                                  type DeleteSessionEntityTypeRequest struct {
                                                  	// Required. The name of the entity type to delete. Format:
                                                  	// `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
                                                  	// Display Name>`.
                                                  	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
                                                  }

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

                                                    func (*DeleteSessionEntityTypeRequest) Descriptor

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

                                                    func (*DeleteSessionEntityTypeRequest) GetName

                                                    func (*DeleteSessionEntityTypeRequest) ProtoMessage

                                                    func (*DeleteSessionEntityTypeRequest) ProtoMessage()

                                                    func (*DeleteSessionEntityTypeRequest) Reset

                                                    func (m *DeleteSessionEntityTypeRequest) Reset()

                                                    func (*DeleteSessionEntityTypeRequest) String

                                                    type DetectIntentRequest

                                                    type DetectIntentRequest struct {
                                                    	// Required. The name of the session this query is sent to. Format:
                                                    	// `projects/<Project ID>/agent/sessions/<Session ID>`. It's up to the API
                                                    	// caller to choose an appropriate session ID. It can be a random number or
                                                    	// some type of user identifier (preferably hashed). The length of the session
                                                    	// ID must not exceed 36 bytes.
                                                    	Session string `protobuf:"bytes,1,opt,name=session" json:"session,omitempty"`
                                                    	// Optional. The parameters of this query.
                                                    	QueryParams *QueryParameters `protobuf:"bytes,2,opt,name=query_params,json=queryParams" json:"query_params,omitempty"`
                                                    	// Required. The input specification. It can be set to:
                                                    	//
                                                    	// 1.  an audio config
                                                    	//     which instructs the speech recognizer how to process the speech audio,
                                                    	//
                                                    	// 2.  a conversational query in the form of text, or
                                                    	//
                                                    	// 3.  an event that specifies which intent to trigger.
                                                    	QueryInput *QueryInput `protobuf:"bytes,3,opt,name=query_input,json=queryInput" json:"query_input,omitempty"`
                                                    	// Optional. The natural language speech audio to be processed. This field
                                                    	// should be populated iff `query_input` is set to an input audio config.
                                                    	// A single request can contain up to 1 minute of speech audio data.
                                                    	InputAudio []byte `protobuf:"bytes,5,opt,name=input_audio,json=inputAudio,proto3" json:"input_audio,omitempty"`
                                                    }

                                                      The request to detect user's intent.

                                                      func (*DetectIntentRequest) Descriptor

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

                                                      func (*DetectIntentRequest) GetInputAudio

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

                                                      func (*DetectIntentRequest) GetQueryInput

                                                      func (m *DetectIntentRequest) GetQueryInput() *QueryInput

                                                      func (*DetectIntentRequest) GetQueryParams

                                                      func (m *DetectIntentRequest) GetQueryParams() *QueryParameters

                                                      func (*DetectIntentRequest) GetSession

                                                      func (m *DetectIntentRequest) GetSession() string

                                                      func (*DetectIntentRequest) ProtoMessage

                                                      func (*DetectIntentRequest) ProtoMessage()

                                                      func (*DetectIntentRequest) Reset

                                                      func (m *DetectIntentRequest) Reset()

                                                      func (*DetectIntentRequest) String

                                                      func (m *DetectIntentRequest) String() string

                                                      type DetectIntentResponse

                                                      type DetectIntentResponse struct {
                                                      	// The unique identifier of the response. It can be used to
                                                      	// locate a response in the training example set or for reporting issues.
                                                      	ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId" json:"response_id,omitempty"`
                                                      	// The results of the conversational query or event processing.
                                                      	QueryResult *QueryResult `protobuf:"bytes,2,opt,name=query_result,json=queryResult" json:"query_result,omitempty"`
                                                      	// Specifies the status of the webhook request. `webhook_status`
                                                      	// is never populated in webhook requests.
                                                      	WebhookStatus *google_rpc.Status `protobuf:"bytes,3,opt,name=webhook_status,json=webhookStatus" json:"webhook_status,omitempty"`
                                                      }

                                                        The message returned from the DetectIntent method.

                                                        func (*DetectIntentResponse) Descriptor

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

                                                        func (*DetectIntentResponse) GetQueryResult

                                                        func (m *DetectIntentResponse) GetQueryResult() *QueryResult

                                                        func (*DetectIntentResponse) GetResponseId

                                                        func (m *DetectIntentResponse) GetResponseId() string

                                                        func (*DetectIntentResponse) GetWebhookStatus

                                                        func (m *DetectIntentResponse) GetWebhookStatus() *google_rpc.Status

                                                        func (*DetectIntentResponse) ProtoMessage

                                                        func (*DetectIntentResponse) ProtoMessage()

                                                        func (*DetectIntentResponse) Reset

                                                        func (m *DetectIntentResponse) Reset()

                                                        func (*DetectIntentResponse) String

                                                        func (m *DetectIntentResponse) String() string

                                                        type EntityType

                                                        type EntityType struct {
                                                        	// Required for all methods except `create` (`create` populates the name
                                                        	// automatically.
                                                        	// The unique identifier of the entity type. Format:
                                                        	// `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
                                                        	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
                                                        	// Required. The name of the entity.
                                                        	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
                                                        	// Required. Indicates the kind of entity type.
                                                        	Kind EntityType_Kind `protobuf:"varint,3,opt,name=kind,enum=google.cloud.dialogflow.v2.EntityType_Kind" json:"kind,omitempty"`
                                                        	// Optional. Indicates whether the entity type can be automatically
                                                        	// expanded.
                                                        	AutoExpansionMode EntityType_AutoExpansionMode `` /* 169-byte string literal not displayed */
                                                        	// Optional. The collection of entities associated with the entity type.
                                                        	Entities []*EntityType_Entity `protobuf:"bytes,6,rep,name=entities" json:"entities,omitempty"`
                                                        }

                                                          Represents an entity type. Entity types serve as a tool for extracting parameter values from natural language queries.

                                                          func (*EntityType) Descriptor

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

                                                          func (*EntityType) GetAutoExpansionMode

                                                          func (m *EntityType) GetAutoExpansionMode() EntityType_AutoExpansionMode

                                                          func (*EntityType) GetDisplayName

                                                          func (m *EntityType) GetDisplayName() string

                                                          func (*EntityType) GetEntities

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

                                                          func (*EntityType) GetKind

                                                          func (m *EntityType) GetKind() EntityType_Kind

                                                          func (*EntityType) GetName

                                                          func (m *EntityType) GetName() string

                                                          func (*EntityType) ProtoMessage

                                                          func (*EntityType) ProtoMessage()

                                                          func (*EntityType) Reset

                                                          func (m *EntityType) Reset()

                                                          func (*EntityType) String

                                                          func (m *EntityType) String() string

                                                          type EntityTypeBatch

                                                          type EntityTypeBatch struct {
                                                          	// A collection of entity types.
                                                          	EntityTypes []*EntityType `protobuf:"bytes,1,rep,name=entity_types,json=entityTypes" json:"entity_types,omitempty"`
                                                          }

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

                                                            func (*EntityTypeBatch) Descriptor

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

                                                            func (*EntityTypeBatch) GetEntityTypes

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

                                                            func (*EntityTypeBatch) ProtoMessage

                                                            func (*EntityTypeBatch) ProtoMessage()

                                                            func (*EntityTypeBatch) Reset

                                                            func (m *EntityTypeBatch) Reset()

                                                            func (*EntityTypeBatch) String

                                                            func (m *EntityTypeBatch) 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) EnumDescriptor

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

                                                              func (EntityType_AutoExpansionMode) String

                                                              type EntityType_Entity

                                                              type EntityType_Entity struct {
                                                              	// Required.
                                                              	// For `KIND_MAP` entity types:
                                                              	//   A canonical name 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" json:"value,omitempty"`
                                                              	// Required. A collection of synonyms. For `KIND_LIST` entity types this
                                                              	// must contain exactly one synonym equal to `value`.
                                                              	Synonyms []string `protobuf:"bytes,2,rep,name=synonyms" json:"synonyms,omitempty"`
                                                              }

                                                                Optional. Represents an entity.

                                                                func (*EntityType_Entity) Descriptor

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

                                                                func (*EntityType_Entity) GetSynonyms

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

                                                                func (*EntityType_Entity) GetValue

                                                                func (m *EntityType_Entity) GetValue() string

                                                                func (*EntityType_Entity) ProtoMessage

                                                                func (*EntityType_Entity) ProtoMessage()

                                                                func (*EntityType_Entity) Reset

                                                                func (m *EntityType_Entity) Reset()

                                                                func (*EntityType_Entity) String

                                                                func (m *EntityType_Entity) 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
                                                                  )

                                                                  func (EntityType_Kind) EnumDescriptor

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

                                                                  func (EntityType_Kind) String

                                                                  func (x EntityType_Kind) String() string

                                                                  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) (*google_protobuf2.Empty, error)
                                                                  	// Updates/Creates multiple entity types in the specified agent.
                                                                  	//
                                                                  	// Operation <response: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse],
                                                                  	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
                                                                  	BatchUpdateEntityTypes(ctx context.Context, in *BatchUpdateEntityTypesRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
                                                                  	// Deletes entity types in the specified agent.
                                                                  	//
                                                                  	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
                                                                  	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
                                                                  	BatchDeleteEntityTypes(ctx context.Context, in *BatchDeleteEntityTypesRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
                                                                  	// Creates multiple new entities in the specified entity type (extends the
                                                                  	// existing collection of entries).
                                                                  	//
                                                                  	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
                                                                  	BatchCreateEntities(ctx context.Context, in *BatchCreateEntitiesRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
                                                                  	// Updates entities in the specified entity type (replaces the existing
                                                                  	// collection of entries).
                                                                  	//
                                                                  	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
                                                                  	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
                                                                  	BatchUpdateEntities(ctx context.Context, in *BatchUpdateEntitiesRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
                                                                  	// Deletes entities in the specified entity type.
                                                                  	//
                                                                  	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
                                                                  	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
                                                                  	BatchDeleteEntities(ctx context.Context, in *BatchDeleteEntitiesRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
                                                                  }

                                                                  func NewEntityTypesClient

                                                                  func NewEntityTypesClient(cc *grpc.ClientConn) EntityTypesClient

                                                                  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) (*google_protobuf2.Empty, error)
                                                                  	// Updates/Creates multiple entity types in the specified agent.
                                                                  	//
                                                                  	// Operation <response: [BatchUpdateEntityTypesResponse][google.cloud.dialogflow.v2.BatchUpdateEntityTypesResponse],
                                                                  	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
                                                                  	BatchUpdateEntityTypes(context.Context, *BatchUpdateEntityTypesRequest) (*google_longrunning.Operation, error)
                                                                  	// Deletes entity types in the specified agent.
                                                                  	//
                                                                  	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
                                                                  	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
                                                                  	BatchDeleteEntityTypes(context.Context, *BatchDeleteEntityTypesRequest) (*google_longrunning.Operation, error)
                                                                  	// Creates multiple new entities in the specified entity type (extends the
                                                                  	// existing collection of entries).
                                                                  	//
                                                                  	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
                                                                  	BatchCreateEntities(context.Context, *BatchCreateEntitiesRequest) (*google_longrunning.Operation, error)
                                                                  	// Updates entities in the specified entity type (replaces the existing
                                                                  	// collection of entries).
                                                                  	//
                                                                  	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
                                                                  	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
                                                                  	BatchUpdateEntities(context.Context, *BatchUpdateEntitiesRequest) (*google_longrunning.Operation, error)
                                                                  	// Deletes entities in the specified entity type.
                                                                  	//
                                                                  	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty],
                                                                  	//            metadata: [google.protobuf.Struct][google.protobuf.Struct]>
                                                                  	BatchDeleteEntities(context.Context, *BatchDeleteEntitiesRequest) (*google_longrunning.Operation, error)
                                                                  }

                                                                  type EventInput

                                                                  type EventInput struct {
                                                                  	// Required. The unique identifier of the event.
                                                                  	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
                                                                  	// Optional. The collection of parameters associated with the event.
                                                                  	Parameters *google_protobuf4.Struct `protobuf:"bytes,2,opt,name=parameters" json:"parameters,omitempty"`
                                                                  	// Required. The language of this query. See [Language
                                                                  	// Support](https://dialogflow.com/docs/languages) for a list of the
                                                                  	// currently supported language codes. Note that queries in the same session
                                                                  	// do not necessarily need to specify the same language.
                                                                  	LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode" json:"language_code,omitempty"`
                                                                  }

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

                                                                    func (*EventInput) Descriptor

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

                                                                    func (*EventInput) GetLanguageCode

                                                                    func (m *EventInput) GetLanguageCode() string

                                                                    func (*EventInput) GetName

                                                                    func (m *EventInput) GetName() string

                                                                    func (*EventInput) GetParameters

                                                                    func (m *EventInput) GetParameters() *google_protobuf4.Struct

                                                                    func (*EventInput) ProtoMessage

                                                                    func (*EventInput) ProtoMessage()

                                                                    func (*EventInput) Reset

                                                                    func (m *EventInput) Reset()

                                                                    func (*EventInput) String

                                                                    func (m *EventInput) String() string

                                                                    type ExportAgentRequest

                                                                    type ExportAgentRequest struct {
                                                                    	// Required. The project that the agent to export is associated with.
                                                                    	// Format: `projects/<Project ID>`.
                                                                    	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
                                                                    	// Optional. The Google Cloud Storage URI to export the agent to.
                                                                    	// Note: The URI must start with
                                                                    	// "gs://". If left unspecified, the serialized agent is returned inline.
                                                                    	AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri" json:"agent_uri,omitempty"`
                                                                    }

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

                                                                      func (*ExportAgentRequest) Descriptor

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

                                                                      func (*ExportAgentRequest) GetAgentUri

                                                                      func (m *ExportAgentRequest) GetAgentUri() string

                                                                      func (*ExportAgentRequest) GetParent

                                                                      func (m *ExportAgentRequest) GetParent() string

                                                                      func (*ExportAgentRequest) ProtoMessage

                                                                      func (*ExportAgentRequest) ProtoMessage()

                                                                      func (*ExportAgentRequest) Reset

                                                                      func (m *ExportAgentRequest) Reset()

                                                                      func (*ExportAgentRequest) String

                                                                      func (m *ExportAgentRequest) String() string

                                                                      type ExportAgentResponse

                                                                      type ExportAgentResponse struct {
                                                                      	// Required. The exported agent.
                                                                      	//
                                                                      	// Types that are valid to be assigned to Agent:
                                                                      	//	*ExportAgentResponse_AgentUri
                                                                      	//	*ExportAgentResponse_AgentContent
                                                                      	Agent isExportAgentResponse_Agent `protobuf_oneof:"agent"`
                                                                      }

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

                                                                        func (*ExportAgentResponse) Descriptor

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

                                                                        func (*ExportAgentResponse) GetAgent

                                                                        func (m *ExportAgentResponse) GetAgent() isExportAgentResponse_Agent

                                                                        func (*ExportAgentResponse) GetAgentContent

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

                                                                        func (*ExportAgentResponse) GetAgentUri

                                                                        func (m *ExportAgentResponse) GetAgentUri() string

                                                                        func (*ExportAgentResponse) ProtoMessage

                                                                        func (*ExportAgentResponse) ProtoMessage()

                                                                        func (*ExportAgentResponse) Reset

                                                                        func (m *ExportAgentResponse) Reset()

                                                                        func (*ExportAgentResponse) String

                                                                        func (m *ExportAgentResponse) String() string

                                                                        func (*ExportAgentResponse) XXX_OneofFuncs

                                                                        func (*ExportAgentResponse) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

                                                                          XXX_OneofFuncs is for the internal use of the proto package.

                                                                          type ExportAgentResponse_AgentContent

                                                                          type ExportAgentResponse_AgentContent struct {
                                                                          	AgentContent []byte `protobuf:"bytes,2,opt,name=agent_content,json=agentContent,proto3,oneof"`
                                                                          }

                                                                          type ExportAgentResponse_AgentUri

                                                                          type ExportAgentResponse_AgentUri struct {
                                                                          	AgentUri string `protobuf:"bytes,1,opt,name=agent_uri,json=agentUri,oneof"`
                                                                          }

                                                                          type GetAgentRequest

                                                                          type GetAgentRequest struct {
                                                                          	// Required. The project that the agent to fetch is associated with.
                                                                          	// Format: `projects/<Project ID>`.
                                                                          	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
                                                                          }

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

                                                                            func (*GetAgentRequest) Descriptor

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

                                                                            func (*GetAgentRequest) GetParent

                                                                            func (m *GetAgentRequest) GetParent() string

                                                                            func (*GetAgentRequest) ProtoMessage

                                                                            func (*GetAgentRequest) ProtoMessage()

                                                                            func (*GetAgentRequest) Reset

                                                                            func (m *GetAgentRequest) Reset()

                                                                            func (*GetAgentRequest) String

                                                                            func (m *GetAgentRequest) String() string

                                                                            type GetContextRequest

                                                                            type GetContextRequest struct {
                                                                            	// Required. The name of the context. Format:
                                                                            	// `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
                                                                            	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
                                                                            }

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

                                                                              func (*GetContextRequest) Descriptor

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

                                                                              func (*GetContextRequest) GetName

                                                                              func (m *GetContextRequest) GetName() string

                                                                              func (*GetContextRequest) ProtoMessage

                                                                              func (*GetContextRequest) ProtoMessage()

                                                                              func (*GetContextRequest) Reset

                                                                              func (m *GetContextRequest) Reset()

                                                                              func (*GetContextRequest) String

                                                                              func (m *GetContextRequest) String() string

                                                                              type GetEntityTypeRequest

                                                                              type GetEntityTypeRequest struct {
                                                                              	// Required. The name of the entity type.
                                                                              	// Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
                                                                              	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
                                                                              	// Optional. The language to retrieve entity synonyms for. If not specified,
                                                                              	// the agent's default language is used.
                                                                              	// [More than a dozen
                                                                              	// languages](https://dialogflow.com/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" json:"language_code,omitempty"`
                                                                              }

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

                                                                                func (*GetEntityTypeRequest) Descriptor

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

                                                                                func (*GetEntityTypeRequest) GetLanguageCode

                                                                                func (m *GetEntityTypeRequest) GetLanguageCode() string

                                                                                func (*GetEntityTypeRequest) GetName

                                                                                func (m *GetEntityTypeRequest) GetName() string

                                                                                func (*GetEntityTypeRequest) ProtoMessage

                                                                                func (*GetEntityTypeRequest) ProtoMessage()

                                                                                func (*GetEntityTypeRequest) Reset

                                                                                func (m *GetEntityTypeRequest) Reset()

                                                                                func (*GetEntityTypeRequest) String

                                                                                func (m *GetEntityTypeRequest) String() string

                                                                                type GetIntentRequest

                                                                                type GetIntentRequest struct {
                                                                                	// Required. The name of the intent.
                                                                                	// Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
                                                                                	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
                                                                                	// Optional. The language to retrieve training phrases, parameters and rich
                                                                                	// messages for. If not specified, the agent's default language is used.
                                                                                	// [More than a dozen
                                                                                	// languages](https://dialogflow.com/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" json:"language_code,omitempty"`
                                                                                	// Optional. The resource view to apply to the returned intent.
                                                                                	IntentView IntentView `` /* 128-byte string literal not displayed */
                                                                                }

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

                                                                                  func (*GetIntentRequest) Descriptor

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

                                                                                  func (*GetIntentRequest) GetIntentView

                                                                                  func (m *GetIntentRequest) GetIntentView() IntentView

                                                                                  func (*GetIntentRequest) GetLanguageCode

                                                                                  func (m *GetIntentRequest) GetLanguageCode() string

                                                                                  func (*GetIntentRequest) GetName

                                                                                  func (m *GetIntentRequest) GetName() string

                                                                                  func (*GetIntentRequest) ProtoMessage

                                                                                  func (*GetIntentRequest) ProtoMessage()

                                                                                  func (*GetIntentRequest) Reset

                                                                                  func (m *GetIntentRequest) Reset()

                                                                                  func (*GetIntentRequest) String

                                                                                  func (m *GetIntentRequest) String() string

                                                                                  type GetSessionEntityTypeRequest

                                                                                  type GetSessionEntityTypeRequest struct {
                                                                                  	// Required. The name of the session entity type. Format:
                                                                                  	// `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
                                                                                  	// Display Name>`.
                                                                                  	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
                                                                                  }

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

                                                                                    func (*GetSessionEntityTypeRequest) Descriptor

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

                                                                                    func (*GetSessionEntityTypeRequest) GetName

                                                                                    func (m *GetSessionEntityTypeRequest) GetName() string

                                                                                    func (*GetSessionEntityTypeRequest) ProtoMessage

                                                                                    func (*GetSessionEntityTypeRequest) ProtoMessage()

                                                                                    func (*GetSessionEntityTypeRequest) Reset

                                                                                    func (m *GetSessionEntityTypeRequest) Reset()

                                                                                    func (*GetSessionEntityTypeRequest) String

                                                                                    func (m *GetSessionEntityTypeRequest) String() string

                                                                                    type ImportAgentRequest

                                                                                    type ImportAgentRequest struct {
                                                                                    	// Required. The project that the agent to import is associated with.
                                                                                    	// Format: `projects/<Project ID>`.
                                                                                    	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
                                                                                    	// Required. The agent to import.
                                                                                    	//
                                                                                    	// Types that are valid to be assigned to Agent:
                                                                                    	//	*ImportAgentRequest_AgentUri
                                                                                    	//	*ImportAgentRequest_AgentContent
                                                                                    	Agent isImportAgentRequest_Agent `protobuf_oneof:"agent"`
                                                                                    }

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

                                                                                      func (*ImportAgentRequest) Descriptor

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

                                                                                      func (*ImportAgentRequest) GetAgent

                                                                                      func (m *ImportAgentRequest) GetAgent() isImportAgentRequest_Agent

                                                                                      func (*ImportAgentRequest) GetAgentContent

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

                                                                                      func (*ImportAgentRequest) GetAgentUri

                                                                                      func (m *ImportAgentRequest) GetAgentUri() string

                                                                                      func (*ImportAgentRequest) GetParent

                                                                                      func (m *ImportAgentRequest) GetParent() string

                                                                                      func (*ImportAgentRequest) ProtoMessage

                                                                                      func (*ImportAgentRequest) ProtoMessage()

                                                                                      func (*ImportAgentRequest) Reset

                                                                                      func (m *ImportAgentRequest) Reset()

                                                                                      func (*ImportAgentRequest) String

                                                                                      func (m *ImportAgentRequest) String() string

                                                                                      func (*ImportAgentRequest) XXX_OneofFuncs

                                                                                      func (*ImportAgentRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

                                                                                        XXX_OneofFuncs is for the internal use of the proto package.

                                                                                        type ImportAgentRequest_AgentContent

                                                                                        type ImportAgentRequest_AgentContent struct {
                                                                                        	AgentContent []byte `protobuf:"bytes,3,opt,name=agent_content,json=agentContent,proto3,oneof"`
                                                                                        }

                                                                                        type ImportAgentRequest_AgentUri

                                                                                        type ImportAgentRequest_AgentUri struct {
                                                                                        	AgentUri string `protobuf:"bytes,2,opt,name=agent_uri,json=agentUri,oneof"`
                                                                                        }

                                                                                        type InputAudioConfig

                                                                                        type InputAudioConfig struct {
                                                                                        	// Required. Audio encoding of the audio content to process.
                                                                                        	AudioEncoding AudioEncoding `` /* 140-byte string literal not displayed */
                                                                                        	// Required. Sample rate (in Hertz) of the audio content sent in the query.
                                                                                        	// Refer to [Cloud Speech API documentation](/speech/docs/basics) for more
                                                                                        	// details.
                                                                                        	SampleRateHertz int32 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz" json:"sample_rate_hertz,omitempty"`
                                                                                        	// Required. The language of the supplied audio. Dialogflow does not do
                                                                                        	// translations. See [Language
                                                                                        	// Support](https://dialogflow.com/docs/languages) for a list of the
                                                                                        	// currently supported language codes. Note that queries in the same session
                                                                                        	// do not necessarily need to specify the same language.
                                                                                        	LanguageCode string `protobuf:"bytes,3,opt,name=language_code,json=languageCode" json:"language_code,omitempty"`
                                                                                        	// Optional. The collection of phrase hints which are used to boost accuracy
                                                                                        	// of speech recognition.
                                                                                        	// Refer to [Cloud Speech API documentation](/speech/docs/basics#phrase-hints)
                                                                                        	// for more details.
                                                                                        	PhraseHints []string `protobuf:"bytes,4,rep,name=phrase_hints,json=phraseHints" json:"phrase_hints,omitempty"`
                                                                                        }

                                                                                          Instructs the speech recognizer how to process the audio content.

                                                                                          func (*InputAudioConfig) Descriptor

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

                                                                                          func (*InputAudioConfig) GetAudioEncoding

                                                                                          func (m *InputAudioConfig) GetAudioEncoding() AudioEncoding

                                                                                          func (*InputAudioConfig) GetLanguageCode

                                                                                          func (m *InputAudioConfig) GetLanguageCode() string

                                                                                          func (*InputAudioConfig) GetPhraseHints

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

                                                                                          func (*InputAudioConfig) GetSampleRateHertz

                                                                                          func (m *InputAudioConfig) GetSampleRateHertz() int32

                                                                                          func (*InputAudioConfig) ProtoMessage

                                                                                          func (*InputAudioConfig) ProtoMessage()

                                                                                          func (*InputAudioConfig) Reset

                                                                                          func (m *InputAudioConfig) Reset()

                                                                                          func (*InputAudioConfig) String

                                                                                          func (m *InputAudioConfig) String() string

                                                                                          type Intent

                                                                                          type Intent struct {
                                                                                          	// Required for all methods except `create` (`create` populates the name
                                                                                          	// automatically.
                                                                                          	// The unique identifier of this intent.
                                                                                          	// Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
                                                                                          	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
                                                                                          	// Required. The name of this intent.
                                                                                          	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
                                                                                          	// Required. Indicates whether webhooks are enabled for the intent.
                                                                                          	WebhookState Intent_WebhookState `` /* 143-byte string literal not displayed */
                                                                                          	// Optional. The priority of this intent. Higher numbers represent higher
                                                                                          	// priorities. Zero or negative numbers mean that the intent is disabled.
                                                                                          	Priority int32 `protobuf:"varint,3,opt,name=priority" json:"priority,omitempty"`
                                                                                          	// Optional. Indicates whether this is a fallback intent.
                                                                                          	IsFallback bool `protobuf:"varint,4,opt,name=is_fallback,json=isFallback" json:"is_fallback,omitempty"`
                                                                                          	// Optional. Indicates whether Machine Learning is disabled for the intent.
                                                                                          	// Note: If `ml_diabled` setting is set to true, then this intent is not
                                                                                          	// taken into account during inference in `ML ONLY` match mode. Also,
                                                                                          	// auto-markup in the UI is turned off.
                                                                                          	MlDisabled bool `protobuf:"varint,19,opt,name=ml_disabled,json=mlDisabled" json:"ml_disabled,omitempty"`
                                                                                          	// Optional. The list of context names required for this intent to be
                                                                                          	// triggered.
                                                                                          	// Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
                                                                                          	InputContextNames []string `protobuf:"bytes,7,rep,name=input_context_names,json=inputContextNames" json:"input_context_names,omitempty"`
                                                                                          	// Optional. The collection of event names that trigger the intent.
                                                                                          	// If the collection of input contexts is not empty, all of the contexts must
                                                                                          	// be present in the active user session for an event to trigger this intent.
                                                                                          	Events []string `protobuf:"bytes,8,rep,name=events" json:"events,omitempty"`
                                                                                          	// Optional. The collection of examples/templates that the agent is
                                                                                          	// trained on.
                                                                                          	TrainingPhrases []*Intent_TrainingPhrase `protobuf:"bytes,9,rep,name=training_phrases,json=trainingPhrases" json:"training_phrases,omitempty"`
                                                                                          	// Optional. The name of the action associated with the intent.
                                                                                          	Action string `protobuf:"bytes,10,opt,name=action" json:"action,omitempty"`
                                                                                          	// Optional. The collection of contexts that are activated when the intent
                                                                                          	// is matched. Context messages in this collection should not set the
                                                                                          	// parameters field. Setting the `lifespan_count` to 0 will reset the context
                                                                                          	// when the intent is matched.
                                                                                          	// Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
                                                                                          	OutputContexts []*Context `protobuf:"bytes,11,rep,name=output_contexts,json=outputContexts" json:"output_contexts,omitempty"`
                                                                                          	// Optional. Indicates whether to delete all contexts in the current
                                                                                          	// session when this intent is matched.
                                                                                          	ResetContexts bool `protobuf:"varint,12,opt,name=reset_contexts,json=resetContexts" json:"reset_contexts,omitempty"`
                                                                                          	// Optional. The collection of parameters associated with the intent.
                                                                                          	Parameters []*Intent_Parameter `protobuf:"bytes,13,rep,name=parameters" json:"parameters,omitempty"`
                                                                                          	// Optional. The collection of rich messages corresponding to the
                                                                                          	// `Response` field in the Dialogflow console.
                                                                                          	Messages []*Intent_Message `protobuf:"bytes,14,rep,name=messages" json:"messages,omitempty"`
                                                                                          	// Optional. The list of platforms for which the first response will be
                                                                                          	// taken from among the messages assigned to the DEFAULT_PLATFORM.
                                                                                          	DefaultResponsePlatforms []Intent_Message_Platform `` /* 193-byte string literal not displayed */
                                                                                          	// The unique identifier of the root intent in the chain of followup intents.
                                                                                          	// It identifies the correct followup intents chain for this intent.
                                                                                          	// Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
                                                                                          	RootFollowupIntentName string `protobuf:"bytes,16,opt,name=root_followup_intent_name,json=rootFollowupIntentName" json:"root_followup_intent_name,omitempty"`
                                                                                          	// The unique identifier of the parent intent in the chain of followup
                                                                                          	// intents.
                                                                                          	// It identifies the parent followup intent.
                                                                                          	// Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
                                                                                          	ParentFollowupIntentName string `` /* 131-byte string literal not displayed */
                                                                                          	// Optional. Collection of information about all followup intents that have
                                                                                          	// name of this intent as a root_name.
                                                                                          	FollowupIntentInfo []*Intent_FollowupIntentInfo `protobuf:"bytes,18,rep,name=followup_intent_info,json=followupIntentInfo" json:"followup_intent_info,omitempty"`
                                                                                          }

                                                                                            Represents an intent. Intents convert a number of user expressions or patterns into an action. An action is an extraction of a user command or sentence semantics.

                                                                                            func (*Intent) Descriptor

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

                                                                                            func (*Intent) GetAction

                                                                                            func (m *Intent) GetAction() string

                                                                                            func (*Intent) GetDefaultResponsePlatforms

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

                                                                                            func (*Intent) GetDisplayName

                                                                                            func (m *Intent) GetDisplayName() string

                                                                                            func (*Intent) GetEvents

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

                                                                                            func (*Intent) GetFollowupIntentInfo

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

                                                                                            func (*Intent) GetInputContextNames

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

                                                                                            func (*Intent) GetIsFallback

                                                                                            func (m *Intent) GetIsFallback() bool

                                                                                            func (*Intent) GetMessages

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

                                                                                            func (*Intent) GetMlDisabled

                                                                                            func (m *Intent) GetMlDisabled() bool

                                                                                            func (*Intent) GetName

                                                                                            func (m *Intent) GetName() string

                                                                                            func (*Intent) GetOutputContexts

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

                                                                                            func (*Intent) GetParameters

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

                                                                                            func (*Intent) GetParentFollowupIntentName

                                                                                            func (m *Intent) GetParentFollowupIntentName() string

                                                                                            func (*Intent) GetPriority

                                                                                            func (m *Intent) GetPriority() int32

                                                                                            func (*Intent) GetResetContexts

                                                                                            func (m *Intent) GetResetContexts() bool

                                                                                            func (*Intent) GetRootFollowupIntentName

                                                                                            func (m *Intent) GetRootFollowupIntentName() string

                                                                                            func (*Intent) GetTrainingPhrases

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

                                                                                            func (*Intent) GetWebhookState

                                                                                            func (m *Intent) GetWebhookState() Intent_WebhookState

                                                                                            func (*Intent) ProtoMessage

                                                                                            func (*Intent) ProtoMessage()

                                                                                            func (*Intent) Reset

                                                                                            func (m *Intent) Reset()

                                                                                            func (*Intent) String

                                                                                            func (m *Intent) String() string

                                                                                            type IntentBatch

                                                                                            type IntentBatch struct {
                                                                                            	// A collection of intents.
                                                                                            	Intents []*Intent `protobuf:"bytes,1,rep,name=intents" json:"intents,omitempty"`
                                                                                            }

                                                                                              This message is a wrapper around a collection of intents.

                                                                                              func (*IntentBatch) Descriptor

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

                                                                                              func (*IntentBatch) GetIntents

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

                                                                                              func (*IntentBatch) ProtoMessage

                                                                                              func (*IntentBatch) ProtoMessage()

                                                                                              func (*IntentBatch) Reset

                                                                                              func (m *IntentBatch) Reset()

                                                                                              func (*IntentBatch) String

                                                                                              func (m *IntentBatch) 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 by default.

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

                                                                                                func (IntentView) EnumDescriptor

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

                                                                                                func (IntentView) String

                                                                                                func (x IntentView) String() string

                                                                                                type Intent_FollowupIntentInfo

                                                                                                type Intent_FollowupIntentInfo struct {
                                                                                                	// The unique identifier of the followup intent.
                                                                                                	// Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
                                                                                                	FollowupIntentName string `protobuf:"bytes,1,opt,name=followup_intent_name,json=followupIntentName" json:"followup_intent_name,omitempty"`
                                                                                                	// The unique identifier of the followup intent parent.
                                                                                                	// Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
                                                                                                	ParentFollowupIntentName string `` /* 130-byte string literal not displayed */
                                                                                                }

                                                                                                  Represents a single followup intent in the chain.

                                                                                                  func (*Intent_FollowupIntentInfo) Descriptor

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

                                                                                                  func (*Intent_FollowupIntentInfo) GetFollowupIntentName

                                                                                                  func (m *Intent_FollowupIntentInfo) GetFollowupIntentName() string

                                                                                                  func (*Intent_FollowupIntentInfo) GetParentFollowupIntentName

                                                                                                  func (m *Intent_FollowupIntentInfo) GetParentFollowupIntentName() string

                                                                                                  func (*Intent_FollowupIntentInfo) ProtoMessage

                                                                                                  func (*Intent_FollowupIntentInfo) ProtoMessage()

                                                                                                  func (*Intent_FollowupIntentInfo) Reset

                                                                                                  func (m *Intent_FollowupIntentInfo) Reset()

                                                                                                  func (*Intent_FollowupIntentInfo) String

                                                                                                  func (m *Intent_FollowupIntentInfo) String() string

                                                                                                  type Intent_Message

                                                                                                  type Intent_Message struct {
                                                                                                  	// Required. The rich response message.
                                                                                                  	//
                                                                                                  	// Types that are valid to be assigned to Message:
                                                                                                  	//	*Intent_Message_Text_
                                                                                                  	//	*Intent_Message_Image_
                                                                                                  	//	*Intent_Message_QuickReplies_
                                                                                                  	//	*Intent_Message_Card_
                                                                                                  	//	*Intent_Message_Payload
                                                                                                  	//	*Intent_Message_SimpleResponses_
                                                                                                  	//	*Intent_Message_BasicCard_
                                                                                                  	//	*Intent_Message_Suggestions_
                                                                                                  	//	*Intent_Message_LinkOutSuggestion_
                                                                                                  	//	*Intent_Message_ListSelect_
                                                                                                  	//	*Intent_Message_CarouselSelect_
                                                                                                  	Message isIntent_Message_Message `protobuf_oneof:"message"`
                                                                                                  	// Optional. The platform that this message is intended for.
                                                                                                  	Platform Intent_Message_Platform `protobuf:"varint,6,opt,name=platform,enum=google.cloud.dialogflow.v2.Intent_Message_Platform" json:"platform,omitempty"`
                                                                                                  }

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

                                                                                                    func (*Intent_Message) Descriptor

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

                                                                                                    func (*Intent_Message) GetBasicCard

                                                                                                    func (m *Intent_Message) GetBasicCard() *Intent_Message_BasicCard

                                                                                                    func (*Intent_Message) GetCard

                                                                                                    func (m *Intent_Message) GetCard() *Intent_Message_Card

                                                                                                    func (*Intent_Message) GetCarouselSelect

                                                                                                    func (m *Intent_Message) GetCarouselSelect() *Intent_Message_CarouselSelect

                                                                                                    func (*Intent_Message) GetImage

                                                                                                    func (m *Intent_Message) GetImage() *Intent_Message_Image

                                                                                                    func (*Intent_Message) GetLinkOutSuggestion

                                                                                                    func (m *Intent_Message) GetLinkOutSuggestion() *Intent_Message_LinkOutSuggestion

                                                                                                    func (*Intent_Message) GetListSelect

                                                                                                    func (m *Intent_Message) GetListSelect() *Intent_Message_ListSelect

                                                                                                    func (*Intent_Message) GetMessage

                                                                                                    func (m *Intent_Message) GetMessage() isIntent_Message_Message

                                                                                                    func (*Intent_Message) GetPayload

                                                                                                    func (m *Intent_Message) GetPayload() *google_protobuf4.Struct

                                                                                                    func (*Intent_Message) GetPlatform

                                                                                                    func (m *Intent_Message) GetPlatform() Intent_Message_Platform

                                                                                                    func (*Intent_Message) GetQuickReplies

                                                                                                    func (m *Intent_Message) GetQuickReplies() *Intent_Message_QuickReplies

                                                                                                    func (*Intent_Message) GetSimpleResponses

                                                                                                    func (m *Intent_Message) GetSimpleResponses() *Intent_Message_SimpleResponses

                                                                                                    func (*Intent_Message) GetSuggestions

                                                                                                    func (m *Intent_Message) GetSuggestions() *Intent_Message_Suggestions

                                                                                                    func (*Intent_Message) GetText

                                                                                                    func (m *Intent_Message) GetText() *Intent_Message_Text

                                                                                                    func (*Intent_Message) ProtoMessage

                                                                                                    func (*Intent_Message) ProtoMessage()

                                                                                                    func (*Intent_Message) Reset

                                                                                                    func (m *Intent_Message) Reset()

                                                                                                    func (*Intent_Message) String

                                                                                                    func (m *Intent_Message) String() string

                                                                                                    func (*Intent_Message) XXX_OneofFuncs

                                                                                                    func (*Intent_Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

                                                                                                      XXX_OneofFuncs is for the internal use of the proto package.

                                                                                                      type Intent_Message_BasicCard

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

                                                                                                        The basic card message. Useful for displaying information.

                                                                                                        func (*Intent_Message_BasicCard) Descriptor

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

                                                                                                        func (*Intent_Message_BasicCard) GetButtons

                                                                                                        func (*Intent_Message_BasicCard) GetFormattedText

                                                                                                        func (m *Intent_Message_BasicCard) GetFormattedText() string

                                                                                                        func (*Intent_Message_BasicCard) GetImage

                                                                                                        func (*Intent_Message_BasicCard) GetSubtitle

                                                                                                        func (m *Intent_Message_BasicCard) GetSubtitle() string

                                                                                                        func (*Intent_Message_BasicCard) GetTitle

                                                                                                        func (m *Intent_Message_BasicCard) GetTitle() string

                                                                                                        func (*Intent_Message_BasicCard) ProtoMessage

                                                                                                        func (*Intent_Message_BasicCard) ProtoMessage()

                                                                                                        func (*Intent_Message_BasicCard) Reset

                                                                                                        func (m *Intent_Message_BasicCard) Reset()

                                                                                                        func (*Intent_Message_BasicCard) String

                                                                                                        func (m *Intent_Message_BasicCard) String() string

                                                                                                        type Intent_Message_BasicCard_

                                                                                                        type Intent_Message_BasicCard_ struct {
                                                                                                        	BasicCard *Intent_Message_BasicCard `protobuf:"bytes,8,opt,name=basic_card,json=basicCard,oneof"`
                                                                                                        }

                                                                                                        type Intent_Message_BasicCard_Button

                                                                                                        type Intent_Message_BasicCard_Button struct {
                                                                                                        	// Required. The title of the button.
                                                                                                        	Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
                                                                                                        	// Required. Action to take when a user taps on the button.
                                                                                                        	OpenUriAction *Intent_Message_BasicCard_Button_OpenUriAction `protobuf:"bytes,2,opt,name=open_uri_action,json=openUriAction" json:"open_uri_action,omitempty"`
                                                                                                        }

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

                                                                                                          func (*Intent_Message_BasicCard_Button) Descriptor

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

                                                                                                          func (*Intent_Message_BasicCard_Button) GetOpenUriAction

                                                                                                          func (*Intent_Message_BasicCard_Button) GetTitle

                                                                                                          func (*Intent_Message_BasicCard_Button) ProtoMessage

                                                                                                          func (*Intent_Message_BasicCard_Button) ProtoMessage()

                                                                                                          func (*Intent_Message_BasicCard_Button) Reset

                                                                                                          func (*Intent_Message_BasicCard_Button) String

                                                                                                          type Intent_Message_BasicCard_Button_OpenUriAction

                                                                                                          type Intent_Message_BasicCard_Button_OpenUriAction struct {
                                                                                                          	// Required. The HTTP or HTTPS scheme URI.
                                                                                                          	Uri string `protobuf:"bytes,1,opt,name=uri" json:"uri,omitempty"`
                                                                                                          }

                                                                                                            Opens the given URI.

                                                                                                            func (*Intent_Message_BasicCard_Button_OpenUriAction) Descriptor

                                                                                                            func (*Intent_Message_BasicCard_Button_OpenUriAction) GetUri

                                                                                                            func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoMessage

                                                                                                            func (*Intent_Message_BasicCard_Button_OpenUriAction) Reset

                                                                                                            func (*Intent_Message_BasicCard_Button_OpenUriAction) String

                                                                                                            type Intent_Message_Card

                                                                                                            type Intent_Message_Card struct {
                                                                                                            	// Optional. The title of the card.
                                                                                                            	Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
                                                                                                            	// Optional. The subtitle of the card.
                                                                                                            	Subtitle string `protobuf:"bytes,2,opt,name=subtitle" json:"subtitle,omitempty"`
                                                                                                            	// Optional. The public URI to an image file for the card.
                                                                                                            	ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri" json:"image_uri,omitempty"`
                                                                                                            	// Optional. The collection of card buttons.
                                                                                                            	Buttons []*Intent_Message_Card_Button `protobuf:"bytes,4,rep,name=buttons" json:"buttons,omitempty"`
                                                                                                            }

                                                                                                              The card response message.

                                                                                                              func (*Intent_Message_Card) Descriptor

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

                                                                                                              func (*Intent_Message_Card) GetButtons

                                                                                                              func (*Intent_Message_Card) GetImageUri

                                                                                                              func (m *Intent_Message_Card) GetImageUri() string

                                                                                                              func (*Intent_Message_Card) GetSubtitle

                                                                                                              func (m *Intent_Message_Card) GetSubtitle() string

                                                                                                              func (*Intent_Message_Card) GetTitle

                                                                                                              func (m *Intent_Message_Card) GetTitle() string

                                                                                                              func (*Intent_Message_Card) ProtoMessage

                                                                                                              func (*Intent_Message_Card) ProtoMessage()

                                                                                                              func (*Intent_Message_Card) Reset

                                                                                                              func (m *Intent_Message_Card) Reset()

                                                                                                              func (*Intent_Message_Card) String

                                                                                                              func (m *Intent_Message_Card) String() string

                                                                                                              type Intent_Message_Card_

                                                                                                              type Intent_Message_Card_ struct {
                                                                                                              	Card *Intent_Message_Card `protobuf:"bytes,4,opt,name=card,oneof"`
                                                                                                              }

                                                                                                              type Intent_Message_Card_Button

                                                                                                              type Intent_Message_Card_Button struct {
                                                                                                              	// Optional. The text to show on the button.
                                                                                                              	Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
                                                                                                              	// Optional. The text to send back to the Dialogflow API or a URI to
                                                                                                              	// open.
                                                                                                              	Postback string `protobuf:"bytes,2,opt,name=postback" json:"postback,omitempty"`
                                                                                                              }

                                                                                                                Optional. Contains information about a button.

                                                                                                                func (*Intent_Message_Card_Button) Descriptor

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

                                                                                                                func (*Intent_Message_Card_Button) GetPostback

                                                                                                                func (m *Intent_Message_Card_Button) GetPostback() string

                                                                                                                func (*Intent_Message_Card_Button) GetText

                                                                                                                func (m *Intent_Message_Card_Button) GetText() string

                                                                                                                func (*Intent_Message_Card_Button) ProtoMessage

                                                                                                                func (*Intent_Message_Card_Button) ProtoMessage()

                                                                                                                func (*Intent_Message_Card_Button) Reset

                                                                                                                func (m *Intent_Message_Card_Button) Reset()

                                                                                                                func (*Intent_Message_Card_Button) String

                                                                                                                func (m *Intent_Message_Card_Button) String() string

                                                                                                                type Intent_Message_CarouselSelect

                                                                                                                type Intent_Message_CarouselSelect struct {
                                                                                                                	// Required. Carousel items.
                                                                                                                	Items []*Intent_Message_CarouselSelect_Item `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
                                                                                                                }

                                                                                                                  The card for presenting a carousel of options to select from.

                                                                                                                  func (*Intent_Message_CarouselSelect) Descriptor

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

                                                                                                                  func (*Intent_Message_CarouselSelect) GetItems

                                                                                                                  func (*Intent_Message_CarouselSelect) ProtoMessage

                                                                                                                  func (*Intent_Message_CarouselSelect) ProtoMessage()

                                                                                                                  func (*Intent_Message_CarouselSelect) Reset

                                                                                                                  func (m *Intent_Message_CarouselSelect) Reset()

                                                                                                                  func (*Intent_Message_CarouselSelect) String

                                                                                                                  type Intent_Message_CarouselSelect_

                                                                                                                  type Intent_Message_CarouselSelect_ struct {
                                                                                                                  	CarouselSelect *Intent_Message_CarouselSelect `protobuf:"bytes,12,opt,name=carousel_select,json=carouselSelect,oneof"`
                                                                                                                  }

                                                                                                                  type Intent_Message_CarouselSelect_Item

                                                                                                                  type Intent_Message_CarouselSelect_Item struct {
                                                                                                                  	// Required. Additional info about the option item.
                                                                                                                  	Info *Intent_Message_SelectItemInfo `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"`
                                                                                                                  	// Required. Title of the carousel item.
                                                                                                                  	Title string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
                                                                                                                  	// Optional. The body text of the card.
                                                                                                                  	Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
                                                                                                                  	// Optional. The image to display.
                                                                                                                  	Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image" json:"image,omitempty"`
                                                                                                                  }

                                                                                                                    An item in the carousel.

                                                                                                                    func (*Intent_Message_CarouselSelect_Item) Descriptor

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

                                                                                                                    func (*Intent_Message_CarouselSelect_Item) GetDescription

                                                                                                                    func (m *Intent_Message_CarouselSelect_Item) GetDescription() string

                                                                                                                    func (*Intent_Message_CarouselSelect_Item) GetImage

                                                                                                                    func (*Intent_Message_CarouselSelect_Item) GetInfo

                                                                                                                    func (*Intent_Message_CarouselSelect_Item) GetTitle

                                                                                                                    func (*Intent_Message_CarouselSelect_Item) ProtoMessage

                                                                                                                    func (*Intent_Message_CarouselSelect_Item) ProtoMessage()

                                                                                                                    func (*Intent_Message_CarouselSelect_Item) Reset

                                                                                                                    func (*Intent_Message_CarouselSelect_Item) String

                                                                                                                    type Intent_Message_Image

                                                                                                                    type Intent_Message_Image struct {
                                                                                                                    	// Optional. The public URI to an image file.
                                                                                                                    	ImageUri string `protobuf:"bytes,1,opt,name=image_uri,json=imageUri" json:"image_uri,omitempty"`
                                                                                                                    	// Optional. A text description of the image to be used for accessibility,
                                                                                                                    	// e.g., screen readers.
                                                                                                                    	AccessibilityText string `protobuf:"bytes,2,opt,name=accessibility_text,json=accessibilityText" json:"accessibility_text,omitempty"`
                                                                                                                    }

                                                                                                                      The image response message.

                                                                                                                      func (*Intent_Message_Image) Descriptor

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

                                                                                                                      func (*Intent_Message_Image) GetAccessibilityText

                                                                                                                      func (m *Intent_Message_Image) GetAccessibilityText() string

                                                                                                                      func (*Intent_Message_Image) GetImageUri

                                                                                                                      func (m *Intent_Message_Image) GetImageUri() string

                                                                                                                      func (*Intent_Message_Image) ProtoMessage

                                                                                                                      func (*Intent_Message_Image) ProtoMessage()

                                                                                                                      func (*Intent_Message_Image) Reset

                                                                                                                      func (m *Intent_Message_Image) Reset()

                                                                                                                      func (*Intent_Message_Image) String

                                                                                                                      func (m *Intent_Message_Image) String() string

                                                                                                                      type Intent_Message_Image_

                                                                                                                      type Intent_Message_Image_ struct {
                                                                                                                      	Image *Intent_Message_Image `protobuf:"bytes,2,opt,name=image,oneof"`
                                                                                                                      }

                                                                                                                      type Intent_Message_LinkOutSuggestion

                                                                                                                      type Intent_Message_LinkOutSuggestion struct {
                                                                                                                      	// Required. The name of the app or site this chip is linking to.
                                                                                                                      	DestinationName string `protobuf:"bytes,1,opt,name=destination_name,json=destinationName" json:"destination_name,omitempty"`
                                                                                                                      	// Required. The URI of the app or site to open when the user taps the
                                                                                                                      	// suggestion chip.
                                                                                                                      	Uri string `protobuf:"bytes,2,opt,name=uri" json:"uri,omitempty"`
                                                                                                                      }

                                                                                                                        The suggestion chip message that allows the user to jump out to the app or website associated with this agent.

                                                                                                                        func (*Intent_Message_LinkOutSuggestion) Descriptor

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

                                                                                                                        func (*Intent_Message_LinkOutSuggestion) GetDestinationName

                                                                                                                        func (m *Intent_Message_LinkOutSuggestion) GetDestinationName() string

                                                                                                                        func (*Intent_Message_LinkOutSuggestion) GetUri

                                                                                                                        func (*Intent_Message_LinkOutSuggestion) ProtoMessage

                                                                                                                        func (*Intent_Message_LinkOutSuggestion) ProtoMessage()

                                                                                                                        func (*Intent_Message_LinkOutSuggestion) Reset

                                                                                                                        func (*Intent_Message_LinkOutSuggestion) String

                                                                                                                        type Intent_Message_LinkOutSuggestion_

                                                                                                                        type Intent_Message_LinkOutSuggestion_ struct {
                                                                                                                        	LinkOutSuggestion *Intent_Message_LinkOutSuggestion `protobuf:"bytes,10,opt,name=link_out_suggestion,json=linkOutSuggestion,oneof"`
                                                                                                                        }

                                                                                                                        type Intent_Message_ListSelect

                                                                                                                        type Intent_Message_ListSelect struct {
                                                                                                                        	// Optional. The overall title of the list.
                                                                                                                        	Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
                                                                                                                        	// Required. List items.
                                                                                                                        	Items []*Intent_Message_ListSelect_Item `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
                                                                                                                        }

                                                                                                                          The card for presenting a list of options to select from.

                                                                                                                          func (*Intent_Message_ListSelect) Descriptor

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

                                                                                                                          func (*Intent_Message_ListSelect) GetItems

                                                                                                                          func (*Intent_Message_ListSelect) GetTitle

                                                                                                                          func (m *Intent_Message_ListSelect) GetTitle() string

                                                                                                                          func (*Intent_Message_ListSelect) ProtoMessage

                                                                                                                          func (*Intent_Message_ListSelect) ProtoMessage()

                                                                                                                          func (*Intent_Message_ListSelect) Reset

                                                                                                                          func (m *Intent_Message_ListSelect) Reset()

                                                                                                                          func (*Intent_Message_ListSelect) String

                                                                                                                          func (m *Intent_Message_ListSelect) String() string

                                                                                                                          type Intent_Message_ListSelect_

                                                                                                                          type Intent_Message_ListSelect_ struct {
                                                                                                                          	ListSelect *Intent_Message_ListSelect `protobuf:"bytes,11,opt,name=list_select,json=listSelect,oneof"`
                                                                                                                          }

                                                                                                                          type Intent_Message_ListSelect_Item

                                                                                                                          type Intent_Message_ListSelect_Item struct {
                                                                                                                          	// Required. Additional information about this option.
                                                                                                                          	Info *Intent_Message_SelectItemInfo `protobuf:"bytes,1,opt,name=info" json:"info,omitempty"`
                                                                                                                          	// Required. The title of the list item.
                                                                                                                          	Title string `protobuf:"bytes,2,opt,name=title" json:"title,omitempty"`
                                                                                                                          	// Optional. The main text describing the item.
                                                                                                                          	Description string `protobuf:"bytes,3,opt,name=description" json:"description,omitempty"`
                                                                                                                          	// Optional. The image to display.
                                                                                                                          	Image *Intent_Message_Image `protobuf:"bytes,4,opt,name=image" json:"image,omitempty"`
                                                                                                                          }

                                                                                                                            An item in the list.

                                                                                                                            func (*Intent_Message_ListSelect_Item) Descriptor

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

                                                                                                                            func (*Intent_Message_ListSelect_Item) GetDescription

                                                                                                                            func (m *Intent_Message_ListSelect_Item) GetDescription() string

                                                                                                                            func (*Intent_Message_ListSelect_Item) GetImage

                                                                                                                            func (*Intent_Message_ListSelect_Item) GetInfo

                                                                                                                            func (*Intent_Message_ListSelect_Item) GetTitle

                                                                                                                            func (m *Intent_Message_ListSelect_Item) GetTitle() string

                                                                                                                            func (*Intent_Message_ListSelect_Item) ProtoMessage

                                                                                                                            func (*Intent_Message_ListSelect_Item) ProtoMessage()

                                                                                                                            func (*Intent_Message_ListSelect_Item) Reset

                                                                                                                            func (m *Intent_Message_ListSelect_Item) Reset()

                                                                                                                            func (*Intent_Message_ListSelect_Item) String

                                                                                                                            type Intent_Message_Payload

                                                                                                                            type Intent_Message_Payload struct {
                                                                                                                            	Payload *google_protobuf4.Struct `protobuf:"bytes,5,opt,name=payload,oneof"`
                                                                                                                            }

                                                                                                                            type Intent_Message_Platform

                                                                                                                            type Intent_Message_Platform int32

                                                                                                                              Represents different platforms that a rich message can be intended for.

                                                                                                                              const (
                                                                                                                              	// Not specified.
                                                                                                                              	Intent_Message_PLATFORM_UNSPECIFIED Intent_Message_Platform = 0
                                                                                                                              	// Facebook.
                                                                                                                              	Intent_Message_FACEBOOK Intent_Message_Platform = 1
                                                                                                                              	// Slack.
                                                                                                                              	Intent_Message_SLACK Intent_Message_Platform = 2
                                                                                                                              	// Telegram.
                                                                                                                              	Intent_Message_TELEGRAM Intent_Message_Platform = 3
                                                                                                                              	// Kik.
                                                                                                                              	Intent_Message_KIK Intent_Message_Platform = 4
                                                                                                                              	// Skype.
                                                                                                                              	Intent_Message_SKYPE Intent_Message_Platform = 5
                                                                                                                              	// Line.
                                                                                                                              	Intent_Message_LINE Intent_Message_Platform = 6
                                                                                                                              	// Viber.
                                                                                                                              	Intent_Message_VIBER Intent_Message_Platform = 7
                                                                                                                              	// Actions on Google.
                                                                                                                              	// When using Actions on Google, you can choose one of the specific
                                                                                                                              	// Intent.Message types that mention support for Actions on Google,
                                                                                                                              	// or you can use the advanced Intent.Message.payload field.
                                                                                                                              	// The payload field provides access to AoG features not available in the
                                                                                                                              	// specific message types.
                                                                                                                              	// If using the Intent.Message.payload field, it should have a structure
                                                                                                                              	// similar to the JSON message shown here. For more information, see
                                                                                                                              	// [Actions on Google Webhook
                                                                                                                              	// Format](https://developers.google.com/actions/dialogflow/webhook)
                                                                                                                              	// <pre>{
                                                                                                                              	//   "expectUserResponse": true,
                                                                                                                              	//   "isSsml": false,
                                                                                                                              	//   "noInputPrompts": [],
                                                                                                                              	//   "richResponse": {
                                                                                                                              	//     "items": [
                                                                                                                              	//       {
                                                                                                                              	//         "simpleResponse": {
                                                                                                                              	//           "displayText": "hi",
                                                                                                                              	//           "textToSpeech": "hello"
                                                                                                                              	//         }
                                                                                                                              	//       }
                                                                                                                              	//     ],
                                                                                                                              	//     "suggestions": [
                                                                                                                              	//       {
                                                                                                                              	//         "title": "Say this"
                                                                                                                              	//       },
                                                                                                                              	//       {
                                                                                                                              	//         "title": "or this"
                                                                                                                              	//       }
                                                                                                                              	//     ]
                                                                                                                              	//   },
                                                                                                                              	//   "systemIntent": {
                                                                                                                              	//     "data": {
                                                                                                                              	//       "@type": "type.googleapis.com/google.actions.v2.OptionValueSpec",
                                                                                                                              	//       "listSelect": {
                                                                                                                              	//         "items": [
                                                                                                                              	//           {
                                                                                                                              	//             "optionInfo": {
                                                                                                                              	//               "key": "key1",
                                                                                                                              	//               "synonyms": [
                                                                                                                              	//                 "key one"
                                                                                                                              	//               ]
                                                                                                                              	//             },
                                                                                                                              	//             "title": "must not be empty, but unique"
                                                                                                                              	//           },
                                                                                                                              	//           {
                                                                                                                              	//             "optionInfo": {
                                                                                                                              	//               "key": "key2",
                                                                                                                              	//               "synonyms": [
                                                                                                                              	//                 "key two"
                                                                                                                              	//               ]
                                                                                                                              	//             },
                                                                                                                              	//             "title": "must not be empty, but unique"
                                                                                                                              	//           }
                                                                                                                              	//         ]
                                                                                                                              	//       }
                                                                                                                              	//     },
                                                                                                                              	//     "intent": "actions.intent.OPTION"
                                                                                                                              	//   }
                                                                                                                              	// }</pre>
                                                                                                                              	Intent_Message_ACTIONS_ON_GOOGLE Intent_Message_Platform = 8
                                                                                                                              )

                                                                                                                              func (Intent_Message_Platform) EnumDescriptor

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

                                                                                                                              func (Intent_Message_Platform) String

                                                                                                                              func (x Intent_Message_Platform) String() string

                                                                                                                              type Intent_Message_QuickReplies

                                                                                                                              type Intent_Message_QuickReplies struct {
                                                                                                                              	// Optional. The title of the collection of quick replies.
                                                                                                                              	Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
                                                                                                                              	// Optional. The collection of quick replies.
                                                                                                                              	QuickReplies []string `protobuf:"bytes,2,rep,name=quick_replies,json=quickReplies" json:"quick_replies,omitempty"`
                                                                                                                              }

                                                                                                                                The quick replies response message.

                                                                                                                                func (*Intent_Message_QuickReplies) Descriptor

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

                                                                                                                                func (*Intent_Message_QuickReplies) GetQuickReplies

                                                                                                                                func (m *Intent_Message_QuickReplies) GetQuickReplies() []string

                                                                                                                                func (*Intent_Message_QuickReplies) GetTitle

                                                                                                                                func (m *Intent_Message_QuickReplies) GetTitle() string

                                                                                                                                func (*Intent_Message_QuickReplies) ProtoMessage

                                                                                                                                func (*Intent_Message_QuickReplies) ProtoMessage()

                                                                                                                                func (*Intent_Message_QuickReplies) Reset

                                                                                                                                func (m *Intent_Message_QuickReplies) Reset()

                                                                                                                                func (*Intent_Message_QuickReplies) String

                                                                                                                                func (m *Intent_Message_QuickReplies) String() string

                                                                                                                                type Intent_Message_QuickReplies_

                                                                                                                                type Intent_Message_QuickReplies_ struct {
                                                                                                                                	QuickReplies *Intent_Message_QuickReplies `protobuf:"bytes,3,opt,name=quick_replies,json=quickReplies,oneof"`
                                                                                                                                }

                                                                                                                                type Intent_Message_SelectItemInfo

                                                                                                                                type Intent_Message_SelectItemInfo struct {
                                                                                                                                	// Required. A unique key that will be sent back to the agent if this
                                                                                                                                	// response is given.
                                                                                                                                	Key string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
                                                                                                                                	// Optional. A list of synonyms that can also be used to trigger this
                                                                                                                                	// item in dialog.
                                                                                                                                	Synonyms []string `protobuf:"bytes,2,rep,name=synonyms" json:"synonyms,omitempty"`
                                                                                                                                }

                                                                                                                                  Additional info about the select item for when it is triggered in a dialog.

                                                                                                                                  func (*Intent_Message_SelectItemInfo) Descriptor

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

                                                                                                                                  func (*Intent_Message_SelectItemInfo) GetKey

                                                                                                                                  func (*Intent_Message_SelectItemInfo) GetSynonyms

                                                                                                                                  func (m *Intent_Message_SelectItemInfo) GetSynonyms() []string

                                                                                                                                  func (*Intent_Message_SelectItemInfo) ProtoMessage

                                                                                                                                  func (*Intent_Message_SelectItemInfo) ProtoMessage()

                                                                                                                                  func (*Intent_Message_SelectItemInfo) Reset

                                                                                                                                  func (m *Intent_Message_SelectItemInfo) Reset()

                                                                                                                                  func (*Intent_Message_SelectItemInfo) String

                                                                                                                                  type Intent_Message_SimpleResponse

                                                                                                                                  type Intent_Message_SimpleResponse struct {
                                                                                                                                  	// One of text_to_speech or ssml must be provided. The plain text of the
                                                                                                                                  	// speech output. Mutually exclusive with ssml.
                                                                                                                                  	TextToSpeech string `protobuf:"bytes,1,opt,name=text_to_speech,json=textToSpeech" json:"text_to_speech,omitempty"`
                                                                                                                                  	// One of text_to_speech or ssml must be provided. Structured spoken
                                                                                                                                  	// response to the user in the SSML format. Mutually exclusive with
                                                                                                                                  	// text_to_speech.
                                                                                                                                  	Ssml string `protobuf:"bytes,2,opt,name=ssml" json:"ssml,omitempty"`
                                                                                                                                  	// Optional. The text to display.
                                                                                                                                  	DisplayText string `protobuf:"bytes,3,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
                                                                                                                                  }

                                                                                                                                    The simple response message containing speech or text.

                                                                                                                                    func (*Intent_Message_SimpleResponse) Descriptor

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

                                                                                                                                    func (*Intent_Message_SimpleResponse) GetDisplayText

                                                                                                                                    func (m *Intent_Message_SimpleResponse) GetDisplayText() string

                                                                                                                                    func (*Intent_Message_SimpleResponse) GetSsml

                                                                                                                                    func (*Intent_Message_SimpleResponse) GetTextToSpeech

                                                                                                                                    func (m *Intent_Message_SimpleResponse) GetTextToSpeech() string

                                                                                                                                    func (*Intent_Message_SimpleResponse) ProtoMessage

                                                                                                                                    func (*Intent_Message_SimpleResponse) ProtoMessage()

                                                                                                                                    func (*Intent_Message_SimpleResponse) Reset

                                                                                                                                    func (m *Intent_Message_SimpleResponse) Reset()

                                                                                                                                    func (*Intent_Message_SimpleResponse) String

                                                                                                                                    type Intent_Message_SimpleResponses

                                                                                                                                    type Intent_Message_SimpleResponses struct {
                                                                                                                                    	// Required. The list of simple responses.
                                                                                                                                    	SimpleResponses []*Intent_Message_SimpleResponse `protobuf:"bytes,1,rep,name=simple_responses,json=simpleResponses" json:"simple_responses,omitempty"`
                                                                                                                                    }

                                                                                                                                      The collection of simple response candidates. This message in `QueryResult.fulfillment_messages` and `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`.

                                                                                                                                      func (*Intent_Message_SimpleResponses) Descriptor

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

                                                                                                                                      func (*Intent_Message_SimpleResponses) GetSimpleResponses

                                                                                                                                      func (*Intent_Message_SimpleResponses) ProtoMessage

                                                                                                                                      func (*Intent_Message_SimpleResponses) ProtoMessage()

                                                                                                                                      func (*Intent_Message_SimpleResponses) Reset

                                                                                                                                      func (m *Intent_Message_SimpleResponses) Reset()

                                                                                                                                      func (*Intent_Message_SimpleResponses) String

                                                                                                                                      type Intent_Message_SimpleResponses_

                                                                                                                                      type Intent_Message_SimpleResponses_ struct {
                                                                                                                                      	SimpleResponses *Intent_Message_SimpleResponses `protobuf:"bytes,7,opt,name=simple_responses,json=simpleResponses,oneof"`
                                                                                                                                      }

                                                                                                                                      type Intent_Message_Suggestion

                                                                                                                                      type Intent_Message_Suggestion struct {
                                                                                                                                      	// Required. The text shown the in the suggestion chip.
                                                                                                                                      	Title string `protobuf:"bytes,1,opt,name=title" json:"title,omitempty"`
                                                                                                                                      }

                                                                                                                                        The suggestion chip message that the user can tap to quickly post a reply to the conversation.

                                                                                                                                        func (*Intent_Message_Suggestion) Descriptor

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

                                                                                                                                        func (*Intent_Message_Suggestion) GetTitle

                                                                                                                                        func (m *Intent_Message_Suggestion) GetTitle() string

                                                                                                                                        func (*Intent_Message_Suggestion) ProtoMessage

                                                                                                                                        func (*Intent_Message_Suggestion) ProtoMessage()

                                                                                                                                        func (*Intent_Message_Suggestion) Reset

                                                                                                                                        func (m *Intent_Message_Suggestion) Reset()

                                                                                                                                        func (*Intent_Message_Suggestion) String

                                                                                                                                        func (m *Intent_Message_Suggestion) String() string

                                                                                                                                        type Intent_Message_Suggestions

                                                                                                                                        type Intent_Message_Suggestions struct {
                                                                                                                                        	// Required. The list of suggested replies.
                                                                                                                                        	Suggestions []*Intent_Message_Suggestion `protobuf:"bytes,1,rep,name=suggestions" json:"suggestions,omitempty"`
                                                                                                                                        }

                                                                                                                                          The collection of suggestions.

                                                                                                                                          func (*Intent_Message_Suggestions) Descriptor

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

                                                                                                                                          func (*Intent_Message_Suggestions) GetSuggestions

                                                                                                                                          func (*Intent_Message_Suggestions) ProtoMessage

                                                                                                                                          func (*Intent_Message_Suggestions) ProtoMessage()

                                                                                                                                          func (*Intent_Message_Suggestions) Reset

                                                                                                                                          func (m *Intent_Message_Suggestions) Reset()

                                                                                                                                          func (*Intent_Message_Suggestions) String

                                                                                                                                          func (m *Intent_Message_Suggestions) String() string

                                                                                                                                          type Intent_Message_Suggestions_

                                                                                                                                          type Intent_Message_Suggestions_ struct {
                                                                                                                                          	Suggestions *Intent_Message_Suggestions `protobuf:"bytes,9,opt,name=suggestions,oneof"`
                                                                                                                                          }

                                                                                                                                          type Intent_Message_Text

                                                                                                                                          type Intent_Message_Text struct {
                                                                                                                                          	// Optional. The collection of the agent's responses.
                                                                                                                                          	Text []string `protobuf:"bytes,1,rep,name=text" json:"text,omitempty"`
                                                                                                                                          }

                                                                                                                                            The text response message.

                                                                                                                                            func (*Intent_Message_Text) Descriptor

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

                                                                                                                                            func (*Intent_Message_Text) GetText

                                                                                                                                            func (m *Intent_Message_Text) GetText() []string

                                                                                                                                            func (*Intent_Message_Text) ProtoMessage

                                                                                                                                            func (*Intent_Message_Text) ProtoMessage()

                                                                                                                                            func (*Intent_Message_Text) Reset

                                                                                                                                            func (m *Intent_Message_Text) Reset()

                                                                                                                                            func (*Intent_Message_Text) String

                                                                                                                                            func (m *Intent_Message_Text) String() string

                                                                                                                                            type Intent_Message_Text_

                                                                                                                                            type Intent_Message_Text_ struct {
                                                                                                                                            	Text *Intent_Message_Text `protobuf:"bytes,1,opt,name=text,oneof"`
                                                                                                                                            }

                                                                                                                                            type Intent_Parameter

                                                                                                                                            type Intent_Parameter struct {
                                                                                                                                            	// The unique identifier of this parameter.
                                                                                                                                            	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
                                                                                                                                            	// Required. The name of the parameter.
                                                                                                                                            	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
                                                                                                                                            	// Optional. The definition of the parameter value. It can be:
                                                                                                                                            	// - a constant string,
                                                                                                                                            	// - a parameter value defined as `$parameter_name`,
                                                                                                                                            	// - an original parameter value defined as `$parameter_name.original`,
                                                                                                                                            	// - a parameter value from some context defined as
                                                                                                                                            	//   `#context_name.parameter_name`.
                                                                                                                                            	Value string `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
                                                                                                                                            	// Optional. The default value to use when the `value` yields an empty
                                                                                                                                            	// result.
                                                                                                                                            	// Default values can be extracted from contexts by using the following
                                                                                                                                            	// syntax: `#context_name.parameter_name`.
                                                                                                                                            	DefaultValue string `protobuf:"bytes,4,opt,name=default_value,json=defaultValue" json:"default_value,omitempty"`
                                                                                                                                            	// Optional. The name of the entity type, prefixed with `@`, that
                                                                                                                                            	// describes values of the parameter. If the parameter is
                                                                                                                                            	// required, this must be provided.
                                                                                                                                            	EntityTypeDisplayName string `protobuf:"bytes,5,opt,name=entity_type_display_name,json=entityTypeDisplayName" json:"entity_type_display_name,omitempty"`
                                                                                                                                            	// Optional. Indicates whether the parameter is required. That is,
                                                                                                                                            	// whether the intent cannot be completed without collecting the parameter
                                                                                                                                            	// value.
                                                                                                                                            	Mandatory bool `protobuf:"varint,6,opt,name=mandatory" json:"mandatory,omitempty"`
                                                                                                                                            	// Optional. The collection of prompts that the agent can present to the
                                                                                                                                            	// user in order to collect value for the parameter.
                                                                                                                                            	Prompts []string `protobuf:"bytes,7,rep,name=prompts" json:"prompts,omitempty"`
                                                                                                                                            	// Optional. Indicates whether the parameter represents a list of values.
                                                                                                                                            	IsList bool `protobuf:"varint,8,opt,name=is_list,json=isList" json:"is_list,omitempty"`
                                                                                                                                            }

                                                                                                                                              Represents intent parameters.

                                                                                                                                              func (*Intent_Parameter) Descriptor

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

                                                                                                                                              func (*Intent_Parameter) GetDefaultValue

                                                                                                                                              func (m *Intent_Parameter) GetDefaultValue() string

                                                                                                                                              func (*Intent_Parameter) GetDisplayName

                                                                                                                                              func (m *Intent_Parameter) GetDisplayName() string

                                                                                                                                              func (*Intent_Parameter) GetEntityTypeDisplayName

                                                                                                                                              func (m *Intent_Parameter) GetEntityTypeDisplayName() string

                                                                                                                                              func (*Intent_Parameter) GetIsList

                                                                                                                                              func (m *Intent_Parameter) GetIsList() bool

                                                                                                                                              func (*Intent_Parameter) GetMandatory

                                                                                                                                              func (m *Intent_Parameter) GetMandatory() bool

                                                                                                                                              func (*Intent_Parameter) GetName

                                                                                                                                              func (m *Intent_Parameter) GetName() string

                                                                                                                                              func (*Intent_Parameter) GetPrompts

                                                                                                                                              func (m *Intent_Parameter) GetPrompts() []string

                                                                                                                                              func (*Intent_Parameter) GetValue

                                                                                                                                              func (m *Intent_Parameter) GetValue() string

                                                                                                                                              func (*Intent_Parameter) ProtoMessage

                                                                                                                                              func (*Intent_Parameter) ProtoMessage()

                                                                                                                                              func (*Intent_Parameter) Reset

                                                                                                                                              func (m *Intent_Parameter) Reset()

                                                                                                                                              func (*Intent_Parameter) String

                                                                                                                                              func (m *Intent_Parameter) String() string

                                                                                                                                              type Intent_TrainingPhrase

                                                                                                                                              type Intent_TrainingPhrase struct {
                                                                                                                                              	// Required. The unique identifier of this training phrase.
                                                                                                                                              	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
                                                                                                                                              	// Required. The type of the training phrase.
                                                                                                                                              	Type Intent_TrainingPhrase_Type `protobuf:"varint,2,opt,name=type,enum=google.cloud.dialogflow.v2.Intent_TrainingPhrase_Type" json:"type,omitempty"`
                                                                                                                                              	// Required. The collection of training phrase parts (can be annotated).
                                                                                                                                              	// Fields: `entity_type`, `alias` and `user_defined` should be populated
                                                                                                                                              	// only for the annotated parts of the training phrase.
                                                                                                                                              	Parts []*Intent_TrainingPhrase_Part `protobuf:"bytes,3,rep,name=parts" json:"parts,omitempty"`
                                                                                                                                              	// Optional. Indicates how many times this example or template was added to
                                                                                                                                              	// the intent. Each time a developer adds an existing sample by editing an
                                                                                                                                              	// intent or training, this counter is increased.
                                                                                                                                              	TimesAddedCount int32 `protobuf:"varint,4,opt,name=times_added_count,json=timesAddedCount" json:"times_added_count,omitempty"`
                                                                                                                                              }

                                                                                                                                                Represents an example or template that the agent is trained on.

                                                                                                                                                func (*Intent_TrainingPhrase) Descriptor

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

                                                                                                                                                func (*Intent_TrainingPhrase) GetName

                                                                                                                                                func (m *Intent_TrainingPhrase) GetName() string

                                                                                                                                                func (*Intent_TrainingPhrase) GetParts

                                                                                                                                                func (*Intent_TrainingPhrase) GetTimesAddedCount

                                                                                                                                                func (m *Intent_TrainingPhrase) GetTimesAddedCount() int32

                                                                                                                                                func (*Intent_TrainingPhrase) GetType

                                                                                                                                                func (*Intent_TrainingPhrase) ProtoMessage

                                                                                                                                                func (*Intent_TrainingPhrase) ProtoMessage()

                                                                                                                                                func (*Intent_TrainingPhrase) Reset

                                                                                                                                                func (m *Intent_TrainingPhrase) Reset()

                                                                                                                                                func (*Intent_TrainingPhrase) String

                                                                                                                                                func (m *Intent_TrainingPhrase) String() string

                                                                                                                                                type Intent_TrainingPhrase_Part

                                                                                                                                                type Intent_TrainingPhrase_Part struct {
                                                                                                                                                	// Required. The text corresponding to the example or template,
                                                                                                                                                	// if there are no annotations. For
                                                                                                                                                	// annotated examples, it is the text for one of the example's parts.
                                                                                                                                                	Text string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
                                                                                                                                                	// Optional. The entity type name prefixed with `@`. This field is
                                                                                                                                                	// required for the annotated part of the text and applies only to
                                                                                                                                                	// examples.
                                                                                                                                                	EntityType string `protobuf:"bytes,2,opt,name=entity_type,json=entityType" json:"entity_type,omitempty"`
                                                                                                                                                	// Optional. The parameter name for the value extracted from the
                                                                                                                                                	// annotated part of the example.
                                                                                                                                                	Alias string `protobuf:"bytes,3,opt,name=alias" json:"alias,omitempty"`
                                                                                                                                                	// Optional. Indicates whether the text was manually annotated by the
                                                                                                                                                	// developer.
                                                                                                                                                	UserDefined bool `protobuf:"varint,4,opt,name=user_defined,json=userDefined" json:"user_defined,omitempty"`
                                                                                                                                                }

                                                                                                                                                  Represents a part of a training phrase.

                                                                                                                                                  func (*Intent_TrainingPhrase_Part) Descriptor

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

                                                                                                                                                  func (*Intent_TrainingPhrase_Part) GetAlias

                                                                                                                                                  func (m *Intent_TrainingPhrase_Part) GetAlias() string

                                                                                                                                                  func (*Intent_TrainingPhrase_Part) GetEntityType

                                                                                                                                                  func (m *Intent_TrainingPhrase_Part) GetEntityType() string

                                                                                                                                                  func (*Intent_TrainingPhrase_Part) GetText

                                                                                                                                                  func (m *Intent_TrainingPhrase_Part) GetText() string

                                                                                                                                                  func (*Intent_TrainingPhrase_Part) GetUserDefined

                                                                                                                                                  func (m *Intent_TrainingPhrase_Part) GetUserDefined() bool

                                                                                                                                                  func (*Intent_TrainingPhrase_Part) ProtoMessage

                                                                                                                                                  func (*Intent_TrainingPhrase_Part) ProtoMessage()

                                                                                                                                                  func (*Intent_TrainingPhrase_Part) Reset

                                                                                                                                                  func (m *Intent_TrainingPhrase_Part) Reset()

                                                                                                                                                  func (*Intent_TrainingPhrase_Part) String

                                                                                                                                                  func (m *Intent_TrainingPhrase_Part) String() string

                                                                                                                                                  type Intent_TrainingPhrase_Type

                                                                                                                                                  type Intent_TrainingPhrase_Type int32

                                                                                                                                                    Represents different types of training phrases.

                                                                                                                                                    const (
                                                                                                                                                    	// Not specified. This value should never be used.
                                                                                                                                                    	Intent_TrainingPhrase_TYPE_UNSPECIFIED Intent_TrainingPhrase_Type = 0
                                                                                                                                                    	// Examples do not contain @-prefixed entity type names, but example parts
                                                                                                                                                    	// can be annotated with entity types.
                                                                                                                                                    	Intent_TrainingPhrase_EXAMPLE Intent_TrainingPhrase_Type = 1
                                                                                                                                                    	// Templates are not annotated with entity types, but they can contain
                                                                                                                                                    	// @-prefixed entity type names as substrings.
                                                                                                                                                    	Intent_TrainingPhrase_TEMPLATE Intent_TrainingPhrase_Type = 2
                                                                                                                                                    )

                                                                                                                                                    func (Intent_TrainingPhrase_Type) EnumDescriptor

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

                                                                                                                                                    func (Intent_TrainingPhrase_Type) String

                                                                                                                                                    type Intent_WebhookState

                                                                                                                                                    type Intent_WebhookState int32

                                                                                                                                                      Represents the different states that webhooks can be in.

                                                                                                                                                      const (
                                                                                                                                                      	// Webhook is disabled in the agent and in the intent.
                                                                                                                                                      	Intent_WEBHOOK_STATE_UNSPECIFIED Intent_WebhookState = 0
                                                                                                                                                      	// Webhook is enabled in the agent and in the intent.
                                                                                                                                                      	Intent_WEBHOOK_STATE_ENABLED Intent_WebhookState = 1
                                                                                                                                                      	// Webhook is enabled in the agent and in the intent. Also, each slot
                                                                                                                                                      	// filling prompt is forwarded to the webhook.
                                                                                                                                                      	Intent_WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING Intent_WebhookState = 2
                                                                                                                                                      )

                                                                                                                                                      func (Intent_WebhookState) EnumDescriptor

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

                                                                                                                                                      func (Intent_WebhookState) String

                                                                                                                                                      func (x Intent_WebhookState) 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) (*google_protobuf2.Empty, error)
                                                                                                                                                      	// Updates/Creates multiple intents in the specified agent.
                                                                                                                                                      	//
                                                                                                                                                      	// Operation <response: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]>
                                                                                                                                                      	BatchUpdateIntents(ctx context.Context, in *BatchUpdateIntentsRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
                                                                                                                                                      	// Deletes intents in the specified agent.
                                                                                                                                                      	//
                                                                                                                                                      	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
                                                                                                                                                      	BatchDeleteIntents(ctx context.Context, in *BatchDeleteIntentsRequest, opts ...grpc.CallOption) (*google_longrunning.Operation, error)
                                                                                                                                                      }

                                                                                                                                                      func NewIntentsClient

                                                                                                                                                      func NewIntentsClient(cc *grpc.ClientConn) 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) (*google_protobuf2.Empty, error)
                                                                                                                                                      	// Updates/Creates multiple intents in the specified agent.
                                                                                                                                                      	//
                                                                                                                                                      	// Operation <response: [BatchUpdateIntentsResponse][google.cloud.dialogflow.v2.BatchUpdateIntentsResponse]>
                                                                                                                                                      	BatchUpdateIntents(context.Context, *BatchUpdateIntentsRequest) (*google_longrunning.Operation, error)
                                                                                                                                                      	// Deletes intents in the specified agent.
                                                                                                                                                      	//
                                                                                                                                                      	// Operation <response: [google.protobuf.Empty][google.protobuf.Empty]>
                                                                                                                                                      	BatchDeleteIntents(context.Context, *BatchDeleteIntentsRequest) (*google_longrunning.Operation, error)
                                                                                                                                                      }

                                                                                                                                                      type ListContextsRequest

                                                                                                                                                      type ListContextsRequest struct {
                                                                                                                                                      	// Required. The session to list all contexts from.
                                                                                                                                                      	// Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
                                                                                                                                                      	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
                                                                                                                                                      	// Optional. 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" json:"page_size,omitempty"`
                                                                                                                                                      	// Optional. The next_page_token value returned from a previous list request.
                                                                                                                                                      	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
                                                                                                                                                      }

                                                                                                                                                        The request message for [Contexts.ListContexts][google.cloud.dialogflow.v2.Contexts.ListContexts].

                                                                                                                                                        func (*ListContextsRequest) Descriptor

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

                                                                                                                                                        func (*ListContextsRequest) GetPageSize

                                                                                                                                                        func (m *ListContextsRequest) GetPageSize() int32

                                                                                                                                                        func (*ListContextsRequest) GetPageToken

                                                                                                                                                        func (m *ListContextsRequest) GetPageToken() string

                                                                                                                                                        func (*ListContextsRequest) GetParent

                                                                                                                                                        func (m *ListContextsRequest) GetParent() string

                                                                                                                                                        func (*ListContextsRequest) ProtoMessage

                                                                                                                                                        func (*ListContextsRequest) ProtoMessage()

                                                                                                                                                        func (*ListContextsRequest) Reset

                                                                                                                                                        func (m *ListContextsRequest) Reset()

                                                                                                                                                        func (*ListContextsRequest) String

                                                                                                                                                        func (m *ListContextsRequest) String() string

                                                                                                                                                        type ListContextsResponse

                                                                                                                                                        type ListContextsResponse struct {
                                                                                                                                                        	// The list of contexts. There will be a maximum number of items
                                                                                                                                                        	// returned based on the page_size field in the request.
                                                                                                                                                        	Contexts []*Context `protobuf:"bytes,1,rep,name=contexts" json:"contexts,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" json:"next_page_token,omitempty"`
                                                                                                                                                        }

                                                                                                                                                          The response message for [Contexts.ListContexts][google.cloud.dialogflow.v2.Contexts.ListContexts].

                                                                                                                                                          func (*ListContextsResponse) Descriptor

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

                                                                                                                                                          func (*ListContextsResponse) GetContexts

                                                                                                                                                          func (m *ListContextsResponse) GetContexts() []*Context

                                                                                                                                                          func (*ListContextsResponse) GetNextPageToken

                                                                                                                                                          func (m *ListContextsResponse) GetNextPageToken() string

                                                                                                                                                          func (*ListContextsResponse) ProtoMessage

                                                                                                                                                          func (*ListContextsResponse) ProtoMessage()

                                                                                                                                                          func (*ListContextsResponse) Reset

                                                                                                                                                          func (m *ListContextsResponse) Reset()

                                                                                                                                                          func (*ListContextsResponse) String

                                                                                                                                                          func (m *ListContextsResponse) String() string

                                                                                                                                                          type ListEntityTypesRequest

                                                                                                                                                          type ListEntityTypesRequest struct {
                                                                                                                                                          	// Required. The agent to list all entity types from.
                                                                                                                                                          	// Format: `projects/<Project ID>/agent`.
                                                                                                                                                          	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
                                                                                                                                                          	// Optional. The language to list entity synonyms for. If not specified,
                                                                                                                                                          	// the agent's default language is used.
                                                                                                                                                          	// [More than a dozen
                                                                                                                                                          	// languages](https://dialogflow.com/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" json:"language_code,omitempty"`
                                                                                                                                                          	// Optional. 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" json:"page_size,omitempty"`
                                                                                                                                                          	// Optional. The next_page_token value returned from a previous list request.
                                                                                                                                                          	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
                                                                                                                                                          }

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

                                                                                                                                                            func (*ListEntityTypesRequest) Descriptor

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

                                                                                                                                                            func (*ListEntityTypesRequest) GetLanguageCode

                                                                                                                                                            func (m *ListEntityTypesRequest) GetLanguageCode() string

                                                                                                                                                            func (*ListEntityTypesRequest) GetPageSize

                                                                                                                                                            func (m *ListEntityTypesRequest) GetPageSize() int32

                                                                                                                                                            func (*ListEntityTypesRequest) GetPageToken

                                                                                                                                                            func (m *ListEntityTypesRequest) GetPageToken() string

                                                                                                                                                            func (*ListEntityTypesRequest) GetParent

                                                                                                                                                            func (m *ListEntityTypesRequest) GetParent() string

                                                                                                                                                            func (*ListEntityTypesRequest) ProtoMessage

                                                                                                                                                            func (*ListEntityTypesRequest) ProtoMessage()

                                                                                                                                                            func (*ListEntityTypesRequest) Reset

                                                                                                                                                            func (m *ListEntityTypesRequest) Reset()

                                                                                                                                                            func (*ListEntityTypesRequest) String

                                                                                                                                                            func (m *ListEntityTypesRequest) String() string

                                                                                                                                                            type ListEntityTypesResponse

                                                                                                                                                            type ListEntityTypesResponse struct {
                                                                                                                                                            	// The list of agent 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" 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" json:"next_page_token,omitempty"`
                                                                                                                                                            }

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

                                                                                                                                                              func (*ListEntityTypesResponse) Descriptor

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

                                                                                                                                                              func (*ListEntityTypesResponse) GetEntityTypes

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

                                                                                                                                                              func (*ListEntityTypesResponse) GetNextPageToken

                                                                                                                                                              func (m *ListEntityTypesResponse) GetNextPageToken() string

                                                                                                                                                              func (*ListEntityTypesResponse) ProtoMessage

                                                                                                                                                              func (*ListEntityTypesResponse) ProtoMessage()

                                                                                                                                                              func (*ListEntityTypesResponse) Reset

                                                                                                                                                              func (m *ListEntityTypesResponse) Reset()

                                                                                                                                                              func (*ListEntityTypesResponse) String

                                                                                                                                                              func (m *ListEntityTypesResponse) String() string

                                                                                                                                                              type ListIntentsRequest

                                                                                                                                                              type ListIntentsRequest struct {
                                                                                                                                                              	// Required. The agent to list all intents from.
                                                                                                                                                              	// Format: `projects/<Project ID>/agent`.
                                                                                                                                                              	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
                                                                                                                                                              	// Optional. The language to list training phrases, parameters and rich
                                                                                                                                                              	// messages for. If not specified, the agent's default language is used.
                                                                                                                                                              	// [More than a dozen
                                                                                                                                                              	// languages](https://dialogflow.com/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" json:"language_code,omitempty"`
                                                                                                                                                              	// Optional. The resource view to apply to the returned intent.
                                                                                                                                                              	IntentView IntentView `` /* 128-byte string literal not displayed */
                                                                                                                                                              	// Optional. The maximum number of items to return in a single page. By
                                                                                                                                                              	// default 100 and at most 1000.
                                                                                                                                                              	PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize" json:"page_size,omitempty"`
                                                                                                                                                              	// Optional. The next_page_token value returned from a previous list request.
                                                                                                                                                              	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
                                                                                                                                                              }

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

                                                                                                                                                                func (*ListIntentsRequest) Descriptor

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

                                                                                                                                                                func (*ListIntentsRequest) GetIntentView

                                                                                                                                                                func (m *ListIntentsRequest) GetIntentView() IntentView

                                                                                                                                                                func (*ListIntentsRequest) GetLanguageCode

                                                                                                                                                                func (m *ListIntentsRequest) GetLanguageCode() string

                                                                                                                                                                func (*ListIntentsRequest) GetPageSize

                                                                                                                                                                func (m *ListIntentsRequest) GetPageSize() int32

                                                                                                                                                                func (*ListIntentsRequest) GetPageToken

                                                                                                                                                                func (m *ListIntentsRequest) GetPageToken() string

                                                                                                                                                                func (*ListIntentsRequest) GetParent

                                                                                                                                                                func (m *ListIntentsRequest) GetParent() string

                                                                                                                                                                func (*ListIntentsRequest) ProtoMessage

                                                                                                                                                                func (*ListIntentsRequest) ProtoMessage()

                                                                                                                                                                func (*ListIntentsRequest) Reset

                                                                                                                                                                func (m *ListIntentsRequest) Reset()

                                                                                                                                                                func (*ListIntentsRequest) String

                                                                                                                                                                func (m *ListIntentsRequest) String() string

                                                                                                                                                                type ListIntentsResponse

                                                                                                                                                                type ListIntentsResponse struct {
                                                                                                                                                                	// The list of agent 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" 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" json:"next_page_token,omitempty"`
                                                                                                                                                                }

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

                                                                                                                                                                  func (*ListIntentsResponse) Descriptor

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

                                                                                                                                                                  func (*ListIntentsResponse) GetIntents

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

                                                                                                                                                                  func (*ListIntentsResponse) GetNextPageToken

                                                                                                                                                                  func (m *ListIntentsResponse) GetNextPageToken() string

                                                                                                                                                                  func (*ListIntentsResponse) ProtoMessage

                                                                                                                                                                  func (*ListIntentsResponse) ProtoMessage()

                                                                                                                                                                  func (*ListIntentsResponse) Reset

                                                                                                                                                                  func (m *ListIntentsResponse) Reset()

                                                                                                                                                                  func (*ListIntentsResponse) String

                                                                                                                                                                  func (m *ListIntentsResponse) String() string

                                                                                                                                                                  type ListSessionEntityTypesRequest

                                                                                                                                                                  type ListSessionEntityTypesRequest struct {
                                                                                                                                                                  	// Required. The session to list all session entity types from.
                                                                                                                                                                  	// Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
                                                                                                                                                                  	Parent string `protobuf:"bytes,1,opt,name=parent" json:"parent,omitempty"`
                                                                                                                                                                  	// Optional. 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" json:"page_size,omitempty"`
                                                                                                                                                                  	// Optional. The next_page_token value returned from a previous list request.
                                                                                                                                                                  	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken" json:"page_token,omitempty"`
                                                                                                                                                                  }

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

                                                                                                                                                                    func (*ListSessionEntityTypesRequest) Descriptor

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

                                                                                                                                                                    func (*ListSessionEntityTypesRequest) GetPageSize

                                                                                                                                                                    func (m *ListSessionEntityTypesRequest) GetPageSize() int32

                                                                                                                                                                    func (*ListSessionEntityTypesRequest) GetPageToken

                                                                                                                                                                    func (m *ListSessionEntityTypesRequest) GetPageToken() string

                                                                                                                                                                    func (*ListSessionEntityTypesRequest) GetParent

                                                                                                                                                                    func (m *ListSessionEntityTypesRequest) GetParent() string

                                                                                                                                                                    func (*ListSessionEntityTypesRequest) ProtoMessage

                                                                                                                                                                    func (*ListSessionEntityTypesRequest) ProtoMessage()

                                                                                                                                                                    func (*ListSessionEntityTypesRequest) Reset

                                                                                                                                                                    func (m *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" 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" json:"next_page_token,omitempty"`
                                                                                                                                                                    }

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

                                                                                                                                                                      func (*ListSessionEntityTypesResponse) Descriptor

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

                                                                                                                                                                      func (*ListSessionEntityTypesResponse) GetNextPageToken

                                                                                                                                                                      func (m *ListSessionEntityTypesResponse) GetNextPageToken() string

                                                                                                                                                                      func (*ListSessionEntityTypesResponse) GetSessionEntityTypes

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

                                                                                                                                                                      func (*ListSessionEntityTypesResponse) ProtoMessage

                                                                                                                                                                      func (*ListSessionEntityTypesResponse) ProtoMessage()

                                                                                                                                                                      func (*ListSessionEntityTypesResponse) Reset

                                                                                                                                                                      func (m *ListSessionEntityTypesResponse) Reset()

                                                                                                                                                                      func (*ListSessionEntityTypesResponse) String

                                                                                                                                                                      type OriginalDetectIntentRequest

                                                                                                                                                                      type OriginalDetectIntentRequest struct {
                                                                                                                                                                      	// The source of this request, e.g., `google`, `facebook`, `slack`. It is set
                                                                                                                                                                      	// by Dialogflow-owned servers.
                                                                                                                                                                      	Source string `protobuf:"bytes,1,opt,name=source" json:"source,omitempty"`
                                                                                                                                                                      	// Optional. This field is set to the value of `QueryParameters.payload` field
                                                                                                                                                                      	// passed in the request.
                                                                                                                                                                      	Payload *google_protobuf4.Struct `protobuf:"bytes,3,opt,name=payload" json:"payload,omitempty"`
                                                                                                                                                                      }

                                                                                                                                                                        Represents the contents of the original request that was passed to the `[Streaming]DetectIntent` call.

                                                                                                                                                                        func (*OriginalDetectIntentRequest) Descriptor

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

                                                                                                                                                                        func (*OriginalDetectIntentRequest) GetPayload

                                                                                                                                                                        func (*OriginalDetectIntentRequest) GetSource

                                                                                                                                                                        func (m *OriginalDetectIntentRequest) GetSource() string

                                                                                                                                                                        func (*OriginalDetectIntentRequest) ProtoMessage

                                                                                                                                                                        func (*OriginalDetectIntentRequest) ProtoMessage()

                                                                                                                                                                        func (*OriginalDetectIntentRequest) Reset

                                                                                                                                                                        func (m *OriginalDetectIntentRequest) Reset()

                                                                                                                                                                        func (*OriginalDetectIntentRequest) String

                                                                                                                                                                        func (m *OriginalDetectIntentRequest) String() string

                                                                                                                                                                        type QueryInput

                                                                                                                                                                        type QueryInput struct {
                                                                                                                                                                        	// Required. The input specification.
                                                                                                                                                                        	//
                                                                                                                                                                        	// Types that are valid to be assigned to Input:
                                                                                                                                                                        	//	*QueryInput_AudioConfig
                                                                                                                                                                        	//	*QueryInput_Text
                                                                                                                                                                        	//	*QueryInput_Event
                                                                                                                                                                        	Input isQueryInput_Input `protobuf_oneof:"input"`
                                                                                                                                                                        }

                                                                                                                                                                          Represents the query input. It can contain either:

                                                                                                                                                                          1. An audio config which

                                                                                                                                                                          instructs the speech recognizer how to process the speech audio.
                                                                                                                                                                          

                                                                                                                                                                          2. A conversational query in the form of text,.

                                                                                                                                                                          3. An event that specifies which intent to trigger.

                                                                                                                                                                          func (*QueryInput) Descriptor

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

                                                                                                                                                                          func (*QueryInput) GetAudioConfig

                                                                                                                                                                          func (m *QueryInput) GetAudioConfig() *InputAudioConfig

                                                                                                                                                                          func (*QueryInput) GetEvent

                                                                                                                                                                          func (m *QueryInput) GetEvent() *EventInput

                                                                                                                                                                          func (*QueryInput) GetInput

                                                                                                                                                                          func (m *QueryInput) GetInput() isQueryInput_Input

                                                                                                                                                                          func (*QueryInput) GetText

                                                                                                                                                                          func (m *QueryInput) GetText() *TextInput

                                                                                                                                                                          func (*QueryInput) ProtoMessage

                                                                                                                                                                          func (*QueryInput) ProtoMessage()

                                                                                                                                                                          func (*QueryInput) Reset

                                                                                                                                                                          func (m *QueryInput) Reset()

                                                                                                                                                                          func (*QueryInput) String

                                                                                                                                                                          func (m *QueryInput) String() string

                                                                                                                                                                          func (*QueryInput) XXX_OneofFuncs

                                                                                                                                                                          func (*QueryInput) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

                                                                                                                                                                            XXX_OneofFuncs is for the internal use of the proto package.

                                                                                                                                                                            type QueryInput_AudioConfig

                                                                                                                                                                            type QueryInput_AudioConfig struct {
                                                                                                                                                                            	AudioConfig *InputAudioConfig `protobuf:"bytes,1,opt,name=audio_config,json=audioConfig,oneof"`
                                                                                                                                                                            }

                                                                                                                                                                            type QueryInput_Event

                                                                                                                                                                            type QueryInput_Event struct {
                                                                                                                                                                            	Event *EventInput `protobuf:"bytes,3,opt,name=event,oneof"`
                                                                                                                                                                            }

                                                                                                                                                                            type QueryInput_Text

                                                                                                                                                                            type QueryInput_Text struct {
                                                                                                                                                                            	Text *TextInput `protobuf:"bytes,2,opt,name=text,oneof"`
                                                                                                                                                                            }

                                                                                                                                                                            type QueryParameters

                                                                                                                                                                            type QueryParameters struct {
                                                                                                                                                                            	// Optional. 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
                                                                                                                                                                            	// agent settings is used.
                                                                                                                                                                            	TimeZone string `protobuf:"bytes,1,opt,name=time_zone,json=timeZone" json:"time_zone,omitempty"`
                                                                                                                                                                            	// Optional. The geo location of this conversational query.
                                                                                                                                                                            	GeoLocation *google_type.LatLng `protobuf:"bytes,2,opt,name=geo_location,json=geoLocation" json:"geo_location,omitempty"`
                                                                                                                                                                            	// Optional. The collection of contexts to be activated before this query is
                                                                                                                                                                            	// executed.
                                                                                                                                                                            	Contexts []*Context `protobuf:"bytes,3,rep,name=contexts" json:"contexts,omitempty"`
                                                                                                                                                                            	// Optional. Specifies whether to delete all contexts in the current session
                                                                                                                                                                            	// before the new ones are activated.
                                                                                                                                                                            	ResetContexts bool `protobuf:"varint,4,opt,name=reset_contexts,json=resetContexts" json:"reset_contexts,omitempty"`
                                                                                                                                                                            	// Optional. The collection of session entity types to replace or extend
                                                                                                                                                                            	// developer entities with for this query only. The entity synonyms apply
                                                                                                                                                                            	// to all languages.
                                                                                                                                                                            	SessionEntityTypes []*SessionEntityType `protobuf:"bytes,5,rep,name=session_entity_types,json=sessionEntityTypes" json:"session_entity_types,omitempty"`
                                                                                                                                                                            	// Optional. This field can be used to pass custom data into the webhook
                                                                                                                                                                            	// associated with the agent. Arbitrary JSON objects are supported.
                                                                                                                                                                            	Payload *google_protobuf4.Struct `protobuf:"bytes,6,opt,name=payload" json:"payload,omitempty"`
                                                                                                                                                                            }

                                                                                                                                                                              Represents the parameters of the conversational query.

                                                                                                                                                                              func (*QueryParameters) Descriptor

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

                                                                                                                                                                              func (*QueryParameters) GetContexts

                                                                                                                                                                              func (m *QueryParameters) GetContexts() []*Context

                                                                                                                                                                              func (*QueryParameters) GetGeoLocation

                                                                                                                                                                              func (m *QueryParameters) GetGeoLocation() *google_type.LatLng

                                                                                                                                                                              func (*QueryParameters) GetPayload

                                                                                                                                                                              func (m *QueryParameters) GetPayload() *google_protobuf4.Struct

                                                                                                                                                                              func (*QueryParameters) GetResetContexts

                                                                                                                                                                              func (m *QueryParameters) GetResetContexts() bool

                                                                                                                                                                              func (*QueryParameters) GetSessionEntityTypes

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

                                                                                                                                                                              func (*QueryParameters) GetTimeZone

                                                                                                                                                                              func (m *QueryParameters) GetTimeZone() string

                                                                                                                                                                              func (*QueryParameters) ProtoMessage

                                                                                                                                                                              func (*QueryParameters) ProtoMessage()

                                                                                                                                                                              func (*QueryParameters) Reset

                                                                                                                                                                              func (m *QueryParameters) Reset()

                                                                                                                                                                              func (*QueryParameters) String

                                                                                                                                                                              func (m *QueryParameters) String() string

                                                                                                                                                                              type QueryResult

                                                                                                                                                                              type QueryResult struct {
                                                                                                                                                                              	// The original conversational query text: