Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterConversationServiceServer(s grpc.ServiceRegistrar, srv ConversationServiceServer)
- type ConversationServiceClient
- type ConversationServiceServer
- type ConversationService_ConverseClient
- type ConversationService_ConverseServer
- type DiscoveryRequest
- type DiscoveryResponse
- func (*DiscoveryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoveryResponse) GetGenerators() []*DiscoveryResponse_Generator
- func (*DiscoveryResponse) ProtoMessage()
- func (x *DiscoveryResponse) ProtoReflect() protoreflect.Message
- func (x *DiscoveryResponse) Reset()
- func (x *DiscoveryResponse) String() string
- type DiscoveryResponse_Generator
- func (*DiscoveryResponse_Generator) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoveryResponse_Generator) GetDescription() string
- func (x *DiscoveryResponse_Generator) GetEndpoint() string
- func (x *DiscoveryResponse_Generator) GetIconUrl() string
- func (x *DiscoveryResponse_Generator) GetId() string
- func (x *DiscoveryResponse_Generator) GetTitle() string
- func (*DiscoveryResponse_Generator) ProtoMessage()
- func (x *DiscoveryResponse_Generator) ProtoReflect() protoreflect.Message
- func (x *DiscoveryResponse_Generator) Reset()
- func (x *DiscoveryResponse_Generator) String() string
- type Empty
- type SystemOutput
- func (*SystemOutput) Descriptor() ([]byte, []int)deprecated
- func (x *SystemOutput) GetActionId() string
- func (x *SystemOutput) GetConfirm() *SystemOutput_Confirm
- func (x *SystemOutput) GetDownloadFiles() *SystemOutput_DownloadFiles
- func (m *SystemOutput) GetEntry() isSystemOutput_Entry
- func (x *SystemOutput) GetFromMsgId() uint32
- func (x *SystemOutput) GetImageWithText() *SystemOutput_ImageWithText
- func (x *SystemOutput) GetListSelect() *SystemOutput_ListSelect
- func (x *SystemOutput) GetLoading() *SystemOutput_Loading
- func (x *SystemOutput) GetMessage() *SystemOutput_Message
- func (x *SystemOutput) GetMsgId() uint32
- func (x *SystemOutput) GetState() string
- func (x *SystemOutput) GetStateSignature() []byte
- func (x *SystemOutput) GetTextInput() *SystemOutput_TextInput
- func (*SystemOutput) ProtoMessage()
- func (x *SystemOutput) ProtoReflect() protoreflect.Message
- func (x *SystemOutput) Reset()
- func (x *SystemOutput) String() string
- type SystemOutput_Confirm
- func (*SystemOutput_Confirm) Descriptor() ([]byte, []int)deprecated
- func (x *SystemOutput_Confirm) GetAcceptButtonLabel() string
- func (x *SystemOutput_Confirm) GetDeclineButtonLabel() string
- func (x *SystemOutput_Confirm) GetDefaultButton() SystemOutput_Confirm_Button
- func (x *SystemOutput_Confirm) GetDescription() string
- func (x *SystemOutput_Confirm) GetPrompt() string
- func (*SystemOutput_Confirm) ProtoMessage()
- func (x *SystemOutput_Confirm) ProtoReflect() protoreflect.Message
- func (x *SystemOutput_Confirm) Reset()
- func (x *SystemOutput_Confirm) String() string
- type SystemOutput_Confirm_
- type SystemOutput_Confirm_Button
- func (SystemOutput_Confirm_Button) Descriptor() protoreflect.EnumDescriptor
- func (x SystemOutput_Confirm_Button) Enum() *SystemOutput_Confirm_Button
- func (SystemOutput_Confirm_Button) EnumDescriptor() ([]byte, []int)deprecated
- func (x SystemOutput_Confirm_Button) Number() protoreflect.EnumNumber
- func (x SystemOutput_Confirm_Button) String() string
- func (SystemOutput_Confirm_Button) Type() protoreflect.EnumType
- type SystemOutput_DownloadFile
- func (*SystemOutput_DownloadFile) Descriptor() ([]byte, []int)deprecated
- func (x *SystemOutput_DownloadFile) GetContent() []byte
- func (x *SystemOutput_DownloadFile) GetDescription() string
- func (x *SystemOutput_DownloadFile) GetFilename() string
- func (x *SystemOutput_DownloadFile) GetType() string
- func (*SystemOutput_DownloadFile) ProtoMessage()
- func (x *SystemOutput_DownloadFile) ProtoReflect() protoreflect.Message
- func (x *SystemOutput_DownloadFile) Reset()
- func (x *SystemOutput_DownloadFile) String() string
- type SystemOutput_DownloadFiles
- func (*SystemOutput_DownloadFiles) Descriptor() ([]byte, []int)deprecated
- func (x *SystemOutput_DownloadFiles) GetFiles() []*SystemOutput_DownloadFile
- func (*SystemOutput_DownloadFiles) ProtoMessage()
- func (x *SystemOutput_DownloadFiles) ProtoReflect() protoreflect.Message
- func (x *SystemOutput_DownloadFiles) Reset()
- func (x *SystemOutput_DownloadFiles) String() string
- type SystemOutput_DownloadFiles_
- type SystemOutput_ImageWithText
- func (*SystemOutput_ImageWithText) Descriptor() ([]byte, []int)deprecated
- func (x *SystemOutput_ImageWithText) GetImgUrl() string
- func (x *SystemOutput_ImageWithText) GetMarkdown() string
- func (*SystemOutput_ImageWithText) ProtoMessage()
- func (x *SystemOutput_ImageWithText) ProtoReflect() protoreflect.Message
- func (x *SystemOutput_ImageWithText) Reset()
- func (x *SystemOutput_ImageWithText) String() string
- type SystemOutput_ImageWithText_
- type SystemOutput_ListSelect
- func (*SystemOutput_ListSelect) Descriptor() ([]byte, []int)deprecated
- func (x *SystemOutput_ListSelect) GetDefaultValue() string
- func (x *SystemOutput_ListSelect) GetId() string
- func (x *SystemOutput_ListSelect) GetImageUrls() []string
- func (x *SystemOutput_ListSelect) GetInstructions() string
- func (x *SystemOutput_ListSelect) GetLabels() []string
- func (x *SystemOutput_ListSelect) GetSelectButtonLabel() string
- func (x *SystemOutput_ListSelect) GetSelectMany() bool
- func (x *SystemOutput_ListSelect) GetSelectType() SystemOutput_ListSelect_SelectType
- func (x *SystemOutput_ListSelect) GetValues() []string
- func (*SystemOutput_ListSelect) ProtoMessage()
- func (x *SystemOutput_ListSelect) ProtoReflect() protoreflect.Message
- func (x *SystemOutput_ListSelect) Reset()
- func (x *SystemOutput_ListSelect) String() string
- type SystemOutput_ListSelect_
- type SystemOutput_ListSelect_SelectType
- func (SystemOutput_ListSelect_SelectType) Descriptor() protoreflect.EnumDescriptor
- func (x SystemOutput_ListSelect_SelectType) Enum() *SystemOutput_ListSelect_SelectType
- func (SystemOutput_ListSelect_SelectType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SystemOutput_ListSelect_SelectType) Number() protoreflect.EnumNumber
- func (x SystemOutput_ListSelect_SelectType) String() string
- func (SystemOutput_ListSelect_SelectType) Type() protoreflect.EnumType
- type SystemOutput_Loading
- func (*SystemOutput_Loading) Descriptor() ([]byte, []int)deprecated
- func (x *SystemOutput_Loading) GetLabel() string
- func (x *SystemOutput_Loading) GetLoading() bool
- func (*SystemOutput_Loading) ProtoMessage()
- func (x *SystemOutput_Loading) ProtoReflect() protoreflect.Message
- func (x *SystemOutput_Loading) Reset()
- func (x *SystemOutput_Loading) String() string
- type SystemOutput_Loading_
- type SystemOutput_Message
- func (*SystemOutput_Message) Descriptor() ([]byte, []int)deprecated
- func (x *SystemOutput_Message) GetMarkdown() string
- func (x *SystemOutput_Message) GetStyle() string
- func (*SystemOutput_Message) ProtoMessage()
- func (x *SystemOutput_Message) ProtoReflect() protoreflect.Message
- func (x *SystemOutput_Message) Reset()
- func (x *SystemOutput_Message) String() string
- type SystemOutput_Message_
- type SystemOutput_TextInput
- func (*SystemOutput_TextInput) Descriptor() ([]byte, []int)deprecated
- func (x *SystemOutput_TextInput) GetDefaultValue() string
- func (x *SystemOutput_TextInput) GetDescription() string
- func (x *SystemOutput_TextInput) GetMultiLine() int32
- func (x *SystemOutput_TextInput) GetPlaceholder() string
- func (x *SystemOutput_TextInput) GetPrompt() string
- func (x *SystemOutput_TextInput) GetSubmitButtonIcon() string
- func (x *SystemOutput_TextInput) GetSubmitButtonLabel() string
- func (x *SystemOutput_TextInput) GetValidationErrorMessage() string
- func (x *SystemOutput_TextInput) GetValidationRegexp() string
- func (*SystemOutput_TextInput) ProtoMessage()
- func (x *SystemOutput_TextInput) ProtoReflect() protoreflect.Message
- func (x *SystemOutput_TextInput) Reset()
- func (x *SystemOutput_TextInput) String() string
- type SystemOutput_TextInput_
- type UnimplementedConversationServiceServer
- type UnsafeConversationServiceServer
- type UserInput
- func (*UserInput) Descriptor() ([]byte, []int)deprecated
- func (x *UserInput) GetConfirmation() *UserInput_Confirmation
- func (x *UserInput) GetDownloadedFiles() *UserInput_DownloadedFiles
- func (m *UserInput) GetEntry() isUserInput_Entry
- func (x *UserInput) GetFile() *UserInput_Upload
- func (x *UserInput) GetFromActionId() string
- func (x *UserInput) GetFromMsgId() uint32
- func (x *UserInput) GetMsgId() uint32
- func (x *UserInput) GetSelection() *UserInput_Selection
- func (x *UserInput) GetStart() *UserInput_Start
- func (x *UserInput) GetTextInput() *UserInput_TextInput
- func (*UserInput) ProtoMessage()
- func (x *UserInput) ProtoReflect() protoreflect.Message
- func (x *UserInput) Reset()
- func (x *UserInput) String() string
- type UserInput_Confirmation
- func (*UserInput_Confirmation) Descriptor() ([]byte, []int)deprecated
- func (x *UserInput_Confirmation) GetAffirmative() bool
- func (*UserInput_Confirmation) ProtoMessage()
- func (x *UserInput_Confirmation) ProtoReflect() protoreflect.Message
- func (x *UserInput_Confirmation) Reset()
- func (x *UserInput_Confirmation) String() string
- type UserInput_Confirmation_
- type UserInput_DownloadedFiles
- type UserInput_DownloadedFiles_
- type UserInput_File
- type UserInput_Hydrate
- func (*UserInput_Hydrate) Descriptor() ([]byte, []int)deprecated
- func (x *UserInput_Hydrate) GetLastMsgId() uint32
- func (x *UserInput_Hydrate) GetResetConversation() bool
- func (x *UserInput_Hydrate) GetSavedState() string
- func (x *UserInput_Hydrate) GetSignature() []byte
- func (*UserInput_Hydrate) ProtoMessage()
- func (x *UserInput_Hydrate) ProtoReflect() protoreflect.Message
- func (x *UserInput_Hydrate) Reset()
- func (x *UserInput_Hydrate) String() string
- type UserInput_Selection
- func (*UserInput_Selection) Descriptor() ([]byte, []int)deprecated
- func (x *UserInput_Selection) GetLabel() string
- func (x *UserInput_Selection) GetValue() string
- func (*UserInput_Selection) ProtoMessage()
- func (x *UserInput_Selection) ProtoReflect() protoreflect.Message
- func (x *UserInput_Selection) Reset()
- func (x *UserInput_Selection) String() string
- type UserInput_Selection_
- type UserInput_Start
- func (*UserInput_Start) Descriptor() ([]byte, []int)deprecated
- func (x *UserInput_Start) GetGeneratorId() string
- func (x *UserInput_Start) GetHydrate() *UserInput_Hydrate
- func (x *UserInput_Start) GetVersion() uint32
- func (*UserInput_Start) ProtoMessage()
- func (x *UserInput_Start) ProtoReflect() protoreflect.Message
- func (x *UserInput_Start) Reset()
- func (x *UserInput_Start) String() string
- type UserInput_Start_
- type UserInput_TextInput
- func (*UserInput_TextInput) Descriptor() ([]byte, []int)deprecated
- func (x *UserInput_TextInput) GetValue() string
- func (*UserInput_TextInput) ProtoMessage()
- func (x *UserInput_TextInput) ProtoReflect() protoreflect.Message
- func (x *UserInput_TextInput) Reset()
- func (x *UserInput_TextInput) String() string
- type UserInput_TextInput_
- type UserInput_Upload
- func (*UserInput_Upload) Descriptor() ([]byte, []int)deprecated
- func (x *UserInput_Upload) GetContent() []byte
- func (x *UserInput_Upload) GetFilename() string
- func (x *UserInput_Upload) GetMimeType() string
- func (*UserInput_Upload) ProtoMessage()
- func (x *UserInput_Upload) ProtoReflect() protoreflect.Message
- func (x *UserInput_Upload) Reset()
- func (x *UserInput_Upload) String() string
Constants ¶
const ( ConversationService_Converse_FullMethodName = "/sf.codegen.conversation.v1.ConversationService/Converse" ConversationService_Discover_FullMethodName = "/sf.codegen.conversation.v1.ConversationService/Discover" )
Variables ¶
var ( SystemOutput_ListSelect_SelectType_name = map[int32]string{ 0: "DROPDOWN", 1: "BUTTONS", } SystemOutput_ListSelect_SelectType_value = map[string]int32{ "DROPDOWN": 0, "BUTTONS": 1, } )
Enum value maps for SystemOutput_ListSelect_SelectType.
var ( SystemOutput_Confirm_Button_name = map[int32]string{ 0: "UNSET", 1: "CONFIRM", 2: "DECLINE", } SystemOutput_Confirm_Button_value = map[string]int32{ "UNSET": 0, "CONFIRM": 1, "DECLINE": 2, } )
Enum value maps for SystemOutput_Confirm_Button.
var ConversationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sf.codegen.conversation.v1.ConversationService", HandlerType: (*ConversationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Discover", Handler: _ConversationService_Discover_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Converse", Handler: _ConversationService_Converse_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "sf/codegen/conversation/v1/conversation.proto", }
ConversationService_ServiceDesc is the grpc.ServiceDesc for ConversationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_sf_codegen_conversation_v1_conversation_proto protoreflect.FileDescriptor
Functions ¶
func RegisterConversationServiceServer ¶
func RegisterConversationServiceServer(s grpc.ServiceRegistrar, srv ConversationServiceServer)
Types ¶
type ConversationServiceClient ¶
type ConversationServiceClient interface { Converse(ctx context.Context, opts ...grpc.CallOption) (ConversationService_ConverseClient, error) Discover(ctx context.Context, in *DiscoveryRequest, opts ...grpc.CallOption) (*DiscoveryResponse, error) }
ConversationServiceClient is the client API for ConversationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewConversationServiceClient ¶
func NewConversationServiceClient(cc grpc.ClientConnInterface) ConversationServiceClient
type ConversationServiceServer ¶
type ConversationServiceServer interface { Converse(ConversationService_ConverseServer) error Discover(context.Context, *DiscoveryRequest) (*DiscoveryResponse, error) }
ConversationServiceServer is the server API for ConversationService service. All implementations should embed UnimplementedConversationServiceServer for forward compatibility
type ConversationService_ConverseClient ¶
type ConversationService_ConverseClient interface { Send(*UserInput) error Recv() (*SystemOutput, error) grpc.ClientStream }
type ConversationService_ConverseServer ¶
type ConversationService_ConverseServer interface { Send(*SystemOutput) error Recv() (*UserInput, error) grpc.ServerStream }
type DiscoveryRequest ¶
type DiscoveryRequest struct { SearchTerms string `protobuf:"bytes,1,opt,name=search_terms,json=searchTerms,proto3" json:"search_terms,omitempty"` // contains filtered or unexported fields }
func (*DiscoveryRequest) Descriptor
deprecated
func (*DiscoveryRequest) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryRequest.ProtoReflect.Descriptor instead.
func (*DiscoveryRequest) GetSearchTerms ¶
func (x *DiscoveryRequest) GetSearchTerms() string
func (*DiscoveryRequest) ProtoMessage ¶
func (*DiscoveryRequest) ProtoMessage()
func (*DiscoveryRequest) ProtoReflect ¶
func (x *DiscoveryRequest) ProtoReflect() protoreflect.Message
func (*DiscoveryRequest) Reset ¶
func (x *DiscoveryRequest) Reset()
func (*DiscoveryRequest) String ¶
func (x *DiscoveryRequest) String() string
type DiscoveryResponse ¶
type DiscoveryResponse struct { Generators []*DiscoveryResponse_Generator `protobuf:"bytes,1,rep,name=generators,proto3" json:"generators,omitempty"` // contains filtered or unexported fields }
func (*DiscoveryResponse) Descriptor
deprecated
func (*DiscoveryResponse) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryResponse.ProtoReflect.Descriptor instead.
func (*DiscoveryResponse) GetGenerators ¶
func (x *DiscoveryResponse) GetGenerators() []*DiscoveryResponse_Generator
func (*DiscoveryResponse) ProtoMessage ¶
func (*DiscoveryResponse) ProtoMessage()
func (*DiscoveryResponse) ProtoReflect ¶
func (x *DiscoveryResponse) ProtoReflect() protoreflect.Message
func (*DiscoveryResponse) Reset ¶
func (x *DiscoveryResponse) Reset()
func (*DiscoveryResponse) String ¶
func (x *DiscoveryResponse) String() string
type DiscoveryResponse_Generator ¶
type DiscoveryResponse_Generator struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` IconUrl string `protobuf:"bytes,4,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"` Endpoint string `protobuf:"bytes,5,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // if not the same as this one // contains filtered or unexported fields }
func (*DiscoveryResponse_Generator) Descriptor
deprecated
func (*DiscoveryResponse_Generator) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryResponse_Generator.ProtoReflect.Descriptor instead.
func (*DiscoveryResponse_Generator) GetDescription ¶
func (x *DiscoveryResponse_Generator) GetDescription() string
func (*DiscoveryResponse_Generator) GetEndpoint ¶
func (x *DiscoveryResponse_Generator) GetEndpoint() string
func (*DiscoveryResponse_Generator) GetIconUrl ¶
func (x *DiscoveryResponse_Generator) GetIconUrl() string
func (*DiscoveryResponse_Generator) GetId ¶
func (x *DiscoveryResponse_Generator) GetId() string
func (*DiscoveryResponse_Generator) GetTitle ¶
func (x *DiscoveryResponse_Generator) GetTitle() string
func (*DiscoveryResponse_Generator) ProtoMessage ¶
func (*DiscoveryResponse_Generator) ProtoMessage()
func (*DiscoveryResponse_Generator) ProtoReflect ¶
func (x *DiscoveryResponse_Generator) ProtoReflect() protoreflect.Message
func (*DiscoveryResponse_Generator) Reset ¶
func (x *DiscoveryResponse_Generator) Reset()
func (*DiscoveryResponse_Generator) String ¶
func (x *DiscoveryResponse_Generator) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type SystemOutput ¶
type SystemOutput struct { MsgId uint32 `protobuf:"varint,1,opt,name=msg_id,json=msgId,proto3" json:"msg_id,omitempty"` // unique message ID FromMsgId uint32 `protobuf:"varint,2,opt,name=from_msg_id,json=fromMsgId,proto3" json:"from_msg_id,omitempty"` ActionId string `protobuf:"bytes,3,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // the type of action that is required here, tags like "confirm_final" or "select_subgraph" or "select_network", so the UI can hook into the response the user will take here. State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"` // to be saved each step, if connection drops, Init back with this state StateSignature []byte `protobuf:"bytes,5,opt,name=state_signature,json=stateSignature,proto3" json:"state_signature,omitempty"` // Optional, or future ? // Types that are assignable to Entry: // // *SystemOutput_Message_ // *SystemOutput_ImageWithText_ // *SystemOutput_ListSelect_ // *SystemOutput_TextInput_ // *SystemOutput_Confirm_ // *SystemOutput_Loading_ // *SystemOutput_DownloadFiles_ Entry isSystemOutput_Entry `protobuf_oneof:"entry"` // contains filtered or unexported fields }
func (*SystemOutput) Descriptor
deprecated
func (*SystemOutput) Descriptor() ([]byte, []int)
Deprecated: Use SystemOutput.ProtoReflect.Descriptor instead.
func (*SystemOutput) GetActionId ¶
func (x *SystemOutput) GetActionId() string
func (*SystemOutput) GetConfirm ¶
func (x *SystemOutput) GetConfirm() *SystemOutput_Confirm
func (*SystemOutput) GetDownloadFiles ¶
func (x *SystemOutput) GetDownloadFiles() *SystemOutput_DownloadFiles
func (*SystemOutput) GetEntry ¶
func (m *SystemOutput) GetEntry() isSystemOutput_Entry
func (*SystemOutput) GetFromMsgId ¶
func (x *SystemOutput) GetFromMsgId() uint32
func (*SystemOutput) GetImageWithText ¶
func (x *SystemOutput) GetImageWithText() *SystemOutput_ImageWithText
func (*SystemOutput) GetListSelect ¶
func (x *SystemOutput) GetListSelect() *SystemOutput_ListSelect
func (*SystemOutput) GetLoading ¶
func (x *SystemOutput) GetLoading() *SystemOutput_Loading
func (*SystemOutput) GetMessage ¶
func (x *SystemOutput) GetMessage() *SystemOutput_Message
func (*SystemOutput) GetMsgId ¶
func (x *SystemOutput) GetMsgId() uint32
func (*SystemOutput) GetState ¶
func (x *SystemOutput) GetState() string
func (*SystemOutput) GetStateSignature ¶
func (x *SystemOutput) GetStateSignature() []byte
func (*SystemOutput) GetTextInput ¶
func (x *SystemOutput) GetTextInput() *SystemOutput_TextInput
func (*SystemOutput) ProtoMessage ¶
func (*SystemOutput) ProtoMessage()
func (*SystemOutput) ProtoReflect ¶
func (x *SystemOutput) ProtoReflect() protoreflect.Message
func (*SystemOutput) Reset ¶
func (x *SystemOutput) Reset()
func (*SystemOutput) String ¶
func (x *SystemOutput) String() string
type SystemOutput_Confirm ¶
type SystemOutput_Confirm struct { Prompt string `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` AcceptButtonLabel string `protobuf:"bytes,2,opt,name=accept_button_label,json=acceptButtonLabel,proto3" json:"accept_button_label,omitempty"` DeclineButtonLabel string `protobuf:"bytes,3,opt,name=decline_button_label,json=declineButtonLabel,proto3" json:"decline_button_label,omitempty"` DefaultButton SystemOutput_Confirm_Button `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SystemOutput_Confirm) Descriptor
deprecated
func (*SystemOutput_Confirm) Descriptor() ([]byte, []int)
Deprecated: Use SystemOutput_Confirm.ProtoReflect.Descriptor instead.
func (*SystemOutput_Confirm) GetAcceptButtonLabel ¶
func (x *SystemOutput_Confirm) GetAcceptButtonLabel() string
func (*SystemOutput_Confirm) GetDeclineButtonLabel ¶
func (x *SystemOutput_Confirm) GetDeclineButtonLabel() string
func (*SystemOutput_Confirm) GetDefaultButton ¶ added in v1.10.3
func (x *SystemOutput_Confirm) GetDefaultButton() SystemOutput_Confirm_Button
func (*SystemOutput_Confirm) GetDescription ¶
func (x *SystemOutput_Confirm) GetDescription() string
func (*SystemOutput_Confirm) GetPrompt ¶
func (x *SystemOutput_Confirm) GetPrompt() string
func (*SystemOutput_Confirm) ProtoMessage ¶
func (*SystemOutput_Confirm) ProtoMessage()
func (*SystemOutput_Confirm) ProtoReflect ¶
func (x *SystemOutput_Confirm) ProtoReflect() protoreflect.Message
func (*SystemOutput_Confirm) Reset ¶
func (x *SystemOutput_Confirm) Reset()
func (*SystemOutput_Confirm) String ¶
func (x *SystemOutput_Confirm) String() string
type SystemOutput_Confirm_ ¶
type SystemOutput_Confirm_ struct {
Confirm *SystemOutput_Confirm `protobuf:"bytes,21,opt,name=confirm,proto3,oneof"`
}
type SystemOutput_Confirm_Button ¶ added in v1.10.3
type SystemOutput_Confirm_Button int32
const ( SystemOutput_Confirm_UNSET SystemOutput_Confirm_Button = 0 SystemOutput_Confirm_CONFIRM SystemOutput_Confirm_Button = 1 SystemOutput_Confirm_DECLINE SystemOutput_Confirm_Button = 2 )
func (SystemOutput_Confirm_Button) Descriptor ¶ added in v1.10.3
func (SystemOutput_Confirm_Button) Descriptor() protoreflect.EnumDescriptor
func (SystemOutput_Confirm_Button) Enum ¶ added in v1.10.3
func (x SystemOutput_Confirm_Button) Enum() *SystemOutput_Confirm_Button
func (SystemOutput_Confirm_Button) EnumDescriptor
deprecated
added in
v1.10.3
func (SystemOutput_Confirm_Button) EnumDescriptor() ([]byte, []int)
Deprecated: Use SystemOutput_Confirm_Button.Descriptor instead.
func (SystemOutput_Confirm_Button) Number ¶ added in v1.10.3
func (x SystemOutput_Confirm_Button) Number() protoreflect.EnumNumber
func (SystemOutput_Confirm_Button) String ¶ added in v1.10.3
func (x SystemOutput_Confirm_Button) String() string
func (SystemOutput_Confirm_Button) Type ¶ added in v1.10.3
func (SystemOutput_Confirm_Button) Type() protoreflect.EnumType
type SystemOutput_DownloadFile ¶
type SystemOutput_DownloadFile struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*SystemOutput_DownloadFile) Descriptor
deprecated
func (*SystemOutput_DownloadFile) Descriptor() ([]byte, []int)
Deprecated: Use SystemOutput_DownloadFile.ProtoReflect.Descriptor instead.
func (*SystemOutput_DownloadFile) GetContent ¶
func (x *SystemOutput_DownloadFile) GetContent() []byte
func (*SystemOutput_DownloadFile) GetDescription ¶
func (x *SystemOutput_DownloadFile) GetDescription() string
func (*SystemOutput_DownloadFile) GetFilename ¶
func (x *SystemOutput_DownloadFile) GetFilename() string
func (*SystemOutput_DownloadFile) GetType ¶
func (x *SystemOutput_DownloadFile) GetType() string
func (*SystemOutput_DownloadFile) ProtoMessage ¶
func (*SystemOutput_DownloadFile) ProtoMessage()
func (*SystemOutput_DownloadFile) ProtoReflect ¶
func (x *SystemOutput_DownloadFile) ProtoReflect() protoreflect.Message
func (*SystemOutput_DownloadFile) Reset ¶
func (x *SystemOutput_DownloadFile) Reset()
func (*SystemOutput_DownloadFile) String ¶
func (x *SystemOutput_DownloadFile) String() string
type SystemOutput_DownloadFiles ¶
type SystemOutput_DownloadFiles struct { Files []*SystemOutput_DownloadFile `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` // contains filtered or unexported fields }
func (*SystemOutput_DownloadFiles) Descriptor
deprecated
func (*SystemOutput_DownloadFiles) Descriptor() ([]byte, []int)
Deprecated: Use SystemOutput_DownloadFiles.ProtoReflect.Descriptor instead.
func (*SystemOutput_DownloadFiles) GetFiles ¶
func (x *SystemOutput_DownloadFiles) GetFiles() []*SystemOutput_DownloadFile
func (*SystemOutput_DownloadFiles) ProtoMessage ¶
func (*SystemOutput_DownloadFiles) ProtoMessage()
func (*SystemOutput_DownloadFiles) ProtoReflect ¶
func (x *SystemOutput_DownloadFiles) ProtoReflect() protoreflect.Message
func (*SystemOutput_DownloadFiles) Reset ¶
func (x *SystemOutput_DownloadFiles) Reset()
func (*SystemOutput_DownloadFiles) String ¶
func (x *SystemOutput_DownloadFiles) String() string
type SystemOutput_DownloadFiles_ ¶
type SystemOutput_DownloadFiles_ struct {
DownloadFiles *SystemOutput_DownloadFiles `protobuf:"bytes,20,opt,name=download_files,json=downloadFiles,proto3,oneof"`
}
type SystemOutput_ImageWithText ¶
type SystemOutput_ImageWithText struct { ImgUrl string `protobuf:"bytes,1,opt,name=img_url,json=imgUrl,proto3" json:"img_url,omitempty"` Markdown string `protobuf:"bytes,2,opt,name=markdown,proto3" json:"markdown,omitempty"` // contains filtered or unexported fields }
func (*SystemOutput_ImageWithText) Descriptor
deprecated
func (*SystemOutput_ImageWithText) Descriptor() ([]byte, []int)
Deprecated: Use SystemOutput_ImageWithText.ProtoReflect.Descriptor instead.
func (*SystemOutput_ImageWithText) GetImgUrl ¶
func (x *SystemOutput_ImageWithText) GetImgUrl() string
func (*SystemOutput_ImageWithText) GetMarkdown ¶
func (x *SystemOutput_ImageWithText) GetMarkdown() string
func (*SystemOutput_ImageWithText) ProtoMessage ¶
func (*SystemOutput_ImageWithText) ProtoMessage()
func (*SystemOutput_ImageWithText) ProtoReflect ¶
func (x *SystemOutput_ImageWithText) ProtoReflect() protoreflect.Message
func (*SystemOutput_ImageWithText) Reset ¶
func (x *SystemOutput_ImageWithText) Reset()
func (*SystemOutput_ImageWithText) String ¶
func (x *SystemOutput_ImageWithText) String() string
type SystemOutput_ImageWithText_ ¶
type SystemOutput_ImageWithText_ struct {
ImageWithText *SystemOutput_ImageWithText `protobuf:"bytes,16,opt,name=image_with_text,json=imageWithText,proto3,oneof"`
}
type SystemOutput_ListSelect ¶
type SystemOutput_ListSelect struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Deprecated: use `action_id` instead Labels []string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty"` // These need to be the same length Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` ImageUrls []string `protobuf:"bytes,4,rep,name=image_urls,json=imageUrls,proto3" json:"image_urls,omitempty"` // Optional. If present, same length as the labels and values. Shows a small icon aside of the label text. Instructions string `protobuf:"bytes,6,opt,name=instructions,proto3" json:"instructions,omitempty"` // In Markdown format SelectMany bool `protobuf:"varint,8,opt,name=select_many,json=selectMany,proto3" json:"select_many,omitempty"` SelectType SystemOutput_ListSelect_SelectType `` /* 159-byte string literal not displayed */ SelectButtonLabel string `protobuf:"bytes,5,opt,name=select_button_label,json=selectButtonLabel,proto3" json:"select_button_label,omitempty"` DefaultValue string `protobuf:"bytes,9,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // contains filtered or unexported fields }
func (*SystemOutput_ListSelect) Descriptor
deprecated
func (*SystemOutput_ListSelect) Descriptor() ([]byte, []int)
Deprecated: Use SystemOutput_ListSelect.ProtoReflect.Descriptor instead.
func (*SystemOutput_ListSelect) GetDefaultValue ¶ added in v1.10.3
func (x *SystemOutput_ListSelect) GetDefaultValue() string
func (*SystemOutput_ListSelect) GetId ¶
func (x *SystemOutput_ListSelect) GetId() string
func (*SystemOutput_ListSelect) GetImageUrls ¶
func (x *SystemOutput_ListSelect) GetImageUrls() []string
func (*SystemOutput_ListSelect) GetInstructions ¶
func (x *SystemOutput_ListSelect) GetInstructions() string
func (*SystemOutput_ListSelect) GetLabels ¶
func (x *SystemOutput_ListSelect) GetLabels() []string
func (*SystemOutput_ListSelect) GetSelectButtonLabel ¶
func (x *SystemOutput_ListSelect) GetSelectButtonLabel() string
func (*SystemOutput_ListSelect) GetSelectMany ¶
func (x *SystemOutput_ListSelect) GetSelectMany() bool
func (*SystemOutput_ListSelect) GetSelectType ¶
func (x *SystemOutput_ListSelect) GetSelectType() SystemOutput_ListSelect_SelectType
func (*SystemOutput_ListSelect) GetValues ¶
func (x *SystemOutput_ListSelect) GetValues() []string
func (*SystemOutput_ListSelect) ProtoMessage ¶
func (*SystemOutput_ListSelect) ProtoMessage()
func (*SystemOutput_ListSelect) ProtoReflect ¶
func (x *SystemOutput_ListSelect) ProtoReflect() protoreflect.Message
func (*SystemOutput_ListSelect) Reset ¶
func (x *SystemOutput_ListSelect) Reset()
func (*SystemOutput_ListSelect) String ¶
func (x *SystemOutput_ListSelect) String() string
type SystemOutput_ListSelect_ ¶
type SystemOutput_ListSelect_ struct {
ListSelect *SystemOutput_ListSelect `protobuf:"bytes,17,opt,name=list_select,json=listSelect,proto3,oneof"`
}
type SystemOutput_ListSelect_SelectType ¶
type SystemOutput_ListSelect_SelectType int32
const ( SystemOutput_ListSelect_DROPDOWN SystemOutput_ListSelect_SelectType = 0 SystemOutput_ListSelect_BUTTONS SystemOutput_ListSelect_SelectType = 1 )
func (SystemOutput_ListSelect_SelectType) Descriptor ¶
func (SystemOutput_ListSelect_SelectType) Descriptor() protoreflect.EnumDescriptor
func (SystemOutput_ListSelect_SelectType) Enum ¶
func (x SystemOutput_ListSelect_SelectType) Enum() *SystemOutput_ListSelect_SelectType
func (SystemOutput_ListSelect_SelectType) EnumDescriptor
deprecated
func (SystemOutput_ListSelect_SelectType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SystemOutput_ListSelect_SelectType.Descriptor instead.
func (SystemOutput_ListSelect_SelectType) Number ¶
func (x SystemOutput_ListSelect_SelectType) Number() protoreflect.EnumNumber
func (SystemOutput_ListSelect_SelectType) String ¶
func (x SystemOutput_ListSelect_SelectType) String() string
func (SystemOutput_ListSelect_SelectType) Type ¶
func (SystemOutput_ListSelect_SelectType) Type() protoreflect.EnumType
type SystemOutput_Loading ¶
type SystemOutput_Loading struct { Loading bool `protobuf:"varint,1,opt,name=loading,proto3" json:"loading,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` // other fields to format the loader and whatnot // contains filtered or unexported fields }
func (*SystemOutput_Loading) Descriptor
deprecated
func (*SystemOutput_Loading) Descriptor() ([]byte, []int)
Deprecated: Use SystemOutput_Loading.ProtoReflect.Descriptor instead.
func (*SystemOutput_Loading) GetLabel ¶
func (x *SystemOutput_Loading) GetLabel() string
func (*SystemOutput_Loading) GetLoading ¶
func (x *SystemOutput_Loading) GetLoading() bool
func (*SystemOutput_Loading) ProtoMessage ¶
func (*SystemOutput_Loading) ProtoMessage()
func (*SystemOutput_Loading) ProtoReflect ¶
func (x *SystemOutput_Loading) ProtoReflect() protoreflect.Message
func (*SystemOutput_Loading) Reset ¶
func (x *SystemOutput_Loading) Reset()
func (*SystemOutput_Loading) String ¶
func (x *SystemOutput_Loading) String() string
type SystemOutput_Loading_ ¶
type SystemOutput_Loading_ struct {
Loading *SystemOutput_Loading `protobuf:"bytes,19,opt,name=loading,proto3,oneof"`
}
type SystemOutput_Message ¶
type SystemOutput_Message struct { Markdown string `protobuf:"bytes,1,opt,name=markdown,proto3" json:"markdown,omitempty"` Style string `protobuf:"bytes,2,opt,name=style,proto3" json:"style,omitempty"` // contains filtered or unexported fields }
func (*SystemOutput_Message) Descriptor
deprecated
func (*SystemOutput_Message) Descriptor() ([]byte, []int)
Deprecated: Use SystemOutput_Message.ProtoReflect.Descriptor instead.
func (*SystemOutput_Message) GetMarkdown ¶
func (x *SystemOutput_Message) GetMarkdown() string
func (*SystemOutput_Message) GetStyle ¶
func (x *SystemOutput_Message) GetStyle() string
func (*SystemOutput_Message) ProtoMessage ¶
func (*SystemOutput_Message) ProtoMessage()
func (*SystemOutput_Message) ProtoReflect ¶
func (x *SystemOutput_Message) ProtoReflect() protoreflect.Message
func (*SystemOutput_Message) Reset ¶
func (x *SystemOutput_Message) Reset()
func (*SystemOutput_Message) String ¶
func (x *SystemOutput_Message) String() string
type SystemOutput_Message_ ¶
type SystemOutput_Message_ struct {
Message *SystemOutput_Message `protobuf:"bytes,15,opt,name=message,proto3,oneof"` // Markdown message to display
}
type SystemOutput_TextInput ¶
type SystemOutput_TextInput struct { Prompt string `protobuf:"bytes,8,opt,name=prompt,proto3" json:"prompt,omitempty"` Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // Markdown Placeholder string `protobuf:"bytes,2,opt,name=placeholder,proto3" json:"placeholder,omitempty"` DefaultValue string `protobuf:"bytes,9,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // Pre-filled the textbox MultiLine int32 `protobuf:"varint,3,opt,name=multi_line,json=multiLine,proto3" json:"multi_line,omitempty"` // Number of lines if multiline box. ValidationRegexp string `protobuf:"bytes,4,opt,name=validation_regexp,json=validationRegexp,proto3" json:"validation_regexp,omitempty"` ValidationErrorMessage string `` /* 129-byte string literal not displayed */ SubmitButtonLabel string `protobuf:"bytes,6,opt,name=submit_button_label,json=submitButtonLabel,proto3" json:"submit_button_label,omitempty"` SubmitButtonIcon string `protobuf:"bytes,7,opt,name=submit_button_icon,json=submitButtonIcon,proto3" json:"submit_button_icon,omitempty"` // icon name or image_url // contains filtered or unexported fields }
func (*SystemOutput_TextInput) Descriptor
deprecated
func (*SystemOutput_TextInput) Descriptor() ([]byte, []int)
Deprecated: Use SystemOutput_TextInput.ProtoReflect.Descriptor instead.
func (*SystemOutput_TextInput) GetDefaultValue ¶
func (x *SystemOutput_TextInput) GetDefaultValue() string
func (*SystemOutput_TextInput) GetDescription ¶
func (x *SystemOutput_TextInput) GetDescription() string
func (*SystemOutput_TextInput) GetMultiLine ¶
func (x *SystemOutput_TextInput) GetMultiLine() int32
func (*SystemOutput_TextInput) GetPlaceholder ¶
func (x *SystemOutput_TextInput) GetPlaceholder() string
func (*SystemOutput_TextInput) GetPrompt ¶
func (x *SystemOutput_TextInput) GetPrompt() string
func (*SystemOutput_TextInput) GetSubmitButtonIcon ¶
func (x *SystemOutput_TextInput) GetSubmitButtonIcon() string
func (*SystemOutput_TextInput) GetSubmitButtonLabel ¶
func (x *SystemOutput_TextInput) GetSubmitButtonLabel() string
func (*SystemOutput_TextInput) GetValidationErrorMessage ¶
func (x *SystemOutput_TextInput) GetValidationErrorMessage() string
func (*SystemOutput_TextInput) GetValidationRegexp ¶
func (x *SystemOutput_TextInput) GetValidationRegexp() string
func (*SystemOutput_TextInput) ProtoMessage ¶
func (*SystemOutput_TextInput) ProtoMessage()
func (*SystemOutput_TextInput) ProtoReflect ¶
func (x *SystemOutput_TextInput) ProtoReflect() protoreflect.Message
func (*SystemOutput_TextInput) Reset ¶
func (x *SystemOutput_TextInput) Reset()
func (*SystemOutput_TextInput) String ¶
func (x *SystemOutput_TextInput) String() string
type SystemOutput_TextInput_ ¶
type SystemOutput_TextInput_ struct {
TextInput *SystemOutput_TextInput `protobuf:"bytes,18,opt,name=text_input,json=textInput,proto3,oneof"`
}
type UnimplementedConversationServiceServer ¶
type UnimplementedConversationServiceServer struct { }
UnimplementedConversationServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedConversationServiceServer) Discover ¶
func (UnimplementedConversationServiceServer) Discover(context.Context, *DiscoveryRequest) (*DiscoveryResponse, error)
type UnsafeConversationServiceServer ¶
type UnsafeConversationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeConversationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ConversationServiceServer will result in compilation errors.
type UserInput ¶
type UserInput struct { MsgId uint32 `protobuf:"varint,1,opt,name=msg_id,json=msgId,proto3" json:"msg_id,omitempty"` // Monotonic incrementing number FromMsgId uint32 `protobuf:"varint,2,opt,name=from_msg_id,json=fromMsgId,proto3" json:"from_msg_id,omitempty"` FromActionId string `protobuf:"bytes,3,opt,name=from_action_id,json=fromActionId,proto3" json:"from_action_id,omitempty"` // Types that are assignable to Entry: // // *UserInput_Start_ // *UserInput_TextInput_ // *UserInput_Selection_ // *UserInput_Confirmation_ // *UserInput_File // *UserInput_DownloadedFiles_ Entry isUserInput_Entry `protobuf_oneof:"entry"` // contains filtered or unexported fields }
func (*UserInput) Descriptor
deprecated
func (*UserInput) GetConfirmation ¶
func (x *UserInput) GetConfirmation() *UserInput_Confirmation
func (*UserInput) GetDownloadedFiles ¶
func (x *UserInput) GetDownloadedFiles() *UserInput_DownloadedFiles
func (*UserInput) GetFile ¶
func (x *UserInput) GetFile() *UserInput_Upload
func (*UserInput) GetFromActionId ¶
func (*UserInput) GetFromMsgId ¶
func (*UserInput) GetSelection ¶
func (x *UserInput) GetSelection() *UserInput_Selection
func (*UserInput) GetStart ¶
func (x *UserInput) GetStart() *UserInput_Start
func (*UserInput) GetTextInput ¶
func (x *UserInput) GetTextInput() *UserInput_TextInput
func (*UserInput) ProtoMessage ¶
func (*UserInput) ProtoMessage()
func (*UserInput) ProtoReflect ¶
func (x *UserInput) ProtoReflect() protoreflect.Message
type UserInput_Confirmation ¶
type UserInput_Confirmation struct { Affirmative bool `protobuf:"varint,1,opt,name=affirmative,proto3" json:"affirmative,omitempty"` // contains filtered or unexported fields }
func (*UserInput_Confirmation) Descriptor
deprecated
func (*UserInput_Confirmation) Descriptor() ([]byte, []int)
Deprecated: Use UserInput_Confirmation.ProtoReflect.Descriptor instead.
func (*UserInput_Confirmation) GetAffirmative ¶
func (x *UserInput_Confirmation) GetAffirmative() bool
func (*UserInput_Confirmation) ProtoMessage ¶
func (*UserInput_Confirmation) ProtoMessage()
func (*UserInput_Confirmation) ProtoReflect ¶
func (x *UserInput_Confirmation) ProtoReflect() protoreflect.Message
func (*UserInput_Confirmation) Reset ¶
func (x *UserInput_Confirmation) Reset()
func (*UserInput_Confirmation) String ¶
func (x *UserInput_Confirmation) String() string
type UserInput_Confirmation_ ¶
type UserInput_Confirmation_ struct {
Confirmation *UserInput_Confirmation `protobuf:"bytes,18,opt,name=confirmation,proto3,oneof"`
}
type UserInput_DownloadedFiles ¶
type UserInput_DownloadedFiles struct {
// contains filtered or unexported fields
}
func (*UserInput_DownloadedFiles) Descriptor
deprecated
func (*UserInput_DownloadedFiles) Descriptor() ([]byte, []int)
Deprecated: Use UserInput_DownloadedFiles.ProtoReflect.Descriptor instead.
func (*UserInput_DownloadedFiles) ProtoMessage ¶
func (*UserInput_DownloadedFiles) ProtoMessage()
func (*UserInput_DownloadedFiles) ProtoReflect ¶
func (x *UserInput_DownloadedFiles) ProtoReflect() protoreflect.Message
func (*UserInput_DownloadedFiles) Reset ¶
func (x *UserInput_DownloadedFiles) Reset()
func (*UserInput_DownloadedFiles) String ¶
func (x *UserInput_DownloadedFiles) String() string
type UserInput_DownloadedFiles_ ¶
type UserInput_DownloadedFiles_ struct {
DownloadedFiles *UserInput_DownloadedFiles `protobuf:"bytes,20,opt,name=downloaded_files,json=downloadedFiles,proto3,oneof"`
}
type UserInput_File ¶
type UserInput_File struct {
File *UserInput_Upload `protobuf:"bytes,16,opt,name=file,proto3,oneof"`
}
type UserInput_Hydrate ¶
type UserInput_Hydrate struct { // If `saved_payload` is none, then just start a new session. SavedState string `protobuf:"bytes,1,opt,name=saved_state,json=savedState,proto3" json:"saved_state,omitempty"` // JSON state from a previous session, to continue where we left off. Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // HMAC sig from the server for the saved_payload. Optional. LastMsgId uint32 `protobuf:"varint,3,opt,name=last_msg_id,json=lastMsgId,proto3" json:"last_msg_id,omitempty"` // whatever ResetConversation bool `protobuf:"varint,4,opt,name=reset_conversation,json=resetConversation,proto3" json:"reset_conversation,omitempty"` // Whether to continue, or to reset the conversation. If this is `false`, it means try to continue (the connection was merely disconnected). Otherwise, it means we're starting anew. Let's give all the options and directions. // contains filtered or unexported fields }
func (*UserInput_Hydrate) Descriptor
deprecated
func (*UserInput_Hydrate) Descriptor() ([]byte, []int)
Deprecated: Use UserInput_Hydrate.ProtoReflect.Descriptor instead.
func (*UserInput_Hydrate) GetLastMsgId ¶
func (x *UserInput_Hydrate) GetLastMsgId() uint32
func (*UserInput_Hydrate) GetResetConversation ¶
func (x *UserInput_Hydrate) GetResetConversation() bool
func (*UserInput_Hydrate) GetSavedState ¶
func (x *UserInput_Hydrate) GetSavedState() string
func (*UserInput_Hydrate) GetSignature ¶
func (x *UserInput_Hydrate) GetSignature() []byte
func (*UserInput_Hydrate) ProtoMessage ¶
func (*UserInput_Hydrate) ProtoMessage()
func (*UserInput_Hydrate) ProtoReflect ¶
func (x *UserInput_Hydrate) ProtoReflect() protoreflect.Message
func (*UserInput_Hydrate) Reset ¶
func (x *UserInput_Hydrate) Reset()
func (*UserInput_Hydrate) String ¶
func (x *UserInput_Hydrate) String() string
type UserInput_Selection ¶
type UserInput_Selection struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*UserInput_Selection) Descriptor
deprecated
func (*UserInput_Selection) Descriptor() ([]byte, []int)
Deprecated: Use UserInput_Selection.ProtoReflect.Descriptor instead.
func (*UserInput_Selection) GetLabel ¶
func (x *UserInput_Selection) GetLabel() string
func (*UserInput_Selection) GetValue ¶
func (x *UserInput_Selection) GetValue() string
func (*UserInput_Selection) ProtoMessage ¶
func (*UserInput_Selection) ProtoMessage()
func (*UserInput_Selection) ProtoReflect ¶
func (x *UserInput_Selection) ProtoReflect() protoreflect.Message
func (*UserInput_Selection) Reset ¶
func (x *UserInput_Selection) Reset()
func (*UserInput_Selection) String ¶
func (x *UserInput_Selection) String() string
type UserInput_Selection_ ¶
type UserInput_Selection_ struct {
Selection *UserInput_Selection `protobuf:"bytes,17,opt,name=selection,proto3,oneof"`
}
type UserInput_Start ¶
type UserInput_Start struct { // generator_id routes the conversation to the right generator backend GeneratorId string `protobuf:"bytes,1,opt,name=generator_id,json=generatorId,proto3" json:"generator_id,omitempty"` // Hydrate will be present when the user already has a pre-built state, and wants to continue from there. Hydrate *UserInput_Hydrate `protobuf:"bytes,2,opt,name=hydrate,proto3" json:"hydrate,omitempty"` // Version of the supported protocol by the client. // If the code generator requires a more recent client, then it should also report an error, or try to downgrade the conversation protocol. Version uint32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*UserInput_Start) Descriptor
deprecated
func (*UserInput_Start) Descriptor() ([]byte, []int)
Deprecated: Use UserInput_Start.ProtoReflect.Descriptor instead.
func (*UserInput_Start) GetGeneratorId ¶
func (x *UserInput_Start) GetGeneratorId() string
func (*UserInput_Start) GetHydrate ¶
func (x *UserInput_Start) GetHydrate() *UserInput_Hydrate
func (*UserInput_Start) GetVersion ¶
func (x *UserInput_Start) GetVersion() uint32
func (*UserInput_Start) ProtoMessage ¶
func (*UserInput_Start) ProtoMessage()
func (*UserInput_Start) ProtoReflect ¶
func (x *UserInput_Start) ProtoReflect() protoreflect.Message
func (*UserInput_Start) Reset ¶
func (x *UserInput_Start) Reset()
func (*UserInput_Start) String ¶
func (x *UserInput_Start) String() string
type UserInput_Start_ ¶
type UserInput_Start_ struct {
Start *UserInput_Start `protobuf:"bytes,11,opt,name=start,proto3,oneof"`
}
type UserInput_TextInput ¶
type UserInput_TextInput struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*UserInput_TextInput) Descriptor
deprecated
func (*UserInput_TextInput) Descriptor() ([]byte, []int)
Deprecated: Use UserInput_TextInput.ProtoReflect.Descriptor instead.
func (*UserInput_TextInput) GetValue ¶
func (x *UserInput_TextInput) GetValue() string
func (*UserInput_TextInput) ProtoMessage ¶
func (*UserInput_TextInput) ProtoMessage()
func (*UserInput_TextInput) ProtoReflect ¶
func (x *UserInput_TextInput) ProtoReflect() protoreflect.Message
func (*UserInput_TextInput) Reset ¶
func (x *UserInput_TextInput) Reset()
func (*UserInput_TextInput) String ¶
func (x *UserInput_TextInput) String() string
type UserInput_TextInput_ ¶
type UserInput_TextInput_ struct {
TextInput *UserInput_TextInput `protobuf:"bytes,15,opt,name=text_input,json=textInput,proto3,oneof"`
}
type UserInput_Upload ¶
type UserInput_Upload struct { MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` Content []byte `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*UserInput_Upload) Descriptor
deprecated
func (*UserInput_Upload) Descriptor() ([]byte, []int)
Deprecated: Use UserInput_Upload.ProtoReflect.Descriptor instead.
func (*UserInput_Upload) GetContent ¶
func (x *UserInput_Upload) GetContent() []byte
func (*UserInput_Upload) GetFilename ¶
func (x *UserInput_Upload) GetFilename() string
func (*UserInput_Upload) GetMimeType ¶
func (x *UserInput_Upload) GetMimeType() string
func (*UserInput_Upload) ProtoMessage ¶
func (*UserInput_Upload) ProtoMessage()
func (*UserInput_Upload) ProtoReflect ¶
func (x *UserInput_Upload) ProtoReflect() protoreflect.Message
func (*UserInput_Upload) Reset ¶
func (x *UserInput_Upload) Reset()
func (*UserInput_Upload) String ¶
func (x *UserInput_Upload) String() string