workflows

package
v1.7.23 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_commons_workflows_entities_proto protoreflect.FileDescriptor
View Source
var File_api_commons_workflows_example_proto protoreflect.FileDescriptor
View Source
var File_api_commons_workflows_nodes_proto protoreflect.FileDescriptor
View Source
var File_api_commons_workflows_omni_bot_proto protoreflect.FileDescriptor
View Source
var File_api_commons_workflows_omni_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ChatbotDocument

type ChatbotDocument struct {
	InMessage  string `protobuf:"bytes,1,opt,name=in_message,json=inMessage,proto3" json:"in_message,omitempty"`
	OutMessage string `protobuf:"bytes,2,opt,name=out_message,json=outMessage,proto3" json:"out_message,omitempty"`
	Error      string `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatbotDocument) Descriptor deprecated

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

Deprecated: Use ChatbotDocument.ProtoReflect.Descriptor instead.

func (*ChatbotDocument) GetError

func (x *ChatbotDocument) GetError() string

func (*ChatbotDocument) GetInMessage

func (x *ChatbotDocument) GetInMessage() string

func (*ChatbotDocument) GetOutMessage

func (x *ChatbotDocument) GetOutMessage() string

func (*ChatbotDocument) ProtoMessage

func (*ChatbotDocument) ProtoMessage()

func (*ChatbotDocument) ProtoReflect

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

func (*ChatbotDocument) Reset

func (x *ChatbotDocument) Reset()

func (*ChatbotDocument) String

func (x *ChatbotDocument) String() string

type DiceDocument

type DiceDocument struct {
	DiceValue    int32             `protobuf:"varint,1,opt,name=dice_value,json=diceValue,proto3" json:"dice_value,omitempty"`
	DiceValueMax int32             `protobuf:"varint,2,opt,name=dice_value_max,json=diceValueMax,proto3" json:"dice_value_max,omitempty"`
	DiceValueMin int32             `protobuf:"varint,3,opt,name=dice_value_min,json=diceValueMin,proto3" json:"dice_value_min,omitempty"`
	LastMessage  string            `protobuf:"bytes,4,opt,name=last_message,json=lastMessage,proto3" json:"last_message,omitempty"`
	Variables    map[string]string `` /* 159-byte string literal not displayed */
	Error        string            `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*DiceDocument) Descriptor deprecated

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

Deprecated: Use DiceDocument.ProtoReflect.Descriptor instead.

func (*DiceDocument) GetDiceValue

func (x *DiceDocument) GetDiceValue() int32

func (*DiceDocument) GetDiceValueMax

func (x *DiceDocument) GetDiceValueMax() int32

func (*DiceDocument) GetDiceValueMin

func (x *DiceDocument) GetDiceValueMin() int32

func (*DiceDocument) GetError

func (x *DiceDocument) GetError() string

func (*DiceDocument) GetLastMessage

func (x *DiceDocument) GetLastMessage() string

func (*DiceDocument) GetVariables

func (x *DiceDocument) GetVariables() map[string]string

func (*DiceDocument) ProtoMessage

func (*DiceDocument) ProtoMessage()

func (*DiceDocument) ProtoReflect

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

func (*DiceDocument) Reset

func (x *DiceDocument) Reset()

func (*DiceDocument) String

func (x *DiceDocument) String() string

type Envelope

type Envelope struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Envelope) Descriptor deprecated

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

Deprecated: Use Envelope.ProtoReflect.Descriptor instead.

func (*Envelope) GetId

func (x *Envelope) GetId() string

func (*Envelope) GetOrgId

func (x *Envelope) GetOrgId() string

func (*Envelope) ProtoMessage

func (*Envelope) ProtoMessage()

func (*Envelope) ProtoReflect

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

func (*Envelope) Reset

func (x *Envelope) Reset()

func (*Envelope) String

func (x *Envelope) String() string

type FlowDefinition

type FlowDefinition struct {
	Id          string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string            `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	EntryNodeId string            `protobuf:"bytes,4,opt,name=entry_node_id,json=entryNodeId,proto3" json:"entry_node_id,omitempty"`
	OrgId       string            `protobuf:"bytes,5,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Nodes       []*NodeDefinition `protobuf:"bytes,10,rep,name=nodes,proto3" json:"nodes,omitempty"`
	ErrorNodeId string            `protobuf:"bytes,11,opt,name=error_node_id,json=errorNodeId,proto3" json:"error_node_id,omitempty"`
	// contains filtered or unexported fields
}

