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

package dialogflow

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

Index

Package Files

agent.pb.go context.pb.go entity_type.pb.go intent.pb.go session.pb.go session_entity_type.pb.go webhook.pb.go

Variables

var Agent_MatchMode_name = map[int32]string{
    0:  "MATCH_MODE_UNSPECIFIED",
    1:  "MATCH_MODE_HYBRID",
    2:  "MATCH_MODE_ML_ONLY",
}
var Agent_MatchMode_value = map[string]int32{
    "MATCH_MODE_UNSPECIFIED": 0,
    "MATCH_MODE_HYBRID":      1,
    "MATCH_MODE_ML_ONLY":     2,
}
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",
}
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,
}
var EntityType_AutoExpansionMode_name = map[int32]string{
    0:  "AUTO_EXPANSION_MODE_UNSPECIFIED",
    1:  "AUTO_EXPANSION_MODE_DEFAULT",
}
var EntityType_AutoExpansionMode_value = map[string]int32{
    "AUTO_EXPANSION_MODE_UNSPECIFIED": 0,
    "AUTO_EXPANSION_MODE_DEFAULT":     1,
}
var EntityType_Kind_name = map[int32]string{
    0:  "KIND_UNSPECIFIED",
    1:  "KIND_MAP",
    2:  "KIND_LIST",
}
var EntityType_Kind_value = map[string]int32{
    "KIND_UNSPECIFIED": 0,
    "KIND_MAP":         1,
    "KIND_LIST":        2,
}
var IntentView_name = map[int32]string{
    0:  "INTENT_VIEW_UNSPECIFIED",
    1:  "INTENT_VIEW_FULL",
}
var IntentView_value = map[string]int32{
    "INTENT_VIEW_UNSPECIFIED": 0,
    "INTENT_VIEW_FULL":        1,
}
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",
}
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,
}
var Intent_TrainingPhrase_Type_name = map[int32]string{
    0:  "TYPE_UNSPECIFIED",
    1:  "EXAMPLE",
    2:  "TEMPLATE",
}
var Intent_TrainingPhrase_Type_value = map[string]int32{
    "TYPE_UNSPECIFIED": 0,
    "EXAMPLE":          1,
    "TEMPLATE":         2,
}
var Intent_WebhookState_name = map[int32]string{
    0:  "WEBHOOK_STATE_UNSPECIFIED",
    1:  "WEBHOOK_STATE_ENABLED",
    2:  "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING",
}
var Intent_WebhookState_value = map[string]int32{
    "WEBHOOK_STATE_UNSPECIFIED":              0,
    "WEBHOOK_STATE_ENABLED":                  1,
    "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING": 2,
}
var SessionEntityType_EntityOverrideMode_name = map[int32]string{
    0:  "ENTITY_OVERRIDE_MODE_UNSPECIFIED",
    1:  "ENTITY_OVERRIDE_MODE_OVERRIDE",
    2:  "ENTITY_OVERRIDE_MODE_SUPPLEMENT",
}
var SessionEntityType_EntityOverrideMode_value = map[string]int32{
    "ENTITY_OVERRIDE_MODE_UNSPECIFIED": 0,
    "ENTITY_OVERRIDE_MODE_OVERRIDE":    1,
    "ENTITY_OVERRIDE_MODE_SUPPLEMENT":  2,
}
var StreamingRecognitionResult_MessageType_name = map[int32]string{
    0:  "MESSAGE_TYPE_UNSPECIFIED",
    1:  "TRANSCRIPT",
    2:  "END_OF_SINGLE_UTTERANCE",
}
var StreamingRecognitionResult_MessageType_value = map[string]int32{
    "MESSAGE_TYPE_UNSPECIFIED": 0,
    "TRANSCRIPT":               1,
    "END_OF_SINGLE_UTTERANCE":  2,
}

func RegisterAgentsServer Uses

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

func RegisterContextsServer Uses

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

func RegisterEntityTypesServer Uses

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

func RegisterIntentsServer Uses

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

func RegisterSessionEntityTypesServer Uses

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

func RegisterSessionsServer Uses

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

type Agent Uses

type Agent struct {
    // Required. The project of this agent.
    // Format: `projects/<Project ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The name of this agent.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // Required. The default language of the agent as a language tag. See
    // [Language Support](https://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,proto3" json:"default_language_code,omitempty"`
    // Optional. The list of all languages supported by this agent (except for the
    // `default_language_code`).
    SupportedLanguageCodes []string `protobuf:"bytes,4,rep,name=supported_language_codes,json=supportedLanguageCodes,proto3" json:"supported_language_codes,omitempty"`
    // Required. The time zone of this agent from the
    // [time zone database](https://www.iana.org/time-zones), e.g.,
    // America/New_York, Europe/Paris.
    TimeZone string `protobuf:"bytes,5,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
    // Optional. The description of this agent.
    // The maximum length is 500 characters. If exceeded, the request is rejected.
    Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
    // Optional. The URI of the agent's avatar.
    // Avatars are used throughout the Dialogflow console and in the self-hosted
    // [Web Demo](https://dialogflow.com/docs/integrations/web-demo) integration.
    AvatarUri string `protobuf:"bytes,7,opt,name=avatar_uri,json=avatarUri,proto3" json:"avatar_uri,omitempty"`
    // Optional. Determines whether this agent should log conversation queries.
    EnableLogging bool `protobuf:"varint,8,opt,name=enable_logging,json=enableLogging,proto3" json:"enable_logging,omitempty"`
    // Optional. Determines how intents are detected from user queries.
    MatchMode Agent_MatchMode `protobuf:"varint,9,opt,name=match_mode,json=matchMode,proto3,enum=google.cloud.dialogflow.v2.Agent_MatchMode" json:"match_mode,omitempty"`
    // Optional. To filter out false positive results and still get variety in
    // matched natural language inputs for your agent, you can tune the machine
    // learning classification threshold. If the returned score value is less than
    // the threshold value, then a fallback intent 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  `protobuf:"fixed32,10,opt,name=classification_threshold,json=classificationThreshold,proto3" json:"classification_threshold,omitempty"`
    XXX_NoUnkeyedLiteral    struct{} `json:"-"`
    XXX_unrecognized        []byte   `json:"-"`
    XXX_sizecache           int32    `json:"-"`
}

Represents a conversational agent.

func (*Agent) Descriptor Uses

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

func (*Agent) GetAvatarUri Uses

func (m *Agent) GetAvatarUri() string

func (*Agent) GetClassificationThreshold Uses

func (m *Agent) GetClassificationThreshold() float32

func (*Agent) GetDefaultLanguageCode Uses

func (m *Agent) GetDefaultLanguageCode() string

func (*Agent) GetDescription Uses

func (m *Agent) GetDescription() string

func (*Agent) GetDisplayName Uses

func (m *Agent) GetDisplayName() string

func (*Agent) GetEnableLogging Uses

func (m *Agent) GetEnableLogging() bool

func (*Agent) GetMatchMode Uses

func (m *Agent) GetMatchMode() Agent_MatchMode

func (*Agent) GetParent Uses

func (m *Agent) GetParent() string

func (*Agent) GetSupportedLanguageCodes Uses

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

func (*Agent) GetTimeZone Uses

func (m *Agent) GetTimeZone() string

func (*Agent) ProtoMessage Uses

func (*Agent) ProtoMessage()

func (*Agent) Reset Uses

func (m *Agent) Reset()

func (*Agent) String Uses

func (m *Agent) String() string

func (*Agent) XXX_DiscardUnknown Uses

func (m *Agent) XXX_DiscardUnknown()

func (*Agent) XXX_Marshal Uses

func (m *Agent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Agent) XXX_Merge Uses

func (dst *Agent) XXX_Merge(src proto.Message)

func (*Agent) XXX_Size Uses

func (m *Agent) XXX_Size() int

func (*Agent) XXX_Unmarshal Uses

func (m *Agent) XXX_Unmarshal(b []byte) error

type Agent_MatchMode Uses

type Agent_MatchMode int32

Match mode determines how intents are detected from user queries.

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

func (Agent_MatchMode) EnumDescriptor Uses

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

func (Agent_MatchMode) String Uses

func (x Agent_MatchMode) String() string

type AgentsClient Uses

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) (*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) (*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) (*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) (*longrunning.Operation, error)
}

AgentsClient is the client API for Agents service.

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

func NewAgentsClient Uses

func NewAgentsClient(cc *grpc.ClientConn) AgentsClient

type AgentsServer Uses

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) (*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) (*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) (*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) (*longrunning.Operation, error)
}

AgentsServer is the server API for Agents service.

type AudioEncoding Uses

type AudioEncoding int32

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

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

func (AudioEncoding) String Uses

func (x AudioEncoding) String() string

type BatchCreateEntitiesRequest Uses

type BatchCreateEntitiesRequest struct {
    // Required. The name of the entity type to create entities in. Format:
    // `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The collection of entities to create.
    Entities []*EntityType_Entity `protobuf:"bytes,2,rep,name=entities,proto3" 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,proto3" json:"language_code,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*BatchCreateEntitiesRequest) Descriptor Uses

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

func (*BatchCreateEntitiesRequest) GetEntities Uses

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

func (*BatchCreateEntitiesRequest) GetLanguageCode Uses

func (m *BatchCreateEntitiesRequest) GetLanguageCode() string

func (*BatchCreateEntitiesRequest) GetParent Uses

func (m *BatchCreateEntitiesRequest) GetParent() string

func (*BatchCreateEntitiesRequest) ProtoMessage Uses

func (*BatchCreateEntitiesRequest) ProtoMessage()

func (*BatchCreateEntitiesRequest) Reset Uses

func (m *BatchCreateEntitiesRequest) Reset()

func (*BatchCreateEntitiesRequest) String Uses

func (m *BatchCreateEntitiesRequest) String() string

func (*BatchCreateEntitiesRequest) XXX_DiscardUnknown Uses

func (m *BatchCreateEntitiesRequest) XXX_DiscardUnknown()

func (*BatchCreateEntitiesRequest) XXX_Marshal Uses

func (m *BatchCreateEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchCreateEntitiesRequest) XXX_Merge Uses

func (dst *BatchCreateEntitiesRequest) XXX_Merge(src proto.Message)

func (*BatchCreateEntitiesRequest) XXX_Size Uses

func (m *BatchCreateEntitiesRequest) XXX_Size() int

func (*BatchCreateEntitiesRequest) XXX_Unmarshal Uses

func (m *BatchCreateEntitiesRequest) XXX_Unmarshal(b []byte) error

type BatchDeleteEntitiesRequest Uses

type BatchDeleteEntitiesRequest struct {
    // Required. The name of the entity type to delete entries for. Format:
    // `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The 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,proto3" 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,proto3" json:"language_code,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*BatchDeleteEntitiesRequest) Descriptor Uses

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

func (*BatchDeleteEntitiesRequest) GetEntityValues Uses

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

func (*BatchDeleteEntitiesRequest) GetLanguageCode Uses

func (m *BatchDeleteEntitiesRequest) GetLanguageCode() string

func (*BatchDeleteEntitiesRequest) GetParent Uses

func (m *BatchDeleteEntitiesRequest) GetParent() string

func (*BatchDeleteEntitiesRequest) ProtoMessage Uses

func (*BatchDeleteEntitiesRequest) ProtoMessage()

func (*BatchDeleteEntitiesRequest) Reset Uses

func (m *BatchDeleteEntitiesRequest) Reset()

func (*BatchDeleteEntitiesRequest) String Uses

func (m *BatchDeleteEntitiesRequest) String() string

func (*BatchDeleteEntitiesRequest) XXX_DiscardUnknown Uses

func (m *BatchDeleteEntitiesRequest) XXX_DiscardUnknown()

func (*BatchDeleteEntitiesRequest) XXX_Marshal Uses

func (m *BatchDeleteEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchDeleteEntitiesRequest) XXX_Merge Uses

func (dst *BatchDeleteEntitiesRequest) XXX_Merge(src proto.Message)

func (*BatchDeleteEntitiesRequest) XXX_Size Uses

func (m *BatchDeleteEntitiesRequest) XXX_Size() int

func (*BatchDeleteEntitiesRequest) XXX_Unmarshal Uses

func (m *BatchDeleteEntitiesRequest) XXX_Unmarshal(b []byte) error

type BatchDeleteEntityTypesRequest Uses

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

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

func (*BatchDeleteEntityTypesRequest) Descriptor Uses

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

func (*BatchDeleteEntityTypesRequest) GetEntityTypeNames Uses

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

func (*BatchDeleteEntityTypesRequest) GetParent Uses

func (m *BatchDeleteEntityTypesRequest) GetParent() string

func (*BatchDeleteEntityTypesRequest) ProtoMessage Uses

func (*BatchDeleteEntityTypesRequest) ProtoMessage()

func (*BatchDeleteEntityTypesRequest) Reset Uses

func (m *BatchDeleteEntityTypesRequest) Reset()

func (*BatchDeleteEntityTypesRequest) String Uses

func (m *BatchDeleteEntityTypesRequest) String() string

func (*BatchDeleteEntityTypesRequest) XXX_DiscardUnknown Uses

func (m *BatchDeleteEntityTypesRequest) XXX_DiscardUnknown()

func (*BatchDeleteEntityTypesRequest) XXX_Marshal Uses

func (m *BatchDeleteEntityTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchDeleteEntityTypesRequest) XXX_Merge Uses

func (dst *BatchDeleteEntityTypesRequest) XXX_Merge(src proto.Message)

func (*BatchDeleteEntityTypesRequest) XXX_Size Uses

func (m *BatchDeleteEntityTypesRequest) XXX_Size() int

func (*BatchDeleteEntityTypesRequest) XXX_Unmarshal Uses

func (m *BatchDeleteEntityTypesRequest) XXX_Unmarshal(b []byte) error

type BatchDeleteIntentsRequest Uses

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

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

func (*BatchDeleteIntentsRequest) Descriptor Uses

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

func (*BatchDeleteIntentsRequest) GetIntents Uses

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

func (*BatchDeleteIntentsRequest) GetParent Uses

func (m *BatchDeleteIntentsRequest) GetParent() string

func (*BatchDeleteIntentsRequest) ProtoMessage Uses

func (*BatchDeleteIntentsRequest) ProtoMessage()

func (*BatchDeleteIntentsRequest) Reset Uses

func (m *BatchDeleteIntentsRequest) Reset()

func (*BatchDeleteIntentsRequest) String Uses

func (m *BatchDeleteIntentsRequest) String() string

func (*BatchDeleteIntentsRequest) XXX_DiscardUnknown Uses

func (m *BatchDeleteIntentsRequest) XXX_DiscardUnknown()

func (*BatchDeleteIntentsRequest) XXX_Marshal Uses

func (m *BatchDeleteIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchDeleteIntentsRequest) XXX_Merge Uses

func (dst *BatchDeleteIntentsRequest) XXX_Merge(src proto.Message)

func (*BatchDeleteIntentsRequest) XXX_Size Uses

func (m *BatchDeleteIntentsRequest) XXX_Size() int

func (*BatchDeleteIntentsRequest) XXX_Unmarshal Uses

func (m *BatchDeleteIntentsRequest) XXX_Unmarshal(b []byte) error

type BatchUpdateEntitiesRequest Uses

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,proto3" json:"parent,omitempty"`
    // Required. The collection of new entities to replace the existing entities.
    Entities []*EntityType_Entity `protobuf:"bytes,2,rep,name=entities,proto3" 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,proto3" json:"language_code,omitempty"`
    // Optional. The mask to control which fields get updated.
    UpdateMask           *field_mask.FieldMask `protobuf:"bytes,4,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

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

func (*BatchUpdateEntitiesRequest) Descriptor Uses

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

func (*BatchUpdateEntitiesRequest) GetEntities Uses

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

func (*BatchUpdateEntitiesRequest) GetLanguageCode Uses

func (m *BatchUpdateEntitiesRequest) GetLanguageCode() string

func (*BatchUpdateEntitiesRequest) GetParent Uses

func (m *BatchUpdateEntitiesRequest) GetParent() string

func (*BatchUpdateEntitiesRequest) GetUpdateMask Uses

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

func (*BatchUpdateEntitiesRequest) ProtoMessage Uses

func (*BatchUpdateEntitiesRequest) ProtoMessage()

func (*BatchUpdateEntitiesRequest) Reset Uses

func (m *BatchUpdateEntitiesRequest) Reset()

func (*BatchUpdateEntitiesRequest) String Uses

func (m *BatchUpdateEntitiesRequest) String() string

func (*BatchUpdateEntitiesRequest) XXX_DiscardUnknown Uses

func (m *BatchUpdateEntitiesRequest) XXX_DiscardUnknown()

func (*BatchUpdateEntitiesRequest) XXX_Marshal Uses

func (m *BatchUpdateEntitiesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchUpdateEntitiesRequest) XXX_Merge Uses

func (dst *BatchUpdateEntitiesRequest) XXX_Merge(src proto.Message)

func (*BatchUpdateEntitiesRequest) XXX_Size Uses

func (m *BatchUpdateEntitiesRequest) XXX_Size() int

func (*BatchUpdateEntitiesRequest) XXX_Unmarshal Uses

func (m *BatchUpdateEntitiesRequest) XXX_Unmarshal(b []byte) error

type BatchUpdateEntityTypesRequest Uses

type BatchUpdateEntityTypesRequest struct {
    // Required. The name of the agent to update or create entity types in.
    // Format: `projects/<Project ID>/agent`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // 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,proto3" json:"language_code,omitempty"`
    // Optional. The mask to control which fields get updated.
    UpdateMask           *field_mask.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

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

func (*BatchUpdateEntityTypesRequest) Descriptor Uses

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

func (*BatchUpdateEntityTypesRequest) GetEntityTypeBatch Uses

func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatch() isBatchUpdateEntityTypesRequest_EntityTypeBatch

func (*BatchUpdateEntityTypesRequest) GetEntityTypeBatchInline Uses

func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatchInline() *EntityTypeBatch

func (*BatchUpdateEntityTypesRequest) GetEntityTypeBatchUri Uses

func (m *BatchUpdateEntityTypesRequest) GetEntityTypeBatchUri() string

func (*BatchUpdateEntityTypesRequest) GetLanguageCode Uses

func (m *BatchUpdateEntityTypesRequest) GetLanguageCode() string

func (*BatchUpdateEntityTypesRequest) GetParent Uses

func (m *BatchUpdateEntityTypesRequest) GetParent() string

func (*BatchUpdateEntityTypesRequest) GetUpdateMask Uses

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

func (*BatchUpdateEntityTypesRequest) ProtoMessage Uses

func (*BatchUpdateEntityTypesRequest) ProtoMessage()

func (*BatchUpdateEntityTypesRequest) Reset Uses

func (m *BatchUpdateEntityTypesRequest) Reset()

func (*BatchUpdateEntityTypesRequest) String Uses

func (m *BatchUpdateEntityTypesRequest) String() string

func (*BatchUpdateEntityTypesRequest) XXX_DiscardUnknown Uses

func (m *BatchUpdateEntityTypesRequest) XXX_DiscardUnknown()

func (*BatchUpdateEntityTypesRequest) XXX_Marshal Uses

func (m *BatchUpdateEntityTypesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchUpdateEntityTypesRequest) XXX_Merge Uses

func (dst *BatchUpdateEntityTypesRequest) XXX_Merge(src proto.Message)

func (*BatchUpdateEntityTypesRequest) XXX_OneofFuncs Uses

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.

func (*BatchUpdateEntityTypesRequest) XXX_Size Uses

func (m *BatchUpdateEntityTypesRequest) XXX_Size() int

func (*BatchUpdateEntityTypesRequest) XXX_Unmarshal Uses

func (m *BatchUpdateEntityTypesRequest) XXX_Unmarshal(b []byte) error

type BatchUpdateEntityTypesRequest_EntityTypeBatchInline Uses

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

type BatchUpdateEntityTypesRequest_EntityTypeBatchUri Uses

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

type BatchUpdateEntityTypesResponse Uses

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

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

func (*BatchUpdateEntityTypesResponse) Descriptor Uses

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

func (*BatchUpdateEntityTypesResponse) GetEntityTypes Uses

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

func (*BatchUpdateEntityTypesResponse) ProtoMessage Uses

func (*BatchUpdateEntityTypesResponse) ProtoMessage()

func (*BatchUpdateEntityTypesResponse) Reset Uses

func (m *BatchUpdateEntityTypesResponse) Reset()

func (*BatchUpdateEntityTypesResponse) String Uses

func (m *BatchUpdateEntityTypesResponse) String() string

func (*BatchUpdateEntityTypesResponse) XXX_DiscardUnknown Uses

func (m *BatchUpdateEntityTypesResponse) XXX_DiscardUnknown()

func (*BatchUpdateEntityTypesResponse) XXX_Marshal Uses

func (m *BatchUpdateEntityTypesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchUpdateEntityTypesResponse) XXX_Merge Uses

func (dst *BatchUpdateEntityTypesResponse) XXX_Merge(src proto.Message)

func (*BatchUpdateEntityTypesResponse) XXX_Size Uses

func (m *BatchUpdateEntityTypesResponse) XXX_Size() int

func (*BatchUpdateEntityTypesResponse) XXX_Unmarshal Uses

func (m *BatchUpdateEntityTypesResponse) XXX_Unmarshal(b []byte) error

type BatchUpdateIntentsRequest Uses

type BatchUpdateIntentsRequest struct {
    // Required. The name of the agent to update or create intents in.
    // Format: `projects/<Project ID>/agent`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The source of the intent batch.
    //
    // 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,proto3" json:"language_code,omitempty"`
    // Optional. The mask to control which fields get updated.
    UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
    // Optional. The resource view to apply to the returned intent.
    IntentView           IntentView `protobuf:"varint,6,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

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

func (*BatchUpdateIntentsRequest) Descriptor Uses

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

func (*BatchUpdateIntentsRequest) GetIntentBatch Uses

func (m *BatchUpdateIntentsRequest) GetIntentBatch() isBatchUpdateIntentsRequest_IntentBatch

func (*BatchUpdateIntentsRequest) GetIntentBatchInline Uses

func (m *BatchUpdateIntentsRequest) GetIntentBatchInline() *IntentBatch

func (*BatchUpdateIntentsRequest) GetIntentBatchUri Uses

func (m *BatchUpdateIntentsRequest) GetIntentBatchUri() string

func (*BatchUpdateIntentsRequest) GetIntentView Uses

func (m *BatchUpdateIntentsRequest) GetIntentView() IntentView

func (*BatchUpdateIntentsRequest) GetLanguageCode Uses

func (m *BatchUpdateIntentsRequest) GetLanguageCode() string

func (*BatchUpdateIntentsRequest) GetParent Uses

func (m *BatchUpdateIntentsRequest) GetParent() string

func (*BatchUpdateIntentsRequest) GetUpdateMask Uses

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

func (*BatchUpdateIntentsRequest) ProtoMessage Uses

func (*BatchUpdateIntentsRequest) ProtoMessage()

func (*BatchUpdateIntentsRequest) Reset Uses

func (m *BatchUpdateIntentsRequest) Reset()

func (*BatchUpdateIntentsRequest) String Uses

func (m *BatchUpdateIntentsRequest) String() string

func (*BatchUpdateIntentsRequest) XXX_DiscardUnknown Uses

func (m *BatchUpdateIntentsRequest) XXX_DiscardUnknown()

func (*BatchUpdateIntentsRequest) XXX_Marshal Uses

func (m *BatchUpdateIntentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchUpdateIntentsRequest) XXX_Merge Uses

func (dst *BatchUpdateIntentsRequest) XXX_Merge(src proto.Message)

func (*BatchUpdateIntentsRequest) XXX_OneofFuncs Uses

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.

func (*BatchUpdateIntentsRequest) XXX_Size Uses

func (m *BatchUpdateIntentsRequest) XXX_Size() int

func (*BatchUpdateIntentsRequest) XXX_Unmarshal Uses

func (m *BatchUpdateIntentsRequest) XXX_Unmarshal(b []byte) error

type BatchUpdateIntentsRequest_IntentBatchInline Uses

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

type BatchUpdateIntentsRequest_IntentBatchUri Uses

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

type BatchUpdateIntentsResponse Uses

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

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

func (*BatchUpdateIntentsResponse) Descriptor Uses

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

func (*BatchUpdateIntentsResponse) GetIntents Uses

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

func (*BatchUpdateIntentsResponse) ProtoMessage Uses

func (*BatchUpdateIntentsResponse) ProtoMessage()

func (*BatchUpdateIntentsResponse) Reset Uses

func (m *BatchUpdateIntentsResponse) Reset()

func (*BatchUpdateIntentsResponse) String Uses

func (m *BatchUpdateIntentsResponse) String() string

func (*BatchUpdateIntentsResponse) XXX_DiscardUnknown Uses

func (m *BatchUpdateIntentsResponse) XXX_DiscardUnknown()

func (*BatchUpdateIntentsResponse) XXX_Marshal Uses

func (m *BatchUpdateIntentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BatchUpdateIntentsResponse) XXX_Merge Uses

func (dst *BatchUpdateIntentsResponse) XXX_Merge(src proto.Message)

func (*BatchUpdateIntentsResponse) XXX_Size Uses

func (m *BatchUpdateIntentsResponse) XXX_Size() int

func (*BatchUpdateIntentsResponse) XXX_Unmarshal Uses

func (m *BatchUpdateIntentsResponse) XXX_Unmarshal(b []byte) error

type Context Uses

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,proto3" 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,proto3" 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           *_struct.Struct `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

Represents a context.

func (*Context) Descriptor Uses

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

func (*Context) GetLifespanCount Uses

func (m *Context) GetLifespanCount() int32

func (*Context) GetName Uses

func (m *Context) GetName() string

func (*Context) GetParameters Uses

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

func (*Context) ProtoMessage Uses

func (*Context) ProtoMessage()

func (*Context) Reset Uses

func (m *Context) Reset()

func (*Context) String Uses

func (m *Context) String() string

func (*Context) XXX_DiscardUnknown Uses

func (m *Context) XXX_DiscardUnknown()

func (*Context) XXX_Marshal Uses

func (m *Context) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Context) XXX_Merge Uses

func (dst *Context) XXX_Merge(src proto.Message)

func (*Context) XXX_Size Uses

func (m *Context) XXX_Size() int

func (*Context) XXX_Unmarshal Uses

func (m *Context) XXX_Unmarshal(b []byte) error

type ContextsClient Uses

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

ContextsClient is the client API for Contexts service.

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

func NewContextsClient Uses

func NewContextsClient(cc *grpc.ClientConn) ContextsClient

type ContextsServer Uses

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

ContextsServer is the server API for Contexts service.

type CreateContextRequest Uses

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

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

func (*CreateContextRequest) Descriptor Uses

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

func (*CreateContextRequest) GetContext Uses

func (m *CreateContextRequest) GetContext() *Context

func (*CreateContextRequest) GetParent Uses

func (m *CreateContextRequest) GetParent() string

func (*CreateContextRequest) ProtoMessage Uses

func (*CreateContextRequest) ProtoMessage()

func (*CreateContextRequest) Reset Uses

func (m *CreateContextRequest) Reset()

func (*CreateContextRequest) String Uses

func (m *CreateContextRequest) String() string

func (*CreateContextRequest) XXX_DiscardUnknown Uses

func (m *CreateContextRequest) XXX_DiscardUnknown()

func (*CreateContextRequest) XXX_Marshal Uses

func (m *CreateContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateContextRequest) XXX_Merge Uses

func (dst *CreateContextRequest) XXX_Merge(src proto.Message)

func (*CreateContextRequest) XXX_Size Uses

func (m *CreateContextRequest) XXX_Size() int

func (*CreateContextRequest) XXX_Unmarshal Uses

func (m *CreateContextRequest) XXX_Unmarshal(b []byte) error

type CreateEntityTypeRequest Uses

type CreateEntityTypeRequest struct {
    // Required. The agent to create a entity type for.
    // Format: `projects/<Project ID>/agent`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The entity type to create.
    EntityType *EntityType `protobuf:"bytes,2,opt,name=entity_type,json=entityType,proto3" json:"entity_type,omitempty"`
    // Optional. The language 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,proto3" json:"language_code,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*CreateEntityTypeRequest) Descriptor Uses

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

func (*CreateEntityTypeRequest) GetEntityType Uses

func (m *CreateEntityTypeRequest) GetEntityType() *EntityType

func (*CreateEntityTypeRequest) GetLanguageCode Uses

func (m *CreateEntityTypeRequest) GetLanguageCode() string

func (*CreateEntityTypeRequest) GetParent Uses

func (m *CreateEntityTypeRequest) GetParent() string

func (*CreateEntityTypeRequest) ProtoMessage Uses

func (*CreateEntityTypeRequest) ProtoMessage()

func (*CreateEntityTypeRequest) Reset Uses

func (m *CreateEntityTypeRequest) Reset()

func (*CreateEntityTypeRequest) String Uses

func (m *CreateEntityTypeRequest) String() string

func (*CreateEntityTypeRequest) XXX_DiscardUnknown Uses

func (m *CreateEntityTypeRequest) XXX_DiscardUnknown()

func (*CreateEntityTypeRequest) XXX_Marshal Uses

func (m *CreateEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateEntityTypeRequest) XXX_Merge Uses

func (dst *CreateEntityTypeRequest) XXX_Merge(src proto.Message)

func (*CreateEntityTypeRequest) XXX_Size Uses

func (m *CreateEntityTypeRequest) XXX_Size() int

func (*CreateEntityTypeRequest) XXX_Unmarshal Uses

func (m *CreateEntityTypeRequest) XXX_Unmarshal(b []byte) error

type CreateIntentRequest Uses

type CreateIntentRequest struct {
    // Required. The agent to create a intent for.
    // Format: `projects/<Project ID>/agent`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Required. The intent to create.
    Intent *Intent `protobuf:"bytes,2,opt,name=intent,proto3" json:"intent,omitempty"`
    // Optional. The language 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,proto3" json:"language_code,omitempty"`
    // Optional. The resource view to apply to the returned intent.
    IntentView           IntentView `protobuf:"varint,4,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

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

func (*CreateIntentRequest) Descriptor Uses

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

func (*CreateIntentRequest) GetIntent Uses

func (m *CreateIntentRequest) GetIntent() *Intent

func (*CreateIntentRequest) GetIntentView Uses

func (m *CreateIntentRequest) GetIntentView() IntentView

func (*CreateIntentRequest) GetLanguageCode Uses

func (m *CreateIntentRequest) GetLanguageCode() string

func (*CreateIntentRequest) GetParent Uses

func (m *CreateIntentRequest) GetParent() string

func (*CreateIntentRequest) ProtoMessage Uses

func (*CreateIntentRequest) ProtoMessage()

func (*CreateIntentRequest) Reset Uses

func (m *CreateIntentRequest) Reset()

func (*CreateIntentRequest) String Uses

func (m *CreateIntentRequest) String() string

func (*CreateIntentRequest) XXX_DiscardUnknown Uses

func (m *CreateIntentRequest) XXX_DiscardUnknown()

func (*CreateIntentRequest) XXX_Marshal Uses

func (m *CreateIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateIntentRequest) XXX_Merge Uses

func (dst *CreateIntentRequest) XXX_Merge(src proto.Message)

func (*CreateIntentRequest) XXX_Size Uses

func (m *CreateIntentRequest) XXX_Size() int

func (*CreateIntentRequest) XXX_Unmarshal Uses

func (m *CreateIntentRequest) XXX_Unmarshal(b []byte) error

type CreateSessionEntityTypeRequest Uses

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,proto3" json:"parent,omitempty"`
    // Required. The session entity type to create.
    SessionEntityType    *SessionEntityType `protobuf:"bytes,2,opt,name=session_entity_type,json=sessionEntityType,proto3" json:"session_entity_type,omitempty"`
    XXX_NoUnkeyedLiteral struct{}           `json:"-"`
    XXX_unrecognized     []byte             `json:"-"`
    XXX_sizecache        int32              `json:"-"`
}

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

func (*CreateSessionEntityTypeRequest) Descriptor Uses

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

func (*CreateSessionEntityTypeRequest) GetParent Uses

func (m *CreateSessionEntityTypeRequest) GetParent() string

func (*CreateSessionEntityTypeRequest) GetSessionEntityType Uses

func (m *CreateSessionEntityTypeRequest) GetSessionEntityType() *SessionEntityType

func (*CreateSessionEntityTypeRequest) ProtoMessage Uses

func (*CreateSessionEntityTypeRequest) ProtoMessage()

func (*CreateSessionEntityTypeRequest) Reset Uses

func (m *CreateSessionEntityTypeRequest) Reset()

func (*CreateSessionEntityTypeRequest) String Uses

func (m *CreateSessionEntityTypeRequest) String() string

func (*CreateSessionEntityTypeRequest) XXX_DiscardUnknown Uses

func (m *CreateSessionEntityTypeRequest) XXX_DiscardUnknown()

func (*CreateSessionEntityTypeRequest) XXX_Marshal Uses

func (m *CreateSessionEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateSessionEntityTypeRequest) XXX_Merge Uses

func (dst *CreateSessionEntityTypeRequest) XXX_Merge(src proto.Message)

func (*CreateSessionEntityTypeRequest) XXX_Size Uses

func (m *CreateSessionEntityTypeRequest) XXX_Size() int

func (*CreateSessionEntityTypeRequest) XXX_Unmarshal Uses

func (m *CreateSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error

type DeleteAllContextsRequest Uses

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

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

func (*DeleteAllContextsRequest) Descriptor Uses

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

func (*DeleteAllContextsRequest) GetParent Uses

func (m *DeleteAllContextsRequest) GetParent() string

func (*DeleteAllContextsRequest) ProtoMessage Uses

func (*DeleteAllContextsRequest) ProtoMessage()

func (*DeleteAllContextsRequest) Reset Uses

func (m *DeleteAllContextsRequest) Reset()

func (*DeleteAllContextsRequest) String Uses

func (m *DeleteAllContextsRequest) String() string

func (*DeleteAllContextsRequest) XXX_DiscardUnknown Uses

func (m *DeleteAllContextsRequest) XXX_DiscardUnknown()

func (*DeleteAllContextsRequest) XXX_Marshal Uses

func (m *DeleteAllContextsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteAllContextsRequest) XXX_Merge Uses

func (dst *DeleteAllContextsRequest) XXX_Merge(src proto.Message)

func (*DeleteAllContextsRequest) XXX_Size Uses

func (m *DeleteAllContextsRequest) XXX_Size() int

func (*DeleteAllContextsRequest) XXX_Unmarshal Uses

func (m *DeleteAllContextsRequest) XXX_Unmarshal(b []byte) error

type DeleteContextRequest Uses

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

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

func (*DeleteContextRequest) Descriptor Uses

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

func (*DeleteContextRequest) GetName Uses

func (m *DeleteContextRequest) GetName() string

func (*DeleteContextRequest) ProtoMessage Uses

func (*DeleteContextRequest) ProtoMessage()

func (*DeleteContextRequest) Reset Uses

func (m *DeleteContextRequest) Reset()

func (*DeleteContextRequest) String Uses

func (m *DeleteContextRequest) String() string

func (*DeleteContextRequest) XXX_DiscardUnknown Uses

func (m *DeleteContextRequest) XXX_DiscardUnknown()

func (*DeleteContextRequest) XXX_Marshal Uses

func (m *DeleteContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteContextRequest) XXX_Merge Uses

func (dst *DeleteContextRequest) XXX_Merge(src proto.Message)

func (*DeleteContextRequest) XXX_Size Uses

func (m *DeleteContextRequest) XXX_Size() int

func (*DeleteContextRequest) XXX_Unmarshal Uses

func (m *DeleteContextRequest) XXX_Unmarshal(b []byte) error

type DeleteEntityTypeRequest Uses

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

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

func (*DeleteEntityTypeRequest) Descriptor Uses

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

func (*DeleteEntityTypeRequest) GetName Uses

func (m *DeleteEntityTypeRequest) GetName() string

func (*DeleteEntityTypeRequest) ProtoMessage Uses

func (*DeleteEntityTypeRequest) ProtoMessage()

func (*DeleteEntityTypeRequest) Reset Uses

func (m *DeleteEntityTypeRequest) Reset()

func (*DeleteEntityTypeRequest) String Uses

func (m *DeleteEntityTypeRequest) String() string

func (*DeleteEntityTypeRequest) XXX_DiscardUnknown Uses

func (m *DeleteEntityTypeRequest) XXX_DiscardUnknown()

func (*DeleteEntityTypeRequest) XXX_Marshal Uses

func (m *DeleteEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteEntityTypeRequest) XXX_Merge Uses

func (dst *DeleteEntityTypeRequest) XXX_Merge(src proto.Message)

func (*DeleteEntityTypeRequest) XXX_Size Uses

func (m *DeleteEntityTypeRequest) XXX_Size() int

func (*DeleteEntityTypeRequest) XXX_Unmarshal Uses

func (m *DeleteEntityTypeRequest) XXX_Unmarshal(b []byte) error

type DeleteIntentRequest Uses

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,proto3" json:"name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*DeleteIntentRequest) Descriptor Uses

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

func (*DeleteIntentRequest) GetName Uses

func (m *DeleteIntentRequest) GetName() string

func (*DeleteIntentRequest) ProtoMessage Uses

func (*DeleteIntentRequest) ProtoMessage()

func (*DeleteIntentRequest) Reset Uses

func (m *DeleteIntentRequest) Reset()

func (*DeleteIntentRequest) String Uses

func (m *DeleteIntentRequest) String() string

func (*DeleteIntentRequest) XXX_DiscardUnknown Uses

func (m *DeleteIntentRequest) XXX_DiscardUnknown()

func (*DeleteIntentRequest) XXX_Marshal Uses

func (m *DeleteIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteIntentRequest) XXX_Merge Uses

func (dst *DeleteIntentRequest) XXX_Merge(src proto.Message)

func (*DeleteIntentRequest) XXX_Size Uses

func (m *DeleteIntentRequest) XXX_Size() int

func (*DeleteIntentRequest) XXX_Unmarshal Uses

func (m *DeleteIntentRequest) XXX_Unmarshal(b []byte) error

type DeleteSessionEntityTypeRequest Uses

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

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

func (*DeleteSessionEntityTypeRequest) Descriptor Uses

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

func (*DeleteSessionEntityTypeRequest) GetName Uses

func (m *DeleteSessionEntityTypeRequest) GetName() string

func (*DeleteSessionEntityTypeRequest) ProtoMessage Uses

func (*DeleteSessionEntityTypeRequest) ProtoMessage()

func (*DeleteSessionEntityTypeRequest) Reset Uses

func (m *DeleteSessionEntityTypeRequest) Reset()

func (*DeleteSessionEntityTypeRequest) String Uses

func (m *DeleteSessionEntityTypeRequest) String() string

func (*DeleteSessionEntityTypeRequest) XXX_DiscardUnknown Uses

func (m *DeleteSessionEntityTypeRequest) XXX_DiscardUnknown()

func (*DeleteSessionEntityTypeRequest) XXX_Marshal Uses

func (m *DeleteSessionEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteSessionEntityTypeRequest) XXX_Merge Uses

func (dst *DeleteSessionEntityTypeRequest) XXX_Merge(src proto.Message)

func (*DeleteSessionEntityTypeRequest) XXX_Size Uses

func (m *DeleteSessionEntityTypeRequest) XXX_Size() int

func (*DeleteSessionEntityTypeRequest) XXX_Unmarshal Uses

func (m *DeleteSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error

type DetectIntentRequest Uses

type DetectIntentRequest struct {
    // Required. The name of the session this query is sent to. Format:
    // `projects/<Project ID>/agent/sessions/<Session ID>`. 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,proto3" json:"session,omitempty"`
    // Optional. The parameters of this query.
    QueryParams *QueryParameters `protobuf:"bytes,2,opt,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"`
    // Required. The input specification. It can be set to:
    //
    // 1.  an audio config
    //     which instructs the speech recognizer how to process the speech audio,
    //
    // 2.  a conversational query in the form of text, or
    //
    // 3.  an event that specifies which intent to trigger.
    QueryInput *QueryInput `protobuf:"bytes,3,opt,name=query_input,json=queryInput,proto3" json:"query_input,omitempty"`
    // 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"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The request to detect user's intent.

func (*DetectIntentRequest) Descriptor Uses

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

func (*DetectIntentRequest) GetInputAudio Uses

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

func (*DetectIntentRequest) GetQueryInput Uses

func (m *DetectIntentRequest) GetQueryInput() *QueryInput

func (*DetectIntentRequest) GetQueryParams Uses

func (m *DetectIntentRequest) GetQueryParams() *QueryParameters

func (*DetectIntentRequest) GetSession Uses

func (m *DetectIntentRequest) GetSession() string

func (*DetectIntentRequest) ProtoMessage Uses

func (*DetectIntentRequest) ProtoMessage()

func (*DetectIntentRequest) Reset Uses

func (m *DetectIntentRequest) Reset()

func (*DetectIntentRequest) String Uses

func (m *DetectIntentRequest) String() string

func (*DetectIntentRequest) XXX_DiscardUnknown Uses

func (m *DetectIntentRequest) XXX_DiscardUnknown()

func (*DetectIntentRequest) XXX_Marshal Uses

func (m *DetectIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DetectIntentRequest) XXX_Merge Uses

func (dst *DetectIntentRequest) XXX_Merge(src proto.Message)

func (*DetectIntentRequest) XXX_Size Uses

func (m *DetectIntentRequest) XXX_Size() int

func (*DetectIntentRequest) XXX_Unmarshal Uses

func (m *DetectIntentRequest) XXX_Unmarshal(b []byte) error

type DetectIntentResponse Uses

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

The message returned from the DetectIntent method.

func (*DetectIntentResponse) Descriptor Uses

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

func (*DetectIntentResponse) GetQueryResult Uses

func (m *DetectIntentResponse) GetQueryResult() *QueryResult

func (*DetectIntentResponse) GetResponseId Uses

func (m *DetectIntentResponse) GetResponseId() string

func (*DetectIntentResponse) GetWebhookStatus Uses

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

func (*DetectIntentResponse) ProtoMessage Uses

func (*DetectIntentResponse) ProtoMessage()

func (*DetectIntentResponse) Reset Uses

func (m *DetectIntentResponse) Reset()

func (*DetectIntentResponse) String Uses

func (m *DetectIntentResponse) String() string

func (*DetectIntentResponse) XXX_DiscardUnknown Uses

func (m *DetectIntentResponse) XXX_DiscardUnknown()

func (*DetectIntentResponse) XXX_Marshal Uses

func (m *DetectIntentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DetectIntentResponse) XXX_Merge Uses

func (dst *DetectIntentResponse) XXX_Merge(src proto.Message)

func (*DetectIntentResponse) XXX_Size Uses

func (m *DetectIntentResponse) XXX_Size() int

func (*DetectIntentResponse) XXX_Unmarshal Uses

func (m *DetectIntentResponse) XXX_Unmarshal(b []byte) error

type EntityType Uses

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,proto3" json:"name,omitempty"`
    // Required. The name of the entity.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // Required. Indicates the kind of entity type.
    Kind EntityType_Kind `protobuf:"varint,3,opt,name=kind,proto3,enum=google.cloud.dialogflow.v2.EntityType_Kind" json:"kind,omitempty"`
    // Optional. Indicates whether the entity type can be automatically
    // expanded.
    AutoExpansionMode EntityType_AutoExpansionMode `protobuf:"varint,4,opt,name=auto_expansion_mode,json=autoExpansionMode,proto3,enum=google.cloud.dialogflow.v2.EntityType_AutoExpansionMode" json:"auto_expansion_mode,omitempty"`
    // Optional. The collection of entities associated with the entity type.
    Entities             []*EntityType_Entity `protobuf:"bytes,6,rep,name=entities,proto3" json:"entities,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

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

func (*EntityType) Descriptor Uses

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

func (*EntityType) GetAutoExpansionMode Uses

func (m *EntityType) GetAutoExpansionMode() EntityType_AutoExpansionMode

func (*EntityType) GetDisplayName Uses

func (m *EntityType) GetDisplayName() string

func (*EntityType) GetEntities Uses

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

func (*EntityType) GetKind Uses

func (m *EntityType) GetKind() EntityType_Kind

func (*EntityType) GetName Uses

func (m *EntityType) GetName() string

func (*EntityType) ProtoMessage Uses

func (*EntityType) ProtoMessage()

func (*EntityType) Reset Uses

func (m *EntityType) Reset()

func (*EntityType) String Uses

func (m *EntityType) String() string

func (*EntityType) XXX_DiscardUnknown Uses

func (m *EntityType) XXX_DiscardUnknown()

func (*EntityType) XXX_Marshal Uses

func (m *EntityType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EntityType) XXX_Merge Uses

func (dst *EntityType) XXX_Merge(src proto.Message)

func (*EntityType) XXX_Size Uses

func (m *EntityType) XXX_Size() int

func (*EntityType) XXX_Unmarshal Uses

func (m *EntityType) XXX_Unmarshal(b []byte) error

type EntityTypeBatch Uses

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

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

func (*EntityTypeBatch) Descriptor Uses

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

func (*EntityTypeBatch) GetEntityTypes Uses

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

func (*EntityTypeBatch) ProtoMessage Uses

func (*EntityTypeBatch) ProtoMessage()

func (*EntityTypeBatch) Reset Uses

func (m *EntityTypeBatch) Reset()

func (*EntityTypeBatch) String Uses

func (m *EntityTypeBatch) String() string

func (*EntityTypeBatch) XXX_DiscardUnknown Uses

func (m *EntityTypeBatch) XXX_DiscardUnknown()

func (*EntityTypeBatch) XXX_Marshal Uses

func (m *EntityTypeBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EntityTypeBatch) XXX_Merge Uses

func (dst *EntityTypeBatch) XXX_Merge(src proto.Message)

func (*EntityTypeBatch) XXX_Size Uses

func (m *EntityTypeBatch) XXX_Size() int

func (*EntityTypeBatch) XXX_Unmarshal Uses

func (m *EntityTypeBatch) XXX_Unmarshal(b []byte) error

type EntityType_AutoExpansionMode Uses

type EntityType_AutoExpansionMode int32

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

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

func (EntityType_AutoExpansionMode) EnumDescriptor Uses

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

func (EntityType_AutoExpansionMode) String Uses

func (x EntityType_AutoExpansionMode) String() string

type EntityType_Entity Uses

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,proto3" 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,proto3" json:"synonyms,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Optional. Represents an entity.

func (*EntityType_Entity) Descriptor Uses

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

func (*EntityType_Entity) GetSynonyms Uses

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

func (*EntityType_Entity) GetValue Uses

func (m *EntityType_Entity) GetValue() string

func (*EntityType_Entity) ProtoMessage Uses

func (*EntityType_Entity) ProtoMessage()

func (*EntityType_Entity) Reset Uses

func (m *EntityType_Entity) Reset()

func (*EntityType_Entity) String Uses

func (m *EntityType_Entity) String() string

func (*EntityType_Entity) XXX_DiscardUnknown Uses

func (m *EntityType_Entity) XXX_DiscardUnknown()

func (*EntityType_Entity) XXX_Marshal Uses

func (m *EntityType_Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EntityType_Entity) XXX_Merge Uses

func (dst *EntityType_Entity) XXX_Merge(src proto.Message)

func (*EntityType_Entity) XXX_Size Uses

func (m *EntityType_Entity) XXX_Size() int

func (*EntityType_Entity) XXX_Unmarshal Uses

func (m *EntityType_Entity) XXX_Unmarshal(b []byte) error

type EntityType_Kind Uses

type EntityType_Kind int32

Represents kinds of entities.

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

func (EntityType_Kind) EnumDescriptor Uses

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

func (EntityType_Kind) String Uses

func (x EntityType_Kind) String() string

type EntityTypesClient Uses

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

EntityTypesClient is the client API for EntityTypes service.

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

func NewEntityTypesClient Uses

func NewEntityTypesClient(cc *grpc.ClientConn) EntityTypesClient

type EntityTypesServer Uses

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

EntityTypesServer is the server API for EntityTypes service.

type EventInput Uses

type EventInput struct {
    // Required. The unique identifier of the event.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. The collection of parameters associated with the event.
    Parameters *_struct.Struct `protobuf:"bytes,2,opt,name=parameters,proto3" 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,proto3" json:"language_code,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*EventInput) Descriptor Uses

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

func (*EventInput) GetLanguageCode Uses

func (m *EventInput) GetLanguageCode() string

func (*EventInput) GetName Uses

func (m *EventInput) GetName() string

func (*EventInput) GetParameters Uses

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

func (*EventInput) ProtoMessage Uses

func (*EventInput) ProtoMessage()

func (*EventInput) Reset Uses

func (m *EventInput) Reset()

func (*EventInput) String Uses

func (m *EventInput) String() string

func (*EventInput) XXX_DiscardUnknown Uses

func (m *EventInput) XXX_DiscardUnknown()

func (*EventInput) XXX_Marshal Uses

func (m *EventInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventInput) XXX_Merge Uses

func (dst *EventInput) XXX_Merge(src proto.Message)

func (*EventInput) XXX_Size Uses

func (m *EventInput) XXX_Size() int

func (*EventInput) XXX_Unmarshal Uses

func (m *EventInput) XXX_Unmarshal(b []byte) error

type ExportAgentRequest Uses

type ExportAgentRequest struct {
    // Required. The project that the agent to export is associated with.
    // Format: `projects/<Project ID>`.
    Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
    // Optional. The Google Cloud Storage 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,proto3" json:"agent_uri,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*ExportAgentRequest) Descriptor Uses

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

func (*ExportAgentRequest) GetAgentUri Uses

func (m *ExportAgentRequest) GetAgentUri() string

func (*ExportAgentRequest) GetParent Uses

func (m *ExportAgentRequest) GetParent() string

func (*ExportAgentRequest) ProtoMessage Uses

func (*ExportAgentRequest) ProtoMessage()

func (*ExportAgentRequest) Reset Uses

func (m *ExportAgentRequest) Reset()

func (*ExportAgentRequest) String Uses

func (m *ExportAgentRequest) String() string

func (*ExportAgentRequest) XXX_DiscardUnknown Uses

func (m *ExportAgentRequest) XXX_DiscardUnknown()

func (*ExportAgentRequest) XXX_Marshal Uses

func (m *ExportAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportAgentRequest) XXX_Merge Uses

func (dst *ExportAgentRequest) XXX_Merge(src proto.Message)

func (*ExportAgentRequest) XXX_Size Uses

func (m *ExportAgentRequest) XXX_Size() int

func (*ExportAgentRequest) XXX_Unmarshal Uses

func (m *ExportAgentRequest) XXX_Unmarshal(b []byte) error

type ExportAgentResponse Uses

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"`
    XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
    XXX_unrecognized     []byte                      `json:"-"`
    XXX_sizecache        int32                       `json:"-"`
}

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

func (*ExportAgentResponse) Descriptor Uses

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

func (*ExportAgentResponse) GetAgent Uses

func (m *ExportAgentResponse) GetAgent() isExportAgentResponse_Agent

func (*ExportAgentResponse) GetAgentContent Uses

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

func (*ExportAgentResponse) GetAgentUri Uses

func (m *ExportAgentResponse) GetAgentUri() string

func (*ExportAgentResponse) ProtoMessage Uses

func (*ExportAgentResponse) ProtoMessage()

func (*ExportAgentResponse) Reset Uses

func (m *ExportAgentResponse) Reset()

func (*ExportAgentResponse) String Uses

func (m *ExportAgentResponse) String() string

func (*ExportAgentResponse) XXX_DiscardUnknown Uses

func (m *ExportAgentResponse) XXX_DiscardUnknown()

func (*ExportAgentResponse) XXX_Marshal Uses

func (m *ExportAgentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExportAgentResponse) XXX_Merge Uses

func (dst *ExportAgentResponse) XXX_Merge(src proto.Message)

func (*ExportAgentResponse) XXX_OneofFuncs Uses

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.

func (*ExportAgentResponse) XXX_Size Uses

func (m *ExportAgentResponse) XXX_Size() int

func (*ExportAgentResponse) XXX_Unmarshal Uses

func (m *ExportAgentResponse) XXX_Unmarshal(b []byte) error

type ExportAgentResponse_AgentContent Uses

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

type ExportAgentResponse_AgentUri Uses

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

type GetAgentRequest Uses

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

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

func (*GetAgentRequest) Descriptor Uses

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

func (*GetAgentRequest) GetParent Uses

func (m *GetAgentRequest) GetParent() string

func (*GetAgentRequest) ProtoMessage Uses

func (*GetAgentRequest) ProtoMessage()

func (*GetAgentRequest) Reset Uses

func (m *GetAgentRequest) Reset()

func (*GetAgentRequest) String Uses

func (m *GetAgentRequest) String() string

func (*GetAgentRequest) XXX_DiscardUnknown Uses

func (m *GetAgentRequest) XXX_DiscardUnknown()

func (*GetAgentRequest) XXX_Marshal Uses

func (m *GetAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAgentRequest) XXX_Merge Uses

func (dst *GetAgentRequest) XXX_Merge(src proto.Message)

func (*GetAgentRequest) XXX_Size Uses

func (m *GetAgentRequest) XXX_Size() int

func (*GetAgentRequest) XXX_Unmarshal Uses

func (m *GetAgentRequest) XXX_Unmarshal(b []byte) error

type GetContextRequest Uses

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,proto3" json:"name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*GetContextRequest) Descriptor Uses

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

func (*GetContextRequest) GetName Uses

func (m *GetContextRequest) GetName() string

func (*GetContextRequest) ProtoMessage Uses

func (*GetContextRequest) ProtoMessage()

func (*GetContextRequest) Reset Uses

func (m *GetContextRequest) Reset()

func (*GetContextRequest) String Uses

func (m *GetContextRequest) String() string

func (*GetContextRequest) XXX_DiscardUnknown Uses

func (m *GetContextRequest) XXX_DiscardUnknown()

func (*GetContextRequest) XXX_Marshal Uses

func (m *GetContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetContextRequest) XXX_Merge Uses

func (dst *GetContextRequest) XXX_Merge(src proto.Message)

func (*GetContextRequest) XXX_Size Uses

func (m *GetContextRequest) XXX_Size() int

func (*GetContextRequest) XXX_Unmarshal Uses

func (m *GetContextRequest) XXX_Unmarshal(b []byte) error

type GetEntityTypeRequest Uses

type GetEntityTypeRequest struct {
    // Required. The name of the entity type.
    // Format: `projects/<Project ID>/agent/entityTypes/<EntityType ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. The language 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,proto3" json:"language_code,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*GetEntityTypeRequest) Descriptor Uses

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

func (*GetEntityTypeRequest) GetLanguageCode Uses

func (m *GetEntityTypeRequest) GetLanguageCode() string

func (*GetEntityTypeRequest) GetName Uses

func (m *GetEntityTypeRequest) GetName() string

func (*GetEntityTypeRequest) ProtoMessage Uses

func (*GetEntityTypeRequest) ProtoMessage()

func (*GetEntityTypeRequest) Reset Uses

func (m *GetEntityTypeRequest) Reset()

func (*GetEntityTypeRequest) String Uses

func (m *GetEntityTypeRequest) String() string

func (*GetEntityTypeRequest) XXX_DiscardUnknown Uses

func (m *GetEntityTypeRequest) XXX_DiscardUnknown()

func (*GetEntityTypeRequest) XXX_Marshal Uses

func (m *GetEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetEntityTypeRequest) XXX_Merge Uses

func (dst *GetEntityTypeRequest) XXX_Merge(src proto.Message)

func (*GetEntityTypeRequest) XXX_Size Uses

func (m *GetEntityTypeRequest) XXX_Size() int

func (*GetEntityTypeRequest) XXX_Unmarshal Uses

func (m *GetEntityTypeRequest) XXX_Unmarshal(b []byte) error

type GetIntentRequest Uses

type GetIntentRequest struct {
    // Required. The name of the intent.
    // Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Optional. The language 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,proto3" json:"language_code,omitempty"`
    // Optional. The resource view to apply to the returned intent.
    IntentView           IntentView `protobuf:"varint,3,opt,name=intent_view,json=intentView,proto3,enum=google.cloud.dialogflow.v2.IntentView" json:"intent_view,omitempty"`
    XXX_NoUnkeyedLiteral struct{}   `json:"-"`
    XXX_unrecognized     []byte     `json:"-"`
    XXX_sizecache        int32      `json:"-"`
}

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

func (*GetIntentRequest) Descriptor Uses

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

func (*GetIntentRequest) GetIntentView Uses

func (m *GetIntentRequest) GetIntentView() IntentView

func (*GetIntentRequest) GetLanguageCode Uses

func (m *GetIntentRequest) GetLanguageCode() string

func (*GetIntentRequest) GetName Uses

func (m *GetIntentRequest) GetName() string

func (*GetIntentRequest) ProtoMessage Uses

func (*GetIntentRequest) ProtoMessage()

func (*GetIntentRequest) Reset Uses

func (m *GetIntentRequest) Reset()

func (*GetIntentRequest) String Uses

func (m *GetIntentRequest) String() string

func (*GetIntentRequest) XXX_DiscardUnknown Uses

func (m *GetIntentRequest) XXX_DiscardUnknown()

func (*GetIntentRequest) XXX_Marshal Uses

func (m *GetIntentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetIntentRequest) XXX_Merge Uses

func (dst *GetIntentRequest) XXX_Merge(src proto.Message)

func (*GetIntentRequest) XXX_Size Uses

func (m *GetIntentRequest) XXX_Size() int

func (*GetIntentRequest) XXX_Unmarshal Uses

func (m *GetIntentRequest) XXX_Unmarshal(b []byte) error

type GetSessionEntityTypeRequest Uses

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

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

func (*GetSessionEntityTypeRequest) Descriptor Uses

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

func (*GetSessionEntityTypeRequest) GetName Uses

func (m *GetSessionEntityTypeRequest) GetName() string

func (*GetSessionEntityTypeRequest) ProtoMessage Uses

func (*GetSessionEntityTypeRequest) ProtoMessage()

func (*GetSessionEntityTypeRequest) Reset Uses

func (m *GetSessionEntityTypeRequest) Reset()

func (*GetSessionEntityTypeRequest) String Uses

func (m *GetSessionEntityTypeRequest) String() string

func (*GetSessionEntityTypeRequest) XXX_DiscardUnknown Uses

func (m *GetSessionEntityTypeRequest) XXX_DiscardUnknown()

func (*GetSessionEntityTypeRequest) XXX_Marshal Uses

func (m *GetSessionEntityTypeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetSessionEntityTypeRequest) XXX_Merge Uses

func (dst *GetSessionEntityTypeRequest) XXX_Merge(src proto.Message)

func (*GetSessionEntityTypeRequest) XXX_Size Uses

func (m *GetSessionEntityTypeRequest) XXX_Size() int

func (*GetSessionEntityTypeRequest) XXX_Unmarshal Uses

func (m *GetSessionEntityTypeRequest) XXX_Unmarshal(b []byte) error

type ImportAgentRequest Uses

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

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

func (*ImportAgentRequest) Descriptor Uses

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

func (*ImportAgentRequest) GetAgent Uses

func (m *ImportAgentRequest) GetAgent() isImportAgentRequest_Agent

func (*ImportAgentRequest) GetAgentContent Uses

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

func (*ImportAgentRequest) GetAgentUri Uses

func (m *ImportAgentRequest) GetAgentUri() string

func (*ImportAgentRequest) GetParent Uses

func (m *ImportAgentRequest) GetParent() string

func (*ImportAgentRequest) ProtoMessage Uses

func (*ImportAgentRequest) ProtoMessage()

func (*ImportAgentRequest) Reset Uses

func (m *ImportAgentRequest) Reset()

func (*ImportAgentRequest) String Uses

func (m *ImportAgentRequest) String() string

func (*ImportAgentRequest) XXX_DiscardUnknown Uses

func (m *ImportAgentRequest) XXX_DiscardUnknown()

func (*ImportAgentRequest) XXX_Marshal Uses

func (m *ImportAgentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImportAgentRequest) XXX_Merge Uses

func (dst *ImportAgentRequest) XXX_Merge(src proto.Message)

func (*ImportAgentRequest) XXX_OneofFuncs Uses

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.

func (*ImportAgentRequest) XXX_Size Uses

func (m *ImportAgentRequest) XXX_Size() int

func (*ImportAgentRequest) XXX_Unmarshal Uses

func (m *ImportAgentRequest) XXX_Unmarshal(b []byte) error

type ImportAgentRequest_AgentContent Uses

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

type ImportAgentRequest_AgentUri Uses

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

type InputAudioConfig Uses

type InputAudioConfig struct {
    // Required. Audio encoding of the audio content to process.
    AudioEncoding AudioEncoding `protobuf:"varint,1,opt,name=audio_encoding,json=audioEncoding,proto3,enum=google.cloud.dialogflow.v2.AudioEncoding" json:"audio_encoding,omitempty"`
    // 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,proto3" 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,proto3" 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,proto3" json:"phrase_hints,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Instructs the speech recognizer how to process the audio content.

func (*InputAudioConfig) Descriptor Uses

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

func (*InputAudioConfig) GetAudioEncoding Uses

func (m *InputAudioConfig) GetAudioEncoding() AudioEncoding

func (*InputAudioConfig) GetLanguageCode Uses

func (m *InputAudioConfig) GetLanguageCode() string

func (*InputAudioConfig) GetPhraseHints Uses

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

func (*InputAudioConfig) GetSampleRateHertz Uses

func (m *InputAudioConfig) GetSampleRateHertz() int32

func (*InputAudioConfig) ProtoMessage Uses

func (*InputAudioConfig) ProtoMessage()

func (*InputAudioConfig) Reset Uses

func (m *InputAudioConfig) Reset()

func (*InputAudioConfig) String Uses

func (m *InputAudioConfig) String() string

func (*InputAudioConfig) XXX_DiscardUnknown Uses

func (m *InputAudioConfig) XXX_DiscardUnknown()

func (*InputAudioConfig) XXX_Marshal Uses

func (m *InputAudioConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InputAudioConfig) XXX_Merge Uses

func (dst *InputAudioConfig) XXX_Merge(src proto.Message)

func (*InputAudioConfig) XXX_Size Uses

func (m *InputAudioConfig) XXX_Size() int

func (*InputAudioConfig) XXX_Unmarshal Uses

func (m *InputAudioConfig) XXX_Unmarshal(b []byte) error

type Intent Uses

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,proto3" json:"name,omitempty"`
    // Required. The name of this intent.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    // Required. Indicates whether webhooks are enabled for the intent.
    WebhookState Intent_WebhookState `protobuf:"varint,6,opt,name=webhook_state,json=webhookState,proto3,enum=google.cloud.dialogflow.v2.Intent_WebhookState" json:"webhook_state,omitempty"`
    // 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,proto3" json:"priority,omitempty"`
    // Optional. Indicates whether this is a fallback intent.
    IsFallback bool `protobuf:"varint,4,opt,name=is_fallback,json=isFallback,proto3" json:"is_fallback,omitempty"`
    // Optional. Indicates whether Machine Learning is 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,proto3" 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,proto3" json:"input_context_names,omitempty"`
    // Optional. The collection of event names that trigger the intent.
    // If the collection of input contexts is not empty, all of the contexts must
    // be present in the active user session for an event to trigger this intent.
    Events []string `protobuf:"bytes,8,rep,name=events,proto3" 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,proto3" json:"training_phrases,omitempty"`
    // Optional. The name of the action associated with the intent.
    Action string `protobuf:"bytes,10,opt,name=action,proto3" json:"action,omitempty"`
    // Optional. The collection of contexts that are activated when the intent
    // is matched. Context messages in this collection should not set the
    // parameters field. Setting the `lifespan_count` to 0 will reset the context
    // when the intent is matched.
    // Format: `projects/<Project ID>/agent/sessions/-/contexts/<Context ID>`.
    OutputContexts []*Context `protobuf:"bytes,11,rep,name=output_contexts,json=outputContexts,proto3" json:"output_contexts,omitempty"`
    // Optional. Indicates whether to delete all contexts in the current
    // session when this intent is matched.
    ResetContexts bool `protobuf:"varint,12,opt,name=reset_contexts,json=resetContexts,proto3" json:"reset_contexts,omitempty"`
    // Optional. The collection of parameters associated with the intent.
    Parameters []*Intent_Parameter `protobuf:"bytes,13,rep,name=parameters,proto3" json:"parameters,omitempty"`
    // Optional. The collection of rich messages corresponding to the
    // `Response` field in the Dialogflow console.
    Messages []*Intent_Message `protobuf:"bytes,14,rep,name=messages,proto3" json:"messages,omitempty"`
    // Optional. The list of platforms for which the first response will be
    // taken from among the messages assigned to the DEFAULT_PLATFORM.
    DefaultResponsePlatforms []Intent_Message_Platform `protobuf:"varint,15,rep,packed,name=default_response_platforms,json=defaultResponsePlatforms,proto3,enum=google.cloud.dialogflow.v2.Intent_Message_Platform" json:"default_response_platforms,omitempty"`
    // The unique identifier of the root intent in the chain of followup intents.
    // It identifies the correct followup intents chain for this intent.
    // Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
    RootFollowupIntentName string `protobuf:"bytes,16,opt,name=root_followup_intent_name,json=rootFollowupIntentName,proto3" json:"root_followup_intent_name,omitempty"`
    // 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 `protobuf:"bytes,17,opt,name=parent_followup_intent_name,json=parentFollowupIntentName,proto3" json:"parent_followup_intent_name,omitempty"`
    // 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,proto3" json:"followup_intent_info,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
    XXX_unrecognized     []byte                       `json:"-"`
    XXX_sizecache        int32                        `json:"-"`
}

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 Uses

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

func (*Intent) GetAction Uses

func (m *Intent) GetAction() string

func (*Intent) GetDefaultResponsePlatforms Uses

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

func (*Intent) GetDisplayName Uses

func (m *Intent) GetDisplayName() string

func (*Intent) GetEvents Uses

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

func (*Intent) GetFollowupIntentInfo Uses

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

func (*Intent) GetInputContextNames Uses

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

func (*Intent) GetIsFallback Uses

func (m *Intent) GetIsFallback() bool

func (*Intent) GetMessages Uses

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

func (*Intent) GetMlDisabled Uses

func (m *Intent) GetMlDisabled() bool

func (*Intent) GetName Uses

func (m *Intent) GetName() string

func (*Intent) GetOutputContexts Uses

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

func (*Intent) GetParameters Uses

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

func (*Intent) GetParentFollowupIntentName Uses

func (m *Intent) GetParentFollowupIntentName() string

func (*Intent) GetPriority Uses

func (m *Intent) GetPriority() int32

func (*Intent) GetResetContexts Uses

func (m *Intent) GetResetContexts() bool

func (*Intent) GetRootFollowupIntentName Uses

func (m *Intent) GetRootFollowupIntentName() string

func (*Intent) GetTrainingPhrases Uses

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

func (*Intent) GetWebhookState Uses

func (m *Intent) GetWebhookState() Intent_WebhookState

func (*Intent) ProtoMessage Uses

func (*Intent) ProtoMessage()

func (*Intent) Reset Uses

func (m *Intent) Reset()

func (*Intent) String Uses

func (m *Intent) String() string

func (*Intent) XXX_DiscardUnknown Uses

func (m *Intent) XXX_DiscardUnknown()

func (*Intent) XXX_Marshal Uses

func (m *Intent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent) XXX_Merge Uses

func (dst *Intent) XXX_Merge(src proto.Message)

func (*Intent) XXX_Size Uses

func (m *Intent) XXX_Size() int

func (*Intent) XXX_Unmarshal Uses

func (m *Intent) XXX_Unmarshal(b []byte) error

type IntentBatch Uses

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

This message is a wrapper around a collection of intents.

func (*IntentBatch) Descriptor Uses

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

func (*IntentBatch) GetIntents Uses

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

func (*IntentBatch) ProtoMessage Uses

func (*IntentBatch) ProtoMessage()

func (*IntentBatch) Reset Uses

func (m *IntentBatch) Reset()

func (*IntentBatch) String Uses

func (m *IntentBatch) String() string

func (*IntentBatch) XXX_DiscardUnknown Uses

func (m *IntentBatch) XXX_DiscardUnknown()

func (*IntentBatch) XXX_Marshal Uses

func (m *IntentBatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IntentBatch) XXX_Merge Uses

func (dst *IntentBatch) XXX_Merge(src proto.Message)

func (*IntentBatch) XXX_Size Uses

func (m *IntentBatch) XXX_Size() int

func (*IntentBatch) XXX_Unmarshal Uses

func (m *IntentBatch) XXX_Unmarshal(b []byte) error

type IntentView Uses

type IntentView int32

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

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

func (IntentView) EnumDescriptor Uses

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

func (IntentView) String Uses

func (x IntentView) String() string

type Intent_FollowupIntentInfo Uses

type Intent_FollowupIntentInfo struct {
    // The unique identifier of the followup intent.
    // Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
    FollowupIntentName string `protobuf:"bytes,1,opt,name=followup_intent_name,json=followupIntentName,proto3" json:"followup_intent_name,omitempty"`
    // The unique identifier of the followup intent parent.
    // Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
    ParentFollowupIntentName string   `protobuf:"bytes,2,opt,name=parent_followup_intent_name,json=parentFollowupIntentName,proto3" json:"parent_followup_intent_name,omitempty"`
    XXX_NoUnkeyedLiteral     struct{} `json:"-"`
    XXX_unrecognized         []byte   `json:"-"`
    XXX_sizecache            int32    `json:"-"`
}

Represents a single followup intent in the chain.

func (*Intent_FollowupIntentInfo) Descriptor Uses

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

func (*Intent_FollowupIntentInfo) GetFollowupIntentName Uses

func (m *Intent_FollowupIntentInfo) GetFollowupIntentName() string

func (*Intent_FollowupIntentInfo) GetParentFollowupIntentName Uses

func (m *Intent_FollowupIntentInfo) GetParentFollowupIntentName() string

func (*Intent_FollowupIntentInfo) ProtoMessage Uses

func (*Intent_FollowupIntentInfo) ProtoMessage()

func (*Intent_FollowupIntentInfo) Reset Uses

func (m *Intent_FollowupIntentInfo) Reset()

func (*Intent_FollowupIntentInfo) String Uses

func (m *Intent_FollowupIntentInfo) String() string

func (*Intent_FollowupIntentInfo) XXX_DiscardUnknown Uses

func (m *Intent_FollowupIntentInfo) XXX_DiscardUnknown()

func (*Intent_FollowupIntentInfo) XXX_Marshal Uses

func (m *Intent_FollowupIntentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_FollowupIntentInfo) XXX_Merge Uses

func (dst *Intent_FollowupIntentInfo) XXX_Merge(src proto.Message)

func (*Intent_FollowupIntentInfo) XXX_Size Uses

func (m *Intent_FollowupIntentInfo) XXX_Size() int

func (*Intent_FollowupIntentInfo) XXX_Unmarshal Uses

func (m *Intent_FollowupIntentInfo) XXX_Unmarshal(b []byte) error

type Intent_Message Uses

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,proto3,enum=google.cloud.dialogflow.v2.Intent_Message_Platform" json:"platform,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                `json:"-"`
    XXX_unrecognized     []byte                  `json:"-"`
    XXX_sizecache        int32                   `json:"-"`
}

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

func (*Intent_Message) Descriptor Uses

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

func (*Intent_Message) GetBasicCard Uses

func (m *Intent_Message) GetBasicCard() *Intent_Message_BasicCard

func (*Intent_Message) GetCard Uses

func (m *Intent_Message) GetCard() *Intent_Message_Card

func (*Intent_Message) GetCarouselSelect Uses

func (m *Intent_Message) GetCarouselSelect() *Intent_Message_CarouselSelect

func (*Intent_Message) GetImage Uses

func (m *Intent_Message) GetImage() *Intent_Message_Image

func (*Intent_Message) GetLinkOutSuggestion Uses

func (m *Intent_Message) GetLinkOutSuggestion() *Intent_Message_LinkOutSuggestion

func (*Intent_Message) GetListSelect Uses

func (m *Intent_Message) GetListSelect() *Intent_Message_ListSelect

func (*Intent_Message) GetMessage Uses

func (m *Intent_Message) GetMessage() isIntent_Message_Message

func (*Intent_Message) GetPayload Uses

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

func (*Intent_Message) GetPlatform Uses

func (m *Intent_Message) GetPlatform() Intent_Message_Platform

func (*Intent_Message) GetQuickReplies Uses

func (m *Intent_Message) GetQuickReplies() *Intent_Message_QuickReplies

func (*Intent_Message) GetSimpleResponses Uses

func (m *Intent_Message) GetSimpleResponses() *Intent_Message_SimpleResponses

func (*Intent_Message) GetSuggestions Uses

func (m *Intent_Message) GetSuggestions() *Intent_Message_Suggestions

func (*Intent_Message) GetText Uses

func (m *Intent_Message) GetText() *Intent_Message_Text

func (*Intent_Message) ProtoMessage Uses

func (*Intent_Message) ProtoMessage()

func (*Intent_Message) Reset Uses

func (m *Intent_Message) Reset()

func (*Intent_Message) String Uses

func (m *Intent_Message) String() string

func (*Intent_Message) XXX_DiscardUnknown Uses

func (m *Intent_Message) XXX_DiscardUnknown()

func (*Intent_Message) XXX_Marshal Uses

func (m *Intent_Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message) XXX_Merge Uses

func (dst *Intent_Message) XXX_Merge(src proto.Message)

func (*Intent_Message) XXX_OneofFuncs Uses

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.

func (*Intent_Message) XXX_Size Uses

func (m *Intent_Message) XXX_Size() int

func (*Intent_Message) XXX_Unmarshal Uses

func (m *Intent_Message) XXX_Unmarshal(b []byte) error

type Intent_Message_BasicCard Uses

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

The basic card message. Useful for displaying information.

func (*Intent_Message_BasicCard) Descriptor Uses

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

func (*Intent_Message_BasicCard) GetButtons Uses

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

func (*Intent_Message_BasicCard) GetFormattedText Uses

func (m *Intent_Message_BasicCard) GetFormattedText() string

func (*Intent_Message_BasicCard) GetImage Uses

func (m *Intent_Message_BasicCard) GetImage() *Intent_Message_Image

func (*Intent_Message_BasicCard) GetSubtitle Uses

func (m *Intent_Message_BasicCard) GetSubtitle() string

func (*Intent_Message_BasicCard) GetTitle Uses

func (m *Intent_Message_BasicCard) GetTitle() string

func (*Intent_Message_BasicCard) ProtoMessage Uses

func (*Intent_Message_BasicCard) ProtoMessage()

func (*Intent_Message_BasicCard) Reset Uses

func (m *Intent_Message_BasicCard) Reset()

func (*Intent_Message_BasicCard) String Uses

func (m *Intent_Message_BasicCard) String() string

func (*Intent_Message_BasicCard) XXX_DiscardUnknown Uses

func (m *Intent_Message_BasicCard) XXX_DiscardUnknown()

func (*Intent_Message_BasicCard) XXX_Marshal Uses

func (m *Intent_Message_BasicCard) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_BasicCard) XXX_Merge Uses

func (dst *Intent_Message_BasicCard) XXX_Merge(src proto.Message)

func (*Intent_Message_BasicCard) XXX_Size Uses

func (m *Intent_Message_BasicCard) XXX_Size() int

func (*Intent_Message_BasicCard) XXX_Unmarshal Uses

func (m *Intent_Message_BasicCard) XXX_Unmarshal(b []byte) error

type Intent_Message_BasicCard_ Uses

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

type Intent_Message_BasicCard_Button Uses

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

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

func (*Intent_Message_BasicCard_Button) Descriptor Uses

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

func (*Intent_Message_BasicCard_Button) GetOpenUriAction Uses

func (m *Intent_Message_BasicCard_Button) GetOpenUriAction() *Intent_Message_BasicCard_Button_OpenUriAction

func (*Intent_Message_BasicCard_Button) GetTitle Uses

func (m *Intent_Message_BasicCard_Button) GetTitle() string

func (*Intent_Message_BasicCard_Button) ProtoMessage Uses

func (*Intent_Message_BasicCard_Button) ProtoMessage()

func (*Intent_Message_BasicCard_Button) Reset Uses

func (m *Intent_Message_BasicCard_Button) Reset()

func (*Intent_Message_BasicCard_Button) String Uses

func (m *Intent_Message_BasicCard_Button) String() string

func (*Intent_Message_BasicCard_Button) XXX_DiscardUnknown Uses

func (m *Intent_Message_BasicCard_Button) XXX_DiscardUnknown()

func (*Intent_Message_BasicCard_Button) XXX_Marshal Uses

func (m *Intent_Message_BasicCard_Button) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_BasicCard_Button) XXX_Merge Uses