The overarching object that defines a flow

func (*FlowDefinition) Descriptor deprecated

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

Deprecated: Use FlowDefinition.ProtoReflect.Descriptor instead.

func (*FlowDefinition) GetDescription

func (x *FlowDefinition) GetDescription() string

func (*FlowDefinition) GetEntryNodeId

func (x *FlowDefinition) GetEntryNodeId() string

func (*FlowDefinition) GetErrorNodeId

func (x *FlowDefinition) GetErrorNodeId() string

func (*FlowDefinition) GetId

func (x *FlowDefinition) GetId() string

func (*FlowDefinition) GetName

func (x *FlowDefinition) GetName() string

func (*FlowDefinition) GetNodes

func (x *FlowDefinition) GetNodes() []*NodeDefinition

func (*FlowDefinition) GetOrgId added in v1.7.21

func (x *FlowDefinition) GetOrgId() string

func (*FlowDefinition) ProtoMessage

func (*FlowDefinition) ProtoMessage()

func (*FlowDefinition) ProtoReflect

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

func (*FlowDefinition) Reset

func (x *FlowDefinition) Reset()

func (*FlowDefinition) String

func (x *FlowDefinition) String() string

type FlowState

type FlowState struct {
	Envelope *Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
	State    *State    `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	Payload  *Payload  `protobuf:"bytes,100,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*FlowState) Descriptor deprecated

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

Deprecated: Use FlowState.ProtoReflect.Descriptor instead.

func (*FlowState) GetEnvelope

func (x *FlowState) GetEnvelope() *Envelope

func (*FlowState) GetPayload

func (x *FlowState) GetPayload() *Payload

func (*FlowState) GetState

func (x *FlowState) GetState() *State

func (*FlowState) ProtoMessage

func (*FlowState) ProtoMessage()

func (*FlowState) ProtoReflect

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

func (*FlowState) Reset

func (x *FlowState) Reset()

func (*FlowState) String

func (x *FlowState) String() string

type Message

type Message struct {

	// Types that are assignable to Payload:
	//
	//	*Message_Text
	Payload isMessage_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetPayload

func (m *Message) GetPayload() isMessage_Payload

func (*Message) GetText

func (x *Message) GetText() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type Message_Text

type Message_Text struct {
	Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}

type NodeChatbot

type NodeChatbot struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeChatbot) Descriptor deprecated

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

Deprecated: Use NodeChatbot.ProtoReflect.Descriptor instead.

func (*NodeChatbot) GetMessage

func (x *NodeChatbot) GetMessage() string

func (*NodeChatbot) ProtoMessage

func (*NodeChatbot) ProtoMessage()

func (*NodeChatbot) ProtoReflect

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

func (*NodeChatbot) Reset

func (x *NodeChatbot) Reset()

func (*NodeChatbot) String

func (x *NodeChatbot) String() string

type NodeComparator

type NodeComparator struct {
	FirstField  string `protobuf:"bytes,1,opt,name=first_field,json=firstField,proto3" json:"first_field,omitempty"`
	SecondField string `protobuf:"bytes,2,opt,name=second_field,json=secondField,proto3" json:"second_field,omitempty"`
	// contains filtered or unexported fields
}

comparator has 3 outputs: smaller, equal, greater the fields are evaluated using JSONata

func (*NodeComparator) Descriptor deprecated

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

Deprecated: Use NodeComparator.ProtoReflect.Descriptor instead.

func (*NodeComparator) GetFirstField

func (x *NodeComparator) GetFirstField() string

func (*NodeComparator) GetSecondField

func (x *NodeComparator) GetSecondField() string

func (*NodeComparator) ProtoMessage

func (*NodeComparator) ProtoMessage()

func (*NodeComparator) ProtoReflect

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

func (*NodeComparator) Reset

func (x *NodeComparator) Reset()

func (*NodeComparator) String

func (x *NodeComparator) String() string

type NodeConsoleInput

type NodeConsoleInput struct {
	Prompt string `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"`
	// contains filtered or unexported fields
}

input has 1 output reads input from the console

func (*NodeConsoleInput) Descriptor deprecated

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

Deprecated: Use NodeConsoleInput.ProtoReflect.Descriptor instead.

func (*NodeConsoleInput) GetPrompt

func (x *NodeConsoleInput) GetPrompt() string

func (*NodeConsoleInput) ProtoMessage

func (*NodeConsoleInput) ProtoMessage()

func (*NodeConsoleInput) ProtoReflect

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

func (*NodeConsoleInput) Reset

func (x *NodeConsoleInput) Reset()

func (*NodeConsoleInput) String

func (x *NodeConsoleInput) String() string

type NodeDefinition

type NodeDefinition struct {

	// common fields for a node
	Id          string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description string   `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Outputs     []string `protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs,omitempty"`
	ErrorNodeId string   `protobuf:"bytes,6,opt,name=error_node_id,json=errorNodeId,proto3" json:"error_node_id,omitempty"`
	// specific node definition
	//
	// Types that are assignable to Definition:
	//
	//	*NodeDefinition_Print
	//	*NodeDefinition_Random
	//	*NodeDefinition_ConsoleInput
	//	*NodeDefinition_Comparator
	//	*NodeDefinition_StoreInput
	//	*NodeDefinition_Chatbot
	//	*NodeDefinition_OmniPrompt
	//	*NodeDefinition_OmniSetSkill
	//	*NodeDefinition_OmniToAgent
	//	*NodeDefinition_OmniError
	//	*NodeDefinition_OmniBotTestStart
	//	*NodeDefinition_OmniBotTestStep
	//	*NodeDefinition_OmniBotTestEnd
	Definition isNodeDefinition_Definition `protobuf_oneof:"definition"`
	// contains filtered or unexported fields
}

A node is a single step in a flow

func (*NodeDefinition) Descriptor deprecated

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

Deprecated: Use NodeDefinition.ProtoReflect.Descriptor instead.

func (*NodeDefinition) GetChatbot

func (x *NodeDefinition) GetChatbot() *NodeChatbot

func (*NodeDefinition) GetComparator

func (x *NodeDefinition) GetComparator() *NodeComparator

func (*NodeDefinition) GetConsoleInput

func (x *NodeDefinition) GetConsoleInput() *NodeConsoleInput

func (*NodeDefinition) GetDefinition

func (m *NodeDefinition) GetDefinition() isNodeDefinition_Definition

func (*NodeDefinition) GetDescription

func (x *NodeDefinition) GetDescription() string

func (*NodeDefinition) GetErrorNodeId

func (x *NodeDefinition) GetErrorNodeId() string

func (*NodeDefinition) GetId

func (x *NodeDefinition) GetId() string

func (*NodeDefinition) GetName

func (x *NodeDefinition) GetName() string

func (*NodeDefinition) GetOmniBotTestEnd added in v1.7.21

func (x *NodeDefinition) GetOmniBotTestEnd() *OmniBotNodeTestEnd

func (*NodeDefinition) GetOmniBotTestStart added in v1.7.21

func (x *NodeDefinition) GetOmniBotTestStart() *OmniBotNodeTestStart

func (*NodeDefinition) GetOmniBotTestStep added in v1.7.21

func (x *NodeDefinition) GetOmniBotTestStep() *OmniBotNodeTestStep

func (*NodeDefinition) GetOmniError

func (x *NodeDefinition) GetOmniError() *OmniNodeError

func (*NodeDefinition) GetOmniPrompt

func (x *NodeDefinition) GetOmniPrompt() *OmniNodePrompt

func (*NodeDefinition) GetOmniSetSkill

func (x *NodeDefinition) GetOmniSetSkill() *OmniNodeSetSkill

func (*NodeDefinition) GetOmniToAgent

func (x *NodeDefinition) GetOmniToAgent() *OmniNodeToAgent

func (*NodeDefinition) GetOutputs

func (x *NodeDefinition) GetOutputs() []string

func (*NodeDefinition) GetPrint

func (x *NodeDefinition) GetPrint() *NodePrint

func (*NodeDefinition) GetRandom

func (x *NodeDefinition) GetRandom() *NodeRandom

func (*NodeDefinition) GetStoreInput

func (x *NodeDefinition) GetStoreInput() *NodeStoreInput

func (*NodeDefinition) ProtoMessage

func (*NodeDefinition) ProtoMessage()

func (*NodeDefinition) ProtoReflect

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

func (*NodeDefinition) Reset

func (x *NodeDefinition) Reset()

func (*NodeDefinition) String

func (x *NodeDefinition) String() string

type NodeDefinition_Chatbot

type NodeDefinition_Chatbot struct {
	Chatbot *NodeChatbot `protobuf:"bytes,1000,opt,name=chatbot,proto3,oneof"`
}

type NodeDefinition_Comparator

type NodeDefinition_Comparator struct {
	Comparator *NodeComparator `protobuf:"bytes,104,opt,name=comparator,proto3,oneof"`
}

type NodeDefinition_ConsoleInput

type NodeDefinition_ConsoleInput struct {
	ConsoleInput *NodeConsoleInput `protobuf:"bytes,103,opt,name=console_input,json=consoleInput,proto3,oneof"`
}

type NodeDefinition_OmniBotTestEnd added in v1.7.21

type NodeDefinition_OmniBotTestEnd struct {
	OmniBotTestEnd *OmniBotNodeTestEnd `protobuf:"bytes,303,opt,name=omni_bot_test_end,json=omniBotTestEnd,proto3,oneof"`
}

type NodeDefinition_OmniBotTestStart added in v1.7.21

type NodeDefinition_OmniBotTestStart struct {
	OmniBotTestStart *OmniBotNodeTestStart `protobuf:"bytes,301,opt,name=omni_bot_test_start,json=omniBotTestStart,proto3,oneof"`
}

type NodeDefinition_OmniBotTestStep added in v1.7.21

type NodeDefinition_OmniBotTestStep struct {
	OmniBotTestStep *OmniBotNodeTestStep `protobuf:"bytes,302,opt,name=omni_bot_test_step,json=omniBotTestStep,proto3,oneof"`
}

type NodeDefinition_OmniError

type NodeDefinition_OmniError struct {
	OmniError *OmniNodeError `protobuf:"bytes,204,opt,name=omni_error,json=omniError,proto3,oneof"`
}

type NodeDefinition_OmniPrompt

type NodeDefinition_OmniPrompt struct {
	OmniPrompt *OmniNodePrompt `protobuf:"bytes,201,opt,name=omni_prompt,json=omniPrompt,proto3,oneof"`
}

type NodeDefinition_OmniSetSkill

type NodeDefinition_OmniSetSkill struct {
	OmniSetSkill *OmniNodeSetSkill `protobuf:"bytes,202,opt,name=omni_set_skill,json=omniSetSkill,proto3,oneof"`
}

type NodeDefinition_OmniToAgent

type NodeDefinition_OmniToAgent struct {
	OmniToAgent *OmniNodeToAgent `protobuf:"bytes,203,opt,name=omni_to_agent,json=omniToAgent,proto3,oneof"`
}

type NodeDefinition_Print

type NodeDefinition_Print struct {
	Print *NodePrint `protobuf:"bytes,101,opt,name=print,proto3,oneof"`
}

type NodeDefinition_Random

type NodeDefinition_Random struct {
	Random *NodeRandom `protobuf:"bytes,102,opt,name=random,proto3,oneof"`
}

type NodeDefinition_StoreInput

type NodeDefinition_StoreInput struct {
	StoreInput *NodeStoreInput `protobuf:"bytes,105,opt,name=store_input,json=storeInput,proto3,oneof"`
}

type NodePrint

type NodePrint struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*NodePrint) Descriptor deprecated

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