func (dst *Intent_Message_BasicCard_Button) XXX_Merge(src proto.Message)

func (*Intent_Message_BasicCard_Button) XXX_Size Uses

func (m *Intent_Message_BasicCard_Button) XXX_Size() int

func (*Intent_Message_BasicCard_Button) XXX_Unmarshal Uses

func (m *Intent_Message_BasicCard_Button) XXX_Unmarshal(b []byte) error

type Intent_Message_BasicCard_Button_OpenUriAction Uses

type Intent_Message_BasicCard_Button_OpenUriAction struct {
    // Required. The HTTP or HTTPS scheme URI.
    Uri                  string   `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Opens the given URI.

func (*Intent_Message_BasicCard_Button_OpenUriAction) Descriptor Uses

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

func (*Intent_Message_BasicCard_Button_OpenUriAction) GetUri Uses

func (m *Intent_Message_BasicCard_Button_OpenUriAction) GetUri() string

func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoMessage Uses

func (*Intent_Message_BasicCard_Button_OpenUriAction) ProtoMessage()

func (*Intent_Message_BasicCard_Button_OpenUriAction) Reset Uses

func (m *Intent_Message_BasicCard_Button_OpenUriAction) Reset()

func (*Intent_Message_BasicCard_Button_OpenUriAction) String Uses

func (m *Intent_Message_BasicCard_Button_OpenUriAction) String() string

func (*Intent_Message_BasicCard_Button_OpenUriAction) XXX_DiscardUnknown Uses

func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_DiscardUnknown()

func (*Intent_Message_BasicCard_Button_OpenUriAction) XXX_Marshal Uses

func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_BasicCard_Button_OpenUriAction) XXX_Merge Uses

func (dst *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Merge(src proto.Message)

func (*Intent_Message_BasicCard_Button_OpenUriAction) XXX_Size Uses

func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Size() int

func (*Intent_Message_BasicCard_Button_OpenUriAction) XXX_Unmarshal Uses

func (m *Intent_Message_BasicCard_Button_OpenUriAction) XXX_Unmarshal(b []byte) error

type Intent_Message_Card Uses

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

The card response message.

func (*Intent_Message_Card) Descriptor Uses

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

func (*Intent_Message_Card) GetButtons Uses

func (m *Intent_Message_Card) GetButtons() []*Intent_Message_Card_Button

func (*Intent_Message_Card) GetImageUri Uses

func (m *Intent_Message_Card) GetImageUri() string

func (*Intent_Message_Card) GetSubtitle Uses

func (m *Intent_Message_Card) GetSubtitle() string

func (*Intent_Message_Card) GetTitle Uses

func (m *Intent_Message_Card) GetTitle() string

func (*Intent_Message_Card) ProtoMessage Uses

func (*Intent_Message_Card) ProtoMessage()

func (*Intent_Message_Card) Reset Uses

func (m *Intent_Message_Card) Reset()

func (*Intent_Message_Card) String Uses

func (m *Intent_Message_Card) String() string

func (*Intent_Message_Card) XXX_DiscardUnknown Uses

func (m *Intent_Message_Card) XXX_DiscardUnknown()

func (*Intent_Message_Card) XXX_Marshal Uses

func (m *Intent_Message_Card) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_Card) XXX_Merge Uses

func (dst *Intent_Message_Card) XXX_Merge(src proto.Message)

func (*Intent_Message_Card) XXX_Size Uses

func (m *Intent_Message_Card) XXX_Size() int

func (*Intent_Message_Card) XXX_Unmarshal Uses

func (m *Intent_Message_Card) XXX_Unmarshal(b []byte) error

type Intent_Message_Card_ Uses

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

type Intent_Message_Card_Button Uses

type Intent_Message_Card_Button struct {
    // Optional. The text to show on the button.
    Text string `protobuf:"bytes,1,opt,name=text,proto3" 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,proto3" json:"postback,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Optional. Contains information about a button.

func (*Intent_Message_Card_Button) Descriptor Uses

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

func (*Intent_Message_Card_Button) GetPostback Uses

func (m *Intent_Message_Card_Button) GetPostback() string

func (*Intent_Message_Card_Button) GetText Uses

func (m *Intent_Message_Card_Button) GetText() string

func (*Intent_Message_Card_Button) ProtoMessage Uses

func (*Intent_Message_Card_Button) ProtoMessage()

func (*Intent_Message_Card_Button) Reset Uses

func (m *Intent_Message_Card_Button) Reset()

func (*Intent_Message_Card_Button) String Uses

func (m *Intent_Message_Card_Button) String() string

func (*Intent_Message_Card_Button) XXX_DiscardUnknown Uses

func (m *Intent_Message_Card_Button) XXX_DiscardUnknown()

func (*Intent_Message_Card_Button) XXX_Marshal Uses

func (m *Intent_Message_Card_Button) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_Card_Button) XXX_Merge Uses

func (dst *Intent_Message_Card_Button) XXX_Merge(src proto.Message)

func (*Intent_Message_Card_Button) XXX_Size Uses

func (m *Intent_Message_Card_Button) XXX_Size() int

func (*Intent_Message_Card_Button) XXX_Unmarshal Uses

func (m *Intent_Message_Card_Button) XXX_Unmarshal(b []byte) error

type Intent_Message_CarouselSelect Uses

type Intent_Message_CarouselSelect struct {
    // Required. Carousel items.
    Items                []*Intent_Message_CarouselSelect_Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
    XXX_unrecognized     []byte                                `json:"-"`
    XXX_sizecache        int32                                 `json:"-"`
}

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

func (*Intent_Message_CarouselSelect) Descriptor Uses

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

func (*Intent_Message_CarouselSelect) GetItems Uses

func (m *Intent_Message_CarouselSelect) GetItems() []*Intent_Message_CarouselSelect_Item

func (*Intent_Message_CarouselSelect) ProtoMessage Uses

func (*Intent_Message_CarouselSelect) ProtoMessage()

func (*Intent_Message_CarouselSelect) Reset Uses

func (m *Intent_Message_CarouselSelect) Reset()

func (*Intent_Message_CarouselSelect) String Uses

func (m *Intent_Message_CarouselSelect) String() string