Deprecated: Use NodePrint.ProtoReflect.Descriptor instead.

func (*NodePrint) GetMessage

func (x *NodePrint) GetMessage() string

func (*NodePrint) ProtoMessage

func (*NodePrint) ProtoMessage()

func (*NodePrint) ProtoReflect

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

func (*NodePrint) Reset

func (x *NodePrint) Reset()

func (*NodePrint) String

func (x *NodePrint) String() string

type NodeRandom

type NodeRandom struct {
	Min          int32 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"`
	Max          int32 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
	SingleOutput bool  `protobuf:"varint,3,opt,name=single_output,json=singleOutput,proto3" json:"single_output,omitempty"`
	// contains filtered or unexported fields
}

sets the diceValue property to a random number between min and max

func (*NodeRandom) Descriptor deprecated

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

Deprecated: Use NodeRandom.ProtoReflect.Descriptor instead.

func (*NodeRandom) GetMax

func (x *NodeRandom) GetMax() int32

func (*NodeRandom) GetMin

func (x *NodeRandom) GetMin() int32

func (*NodeRandom) GetSingleOutput

func (x *NodeRandom) GetSingleOutput() bool

func (*NodeRandom) ProtoMessage

func (*NodeRandom) ProtoMessage()

func (*NodeRandom) ProtoReflect

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