func (*Intent_Message_CarouselSelect) XXX_DiscardUnknown Uses

func (m *Intent_Message_CarouselSelect) XXX_DiscardUnknown()

func (*Intent_Message_CarouselSelect) XXX_Marshal Uses

func (m *Intent_Message_CarouselSelect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_CarouselSelect) XXX_Merge Uses

func (dst *Intent_Message_CarouselSelect) XXX_Merge(src proto.Message)

func (*Intent_Message_CarouselSelect) XXX_Size Uses

func (m *Intent_Message_CarouselSelect) XXX_Size() int

func (*Intent_Message_CarouselSelect) XXX_Unmarshal Uses

func (m *Intent_Message_CarouselSelect) XXX_Unmarshal(b []byte) error

type Intent_Message_CarouselSelect_ Uses

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

type Intent_Message_CarouselSelect_Item Uses

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

An item in the carousel.

func (*Intent_Message_CarouselSelect_Item) Descriptor Uses

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

func (*Intent_Message_CarouselSelect_Item) GetDescription Uses

func (m *Intent_Message_CarouselSelect_Item) GetDescription() string

func (*Intent_Message_CarouselSelect_Item) GetImage Uses

func (m *Intent_Message_CarouselSelect_Item) GetImage() *Intent_Message_Image

func (*Intent_Message_CarouselSelect_Item) GetInfo Uses

func (m *Intent_Message_CarouselSelect_Item) GetInfo() *Intent_Message_SelectItemInfo

func (*Intent_Message_CarouselSelect_Item) GetTitle Uses

func (m *Intent_Message_CarouselSelect_Item) GetTitle() string

func (*Intent_Message_CarouselSelect_Item) ProtoMessage Uses

func (*Intent_Message_CarouselSelect_Item) ProtoMessage()

func (*Intent_Message_CarouselSelect_Item) Reset Uses

func (m *Intent_Message_CarouselSelect_Item) Reset()

func (*Intent_Message_CarouselSelect_Item) String Uses

func (m *Intent_Message_CarouselSelect_Item) String() string

func (*Intent_Message_CarouselSelect_Item) XXX_DiscardUnknown Uses

func (m *Intent_Message_CarouselSelect_Item) XXX_DiscardUnknown()

func (*Intent_Message_CarouselSelect_Item) XXX_Marshal Uses

func (m *Intent_Message_CarouselSelect_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_CarouselSelect_Item) XXX_Merge Uses

func (dst *Intent_Message_CarouselSelect_Item) XXX_Merge(src proto.Message)

func (*Intent_Message_CarouselSelect_Item) XXX_Size Uses