func (*NodeRandom) Reset

func (x *NodeRandom) Reset()

func (*NodeRandom) String

func (x *NodeRandom) String() string

type NodeStoreInput

type NodeStoreInput struct {
	StoreTo string `protobuf:"bytes,1,opt,name=store_to,json=storeTo,proto3" json:"store_to,omitempty"`
	// contains filtered or unexported fields
}

store input node stores the text payload of the message in the variable named by store_to

func (*NodeStoreInput) Descriptor deprecated

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

Deprecated: Use NodeStoreInput.ProtoReflect.Descriptor instead.

func (*NodeStoreInput) GetStoreTo

func (x *NodeStoreInput) GetStoreTo() string

func (*NodeStoreInput) ProtoMessage

func (*NodeStoreInput) ProtoMessage()

func (*NodeStoreInput) ProtoReflect

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

func (*NodeStoreInput) Reset

func (x *NodeStoreInput) Reset()

func (*NodeStoreInput) String

func (x *NodeStoreInput) String() string

type OmniBotNodeTestEnd added in v1.7.21

type OmniBotNodeTestEnd struct {

	// Optional. Error message if the test failed.
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

OmniBotNodeTestEnd represents an omni-bot end-of-test node.

func (*OmniBotNodeTestEnd) Descriptor deprecated added in v1.7.21

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

Deprecated: Use OmniBotNodeTestEnd.ProtoReflect.Descriptor instead.

func (*OmniBotNodeTestEnd) GetError added in v1.7.21

func (x *OmniBotNodeTestEnd) GetError() string

func (*OmniBotNodeTestEnd) ProtoMessage added in v1.7.21

func (*OmniBotNodeTestEnd) ProtoMessage()

func (*OmniBotNodeTestEnd) ProtoReflect added in v1.7.21

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

func (*OmniBotNodeTestEnd) Reset added in v1.7.21

func (x *OmniBotNodeTestEnd) Reset()

func (*OmniBotNodeTestEnd) String added in v1.7.21

func (x *OmniBotNodeTestEnd) String() string

type OmniBotNodeTestStart added in v1.7.21

type OmniBotNodeTestStart struct {

	// Optional. Startup data to be used by the test.
	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

OmniBotNodeTestStart represents an omni-bot start-of-test node.

func (*OmniBotNodeTestStart) Descriptor deprecated added in v1.7.21

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

Deprecated: Use OmniBotNodeTestStart.ProtoReflect.Descriptor instead.

func (*OmniBotNodeTestStart) GetData added in v1.7.21

func (x *OmniBotNodeTestStart) GetData() string

func (*OmniBotNodeTestStart) ProtoMessage added in v1.7.21

func (*OmniBotNodeTestStart) ProtoMessage()

func (*OmniBotNodeTestStart) ProtoReflect added in v1.7.21

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

func (*OmniBotNodeTestStart) Reset added in v1.7.21

func (x *OmniBotNodeTestStart) Reset()

func (*OmniBotNodeTestStart) String added in v1.7.21

func (x *OmniBotNodeTestStart) String() string

type OmniBotNodeTestStep added in v1.7.21

type OmniBotNodeTestStep struct {

	// Required. Data to be used by the test.
	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

OmniBotNodeTestStep represents an omni-bot test-step node.

func (*OmniBotNodeTestStep) Descriptor deprecated added in v1.7.21

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

Deprecated: Use OmniBotNodeTestStep.ProtoReflect.Descriptor instead.

func (*OmniBotNodeTestStep) GetData added in v1.7.21

func (x *OmniBotNodeTestStep) GetData() string

func (*OmniBotNodeTestStep) ProtoMessage added in v1.7.21

func (*OmniBotNodeTestStep) ProtoMessage()

func (*OmniBotNodeTestStep) ProtoReflect added in v1.7.21

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

func (*OmniBotNodeTestStep) Reset added in v1.7.21

func (x *OmniBotNodeTestStep) Reset()

func (*OmniBotNodeTestStep) String added in v1.7.21

func (x *OmniBotNodeTestStep) String() string

type OmniNodeError

type OmniNodeError struct {
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*OmniNodeError) Descriptor deprecated

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

Deprecated: Use OmniNodeError.ProtoReflect.Descriptor instead.

func (*OmniNodeError) GetError

func (x *OmniNodeError) GetError() string

func (*OmniNodeError) ProtoMessage

func (*OmniNodeError) ProtoMessage()

func (*OmniNodeError) ProtoReflect

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

func (*OmniNodeError) Reset

func (x *OmniNodeError) Reset()

func (*OmniNodeError) String

func (x *OmniNodeError) String() string

type OmniNodePrompt

type OmniNodePrompt struct {
	Prompt  string   `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"`
	StoreTo string   `protobuf:"bytes,2,opt,name=store_to,json=storeTo,proto3" json:"store_to,omitempty"`
	Options []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*OmniNodePrompt) Descriptor deprecated

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

Deprecated: Use OmniNodePrompt.ProtoReflect.Descriptor instead.

func (*OmniNodePrompt) GetOptions

func (x *OmniNodePrompt) GetOptions() []string

func (*OmniNodePrompt) GetPrompt

func (x *OmniNodePrompt) GetPrompt() string

func (*OmniNodePrompt) GetStoreTo

func (x *OmniNodePrompt) GetStoreTo() string

func (*OmniNodePrompt) ProtoMessage

func (*OmniNodePrompt) ProtoMessage()

func (*OmniNodePrompt) ProtoReflect

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

func (*OmniNodePrompt) Reset

func (x *OmniNodePrompt) Reset()

func (*OmniNodePrompt) String

func (x *OmniNodePrompt) String() string

type OmniNodeSetSkill

type OmniNodeSetSkill struct {
	Skill string `protobuf:"bytes,1,opt,name=skill,proto3" json:"skill,omitempty"`
	// contains filtered or unexported fields
}

func (*OmniNodeSetSkill) Descriptor deprecated

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

Deprecated: Use OmniNodeSetSkill.ProtoReflect.Descriptor instead.

func (*OmniNodeSetSkill) GetSkill

func (x *OmniNodeSetSkill) GetSkill() string

func (*OmniNodeSetSkill) ProtoMessage

func (*OmniNodeSetSkill) ProtoMessage()

func (*OmniNodeSetSkill) ProtoReflect

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

func (*OmniNodeSetSkill) Reset

func (x *OmniNodeSetSkill) Reset()

func (*OmniNodeSetSkill) String

func (x *OmniNodeSetSkill) String() string

type OmniNodeToAgent

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

func (*OmniNodeToAgent) Descriptor deprecated

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

Deprecated: Use OmniNodeToAgent.ProtoReflect.Descriptor instead.

func (*OmniNodeToAgent) ProtoMessage

func (*OmniNodeToAgent) ProtoMessage()

func (*OmniNodeToAgent) ProtoReflect

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

func (*OmniNodeToAgent) Reset

func (x *OmniNodeToAgent) Reset()

func (*OmniNodeToAgent) String

func (x *OmniNodeToAgent) String() string

type Payload

type Payload struct {
	Data  string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*Payload) Descriptor deprecated

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

Deprecated: Use Payload.ProtoReflect.Descriptor instead.

func (*Payload) GetData

func (x *Payload) GetData() string

func (*Payload) GetError

func (x *Payload) GetError() string

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) ProtoReflect

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

func (*Payload) Reset

func (x *Payload) Reset()

func (*Payload) String

func (x *Payload) String() string

type State

type State struct {
	FlowDone    bool   `protobuf:"varint,1,opt,name=flow_done,json=flowDone,proto3" json:"flow_done,omitempty"`
	FlowId      string `protobuf:"bytes,2,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"`
	CurrentNode string `protobuf:"bytes,3,opt,name=current_node,json=currentNode,proto3" json:"current_node,omitempty"`
	Error       string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*State) Descriptor deprecated

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

Deprecated: Use State.ProtoReflect.Descriptor instead.

func (*State) GetCurrentNode

func (x *State) GetCurrentNode() string

func (*State) GetError

func (x *State) GetError() string

func (*State) GetFlowDone

func (x *State) GetFlowDone() bool

func (*State) GetFlowId

func (x *State) GetFlowId() string

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) ProtoReflect

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

func (*State) Reset

func (x *State) Reset()

func (*State) String

func (x *State) String() string

Jump to

Keyboard shortcuts

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