func (m *Intent_Message_CarouselSelect_Item) XXX_Size() int

func (*Intent_Message_CarouselSelect_Item) XXX_Unmarshal Uses

func (m *Intent_Message_CarouselSelect_Item) XXX_Unmarshal(b []byte) error

type Intent_Message_Image Uses

type Intent_Message_Image struct {
    // Optional. The public URI to an image file.
    ImageUri string `protobuf:"bytes,1,opt,name=image_uri,json=imageUri,proto3" 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,proto3" json:"accessibility_text,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The image response message.

func (*Intent_Message_Image) Descriptor Uses

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

func (*Intent_Message_Image) GetAccessibilityText Uses

func (m *Intent_Message_Image) GetAccessibilityText() string

func (*Intent_Message_Image) GetImageUri Uses

func (m *Intent_Message_Image) GetImageUri() string

func (*Intent_Message_Image) ProtoMessage Uses

func (*Intent_Message_Image) ProtoMessage()

func (*Intent_Message_Image) Reset Uses

func (m *Intent_Message_Image) Reset()

func (*Intent_Message_Image) String Uses

func (m *Intent_Message_Image) String() string

func (*Intent_Message_Image) XXX_DiscardUnknown Uses

func (m *Intent_Message_Image) XXX_DiscardUnknown()

func (*Intent_Message_Image) XXX_Marshal Uses

func (m *Intent_Message_Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_Image) XXX_Merge Uses

func (dst *Intent_Message_Image) XXX_Merge(src proto.Message)

func (*Intent_Message_Image) XXX_Size Uses

func (m *Intent_Message_Image) XXX_Size() int

func (*Intent_Message_Image) XXX_Unmarshal Uses

func (m *Intent_Message_Image) XXX_Unmarshal(b []byte) error

type Intent_Message_Image_ Uses

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

type Intent_Message_LinkOutSuggestion Uses

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,proto3" 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,proto3" json:"uri,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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 Uses

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

func (*Intent_Message_LinkOutSuggestion) GetDestinationName Uses

func (m *Intent_Message_LinkOutSuggestion) GetDestinationName() string

func (*Intent_Message_LinkOutSuggestion) GetUri Uses

func (m *Intent_Message_LinkOutSuggestion) GetUri() string

func (*Intent_Message_LinkOutSuggestion) ProtoMessage Uses

func (*Intent_Message_LinkOutSuggestion) ProtoMessage()

func (*Intent_Message_LinkOutSuggestion) Reset Uses

func (m *Intent_Message_LinkOutSuggestion) Reset()

func (*Intent_Message_LinkOutSuggestion) String Uses

func (m *Intent_Message_LinkOutSuggestion) String() string

func (*Intent_Message_LinkOutSuggestion) XXX_DiscardUnknown Uses

func (m *Intent_Message_LinkOutSuggestion) XXX_DiscardUnknown()

func (*Intent_Message_LinkOutSuggestion) XXX_Marshal Uses

func (m *Intent_Message_LinkOutSuggestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_LinkOutSuggestion) XXX_Merge Uses

func (dst *Intent_Message_LinkOutSuggestion) XXX_Merge(src proto.Message)

func (*Intent_Message_LinkOutSuggestion) XXX_Size Uses

func (m *Intent_Message_LinkOutSuggestion) XXX_Size() int

func (*Intent_Message_LinkOutSuggestion) XXX_Unmarshal Uses

func (m *Intent_Message_LinkOutSuggestion) XXX_Unmarshal(b []byte) error

type Intent_Message_LinkOutSuggestion_ Uses

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

type Intent_Message_ListSelect Uses

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

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

func (*Intent_Message_ListSelect) Descriptor Uses

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

func (*Intent_Message_ListSelect) GetItems Uses

func (m *Intent_Message_ListSelect) GetItems() []*Intent_Message_ListSelect_Item

func (*Intent_Message_ListSelect) GetTitle Uses

func (m *Intent_Message_ListSelect) GetTitle() string

func (*Intent_Message_ListSelect) ProtoMessage Uses

func (*Intent_Message_ListSelect) ProtoMessage()

func (*Intent_Message_ListSelect) Reset Uses

func (m *Intent_Message_ListSelect) Reset()

func (*Intent_Message_ListSelect) String Uses

func (m *Intent_Message_ListSelect) String() string

func (*Intent_Message_ListSelect) XXX_DiscardUnknown Uses

func (m *Intent_Message_ListSelect) XXX_DiscardUnknown()

func (*Intent_Message_ListSelect) XXX_Marshal Uses

func (m *Intent_Message_ListSelect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_ListSelect) XXX_Merge Uses

func (dst *Intent_Message_ListSelect) XXX_Merge(src proto.Message)

func (*Intent_Message_ListSelect) XXX_Size Uses

func (m *Intent_Message_ListSelect) XXX_Size() int

func (*Intent_Message_ListSelect) XXX_Unmarshal Uses

func (m *Intent_Message_ListSelect) XXX_Unmarshal(b []byte) error

type Intent_Message_ListSelect_ Uses

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

type Intent_Message_ListSelect_Item Uses

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

An item in the list.

func (*Intent_Message_ListSelect_Item) Descriptor Uses

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

func (*Intent_Message_ListSelect_Item) GetDescription Uses

func (m *Intent_Message_ListSelect_Item) GetDescription() string

func (*Intent_Message_ListSelect_Item) GetImage Uses

func (m *Intent_Message_ListSelect_Item) GetImage() *Intent_Message_Image

func (*Intent_Message_ListSelect_Item) GetInfo Uses

func (m *Intent_Message_ListSelect_Item) GetInfo() *Intent_Message_SelectItemInfo

func (*Intent_Message_ListSelect_Item) GetTitle Uses

func (m *Intent_Message_ListSelect_Item) GetTitle() string

func (*Intent_Message_ListSelect_Item) ProtoMessage Uses

func (*Intent_Message_ListSelect_Item) ProtoMessage()

func (*Intent_Message_ListSelect_Item) Reset Uses

func (m *Intent_Message_ListSelect_Item) Reset()

func (*Intent_Message_ListSelect_Item) String Uses

func (m *Intent_Message_ListSelect_Item) String() string

func (*Intent_Message_ListSelect_Item) XXX_DiscardUnknown Uses

func (m *Intent_Message_ListSelect_Item) XXX_DiscardUnknown()

func (*Intent_Message_ListSelect_Item) XXX_Marshal Uses

func (m *Intent_Message_ListSelect_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_ListSelect_Item) XXX_Merge Uses

func (dst *Intent_Message_ListSelect_Item) XXX_Merge(src proto.Message)

func (*Intent_Message_ListSelect_Item) XXX_Size Uses

func (m *Intent_Message_ListSelect_Item) XXX_Size() int

func (*Intent_Message_ListSelect_Item) XXX_Unmarshal Uses

func (m *Intent_Message_ListSelect_Item) XXX_Unmarshal(b []byte) error

type Intent_Message_Payload Uses

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

type Intent_Message_Platform Uses

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 Uses

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

func (Intent_Message_Platform) String Uses

func (x Intent_Message_Platform) String() string

type Intent_Message_QuickReplies Uses

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

The quick replies response message.

func (*Intent_Message_QuickReplies) Descriptor Uses

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

func (*Intent_Message_QuickReplies) GetQuickReplies Uses

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

func (*Intent_Message_QuickReplies) GetTitle Uses

func (m *Intent_Message_QuickReplies) GetTitle() string

func (*Intent_Message_QuickReplies) ProtoMessage Uses

func (*Intent_Message_QuickReplies) ProtoMessage()

func (*Intent_Message_QuickReplies) Reset Uses

func (m *Intent_Message_QuickReplies) Reset()

func (*Intent_Message_QuickReplies) String Uses

func (m *Intent_Message_QuickReplies) String() string

func (*Intent_Message_QuickReplies) XXX_DiscardUnknown Uses

func (m *Intent_Message_QuickReplies) XXX_DiscardUnknown()

func (*Intent_Message_QuickReplies) XXX_Marshal Uses

func (m *Intent_Message_QuickReplies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_QuickReplies) XXX_Merge Uses

func (dst *Intent_Message_QuickReplies) XXX_Merge(src proto.Message)

func (*Intent_Message_QuickReplies) XXX_Size Uses

func (m *Intent_Message_QuickReplies) XXX_Size() int

func (*Intent_Message_QuickReplies) XXX_Unmarshal Uses

func (m *Intent_Message_QuickReplies) XXX_Unmarshal(b []byte) error

type Intent_Message_QuickReplies_ Uses

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

type Intent_Message_SelectItemInfo Uses

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,proto3" 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,proto3" json:"synonyms,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*Intent_Message_SelectItemInfo) Descriptor Uses

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

func (*Intent_Message_SelectItemInfo) GetKey Uses

func (m *Intent_Message_SelectItemInfo) GetKey() string

func (*Intent_Message_SelectItemInfo) GetSynonyms Uses

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

func (*Intent_Message_SelectItemInfo) ProtoMessage Uses

func (*Intent_Message_SelectItemInfo) ProtoMessage()

func (*Intent_Message_SelectItemInfo) Reset Uses

func (m *Intent_Message_SelectItemInfo) Reset()

func (*Intent_Message_SelectItemInfo) String Uses

func (m *Intent_Message_SelectItemInfo) String() string

func (*Intent_Message_SelectItemInfo) XXX_DiscardUnknown Uses

func (m *Intent_Message_SelectItemInfo) XXX_DiscardUnknown()

func (*Intent_Message_SelectItemInfo) XXX_Marshal Uses

func (m *Intent_Message_SelectItemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_SelectItemInfo) XXX_Merge Uses

func (dst *Intent_Message_SelectItemInfo) XXX_Merge(src proto.Message)

func (*Intent_Message_SelectItemInfo) XXX_Size Uses

func (m *Intent_Message_SelectItemInfo) XXX_Size() int

func (*Intent_Message_SelectItemInfo) XXX_Unmarshal Uses

func (m *Intent_Message_SelectItemInfo) XXX_Unmarshal(b []byte) error

type Intent_Message_SimpleResponse Uses

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,proto3" 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,proto3" json:"ssml,omitempty"`
    // Optional. The text to display.
    DisplayText          string   `protobuf:"bytes,3,opt,name=display_text,json=displayText,proto3" json:"display_text,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

The simple response message containing speech or text.

func (*Intent_Message_SimpleResponse) Descriptor Uses

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

func (*Intent_Message_SimpleResponse) GetDisplayText Uses

func (m *Intent_Message_SimpleResponse) GetDisplayText() string

func (*Intent_Message_SimpleResponse) GetSsml Uses

func (m *Intent_Message_SimpleResponse) GetSsml() string

func (*Intent_Message_SimpleResponse) GetTextToSpeech Uses

func (m *Intent_Message_SimpleResponse) GetTextToSpeech() string

func (*Intent_Message_SimpleResponse) ProtoMessage Uses

func (*Intent_Message_SimpleResponse) ProtoMessage()

func (*Intent_Message_SimpleResponse) Reset Uses

func (m *Intent_Message_SimpleResponse) Reset()

func (*Intent_Message_SimpleResponse) String Uses

func (m *Intent_Message_SimpleResponse) String() string

func (*Intent_Message_SimpleResponse) XXX_DiscardUnknown Uses

func (m *Intent_Message_SimpleResponse) XXX_DiscardUnknown()

func (*Intent_Message_SimpleResponse) XXX_Marshal Uses

func (m *Intent_Message_SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_SimpleResponse) XXX_Merge Uses

func (dst *Intent_Message_SimpleResponse) XXX_Merge(src proto.Message)

func (*Intent_Message_SimpleResponse) XXX_Size Uses

func (m *Intent_Message_SimpleResponse) XXX_Size() int

func (*Intent_Message_SimpleResponse) XXX_Unmarshal Uses

func (m *Intent_Message_SimpleResponse) XXX_Unmarshal(b []byte) error

type Intent_Message_SimpleResponses Uses

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

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 Uses

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

func (*Intent_Message_SimpleResponses) GetSimpleResponses Uses

func (m *Intent_Message_SimpleResponses) GetSimpleResponses() []*Intent_Message_SimpleResponse

func (*Intent_Message_SimpleResponses) ProtoMessage Uses

func (*Intent_Message_SimpleResponses) ProtoMessage()

func (*Intent_Message_SimpleResponses) Reset Uses

func (m *Intent_Message_SimpleResponses) Reset()

func (*Intent_Message_SimpleResponses) String Uses

func (m *Intent_Message_SimpleResponses) String() string

func (*Intent_Message_SimpleResponses) XXX_DiscardUnknown Uses

func (m *Intent_Message_SimpleResponses) XXX_DiscardUnknown()

func (*Intent_Message_SimpleResponses) XXX_Marshal Uses

func (m *Intent_Message_SimpleResponses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_SimpleResponses) XXX_Merge Uses

func (dst *Intent_Message_SimpleResponses) XXX_Merge(src proto.Message)

func (*Intent_Message_SimpleResponses) XXX_Size Uses

func (m *Intent_Message_SimpleResponses) XXX_Size() int

func (*Intent_Message_SimpleResponses) XXX_Unmarshal Uses

func (m *Intent_Message_SimpleResponses) XXX_Unmarshal(b []byte) error

type Intent_Message_SimpleResponses_ Uses

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

type Intent_Message_Suggestion Uses

type Intent_Message_Suggestion struct {
    // Required. The text shown the in the suggestion chip.
    Title                string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

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

func (*Intent_Message_Suggestion) Descriptor Uses

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

func (*Intent_Message_Suggestion) GetTitle Uses

func (m *Intent_Message_Suggestion) GetTitle() string

func (*Intent_Message_Suggestion) ProtoMessage Uses

func (*Intent_Message_Suggestion) ProtoMessage()

func (*Intent_Message_Suggestion) Reset Uses

func (m *Intent_Message_Suggestion) Reset()

func (*Intent_Message_Suggestion) String Uses

func (m *Intent_Message_Suggestion) String() string

func (*Intent_Message_Suggestion) XXX_DiscardUnknown Uses

func (m *Intent_Message_Suggestion) XXX_DiscardUnknown()

func (*Intent_Message_Suggestion) XXX_Marshal Uses

func (m *Intent_Message_Suggestion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_Suggestion) XXX_Merge Uses

func (dst *Intent_Message_Suggestion) XXX_Merge(src proto.Message)

func (*Intent_Message_Suggestion) XXX_Size Uses

func (m *Intent_Message_Suggestion) XXX_Size() int

func (*Intent_Message_Suggestion) XXX_Unmarshal Uses

func (m *Intent_Message_Suggestion) XXX_Unmarshal(b []byte) error

type Intent_Message_Suggestions Uses

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

The collection of suggestions.

func (*Intent_Message_Suggestions) Descriptor Uses

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

func (*Intent_Message_Suggestions) GetSuggestions Uses

func (m *Intent_Message_Suggestions) GetSuggestions() []*Intent_Message_Suggestion

func (*Intent_Message_Suggestions) ProtoMessage Uses

func (*Intent_Message_Suggestions) ProtoMessage()

func (*Intent_Message_Suggestions) Reset Uses

func (m *Intent_Message_Suggestions) Reset()

func (*Intent_Message_Suggestions) String Uses

func (m *Intent_Message_Suggestions) String() string

func (*Intent_Message_Suggestions) XXX_DiscardUnknown Uses

func (m *Intent_Message_Suggestions) XXX_DiscardUnknown()

func (*Intent_Message_Suggestions) XXX_Marshal Uses

func (m *Intent_Message_Suggestions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_Suggestions) XXX_Merge Uses

func (dst *Intent_Message_Suggestions) XXX_Merge(src proto.Message)

func (*Intent_Message_Suggestions) XXX_Size Uses

func (m *Intent_Message_Suggestions) XXX_Size() int

func (*Intent_Message_Suggestions) XXX_Unmarshal Uses

func (m *Intent_Message_Suggestions) XXX_Unmarshal(b []byte) error

type Intent_Message_Suggestions_ Uses

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

type Intent_Message_Text Uses

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

The text response message.

func (*Intent_Message_Text) Descriptor Uses

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

func (*Intent_Message_Text) GetText Uses

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

func (*Intent_Message_Text) ProtoMessage Uses

func (*Intent_Message_Text) ProtoMessage()

func (*Intent_Message_Text) Reset Uses

func (m *Intent_Message_Text) Reset()

func (*Intent_Message_Text) String Uses

func (m *Intent_Message_Text) String() string

func (*Intent_Message_Text) XXX_DiscardUnknown Uses

func (m *Intent_Message_Text) XXX_DiscardUnknown()

func (*Intent_Message_Text) XXX_Marshal Uses

func (m *Intent_Message_Text) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Intent_Message_Text) XXX_Merge Uses

func (dst *Intent_Message_Text) XXX_Merge(src proto.Message)

func (*Intent_Message_Text) XXX_Size Uses

func (m *Intent_Message_Text) XXX_Size() int

func (*Intent_Message_Text) XXX_Unmarshal Uses

func (m *Intent_Message_Text) XXX_Unmarshal(b []byte) error

type Intent_Message_Text_ Uses

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

type Intent_Parameter Uses

type Intent_Parameter struct {
    // The unique identifier of this parameter.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // Required. The name of the parameter.
    DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" 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,proto3" 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,proto3" 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,proto3" 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,proto3" 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,proto3" json:"prompts,omitempty"`
    // Optional. Indicates whether the parameter represents a list of values.
    IsList               bool     `protobuf:"varint,8,opt,name=is_list,json=isList,proto3" json:"is_list,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Represents intent parameters.

func (*Intent_Parameter) Descriptor Uses

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

func (*Intent_Parameter) GetDefaultValue Uses

func (m *Intent_Parameter) GetDefaultValue() string

func (*Intent_Parameter) GetDisplayName Uses

func (m *Intent_Parameter) GetDisplayName() string

func (*Intent_Parameter) GetEntityTypeDisplayName Uses

func (m *Intent_Parameter) GetEntityTypeDisplayName() string

func (*Intent_Parameter) GetIsList Uses

func (m *Intent_Parameter) GetIsList() bool

func (*Intent_Parameter) GetMandatory Uses

func (m *Intent_Parameter) GetMandatory() bool

func (*Intent_Parameter) GetName Uses

func (m *Intent_Parameter) GetName() string

func (*Intent_Parameter) GetPrompts Uses

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

func (*Intent_Parameter) GetValue Uses

func (m *Intent_Parameter) GetValue() string

func (*Intent_Parameter) ProtoMessage Uses

func (*Intent_Parameter) ProtoMessage()

func (*Intent_Parameter) Reset