4354 lines
135 KiB
Go
4354 lines
135 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc (unknown)
|
|
// source: gateway/v1/chat.proto
|
|
|
|
package gatewayv1
|
|
|
|
import (
|
|
v1 "github.com/samcharles93/archipelago/sdk/logging/v1"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type CheckSecretRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Engine string `protobuf:"bytes,1,opt,name=engine,proto3" json:"engine,omitempty"`
|
|
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CheckSecretRequest) Reset() {
|
|
*x = CheckSecretRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CheckSecretRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CheckSecretRequest) ProtoMessage() {}
|
|
|
|
func (x *CheckSecretRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CheckSecretRequest.ProtoReflect.Descriptor instead.
|
|
func (*CheckSecretRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CheckSecretRequest) GetEngine() string {
|
|
if x != nil {
|
|
return x.Engine
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CheckSecretRequest) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CheckSecretResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Resolved bool `protobuf:"varint,1,opt,name=resolved,proto3" json:"resolved,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CheckSecretResponse) Reset() {
|
|
*x = CheckSecretResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CheckSecretResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CheckSecretResponse) ProtoMessage() {}
|
|
|
|
func (x *CheckSecretResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CheckSecretResponse.ProtoReflect.Descriptor instead.
|
|
func (*CheckSecretResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CheckSecretResponse) GetResolved() bool {
|
|
if x != nil {
|
|
return x.Resolved
|
|
}
|
|
return false
|
|
}
|
|
|
|
type Session struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
|
|
BotUser string `protobuf:"bytes,3,opt,name=bot_user,json=botUser,proto3" json:"bot_user,omitempty"`
|
|
ChannelId string `protobuf:"bytes,4,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
|
|
ThreadId string `protobuf:"bytes,5,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
|
|
Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"`
|
|
ParentSessionId string `protobuf:"bytes,7,opt,name=parent_session_id,json=parentSessionId,proto3" json:"parent_session_id,omitempty"`
|
|
BranchName string `protobuf:"bytes,8,opt,name=branch_name,json=branchName,proto3" json:"branch_name,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
LastActiveAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=last_active_at,json=lastActiveAt,proto3" json:"last_active_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Session) Reset() {
|
|
*x = Session{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Session) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Session) ProtoMessage() {}
|
|
|
|
func (x *Session) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[2]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Session.ProtoReflect.Descriptor instead.
|
|
func (*Session) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *Session) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Session) GetPlatform() string {
|
|
if x != nil {
|
|
return x.Platform
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Session) GetBotUser() string {
|
|
if x != nil {
|
|
return x.BotUser
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Session) GetChannelId() string {
|
|
if x != nil {
|
|
return x.ChannelId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Session) GetThreadId() string {
|
|
if x != nil {
|
|
return x.ThreadId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Session) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Session) GetParentSessionId() string {
|
|
if x != nil {
|
|
return x.ParentSessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Session) GetBranchName() string {
|
|
if x != nil {
|
|
return x.BranchName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Session) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Session) GetLastActiveAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.LastActiveAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Message struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
|
|
SourceId string `protobuf:"bytes,2,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
|
|
ChannelId string `protobuf:"bytes,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
|
|
ThreadId string `protobuf:"bytes,4,opt,name=thread_id,json=threadId,proto3" json:"thread_id,omitempty"`
|
|
From string `protobuf:"bytes,5,opt,name=from,proto3" json:"from,omitempty"`
|
|
Text string `protobuf:"bytes,6,opt,name=text,proto3" json:"text,omitempty"`
|
|
Page string `protobuf:"bytes,7,opt,name=page,proto3" json:"page,omitempty"`
|
|
At *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=at,proto3" json:"at,omitempty"`
|
|
// platform is the channel that carried this message ("telegram", "email",
|
|
// "web"), as the frontend that owns that channel knows it. It is
|
|
// how the Gateway learns which channel it is serving: one Router serves every
|
|
// channel, so its own name is "web" even for a Telegram turn, which made
|
|
// Source.Platform -- the first component of the session natural key -- a
|
|
// constant. Transport-only, never persisted: the session record keeps it.
|
|
Platform string `protobuf:"bytes,10,opt,name=platform,proto3" json:"platform,omitempty"`
|
|
// media carries attachment metadata for a message that arrived with a
|
|
// file. The bytes ride only on the inbound request (see Media.data); a
|
|
// stored Media with tool_name empty is a sender attachment, and the
|
|
// tool_name on tool-produced events stays a stream-only field.
|
|
Media []*Media `protobuf:"bytes,11,rep,name=media,proto3" json:"media,omitempty"`
|
|
// sender_id is the channel-native stable ID of the person who sent the
|
|
// message; the Gateway keys per-person rate limits and slash access on it.
|
|
SenderId string `protobuf:"bytes,12,opt,name=sender_id,json=senderId,proto3" json:"sender_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Message) Reset() {
|
|
*x = Message{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Message) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Message) ProtoMessage() {}
|
|
|
|
func (x *Message) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[3]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Message.ProtoReflect.Descriptor instead.
|
|
func (*Message) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *Message) GetMessageId() string {
|
|
if x != nil {
|
|
return x.MessageId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Message) GetSourceId() string {
|
|
if x != nil {
|
|
return x.SourceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Message) GetChannelId() string {
|
|
if x != nil {
|
|
return x.ChannelId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Message) GetThreadId() string {
|
|
if x != nil {
|
|
return x.ThreadId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Message) GetFrom() string {
|
|
if x != nil {
|
|
return x.From
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Message) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Message) GetPage() string {
|
|
if x != nil {
|
|
return x.Page
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Message) GetAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.At
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Message) GetPlatform() string {
|
|
if x != nil {
|
|
return x.Platform
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Message) GetMedia() []*Media {
|
|
if x != nil {
|
|
return x.Media
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Message) GetSenderId() string {
|
|
if x != nil {
|
|
return x.SenderId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ToolCall struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Parameters string `protobuf:"bytes,3,opt,name=parameters,proto3" json:"parameters,omitempty"`
|
|
Output string `protobuf:"bytes,4,opt,name=output,proto3" json:"output,omitempty"`
|
|
Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ToolCall) Reset() {
|
|
*x = ToolCall{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ToolCall) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ToolCall) ProtoMessage() {}
|
|
|
|
func (x *ToolCall) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[4]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ToolCall.ProtoReflect.Descriptor instead.
|
|
func (*ToolCall) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ToolCall) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ToolCall) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ToolCall) GetParameters() string {
|
|
if x != nil {
|
|
return x.Parameters
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ToolCall) GetOutput() string {
|
|
if x != nil {
|
|
return x.Output
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ToolCall) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Media struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ToolName string `protobuf:"bytes,1,opt,name=tool_name,json=toolName,proto3" json:"tool_name,omitempty"`
|
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
|
FileId string `protobuf:"bytes,3,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
|
|
Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
|
|
Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
|
|
MimeType string `protobuf:"bytes,6,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
|
|
FileName string `protobuf:"bytes,7,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
|
|
FileSize *int64 `protobuf:"varint,8,opt,name=file_size,json=fileSize,proto3,oneof" json:"file_size,omitempty"`
|
|
Width *int64 `protobuf:"varint,9,opt,name=width,proto3,oneof" json:"width,omitempty"`
|
|
Height *int64 `protobuf:"varint,10,opt,name=height,proto3,oneof" json:"height,omitempty"`
|
|
Duration *int64 `protobuf:"varint,11,opt,name=duration,proto3,oneof" json:"duration,omitempty"`
|
|
// data carries a sender attachment's bytes on an inbound request. The
|
|
// channel frontend downloads the file, but the Gateway process that runs
|
|
// the turn never holds the platform credential, so this is the only way
|
|
// the model can read a photo or document. It is empty on every other
|
|
// direction: stored history and outbound media events carry metadata
|
|
// only, and a persisted record strips the bytes.
|
|
Data []byte `protobuf:"bytes,12,opt,name=data,proto3" json:"data,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Media) Reset() {
|
|
*x = Media{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Media) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Media) ProtoMessage() {}
|
|
|
|
func (x *Media) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[5]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Media.ProtoReflect.Descriptor instead.
|
|
func (*Media) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *Media) GetToolName() string {
|
|
if x != nil {
|
|
return x.ToolName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Media) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Media) GetFileId() string {
|
|
if x != nil {
|
|
return x.FileId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Media) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Media) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Media) GetMimeType() string {
|
|
if x != nil {
|
|
return x.MimeType
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Media) GetFileName() string {
|
|
if x != nil {
|
|
return x.FileName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Media) GetFileSize() int64 {
|
|
if x != nil && x.FileSize != nil {
|
|
return *x.FileSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Media) GetWidth() int64 {
|
|
if x != nil && x.Width != nil {
|
|
return *x.Width
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Media) GetHeight() int64 {
|
|
if x != nil && x.Height != nil {
|
|
return *x.Height
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Media) GetDuration() int64 {
|
|
if x != nil && x.Duration != nil {
|
|
return *x.Duration
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Media) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Turn struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TurnId string `protobuf:"bytes,1,opt,name=turn_id,json=turnId,proto3" json:"turn_id,omitempty"`
|
|
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
SourceId string `protobuf:"bytes,3,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
|
|
Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
|
|
Attempt int64 `protobuf:"varint,5,opt,name=attempt,proto3" json:"attempt,omitempty"`
|
|
OwnerId string `protobuf:"bytes,6,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
|
|
InputMessageId string `protobuf:"bytes,7,opt,name=input_message_id,json=inputMessageId,proto3" json:"input_message_id,omitempty"`
|
|
AssistantMessageId string `protobuf:"bytes,8,opt,name=assistant_message_id,json=assistantMessageId,proto3" json:"assistant_message_id,omitempty"`
|
|
PartialText string `protobuf:"bytes,9,opt,name=partial_text,json=partialText,proto3" json:"partial_text,omitempty"`
|
|
ResponseText string `protobuf:"bytes,10,opt,name=response_text,json=responseText,proto3" json:"response_text,omitempty"`
|
|
ToolCalls []*ToolCall `protobuf:"bytes,11,rep,name=tool_calls,json=toolCalls,proto3" json:"tool_calls,omitempty"`
|
|
Error string `protobuf:"bytes,12,opt,name=error,proto3" json:"error,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Turn) Reset() {
|
|
*x = Turn{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Turn) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Turn) ProtoMessage() {}
|
|
|
|
func (x *Turn) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[6]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Turn.ProtoReflect.Descriptor instead.
|
|
func (*Turn) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *Turn) GetTurnId() string {
|
|
if x != nil {
|
|
return x.TurnId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Turn) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Turn) GetSourceId() string {
|
|
if x != nil {
|
|
return x.SourceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Turn) GetStatus() string {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Turn) GetAttempt() int64 {
|
|
if x != nil {
|
|
return x.Attempt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Turn) GetOwnerId() string {
|
|
if x != nil {
|
|
return x.OwnerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Turn) GetInputMessageId() string {
|
|
if x != nil {
|
|
return x.InputMessageId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Turn) GetAssistantMessageId() string {
|
|
if x != nil {
|
|
return x.AssistantMessageId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Turn) GetPartialText() string {
|
|
if x != nil {
|
|
return x.PartialText
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Turn) GetResponseText() string {
|
|
if x != nil {
|
|
return x.ResponseText
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Turn) GetToolCalls() []*ToolCall {
|
|
if x != nil {
|
|
return x.ToolCalls
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Turn) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Turn) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Turn) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type StringList struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StringList) Reset() {
|
|
*x = StringList{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StringList) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StringList) ProtoMessage() {}
|
|
|
|
func (x *StringList) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[7]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StringList.ProtoReflect.Descriptor instead.
|
|
func (*StringList) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *StringList) GetValues() []string {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SnapshotRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SnapshotRequest) Reset() {
|
|
*x = SnapshotRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SnapshotRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SnapshotRequest) ProtoMessage() {}
|
|
|
|
func (x *SnapshotRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[8]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SnapshotRequest.ProtoReflect.Descriptor instead.
|
|
func (*SnapshotRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type SnapshotResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
|
|
Models []string `protobuf:"bytes,2,rep,name=models,proto3" json:"models,omitempty"`
|
|
ModelsByProvider map[string]*StringList `protobuf:"bytes,3,rep,name=models_by_provider,json=modelsByProvider,proto3" json:"models_by_provider,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
|
Providers []string `protobuf:"bytes,4,rep,name=providers,proto3" json:"providers,omitempty"`
|
|
ActiveModel string `protobuf:"bytes,5,opt,name=active_model,json=activeModel,proto3" json:"active_model,omitempty"`
|
|
ActiveProvider string `protobuf:"bytes,6,opt,name=active_provider,json=activeProvider,proto3" json:"active_provider,omitempty"`
|
|
RestartAvailable bool `protobuf:"varint,9,opt,name=restart_available,json=restartAvailable,proto3" json:"restart_available,omitempty"`
|
|
CancellationAvailable bool `protobuf:"varint,10,opt,name=cancellation_available,json=cancellationAvailable,proto3" json:"cancellation_available,omitempty"`
|
|
Version string `protobuf:"bytes,12,opt,name=version,proto3" json:"version,omitempty"`
|
|
VoiceAvailable bool `protobuf:"varint,13,opt,name=voice_available,json=voiceAvailable,proto3" json:"voice_available,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SnapshotResponse) Reset() {
|
|
*x = SnapshotResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SnapshotResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SnapshotResponse) ProtoMessage() {}
|
|
|
|
func (x *SnapshotResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[9]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SnapshotResponse.ProtoReflect.Descriptor instead.
|
|
func (*SnapshotResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *SnapshotResponse) GetSessions() []*Session {
|
|
if x != nil {
|
|
return x.Sessions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SnapshotResponse) GetModels() []string {
|
|
if x != nil {
|
|
return x.Models
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SnapshotResponse) GetModelsByProvider() map[string]*StringList {
|
|
if x != nil {
|
|
return x.ModelsByProvider
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SnapshotResponse) GetProviders() []string {
|
|
if x != nil {
|
|
return x.Providers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SnapshotResponse) GetActiveModel() string {
|
|
if x != nil {
|
|
return x.ActiveModel
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SnapshotResponse) GetActiveProvider() string {
|
|
if x != nil {
|
|
return x.ActiveProvider
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SnapshotResponse) GetRestartAvailable() bool {
|
|
if x != nil {
|
|
return x.RestartAvailable
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SnapshotResponse) GetCancellationAvailable() bool {
|
|
if x != nil {
|
|
return x.CancellationAvailable
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SnapshotResponse) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SnapshotResponse) GetVoiceAvailable() bool {
|
|
if x != nil {
|
|
return x.VoiceAvailable
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetSessionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSessionRequest) Reset() {
|
|
*x = GetSessionRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSessionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSessionRequest) ProtoMessage() {}
|
|
|
|
func (x *GetSessionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[10]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSessionRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetSessionRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *GetSessionRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetSessionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
|
|
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSessionResponse) Reset() {
|
|
*x = GetSessionResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSessionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSessionResponse) ProtoMessage() {}
|
|
|
|
func (x *GetSessionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[11]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSessionResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetSessionResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *GetSessionResponse) GetSession() *Session {
|
|
if x != nil {
|
|
return x.Session
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetSessionResponse) GetFound() bool {
|
|
if x != nil {
|
|
return x.Found
|
|
}
|
|
return false
|
|
}
|
|
|
|
type RecentMessagesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecentMessagesRequest) Reset() {
|
|
*x = RecentMessagesRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecentMessagesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecentMessagesRequest) ProtoMessage() {}
|
|
|
|
func (x *RecentMessagesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[12]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecentMessagesRequest.ProtoReflect.Descriptor instead.
|
|
func (*RecentMessagesRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *RecentMessagesRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RecentMessagesRequest) GetLimit() int64 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RecentMessagesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecentMessagesResponse) Reset() {
|
|
*x = RecentMessagesResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecentMessagesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecentMessagesResponse) ProtoMessage() {}
|
|
|
|
func (x *RecentMessagesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[13]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecentMessagesResponse.ProtoReflect.Descriptor instead.
|
|
func (*RecentMessagesResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *RecentMessagesResponse) GetMessages() []*Message {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RecentTurnsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecentTurnsRequest) Reset() {
|
|
*x = RecentTurnsRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecentTurnsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecentTurnsRequest) ProtoMessage() {}
|
|
|
|
func (x *RecentTurnsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[14]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecentTurnsRequest.ProtoReflect.Descriptor instead.
|
|
func (*RecentTurnsRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *RecentTurnsRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RecentTurnsRequest) GetLimit() int64 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type RecentTurnsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Turns []*Turn `protobuf:"bytes,1,rep,name=turns,proto3" json:"turns,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecentTurnsResponse) Reset() {
|
|
*x = RecentTurnsResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecentTurnsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecentTurnsResponse) ProtoMessage() {}
|
|
|
|
func (x *RecentTurnsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[15]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecentTurnsResponse.ProtoReflect.Descriptor instead.
|
|
func (*RecentTurnsResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *RecentTurnsResponse) GetTurns() []*Turn {
|
|
if x != nil {
|
|
return x.Turns
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RouteRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RouteRequest) Reset() {
|
|
*x = RouteRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RouteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RouteRequest) ProtoMessage() {}
|
|
|
|
func (x *RouteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[16]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RouteRequest.ProtoReflect.Descriptor instead.
|
|
func (*RouteRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *RouteRequest) GetMessage() *Message {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RouteResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
|
|
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
// rate_limited marks text as the inbound rate-limit reply, not a dispatch
|
|
// outcome.
|
|
RateLimited bool `protobuf:"varint,3,opt,name=rate_limited,json=rateLimited,proto3" json:"rate_limited,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RouteResponse) Reset() {
|
|
*x = RouteResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RouteResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RouteResponse) ProtoMessage() {}
|
|
|
|
func (x *RouteResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[17]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RouteResponse.ProtoReflect.Descriptor instead.
|
|
func (*RouteResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *RouteResponse) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RouteResponse) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RouteResponse) GetRateLimited() bool {
|
|
if x != nil {
|
|
return x.RateLimited
|
|
}
|
|
return false
|
|
}
|
|
|
|
// The caller states which asks it can answer; the turn offers only those.
|
|
type StreamRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
CanApprove bool `protobuf:"varint,2,opt,name=can_approve,json=canApprove,proto3" json:"can_approve,omitempty"`
|
|
CanClarify bool `protobuf:"varint,3,opt,name=can_clarify,json=canClarify,proto3" json:"can_clarify,omitempty"`
|
|
CanPick bool `protobuf:"varint,4,opt,name=can_pick,json=canPick,proto3" json:"can_pick,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StreamRequest) Reset() {
|
|
*x = StreamRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StreamRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StreamRequest) ProtoMessage() {}
|
|
|
|
func (x *StreamRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[18]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StreamRequest.ProtoReflect.Descriptor instead.
|
|
func (*StreamRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *StreamRequest) GetMessage() *Message {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StreamRequest) GetCanApprove() bool {
|
|
if x != nil {
|
|
return x.CanApprove
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *StreamRequest) GetCanClarify() bool {
|
|
if x != nil {
|
|
return x.CanClarify
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *StreamRequest) GetCanPick() bool {
|
|
if x != nil {
|
|
return x.CanPick
|
|
}
|
|
return false
|
|
}
|
|
|
|
// Ask is a question the turn blocks on until Answer names its id.
|
|
type Ask struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
// approval, clarify or picker.
|
|
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
Prompt string `protobuf:"bytes,3,opt,name=prompt,proto3" json:"prompt,omitempty"`
|
|
// Tool description, for an approval.
|
|
Detail string `protobuf:"bytes,4,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
Choices []*Choice `protobuf:"bytes,5,rep,name=choices,proto3" json:"choices,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Ask) Reset() {
|
|
*x = Ask{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Ask) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Ask) ProtoMessage() {}
|
|
|
|
func (x *Ask) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[19]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Ask.ProtoReflect.Descriptor instead.
|
|
func (*Ask) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *Ask) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Ask) GetKind() string {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Ask) GetPrompt() string {
|
|
if x != nil {
|
|
return x.Prompt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Ask) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Ask) GetChoices() []*Choice {
|
|
if x != nil {
|
|
return x.Choices
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Choice struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Choice) Reset() {
|
|
*x = Choice{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Choice) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Choice) ProtoMessage() {}
|
|
|
|
func (x *Choice) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[20]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Choice.ProtoReflect.Descriptor instead.
|
|
func (*Choice) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *Choice) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Choice) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// For an approval, answer is approve, always or deny; for a picker, the
|
|
// choice id; for a clarify, the reply text.
|
|
type AnswerRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AskId string `protobuf:"bytes,1,opt,name=ask_id,json=askId,proto3" json:"ask_id,omitempty"`
|
|
Answer string `protobuf:"bytes,2,opt,name=answer,proto3" json:"answer,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AnswerRequest) Reset() {
|
|
*x = AnswerRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AnswerRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AnswerRequest) ProtoMessage() {}
|
|
|
|
func (x *AnswerRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[21]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AnswerRequest.ProtoReflect.Descriptor instead.
|
|
func (*AnswerRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *AnswerRequest) GetAskId() string {
|
|
if x != nil {
|
|
return x.AskId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AnswerRequest) GetAnswer() string {
|
|
if x != nil {
|
|
return x.Answer
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type AnswerResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *AnswerResponse) Reset() {
|
|
*x = AnswerResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *AnswerResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AnswerResponse) ProtoMessage() {}
|
|
|
|
func (x *AnswerResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[22]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use AnswerResponse.ProtoReflect.Descriptor instead.
|
|
func (*AnswerResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *AnswerResponse) GetFound() bool {
|
|
if x != nil {
|
|
return x.Found
|
|
}
|
|
return false
|
|
}
|
|
|
|
type StreamResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
|
|
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
|
|
SessionId string `protobuf:"bytes,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
Tool *ToolCall `protobuf:"bytes,4,opt,name=tool,proto3" json:"tool,omitempty"`
|
|
Media *Media `protobuf:"bytes,5,opt,name=media,proto3" json:"media,omitempty"`
|
|
Ask *Ask `protobuf:"bytes,6,opt,name=ask,proto3" json:"ask,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StreamResponse) Reset() {
|
|
*x = StreamResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StreamResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StreamResponse) ProtoMessage() {}
|
|
|
|
func (x *StreamResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[23]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StreamResponse.ProtoReflect.Descriptor instead.
|
|
func (*StreamResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *StreamResponse) GetKind() string {
|
|
if x != nil {
|
|
return x.Kind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StreamResponse) GetText() string {
|
|
if x != nil {
|
|
return x.Text
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StreamResponse) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StreamResponse) GetTool() *ToolCall {
|
|
if x != nil {
|
|
return x.Tool
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StreamResponse) GetMedia() *Media {
|
|
if x != nil {
|
|
return x.Media
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StreamResponse) GetAsk() *Ask {
|
|
if x != nil {
|
|
return x.Ask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CancelRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CancelRequest) Reset() {
|
|
*x = CancelRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CancelRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CancelRequest) ProtoMessage() {}
|
|
|
|
func (x *CancelRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[24]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CancelRequest.ProtoReflect.Descriptor instead.
|
|
func (*CancelRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *CancelRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CancelResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Cancelled bool `protobuf:"varint,1,opt,name=cancelled,proto3" json:"cancelled,omitempty"`
|
|
Dropped int64 `protobuf:"varint,2,opt,name=dropped,proto3" json:"dropped,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CancelResponse) Reset() {
|
|
*x = CancelResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CancelResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CancelResponse) ProtoMessage() {}
|
|
|
|
func (x *CancelResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[25]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CancelResponse.ProtoReflect.Descriptor instead.
|
|
func (*CancelResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *CancelResponse) GetCancelled() bool {
|
|
if x != nil {
|
|
return x.Cancelled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CancelResponse) GetDropped() int64 {
|
|
if x != nil {
|
|
return x.Dropped
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// StopTasksRequest stops task_id, or with task_id zero every queued or running
|
|
// task the conversation origin created.
|
|
type StopTasksRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
|
|
TaskId int64 `protobuf:"varint,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StopTasksRequest) Reset() {
|
|
*x = StopTasksRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StopTasksRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StopTasksRequest) ProtoMessage() {}
|
|
|
|
func (x *StopTasksRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[26]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StopTasksRequest.ProtoReflect.Descriptor instead.
|
|
func (*StopTasksRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *StopTasksRequest) GetOrigin() string {
|
|
if x != nil {
|
|
return x.Origin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StopTasksRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// error reports tasks that could not be stopped alongside those that were.
|
|
type StopTasksResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Stopped []int64 `protobuf:"varint,1,rep,packed,name=stopped,proto3" json:"stopped,omitempty"`
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *StopTasksResponse) Reset() {
|
|
*x = StopTasksResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *StopTasksResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StopTasksResponse) ProtoMessage() {}
|
|
|
|
func (x *StopTasksResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[27]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use StopTasksResponse.ProtoReflect.Descriptor instead.
|
|
func (*StopTasksResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *StopTasksResponse) GetStopped() []int64 {
|
|
if x != nil {
|
|
return x.Stopped
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *StopTasksResponse) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ApplyTaskActionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
|
|
TaskId int64 `protobuf:"varint,2,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
|
|
Instructions string `protobuf:"bytes,4,opt,name=instructions,proto3" json:"instructions,omitempty"`
|
|
Findings []string `protobuf:"bytes,5,rep,name=findings,proto3" json:"findings,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApplyTaskActionRequest) Reset() {
|
|
*x = ApplyTaskActionRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApplyTaskActionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApplyTaskActionRequest) ProtoMessage() {}
|
|
|
|
func (x *ApplyTaskActionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[28]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApplyTaskActionRequest.ProtoReflect.Descriptor instead.
|
|
func (*ApplyTaskActionRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *ApplyTaskActionRequest) GetIdentity() string {
|
|
if x != nil {
|
|
return x.Identity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyTaskActionRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApplyTaskActionRequest) GetAction() string {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyTaskActionRequest) GetInstructions() string {
|
|
if x != nil {
|
|
return x.Instructions
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyTaskActionRequest) GetFindings() []string {
|
|
if x != nil {
|
|
return x.Findings
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ApplyTaskActionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApplyTaskActionResponse) Reset() {
|
|
*x = ApplyTaskActionResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApplyTaskActionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApplyTaskActionResponse) ProtoMessage() {}
|
|
|
|
func (x *ApplyTaskActionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[29]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApplyTaskActionResponse.ProtoReflect.Descriptor instead.
|
|
func (*ApplyTaskActionResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *ApplyTaskActionResponse) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApplyTaskActionResponse) GetAction() string {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyTaskActionResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// An authenticated dashboard operator acts across identities, so this request
|
|
// carries no identity to scope against -- the distinction the daemon's task
|
|
// action service draws with a nil identity (internal/domain/taskactions).
|
|
type ApplyOperatorTaskActionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
|
|
// actor_id is the identity that performed the action, as asserted by the
|
|
// caller that verified the credential the request presented. actor_kind
|
|
// travels beside it so the record can say an agent acted without a reader
|
|
// resolving the identity. principal_id is the identity whose authority the
|
|
// action used; empty means the action is recorded unattributed rather than
|
|
// credited to the actor's own authority. All three are empty when the caller
|
|
// has no verified identity, which is recorded as an unattributed action and
|
|
// never as a human's.
|
|
ActorId string `protobuf:"bytes,3,opt,name=actor_id,json=actorId,proto3" json:"actor_id,omitempty"`
|
|
ActorKind string `protobuf:"bytes,4,opt,name=actor_kind,json=actorKind,proto3" json:"actor_kind,omitempty"`
|
|
PrincipalId string `protobuf:"bytes,5,opt,name=principal_id,json=principalId,proto3" json:"principal_id,omitempty"`
|
|
// instructions and findings are the review gate answer payload
|
|
// (taskactions.ActionPayload): the instructions a rereview requires, and
|
|
// the finding keys an approve posts (empty means every offered finding).
|
|
// They are empty for every other action.
|
|
Instructions string `protobuf:"bytes,6,opt,name=instructions,proto3" json:"instructions,omitempty"`
|
|
Findings []string `protobuf:"bytes,7,rep,name=findings,proto3" json:"findings,omitempty"`
|
|
// retry_mode is the operator's worktree choice for a retry
|
|
// (taskstate.RetryMode): refresh onto the base branch or continue the work
|
|
// already pushed on the task's branch. It is empty for every other action,
|
|
// and chat carries no mode syntax -- an empty value means refresh_onto_base.
|
|
RetryMode string `protobuf:"bytes,8,opt,name=retry_mode,json=retryMode,proto3" json:"retry_mode,omitempty"`
|
|
// resume_from is the stage a retry starts at; empty runs every stage.
|
|
ResumeFrom string `protobuf:"bytes,9,opt,name=resume_from,json=resumeFrom,proto3" json:"resume_from,omitempty"`
|
|
// current_definition moves a retry onto the workflow's current stored
|
|
// definition instead of the one the run is pinned to.
|
|
CurrentDefinition bool `protobuf:"varint,10,opt,name=current_definition,json=currentDefinition,proto3" json:"current_definition,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionRequest) Reset() {
|
|
*x = ApplyOperatorTaskActionRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApplyOperatorTaskActionRequest) ProtoMessage() {}
|
|
|
|
func (x *ApplyOperatorTaskActionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[30]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApplyOperatorTaskActionRequest.ProtoReflect.Descriptor instead.
|
|
func (*ApplyOperatorTaskActionRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionRequest) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionRequest) GetAction() string {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionRequest) GetActorId() string {
|
|
if x != nil {
|
|
return x.ActorId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionRequest) GetActorKind() string {
|
|
if x != nil {
|
|
return x.ActorKind
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionRequest) GetPrincipalId() string {
|
|
if x != nil {
|
|
return x.PrincipalId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionRequest) GetInstructions() string {
|
|
if x != nil {
|
|
return x.Instructions
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionRequest) GetFindings() []string {
|
|
if x != nil {
|
|
return x.Findings
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionRequest) GetRetryMode() string {
|
|
if x != nil {
|
|
return x.RetryMode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionRequest) GetResumeFrom() string {
|
|
if x != nil {
|
|
return x.ResumeFrom
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionRequest) GetCurrentDefinition() bool {
|
|
if x != nil {
|
|
return x.CurrentDefinition
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ApplyOperatorTaskActionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
TaskId int64 `protobuf:"varint,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
|
|
Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionResponse) Reset() {
|
|
*x = ApplyOperatorTaskActionResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApplyOperatorTaskActionResponse) ProtoMessage() {}
|
|
|
|
func (x *ApplyOperatorTaskActionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[31]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ApplyOperatorTaskActionResponse.ProtoReflect.Descriptor instead.
|
|
func (*ApplyOperatorTaskActionResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionResponse) GetTaskId() int64 {
|
|
if x != nil {
|
|
return x.TaskId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionResponse) GetAction() string {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApplyOperatorTaskActionResponse) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SaveSessionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaveSessionResponse) Reset() {
|
|
*x = SaveSessionResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaveSessionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaveSessionResponse) ProtoMessage() {}
|
|
|
|
func (x *SaveSessionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[32]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaveSessionResponse.ProtoReflect.Descriptor instead.
|
|
func (*SaveSessionResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
type SaveSessionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaveSessionRequest) Reset() {
|
|
*x = SaveSessionRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaveSessionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaveSessionRequest) ProtoMessage() {}
|
|
|
|
func (x *SaveSessionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[33]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaveSessionRequest.ProtoReflect.Descriptor instead.
|
|
func (*SaveSessionRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *SaveSessionRequest) GetSession() *Session {
|
|
if x != nil {
|
|
return x.Session
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetSessionsByChannelRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
|
|
ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSessionsByChannelRequest) Reset() {
|
|
*x = GetSessionsByChannelRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSessionsByChannelRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSessionsByChannelRequest) ProtoMessage() {}
|
|
|
|
func (x *GetSessionsByChannelRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[34]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSessionsByChannelRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetSessionsByChannelRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *GetSessionsByChannelRequest) GetPlatform() string {
|
|
if x != nil {
|
|
return x.Platform
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetSessionsByChannelRequest) GetChannelId() string {
|
|
if x != nil {
|
|
return x.ChannelId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetSessionsByChannelResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetSessionsByChannelResponse) Reset() {
|
|
*x = GetSessionsByChannelResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetSessionsByChannelResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSessionsByChannelResponse) ProtoMessage() {}
|
|
|
|
func (x *GetSessionsByChannelResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[35]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetSessionsByChannelResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetSessionsByChannelResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *GetSessionsByChannelResponse) GetSessions() []*Session {
|
|
if x != nil {
|
|
return x.Sessions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListSessionsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Sessions []*Session `protobuf:"bytes,1,rep,name=sessions,proto3" json:"sessions,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListSessionsResponse) Reset() {
|
|
*x = ListSessionsResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListSessionsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListSessionsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListSessionsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[36]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListSessionsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListSessionsResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *ListSessionsResponse) GetSessions() []*Session {
|
|
if x != nil {
|
|
return x.Sessions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteSessionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteSessionResponse) Reset() {
|
|
*x = DeleteSessionResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteSessionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteSessionResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteSessionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[37]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteSessionResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteSessionResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
type TouchSessionResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TouchSessionResponse) Reset() {
|
|
*x = TouchSessionResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TouchSessionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TouchSessionResponse) ProtoMessage() {}
|
|
|
|
func (x *TouchSessionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[38]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TouchSessionResponse.ProtoReflect.Descriptor instead.
|
|
func (*TouchSessionResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
type SaveMessageResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaveMessageResponse) Reset() {
|
|
*x = SaveMessageResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaveMessageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaveMessageResponse) ProtoMessage() {}
|
|
|
|
func (x *SaveMessageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[39]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaveMessageResponse.ProtoReflect.Descriptor instead.
|
|
func (*SaveMessageResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
type SaveMessagesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaveMessagesResponse) Reset() {
|
|
*x = SaveMessagesResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaveMessagesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaveMessagesResponse) ProtoMessage() {}
|
|
|
|
func (x *SaveMessagesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[40]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaveMessagesResponse.ProtoReflect.Descriptor instead.
|
|
func (*SaveMessagesResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
type ReplaceMessagesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplaceMessagesResponse) Reset() {
|
|
*x = ReplaceMessagesResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplaceMessagesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplaceMessagesResponse) ProtoMessage() {}
|
|
|
|
func (x *ReplaceMessagesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[41]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplaceMessagesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReplaceMessagesResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
type DeleteSessionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteSessionRequest) Reset() {
|
|
*x = DeleteSessionRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteSessionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteSessionRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteSessionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[42]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteSessionRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteSessionRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *DeleteSessionRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TouchSessionRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *TouchSessionRequest) Reset() {
|
|
*x = TouchSessionRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *TouchSessionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TouchSessionRequest) ProtoMessage() {}
|
|
|
|
func (x *TouchSessionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[43]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use TouchSessionRequest.ProtoReflect.Descriptor instead.
|
|
func (*TouchSessionRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *TouchSessionRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListSessionsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListSessionsRequest) Reset() {
|
|
*x = ListSessionsRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListSessionsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListSessionsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListSessionsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[44]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListSessionsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListSessionsRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
type SaveMessageRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
Message *Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaveMessageRequest) Reset() {
|
|
*x = SaveMessageRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaveMessageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaveMessageRequest) ProtoMessage() {}
|
|
|
|
func (x *SaveMessageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[45]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaveMessageRequest.ProtoReflect.Descriptor instead.
|
|
func (*SaveMessageRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *SaveMessageRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SaveMessageRequest) GetMessage() *Message {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteRecentMessagesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteRecentMessagesRequest) Reset() {
|
|
*x = DeleteRecentMessagesRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteRecentMessagesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteRecentMessagesRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteRecentMessagesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[46]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteRecentMessagesRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteRecentMessagesRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *DeleteRecentMessagesRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DeleteRecentMessagesRequest) GetLimit() int64 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeleteRecentMessagesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Deleted int64 `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *DeleteRecentMessagesResponse) Reset() {
|
|
*x = DeleteRecentMessagesResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *DeleteRecentMessagesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteRecentMessagesResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteRecentMessagesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[47]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteRecentMessagesResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteRecentMessagesResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *DeleteRecentMessagesResponse) GetDeleted() int64 {
|
|
if x != nil {
|
|
return x.Deleted
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type MessageCountRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MessageCountRequest) Reset() {
|
|
*x = MessageCountRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MessageCountRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MessageCountRequest) ProtoMessage() {}
|
|
|
|
func (x *MessageCountRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[48]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MessageCountRequest.ProtoReflect.Descriptor instead.
|
|
func (*MessageCountRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *MessageCountRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type MessageCountResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MessageCountResponse) Reset() {
|
|
*x = MessageCountResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MessageCountResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MessageCountResponse) ProtoMessage() {}
|
|
|
|
func (x *MessageCountResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[49]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MessageCountResponse.ProtoReflect.Descriptor instead.
|
|
func (*MessageCountResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *MessageCountResponse) GetCount() int64 {
|
|
if x != nil {
|
|
return x.Count
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SaveMessagesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
Messages []*Message `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SaveMessagesRequest) Reset() {
|
|
*x = SaveMessagesRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SaveMessagesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SaveMessagesRequest) ProtoMessage() {}
|
|
|
|
func (x *SaveMessagesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[50]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SaveMessagesRequest.ProtoReflect.Descriptor instead.
|
|
func (*SaveMessagesRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *SaveMessagesRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SaveMessagesRequest) GetMessages() []*Message {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ReplaceMessagesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
Messages []*Message `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
Superseded []string `protobuf:"bytes,3,rep,name=superseded,proto3" json:"superseded,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReplaceMessagesRequest) Reset() {
|
|
*x = ReplaceMessagesRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReplaceMessagesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReplaceMessagesRequest) ProtoMessage() {}
|
|
|
|
func (x *ReplaceMessagesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[51]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReplaceMessagesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReplaceMessagesRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *ReplaceMessagesRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReplaceMessagesRequest) GetMessages() []*Message {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ReplaceMessagesRequest) GetSuperseded() []string {
|
|
if x != nil {
|
|
return x.Superseded
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SearchMessagesRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
|
|
Limit int64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
Offset int64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SearchMessagesRequest) Reset() {
|
|
*x = SearchMessagesRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SearchMessagesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchMessagesRequest) ProtoMessage() {}
|
|
|
|
func (x *SearchMessagesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[52]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SearchMessagesRequest.ProtoReflect.Descriptor instead.
|
|
func (*SearchMessagesRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *SearchMessagesRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchMessagesRequest) GetQuery() string {
|
|
if x != nil {
|
|
return x.Query
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SearchMessagesRequest) GetLimit() int64 {
|
|
if x != nil {
|
|
return x.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchMessagesRequest) GetOffset() int64 {
|
|
if x != nil {
|
|
return x.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SearchMessagesResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
NextOffset int64 `protobuf:"varint,2,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
|
|
HasMore bool `protobuf:"varint,3,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`
|
|
Truncated bool `protobuf:"varint,4,opt,name=truncated,proto3" json:"truncated,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SearchMessagesResponse) Reset() {
|
|
*x = SearchMessagesResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SearchMessagesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SearchMessagesResponse) ProtoMessage() {}
|
|
|
|
func (x *SearchMessagesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[53]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SearchMessagesResponse.ProtoReflect.Descriptor instead.
|
|
func (*SearchMessagesResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *SearchMessagesResponse) GetMessages() []*Message {
|
|
if x != nil {
|
|
return x.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SearchMessagesResponse) GetNextOffset() int64 {
|
|
if x != nil {
|
|
return x.NextOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SearchMessagesResponse) GetHasMore() bool {
|
|
if x != nil {
|
|
return x.HasMore
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SearchMessagesResponse) GetTruncated() bool {
|
|
if x != nil {
|
|
return x.Truncated
|
|
}
|
|
return false
|
|
}
|
|
|
|
// ListSkills reports the live skill catalogue the Gateway runs, as the
|
|
// dashboard's Skills page shows it. source labels where each skill was
|
|
// discovered (project, shared, user-global or stored).
|
|
type ListSkillsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListSkillsRequest) Reset() {
|
|
*x = ListSkillsRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListSkillsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListSkillsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListSkillsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[54]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListSkillsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListSkillsRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
type ListSkillsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Skills []*Skill `protobuf:"bytes,1,rep,name=skills,proto3" json:"skills,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListSkillsResponse) Reset() {
|
|
*x = ListSkillsResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListSkillsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListSkillsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListSkillsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[55]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListSkillsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListSkillsResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *ListSkillsResponse) GetSkills() []*Skill {
|
|
if x != nil {
|
|
return x.Skills
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Skill struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
Workflow string `protobuf:"bytes,3,opt,name=workflow,proto3" json:"workflow,omitempty"`
|
|
Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Skill) Reset() {
|
|
*x = Skill{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Skill) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Skill) ProtoMessage() {}
|
|
|
|
func (x *Skill) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[56]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Skill.ProtoReflect.Descriptor instead.
|
|
func (*Skill) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
func (x *Skill) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Skill) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Skill) GetWorkflow() string {
|
|
if x != nil {
|
|
return x.Workflow
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Skill) GetSource() string {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// CuratorHealth reports every registered curator's point-in-time health and
|
|
// recent activity. last_run_at is absent for a curator that has never run.
|
|
type CuratorHealthRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CuratorHealthRequest) Reset() {
|
|
*x = CuratorHealthRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CuratorHealthRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CuratorHealthRequest) ProtoMessage() {}
|
|
|
|
func (x *CuratorHealthRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[57]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CuratorHealthRequest.ProtoReflect.Descriptor instead.
|
|
func (*CuratorHealthRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
type CuratorHealthResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Curators []*Curator `protobuf:"bytes,1,rep,name=curators,proto3" json:"curators,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CuratorHealthResponse) Reset() {
|
|
*x = CuratorHealthResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CuratorHealthResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CuratorHealthResponse) ProtoMessage() {}
|
|
|
|
func (x *CuratorHealthResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[58]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CuratorHealthResponse.ProtoReflect.Descriptor instead.
|
|
func (*CuratorHealthResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{58}
|
|
}
|
|
|
|
func (x *CuratorHealthResponse) GetCurators() []*Curator {
|
|
if x != nil {
|
|
return x.Curators
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Curator struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
HealthStatus string `protobuf:"bytes,2,opt,name=health_status,json=healthStatus,proto3" json:"health_status,omitempty"`
|
|
HealthMessage string `protobuf:"bytes,3,opt,name=health_message,json=healthMessage,proto3" json:"health_message,omitempty"`
|
|
LastRunAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_run_at,json=lastRunAt,proto3,oneof" json:"last_run_at,omitempty"`
|
|
LastRunActions int64 `protobuf:"varint,5,opt,name=last_run_actions,json=lastRunActions,proto3" json:"last_run_actions,omitempty"`
|
|
RecentActions []*CuratorAction `protobuf:"bytes,6,rep,name=recent_actions,json=recentActions,proto3" json:"recent_actions,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Curator) Reset() {
|
|
*x = Curator{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Curator) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Curator) ProtoMessage() {}
|
|
|
|
func (x *Curator) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[59]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Curator.ProtoReflect.Descriptor instead.
|
|
func (*Curator) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{59}
|
|
}
|
|
|
|
func (x *Curator) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Curator) GetHealthStatus() string {
|
|
if x != nil {
|
|
return x.HealthStatus
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Curator) GetHealthMessage() string {
|
|
if x != nil {
|
|
return x.HealthMessage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Curator) GetLastRunAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.LastRunAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Curator) GetLastRunActions() int64 {
|
|
if x != nil {
|
|
return x.LastRunActions
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Curator) GetRecentActions() []*CuratorAction {
|
|
if x != nil {
|
|
return x.RecentActions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CuratorAction struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
At *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=at,proto3" json:"at,omitempty"`
|
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
|
Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
|
|
Reason string `protobuf:"bytes,4,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CuratorAction) Reset() {
|
|
*x = CuratorAction{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[60]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CuratorAction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CuratorAction) ProtoMessage() {}
|
|
|
|
func (x *CuratorAction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[60]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CuratorAction.ProtoReflect.Descriptor instead.
|
|
func (*CuratorAction) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{60}
|
|
}
|
|
|
|
func (x *CuratorAction) GetAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.At
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CuratorAction) GetType() string {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CuratorAction) GetDetail() string {
|
|
if x != nil {
|
|
return x.Detail
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CuratorAction) GetReason() string {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// ReloadChannel asks the process hosting a channel to re-read its
|
|
// configuration. It is Unavailable from a Gateway that hosts no channels.
|
|
type ReloadChannelRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReloadChannelRequest) Reset() {
|
|
*x = ReloadChannelRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[61]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReloadChannelRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReloadChannelRequest) ProtoMessage() {}
|
|
|
|
func (x *ReloadChannelRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[61]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReloadChannelRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReloadChannelRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{61}
|
|
}
|
|
|
|
func (x *ReloadChannelRequest) GetChannelId() string {
|
|
if x != nil {
|
|
return x.ChannelId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ReloadChannelResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ReloadChannelResponse) Reset() {
|
|
*x = ReloadChannelResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[62]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ReloadChannelResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReloadChannelResponse) ProtoMessage() {}
|
|
|
|
func (x *ReloadChannelResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[62]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReloadChannelResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReloadChannelResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{62}
|
|
}
|
|
|
|
type RecentLogsRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Query *v1.LogQuery `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
|
|
Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecentLogsRequest) Reset() {
|
|
*x = RecentLogsRequest{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[63]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecentLogsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecentLogsRequest) ProtoMessage() {}
|
|
|
|
func (x *RecentLogsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[63]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecentLogsRequest.ProtoReflect.Descriptor instead.
|
|
func (*RecentLogsRequest) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{63}
|
|
}
|
|
|
|
func (x *RecentLogsRequest) GetQuery() *v1.LogQuery {
|
|
if x != nil {
|
|
return x.Query
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RecentLogsRequest) GetService() string {
|
|
if x != nil {
|
|
return x.Service
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RecentLogsResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Snapshot *v1.LogSnapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *RecentLogsResponse) Reset() {
|
|
*x = RecentLogsResponse{}
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[64]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *RecentLogsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RecentLogsResponse) ProtoMessage() {}
|
|
|
|
func (x *RecentLogsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gateway_v1_chat_proto_msgTypes[64]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use RecentLogsResponse.ProtoReflect.Descriptor instead.
|
|
func (*RecentLogsResponse) Descriptor() ([]byte, []int) {
|
|
return file_gateway_v1_chat_proto_rawDescGZIP(), []int{64}
|
|
}
|
|
|
|
func (x *RecentLogsResponse) GetSnapshot() *v1.LogSnapshot {
|
|
if x != nil {
|
|
return x.Snapshot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_gateway_v1_chat_proto protoreflect.FileDescriptor
|
|
|
|
const file_gateway_v1_chat_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x15gateway/v1/chat.proto\x12\n" +
|
|
"gateway.v1\x1a\x18logging/v1/logging.proto\x1a\x1fgoogle/protobuf/timestamp.proto\">\n" +
|
|
"\x12CheckSecretRequest\x12\x16\n" +
|
|
"\x06engine\x18\x01 \x01(\tR\x06engine\x12\x10\n" +
|
|
"\x03key\x18\x02 \x01(\tR\x03key\"1\n" +
|
|
"\x13CheckSecretResponse\x12\x1a\n" +
|
|
"\bresolved\x18\x01 \x01(\bR\bresolved\"\xfb\x02\n" +
|
|
"\aSession\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\x12\x1a\n" +
|
|
"\bplatform\x18\x02 \x01(\tR\bplatform\x12\x19\n" +
|
|
"\bbot_user\x18\x03 \x01(\tR\abotUser\x12\x1d\n" +
|
|
"\n" +
|
|
"channel_id\x18\x04 \x01(\tR\tchannelId\x12\x1b\n" +
|
|
"\tthread_id\x18\x05 \x01(\tR\bthreadId\x12\x14\n" +
|
|
"\x05title\x18\x06 \x01(\tR\x05title\x12*\n" +
|
|
"\x11parent_session_id\x18\a \x01(\tR\x0fparentSessionId\x12\x1f\n" +
|
|
"\vbranch_name\x18\b \x01(\tR\n" +
|
|
"branchName\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12@\n" +
|
|
"\x0elast_active_at\x18\n" +
|
|
" \x01(\v2\x1a.google.protobuf.TimestampR\flastActiveAt\"\xdd\x02\n" +
|
|
"\aMessage\x12\x1d\n" +
|
|
"\n" +
|
|
"message_id\x18\x01 \x01(\tR\tmessageId\x12\x1b\n" +
|
|
"\tsource_id\x18\x02 \x01(\tR\bsourceId\x12\x1d\n" +
|
|
"\n" +
|
|
"channel_id\x18\x03 \x01(\tR\tchannelId\x12\x1b\n" +
|
|
"\tthread_id\x18\x04 \x01(\tR\bthreadId\x12\x12\n" +
|
|
"\x04from\x18\x05 \x01(\tR\x04from\x12\x12\n" +
|
|
"\x04text\x18\x06 \x01(\tR\x04text\x12\x12\n" +
|
|
"\x04page\x18\a \x01(\tR\x04page\x12*\n" +
|
|
"\x02at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\x02at\x12\x1a\n" +
|
|
"\bplatform\x18\n" +
|
|
" \x01(\tR\bplatform\x12'\n" +
|
|
"\x05media\x18\v \x03(\v2\x11.gateway.v1.MediaR\x05media\x12\x1b\n" +
|
|
"\tsender_id\x18\f \x01(\tR\bsenderIdJ\x04\b\t\x10\n" +
|
|
"R\n" +
|
|
"budget_key\"|\n" +
|
|
"\bToolCall\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1e\n" +
|
|
"\n" +
|
|
"parameters\x18\x03 \x01(\tR\n" +
|
|
"parameters\x12\x16\n" +
|
|
"\x06output\x18\x04 \x01(\tR\x06output\x12\x14\n" +
|
|
"\x05error\x18\x05 \x01(\tR\x05error\"\xf0\x02\n" +
|
|
"\x05Media\x12\x1b\n" +
|
|
"\ttool_name\x18\x01 \x01(\tR\btoolName\x12\x12\n" +
|
|
"\x04type\x18\x02 \x01(\tR\x04type\x12\x17\n" +
|
|
"\afile_id\x18\x03 \x01(\tR\x06fileId\x12\x10\n" +
|
|
"\x03url\x18\x04 \x01(\tR\x03url\x12\x12\n" +
|
|
"\x04path\x18\x05 \x01(\tR\x04path\x12\x1b\n" +
|
|
"\tmime_type\x18\x06 \x01(\tR\bmimeType\x12\x1b\n" +
|
|
"\tfile_name\x18\a \x01(\tR\bfileName\x12 \n" +
|
|
"\tfile_size\x18\b \x01(\x03H\x00R\bfileSize\x88\x01\x01\x12\x19\n" +
|
|
"\x05width\x18\t \x01(\x03H\x01R\x05width\x88\x01\x01\x12\x1b\n" +
|
|
"\x06height\x18\n" +
|
|
" \x01(\x03H\x02R\x06height\x88\x01\x01\x12\x1f\n" +
|
|
"\bduration\x18\v \x01(\x03H\x03R\bduration\x88\x01\x01\x12\x12\n" +
|
|
"\x04data\x18\f \x01(\fR\x04dataB\f\n" +
|
|
"\n" +
|
|
"_file_sizeB\b\n" +
|
|
"\x06_widthB\t\n" +
|
|
"\a_heightB\v\n" +
|
|
"\t_duration\"\x8d\x04\n" +
|
|
"\x04Turn\x12\x17\n" +
|
|
"\aturn_id\x18\x01 \x01(\tR\x06turnId\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x02 \x01(\tR\tsessionId\x12\x1b\n" +
|
|
"\tsource_id\x18\x03 \x01(\tR\bsourceId\x12\x16\n" +
|
|
"\x06status\x18\x04 \x01(\tR\x06status\x12\x18\n" +
|
|
"\aattempt\x18\x05 \x01(\x03R\aattempt\x12\x19\n" +
|
|
"\bowner_id\x18\x06 \x01(\tR\aownerId\x12(\n" +
|
|
"\x10input_message_id\x18\a \x01(\tR\x0einputMessageId\x120\n" +
|
|
"\x14assistant_message_id\x18\b \x01(\tR\x12assistantMessageId\x12!\n" +
|
|
"\fpartial_text\x18\t \x01(\tR\vpartialText\x12#\n" +
|
|
"\rresponse_text\x18\n" +
|
|
" \x01(\tR\fresponseText\x123\n" +
|
|
"\n" +
|
|
"tool_calls\x18\v \x03(\v2\x14.gateway.v1.ToolCallR\ttoolCalls\x12\x14\n" +
|
|
"\x05error\x18\f \x01(\tR\x05error\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\r \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\x0e \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"$\n" +
|
|
"\n" +
|
|
"StringList\x12\x16\n" +
|
|
"\x06values\x18\x01 \x03(\tR\x06values\"\x11\n" +
|
|
"\x0fSnapshotRequest\"\xec\x04\n" +
|
|
"\x10SnapshotResponse\x12/\n" +
|
|
"\bsessions\x18\x01 \x03(\v2\x13.gateway.v1.SessionR\bsessions\x12\x16\n" +
|
|
"\x06models\x18\x02 \x03(\tR\x06models\x12`\n" +
|
|
"\x12models_by_provider\x18\x03 \x03(\v22.gateway.v1.SnapshotResponse.ModelsByProviderEntryR\x10modelsByProvider\x12\x1c\n" +
|
|
"\tproviders\x18\x04 \x03(\tR\tproviders\x12!\n" +
|
|
"\factive_model\x18\x05 \x01(\tR\vactiveModel\x12'\n" +
|
|
"\x0factive_provider\x18\x06 \x01(\tR\x0eactiveProvider\x12+\n" +
|
|
"\x11restart_available\x18\t \x01(\bR\x10restartAvailable\x125\n" +
|
|
"\x16cancellation_available\x18\n" +
|
|
" \x01(\bR\x15cancellationAvailable\x12\x18\n" +
|
|
"\aversion\x18\f \x01(\tR\aversion\x12'\n" +
|
|
"\x0fvoice_available\x18\r \x01(\bR\x0evoiceAvailable\x1a[\n" +
|
|
"\x15ModelsByProviderEntry\x12\x10\n" +
|
|
"\x03key\x18\x01 \x01(\tR\x03key\x12,\n" +
|
|
"\x05value\x18\x02 \x01(\v2\x16.gateway.v1.StringListR\x05value:\x028\x01J\x04\b\a\x10\bJ\x04\b\b\x10\tJ\x04\b\v\x10\fR\bpersonasR\x0factive_personasR\x12personas_available\"2\n" +
|
|
"\x11GetSessionRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\"Y\n" +
|
|
"\x12GetSessionResponse\x12-\n" +
|
|
"\asession\x18\x01 \x01(\v2\x13.gateway.v1.SessionR\asession\x12\x14\n" +
|
|
"\x05found\x18\x02 \x01(\bR\x05found\"L\n" +
|
|
"\x15RecentMessagesRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\x12\x14\n" +
|
|
"\x05limit\x18\x02 \x01(\x03R\x05limit\"I\n" +
|
|
"\x16RecentMessagesResponse\x12/\n" +
|
|
"\bmessages\x18\x01 \x03(\v2\x13.gateway.v1.MessageR\bmessages\"I\n" +
|
|
"\x12RecentTurnsRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\x12\x14\n" +
|
|
"\x05limit\x18\x02 \x01(\x03R\x05limit\"=\n" +
|
|
"\x13RecentTurnsResponse\x12&\n" +
|
|
"\x05turns\x18\x01 \x03(\v2\x10.gateway.v1.TurnR\x05turns\"=\n" +
|
|
"\fRouteRequest\x12-\n" +
|
|
"\amessage\x18\x01 \x01(\v2\x13.gateway.v1.MessageR\amessage\"e\n" +
|
|
"\rRouteResponse\x12\x12\n" +
|
|
"\x04text\x18\x01 \x01(\tR\x04text\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x02 \x01(\tR\tsessionId\x12!\n" +
|
|
"\frate_limited\x18\x03 \x01(\bR\vrateLimited\"\x9b\x01\n" +
|
|
"\rStreamRequest\x12-\n" +
|
|
"\amessage\x18\x01 \x01(\v2\x13.gateway.v1.MessageR\amessage\x12\x1f\n" +
|
|
"\vcan_approve\x18\x02 \x01(\bR\n" +
|
|
"canApprove\x12\x1f\n" +
|
|
"\vcan_clarify\x18\x03 \x01(\bR\n" +
|
|
"canClarify\x12\x19\n" +
|
|
"\bcan_pick\x18\x04 \x01(\bR\acanPick\"\x87\x01\n" +
|
|
"\x03Ask\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04kind\x18\x02 \x01(\tR\x04kind\x12\x16\n" +
|
|
"\x06prompt\x18\x03 \x01(\tR\x06prompt\x12\x16\n" +
|
|
"\x06detail\x18\x04 \x01(\tR\x06detail\x12,\n" +
|
|
"\achoices\x18\x05 \x03(\v2\x12.gateway.v1.ChoiceR\achoices\".\n" +
|
|
"\x06Choice\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n" +
|
|
"\x05label\x18\x02 \x01(\tR\x05label\">\n" +
|
|
"\rAnswerRequest\x12\x15\n" +
|
|
"\x06ask_id\x18\x01 \x01(\tR\x05askId\x12\x16\n" +
|
|
"\x06answer\x18\x02 \x01(\tR\x06answer\"&\n" +
|
|
"\x0eAnswerResponse\x12\x14\n" +
|
|
"\x05found\x18\x01 \x01(\bR\x05found\"\xcd\x01\n" +
|
|
"\x0eStreamResponse\x12\x12\n" +
|
|
"\x04kind\x18\x01 \x01(\tR\x04kind\x12\x12\n" +
|
|
"\x04text\x18\x02 \x01(\tR\x04text\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x03 \x01(\tR\tsessionId\x12(\n" +
|
|
"\x04tool\x18\x04 \x01(\v2\x14.gateway.v1.ToolCallR\x04tool\x12'\n" +
|
|
"\x05media\x18\x05 \x01(\v2\x11.gateway.v1.MediaR\x05media\x12!\n" +
|
|
"\x03ask\x18\x06 \x01(\v2\x0f.gateway.v1.AskR\x03ask\".\n" +
|
|
"\rCancelRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\"H\n" +
|
|
"\x0eCancelResponse\x12\x1c\n" +
|
|
"\tcancelled\x18\x01 \x01(\bR\tcancelled\x12\x18\n" +
|
|
"\adropped\x18\x02 \x01(\x03R\adropped\"C\n" +
|
|
"\x10StopTasksRequest\x12\x16\n" +
|
|
"\x06origin\x18\x01 \x01(\tR\x06origin\x12\x17\n" +
|
|
"\atask_id\x18\x02 \x01(\x03R\x06taskId\"C\n" +
|
|
"\x11StopTasksResponse\x12\x18\n" +
|
|
"\astopped\x18\x01 \x03(\x03R\astopped\x12\x14\n" +
|
|
"\x05error\x18\x02 \x01(\tR\x05error\"\xa5\x01\n" +
|
|
"\x16ApplyTaskActionRequest\x12\x1a\n" +
|
|
"\bidentity\x18\x01 \x01(\tR\bidentity\x12\x17\n" +
|
|
"\atask_id\x18\x02 \x01(\x03R\x06taskId\x12\x16\n" +
|
|
"\x06action\x18\x03 \x01(\tR\x06action\x12\"\n" +
|
|
"\finstructions\x18\x04 \x01(\tR\finstructions\x12\x1a\n" +
|
|
"\bfindings\x18\x05 \x03(\tR\bfindings\"d\n" +
|
|
"\x17ApplyTaskActionResponse\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x16\n" +
|
|
"\x06action\x18\x02 \x01(\tR\x06action\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"\xdd\x02\n" +
|
|
"\x1eApplyOperatorTaskActionRequest\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x16\n" +
|
|
"\x06action\x18\x02 \x01(\tR\x06action\x12\x19\n" +
|
|
"\bactor_id\x18\x03 \x01(\tR\aactorId\x12\x1d\n" +
|
|
"\n" +
|
|
"actor_kind\x18\x04 \x01(\tR\tactorKind\x12!\n" +
|
|
"\fprincipal_id\x18\x05 \x01(\tR\vprincipalId\x12\"\n" +
|
|
"\finstructions\x18\x06 \x01(\tR\finstructions\x12\x1a\n" +
|
|
"\bfindings\x18\a \x03(\tR\bfindings\x12\x1d\n" +
|
|
"\n" +
|
|
"retry_mode\x18\b \x01(\tR\tretryMode\x12\x1f\n" +
|
|
"\vresume_from\x18\t \x01(\tR\n" +
|
|
"resumeFrom\x12-\n" +
|
|
"\x12current_definition\x18\n" +
|
|
" \x01(\bR\x11currentDefinition\"l\n" +
|
|
"\x1fApplyOperatorTaskActionResponse\x12\x17\n" +
|
|
"\atask_id\x18\x01 \x01(\x03R\x06taskId\x12\x16\n" +
|
|
"\x06action\x18\x02 \x01(\tR\x06action\x12\x18\n" +
|
|
"\amessage\x18\x03 \x01(\tR\amessage\"\x15\n" +
|
|
"\x13SaveSessionResponse\"C\n" +
|
|
"\x12SaveSessionRequest\x12-\n" +
|
|
"\asession\x18\x01 \x01(\v2\x13.gateway.v1.SessionR\asession\"X\n" +
|
|
"\x1bGetSessionsByChannelRequest\x12\x1a\n" +
|
|
"\bplatform\x18\x01 \x01(\tR\bplatform\x12\x1d\n" +
|
|
"\n" +
|
|
"channel_id\x18\x02 \x01(\tR\tchannelId\"O\n" +
|
|
"\x1cGetSessionsByChannelResponse\x12/\n" +
|
|
"\bsessions\x18\x01 \x03(\v2\x13.gateway.v1.SessionR\bsessions\"G\n" +
|
|
"\x14ListSessionsResponse\x12/\n" +
|
|
"\bsessions\x18\x01 \x03(\v2\x13.gateway.v1.SessionR\bsessions\"\x17\n" +
|
|
"\x15DeleteSessionResponse\"\x16\n" +
|
|
"\x14TouchSessionResponse\"\x15\n" +
|
|
"\x13SaveMessageResponse\"\x16\n" +
|
|
"\x14SaveMessagesResponse\"\x19\n" +
|
|
"\x17ReplaceMessagesResponse\"5\n" +
|
|
"\x14DeleteSessionRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\"4\n" +
|
|
"\x13TouchSessionRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\"\x15\n" +
|
|
"\x13ListSessionsRequest\"b\n" +
|
|
"\x12SaveMessageRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\x12-\n" +
|
|
"\amessage\x18\x02 \x01(\v2\x13.gateway.v1.MessageR\amessage\"R\n" +
|
|
"\x1bDeleteRecentMessagesRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\x12\x14\n" +
|
|
"\x05limit\x18\x02 \x01(\x03R\x05limit\"8\n" +
|
|
"\x1cDeleteRecentMessagesResponse\x12\x18\n" +
|
|
"\adeleted\x18\x01 \x01(\x03R\adeleted\"4\n" +
|
|
"\x13MessageCountRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\",\n" +
|
|
"\x14MessageCountResponse\x12\x14\n" +
|
|
"\x05count\x18\x01 \x01(\x03R\x05count\"e\n" +
|
|
"\x13SaveMessagesRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\x12/\n" +
|
|
"\bmessages\x18\x02 \x03(\v2\x13.gateway.v1.MessageR\bmessages\"\x88\x01\n" +
|
|
"\x16ReplaceMessagesRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\x12/\n" +
|
|
"\bmessages\x18\x02 \x03(\v2\x13.gateway.v1.MessageR\bmessages\x12\x1e\n" +
|
|
"\n" +
|
|
"superseded\x18\x03 \x03(\tR\n" +
|
|
"superseded\"z\n" +
|
|
"\x15SearchMessagesRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"session_id\x18\x01 \x01(\tR\tsessionId\x12\x14\n" +
|
|
"\x05query\x18\x02 \x01(\tR\x05query\x12\x14\n" +
|
|
"\x05limit\x18\x03 \x01(\x03R\x05limit\x12\x16\n" +
|
|
"\x06offset\x18\x04 \x01(\x03R\x06offset\"\xa3\x01\n" +
|
|
"\x16SearchMessagesResponse\x12/\n" +
|
|
"\bmessages\x18\x01 \x03(\v2\x13.gateway.v1.MessageR\bmessages\x12\x1f\n" +
|
|
"\vnext_offset\x18\x02 \x01(\x03R\n" +
|
|
"nextOffset\x12\x19\n" +
|
|
"\bhas_more\x18\x03 \x01(\bR\ahasMore\x12\x1c\n" +
|
|
"\ttruncated\x18\x04 \x01(\bR\ttruncated\"\x13\n" +
|
|
"\x11ListSkillsRequest\"?\n" +
|
|
"\x12ListSkillsResponse\x12)\n" +
|
|
"\x06skills\x18\x01 \x03(\v2\x11.gateway.v1.SkillR\x06skills\"q\n" +
|
|
"\x05Skill\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12 \n" +
|
|
"\vdescription\x18\x02 \x01(\tR\vdescription\x12\x1a\n" +
|
|
"\bworkflow\x18\x03 \x01(\tR\bworkflow\x12\x16\n" +
|
|
"\x06source\x18\x04 \x01(\tR\x06source\"\x16\n" +
|
|
"\x14CuratorHealthRequest\"H\n" +
|
|
"\x15CuratorHealthResponse\x12/\n" +
|
|
"\bcurators\x18\x01 \x03(\v2\x13.gateway.v1.CuratorR\bcurators\"\xa6\x02\n" +
|
|
"\aCurator\x12\x12\n" +
|
|
"\x04name\x18\x01 \x01(\tR\x04name\x12#\n" +
|
|
"\rhealth_status\x18\x02 \x01(\tR\fhealthStatus\x12%\n" +
|
|
"\x0ehealth_message\x18\x03 \x01(\tR\rhealthMessage\x12?\n" +
|
|
"\vlast_run_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampH\x00R\tlastRunAt\x88\x01\x01\x12(\n" +
|
|
"\x10last_run_actions\x18\x05 \x01(\x03R\x0elastRunActions\x12@\n" +
|
|
"\x0erecent_actions\x18\x06 \x03(\v2\x19.gateway.v1.CuratorActionR\rrecentActionsB\x0e\n" +
|
|
"\f_last_run_at\"\x7f\n" +
|
|
"\rCuratorAction\x12*\n" +
|
|
"\x02at\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\x02at\x12\x12\n" +
|
|
"\x04type\x18\x02 \x01(\tR\x04type\x12\x16\n" +
|
|
"\x06detail\x18\x03 \x01(\tR\x06detail\x12\x16\n" +
|
|
"\x06reason\x18\x04 \x01(\tR\x06reason\"5\n" +
|
|
"\x14ReloadChannelRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"channel_id\x18\x01 \x01(\tR\tchannelId\"\x17\n" +
|
|
"\x15ReloadChannelResponse\"Y\n" +
|
|
"\x11RecentLogsRequest\x12*\n" +
|
|
"\x05query\x18\x01 \x01(\v2\x14.logging.v1.LogQueryR\x05query\x12\x18\n" +
|
|
"\aservice\x18\x02 \x01(\tR\aservice\"I\n" +
|
|
"\x12RecentLogsResponse\x123\n" +
|
|
"\bsnapshot\x18\x01 \x01(\v2\x17.logging.v1.LogSnapshotR\bsnapshot2\xca\x11\n" +
|
|
"\vChatService\x12K\n" +
|
|
"\n" +
|
|
"RecentLogs\x12\x1d.gateway.v1.RecentLogsRequest\x1a\x1e.gateway.v1.RecentLogsResponse\x12E\n" +
|
|
"\bSnapshot\x12\x1b.gateway.v1.SnapshotRequest\x1a\x1c.gateway.v1.SnapshotResponse\x12K\n" +
|
|
"\n" +
|
|
"GetSession\x12\x1d.gateway.v1.GetSessionRequest\x1a\x1e.gateway.v1.GetSessionResponse\x12W\n" +
|
|
"\x0eRecentMessages\x12!.gateway.v1.RecentMessagesRequest\x1a\".gateway.v1.RecentMessagesResponse\x12N\n" +
|
|
"\vRecentTurns\x12\x1e.gateway.v1.RecentTurnsRequest\x1a\x1f.gateway.v1.RecentTurnsResponse\x12<\n" +
|
|
"\x05Route\x12\x18.gateway.v1.RouteRequest\x1a\x19.gateway.v1.RouteResponse\x12A\n" +
|
|
"\x06Stream\x12\x19.gateway.v1.StreamRequest\x1a\x1a.gateway.v1.StreamResponse0\x01\x12?\n" +
|
|
"\x06Answer\x12\x19.gateway.v1.AnswerRequest\x1a\x1a.gateway.v1.AnswerResponse\x12?\n" +
|
|
"\x06Cancel\x12\x19.gateway.v1.CancelRequest\x1a\x1a.gateway.v1.CancelResponse\x12H\n" +
|
|
"\tStopTasks\x12\x1c.gateway.v1.StopTasksRequest\x1a\x1d.gateway.v1.StopTasksResponse\x12Z\n" +
|
|
"\x0fApplyTaskAction\x12\".gateway.v1.ApplyTaskActionRequest\x1a#.gateway.v1.ApplyTaskActionResponse\x12r\n" +
|
|
"\x17ApplyOperatorTaskAction\x12*.gateway.v1.ApplyOperatorTaskActionRequest\x1a+.gateway.v1.ApplyOperatorTaskActionResponse\x12N\n" +
|
|
"\vSaveSession\x12\x1e.gateway.v1.SaveSessionRequest\x1a\x1f.gateway.v1.SaveSessionResponse\x12i\n" +
|
|
"\x14GetSessionsByChannel\x12'.gateway.v1.GetSessionsByChannelRequest\x1a(.gateway.v1.GetSessionsByChannelResponse\x12T\n" +
|
|
"\rDeleteSession\x12 .gateway.v1.DeleteSessionRequest\x1a!.gateway.v1.DeleteSessionResponse\x12Q\n" +
|
|
"\fTouchSession\x12\x1f.gateway.v1.TouchSessionRequest\x1a .gateway.v1.TouchSessionResponse\x12Q\n" +
|
|
"\fListSessions\x12\x1f.gateway.v1.ListSessionsRequest\x1a .gateway.v1.ListSessionsResponse\x12N\n" +
|
|
"\vSaveMessage\x12\x1e.gateway.v1.SaveMessageRequest\x1a\x1f.gateway.v1.SaveMessageResponse\x12i\n" +
|
|
"\x14DeleteRecentMessages\x12'.gateway.v1.DeleteRecentMessagesRequest\x1a(.gateway.v1.DeleteRecentMessagesResponse\x12Q\n" +
|
|
"\fMessageCount\x12\x1f.gateway.v1.MessageCountRequest\x1a .gateway.v1.MessageCountResponse\x12Q\n" +
|
|
"\fSaveMessages\x12\x1f.gateway.v1.SaveMessagesRequest\x1a .gateway.v1.SaveMessagesResponse\x12Z\n" +
|
|
"\x0fReplaceMessages\x12\".gateway.v1.ReplaceMessagesRequest\x1a#.gateway.v1.ReplaceMessagesResponse\x12W\n" +
|
|
"\x0eSearchMessages\x12!.gateway.v1.SearchMessagesRequest\x1a\".gateway.v1.SearchMessagesResponse\x12K\n" +
|
|
"\n" +
|
|
"ListSkills\x12\x1d.gateway.v1.ListSkillsRequest\x1a\x1e.gateway.v1.ListSkillsResponse\x12T\n" +
|
|
"\rCuratorHealth\x12 .gateway.v1.CuratorHealthRequest\x1a!.gateway.v1.CuratorHealthResponse\x12T\n" +
|
|
"\rReloadChannel\x12 .gateway.v1.ReloadChannelRequest\x1a!.gateway.v1.ReloadChannelResponse\x12N\n" +
|
|
"\vCheckSecret\x12\x1e.gateway.v1.CheckSecretRequest\x1a\x1f.gateway.v1.CheckSecretResponseB\xa2\x01\n" +
|
|
"\x0ecom.gateway.v1B\tChatProtoP\x01Z<github.com/samcharles93/archipelago/sdk/gateway/v1;gatewayv1\xa2\x02\x03GXX\xaa\x02\n" +
|
|
"Gateway.V1\xca\x02\n" +
|
|
"Gateway\\V1\xe2\x02\x16Gateway\\V1\\GPBMetadata\xea\x02\vGateway::V1b\x06proto3"
|
|
|
|
var (
|
|
file_gateway_v1_chat_proto_rawDescOnce sync.Once
|
|
file_gateway_v1_chat_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_gateway_v1_chat_proto_rawDescGZIP() []byte {
|
|
file_gateway_v1_chat_proto_rawDescOnce.Do(func() {
|
|
file_gateway_v1_chat_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_gateway_v1_chat_proto_rawDesc), len(file_gateway_v1_chat_proto_rawDesc)))
|
|
})
|
|
return file_gateway_v1_chat_proto_rawDescData
|
|
}
|
|
|
|
var file_gateway_v1_chat_proto_msgTypes = make([]protoimpl.MessageInfo, 66)
|
|
var file_gateway_v1_chat_proto_goTypes = []any{
|
|
(*CheckSecretRequest)(nil), // 0: gateway.v1.CheckSecretRequest
|
|
(*CheckSecretResponse)(nil), // 1: gateway.v1.CheckSecretResponse
|
|
(*Session)(nil), // 2: gateway.v1.Session
|
|
(*Message)(nil), // 3: gateway.v1.Message
|
|
(*ToolCall)(nil), // 4: gateway.v1.ToolCall
|
|
(*Media)(nil), // 5: gateway.v1.Media
|
|
(*Turn)(nil), // 6: gateway.v1.Turn
|
|
(*StringList)(nil), // 7: gateway.v1.StringList
|
|
(*SnapshotRequest)(nil), // 8: gateway.v1.SnapshotRequest
|
|
(*SnapshotResponse)(nil), // 9: gateway.v1.SnapshotResponse
|
|
(*GetSessionRequest)(nil), // 10: gateway.v1.GetSessionRequest
|
|
(*GetSessionResponse)(nil), // 11: gateway.v1.GetSessionResponse
|
|
(*RecentMessagesRequest)(nil), // 12: gateway.v1.RecentMessagesRequest
|
|
(*RecentMessagesResponse)(nil), // 13: gateway.v1.RecentMessagesResponse
|
|
(*RecentTurnsRequest)(nil), // 14: gateway.v1.RecentTurnsRequest
|
|
(*RecentTurnsResponse)(nil), // 15: gateway.v1.RecentTurnsResponse
|
|
(*RouteRequest)(nil), // 16: gateway.v1.RouteRequest
|
|
(*RouteResponse)(nil), // 17: gateway.v1.RouteResponse
|
|
(*StreamRequest)(nil), // 18: gateway.v1.StreamRequest
|
|
(*Ask)(nil), // 19: gateway.v1.Ask
|
|
(*Choice)(nil), // 20: gateway.v1.Choice
|
|
(*AnswerRequest)(nil), // 21: gateway.v1.AnswerRequest
|
|
(*AnswerResponse)(nil), // 22: gateway.v1.AnswerResponse
|
|
(*StreamResponse)(nil), // 23: gateway.v1.StreamResponse
|
|
(*CancelRequest)(nil), // 24: gateway.v1.CancelRequest
|
|
(*CancelResponse)(nil), // 25: gateway.v1.CancelResponse
|
|
(*StopTasksRequest)(nil), // 26: gateway.v1.StopTasksRequest
|
|
(*StopTasksResponse)(nil), // 27: gateway.v1.StopTasksResponse
|
|
(*ApplyTaskActionRequest)(nil), // 28: gateway.v1.ApplyTaskActionRequest
|
|
(*ApplyTaskActionResponse)(nil), // 29: gateway.v1.ApplyTaskActionResponse
|
|
(*ApplyOperatorTaskActionRequest)(nil), // 30: gateway.v1.ApplyOperatorTaskActionRequest
|
|
(*ApplyOperatorTaskActionResponse)(nil), // 31: gateway.v1.ApplyOperatorTaskActionResponse
|
|
(*SaveSessionResponse)(nil), // 32: gateway.v1.SaveSessionResponse
|
|
(*SaveSessionRequest)(nil), // 33: gateway.v1.SaveSessionRequest
|
|
(*GetSessionsByChannelRequest)(nil), // 34: gateway.v1.GetSessionsByChannelRequest
|
|
(*GetSessionsByChannelResponse)(nil), // 35: gateway.v1.GetSessionsByChannelResponse
|
|
(*ListSessionsResponse)(nil), // 36: gateway.v1.ListSessionsResponse
|
|
(*DeleteSessionResponse)(nil), // 37: gateway.v1.DeleteSessionResponse
|
|
(*TouchSessionResponse)(nil), // 38: gateway.v1.TouchSessionResponse
|
|
(*SaveMessageResponse)(nil), // 39: gateway.v1.SaveMessageResponse
|
|
(*SaveMessagesResponse)(nil), // 40: gateway.v1.SaveMessagesResponse
|
|
(*ReplaceMessagesResponse)(nil), // 41: gateway.v1.ReplaceMessagesResponse
|
|
(*DeleteSessionRequest)(nil), // 42: gateway.v1.DeleteSessionRequest
|
|
(*TouchSessionRequest)(nil), // 43: gateway.v1.TouchSessionRequest
|
|
(*ListSessionsRequest)(nil), // 44: gateway.v1.ListSessionsRequest
|
|
(*SaveMessageRequest)(nil), // 45: gateway.v1.SaveMessageRequest
|
|
(*DeleteRecentMessagesRequest)(nil), // 46: gateway.v1.DeleteRecentMessagesRequest
|
|
(*DeleteRecentMessagesResponse)(nil), // 47: gateway.v1.DeleteRecentMessagesResponse
|
|
(*MessageCountRequest)(nil), // 48: gateway.v1.MessageCountRequest
|
|
(*MessageCountResponse)(nil), // 49: gateway.v1.MessageCountResponse
|
|
(*SaveMessagesRequest)(nil), // 50: gateway.v1.SaveMessagesRequest
|
|
(*ReplaceMessagesRequest)(nil), // 51: gateway.v1.ReplaceMessagesRequest
|
|
(*SearchMessagesRequest)(nil), // 52: gateway.v1.SearchMessagesRequest
|
|
(*SearchMessagesResponse)(nil), // 53: gateway.v1.SearchMessagesResponse
|
|
(*ListSkillsRequest)(nil), // 54: gateway.v1.ListSkillsRequest
|
|
(*ListSkillsResponse)(nil), // 55: gateway.v1.ListSkillsResponse
|
|
(*Skill)(nil), // 56: gateway.v1.Skill
|
|
(*CuratorHealthRequest)(nil), // 57: gateway.v1.CuratorHealthRequest
|
|
(*CuratorHealthResponse)(nil), // 58: gateway.v1.CuratorHealthResponse
|
|
(*Curator)(nil), // 59: gateway.v1.Curator
|
|
(*CuratorAction)(nil), // 60: gateway.v1.CuratorAction
|
|
(*ReloadChannelRequest)(nil), // 61: gateway.v1.ReloadChannelRequest
|
|
(*ReloadChannelResponse)(nil), // 62: gateway.v1.ReloadChannelResponse
|
|
(*RecentLogsRequest)(nil), // 63: gateway.v1.RecentLogsRequest
|
|
(*RecentLogsResponse)(nil), // 64: gateway.v1.RecentLogsResponse
|
|
nil, // 65: gateway.v1.SnapshotResponse.ModelsByProviderEntry
|
|
(*timestamppb.Timestamp)(nil), // 66: google.protobuf.Timestamp
|
|
(*v1.LogQuery)(nil), // 67: logging.v1.LogQuery
|
|
(*v1.LogSnapshot)(nil), // 68: logging.v1.LogSnapshot
|
|
}
|
|
var file_gateway_v1_chat_proto_depIdxs = []int32{
|
|
66, // 0: gateway.v1.Session.created_at:type_name -> google.protobuf.Timestamp
|
|
66, // 1: gateway.v1.Session.last_active_at:type_name -> google.protobuf.Timestamp
|
|
66, // 2: gateway.v1.Message.at:type_name -> google.protobuf.Timestamp
|
|
5, // 3: gateway.v1.Message.media:type_name -> gateway.v1.Media
|
|
4, // 4: gateway.v1.Turn.tool_calls:type_name -> gateway.v1.ToolCall
|
|
66, // 5: gateway.v1.Turn.created_at:type_name -> google.protobuf.Timestamp
|
|
66, // 6: gateway.v1.Turn.updated_at:type_name -> google.protobuf.Timestamp
|
|
2, // 7: gateway.v1.SnapshotResponse.sessions:type_name -> gateway.v1.Session
|
|
65, // 8: gateway.v1.SnapshotResponse.models_by_provider:type_name -> gateway.v1.SnapshotResponse.ModelsByProviderEntry
|
|
2, // 9: gateway.v1.GetSessionResponse.session:type_name -> gateway.v1.Session
|
|
3, // 10: gateway.v1.RecentMessagesResponse.messages:type_name -> gateway.v1.Message
|
|
6, // 11: gateway.v1.RecentTurnsResponse.turns:type_name -> gateway.v1.Turn
|
|
3, // 12: gateway.v1.RouteRequest.message:type_name -> gateway.v1.Message
|
|
3, // 13: gateway.v1.StreamRequest.message:type_name -> gateway.v1.Message
|
|
20, // 14: gateway.v1.Ask.choices:type_name -> gateway.v1.Choice
|
|
4, // 15: gateway.v1.StreamResponse.tool:type_name -> gateway.v1.ToolCall
|
|
5, // 16: gateway.v1.StreamResponse.media:type_name -> gateway.v1.Media
|
|
19, // 17: gateway.v1.StreamResponse.ask:type_name -> gateway.v1.Ask
|
|
2, // 18: gateway.v1.SaveSessionRequest.session:type_name -> gateway.v1.Session
|
|
2, // 19: gateway.v1.GetSessionsByChannelResponse.sessions:type_name -> gateway.v1.Session
|
|
2, // 20: gateway.v1.ListSessionsResponse.sessions:type_name -> gateway.v1.Session
|
|
3, // 21: gateway.v1.SaveMessageRequest.message:type_name -> gateway.v1.Message
|
|
3, // 22: gateway.v1.SaveMessagesRequest.messages:type_name -> gateway.v1.Message
|
|
3, // 23: gateway.v1.ReplaceMessagesRequest.messages:type_name -> gateway.v1.Message
|
|
3, // 24: gateway.v1.SearchMessagesResponse.messages:type_name -> gateway.v1.Message
|
|
56, // 25: gateway.v1.ListSkillsResponse.skills:type_name -> gateway.v1.Skill
|
|
59, // 26: gateway.v1.CuratorHealthResponse.curators:type_name -> gateway.v1.Curator
|
|
66, // 27: gateway.v1.Curator.last_run_at:type_name -> google.protobuf.Timestamp
|
|
60, // 28: gateway.v1.Curator.recent_actions:type_name -> gateway.v1.CuratorAction
|
|
66, // 29: gateway.v1.CuratorAction.at:type_name -> google.protobuf.Timestamp
|
|
67, // 30: gateway.v1.RecentLogsRequest.query:type_name -> logging.v1.LogQuery
|
|
68, // 31: gateway.v1.RecentLogsResponse.snapshot:type_name -> logging.v1.LogSnapshot
|
|
7, // 32: gateway.v1.SnapshotResponse.ModelsByProviderEntry.value:type_name -> gateway.v1.StringList
|
|
63, // 33: gateway.v1.ChatService.RecentLogs:input_type -> gateway.v1.RecentLogsRequest
|
|
8, // 34: gateway.v1.ChatService.Snapshot:input_type -> gateway.v1.SnapshotRequest
|
|
10, // 35: gateway.v1.ChatService.GetSession:input_type -> gateway.v1.GetSessionRequest
|
|
12, // 36: gateway.v1.ChatService.RecentMessages:input_type -> gateway.v1.RecentMessagesRequest
|
|
14, // 37: gateway.v1.ChatService.RecentTurns:input_type -> gateway.v1.RecentTurnsRequest
|
|
16, // 38: gateway.v1.ChatService.Route:input_type -> gateway.v1.RouteRequest
|
|
18, // 39: gateway.v1.ChatService.Stream:input_type -> gateway.v1.StreamRequest
|
|
21, // 40: gateway.v1.ChatService.Answer:input_type -> gateway.v1.AnswerRequest
|
|
24, // 41: gateway.v1.ChatService.Cancel:input_type -> gateway.v1.CancelRequest
|
|
26, // 42: gateway.v1.ChatService.StopTasks:input_type -> gateway.v1.StopTasksRequest
|
|
28, // 43: gateway.v1.ChatService.ApplyTaskAction:input_type -> gateway.v1.ApplyTaskActionRequest
|
|
30, // 44: gateway.v1.ChatService.ApplyOperatorTaskAction:input_type -> gateway.v1.ApplyOperatorTaskActionRequest
|
|
33, // 45: gateway.v1.ChatService.SaveSession:input_type -> gateway.v1.SaveSessionRequest
|
|
34, // 46: gateway.v1.ChatService.GetSessionsByChannel:input_type -> gateway.v1.GetSessionsByChannelRequest
|
|
42, // 47: gateway.v1.ChatService.DeleteSession:input_type -> gateway.v1.DeleteSessionRequest
|
|
43, // 48: gateway.v1.ChatService.TouchSession:input_type -> gateway.v1.TouchSessionRequest
|
|
44, // 49: gateway.v1.ChatService.ListSessions:input_type -> gateway.v1.ListSessionsRequest
|
|
45, // 50: gateway.v1.ChatService.SaveMessage:input_type -> gateway.v1.SaveMessageRequest
|
|
46, // 51: gateway.v1.ChatService.DeleteRecentMessages:input_type -> gateway.v1.DeleteRecentMessagesRequest
|
|
48, // 52: gateway.v1.ChatService.MessageCount:input_type -> gateway.v1.MessageCountRequest
|
|
50, // 53: gateway.v1.ChatService.SaveMessages:input_type -> gateway.v1.SaveMessagesRequest
|
|
51, // 54: gateway.v1.ChatService.ReplaceMessages:input_type -> gateway.v1.ReplaceMessagesRequest
|
|
52, // 55: gateway.v1.ChatService.SearchMessages:input_type -> gateway.v1.SearchMessagesRequest
|
|
54, // 56: gateway.v1.ChatService.ListSkills:input_type -> gateway.v1.ListSkillsRequest
|
|
57, // 57: gateway.v1.ChatService.CuratorHealth:input_type -> gateway.v1.CuratorHealthRequest
|
|
61, // 58: gateway.v1.ChatService.ReloadChannel:input_type -> gateway.v1.ReloadChannelRequest
|
|
0, // 59: gateway.v1.ChatService.CheckSecret:input_type -> gateway.v1.CheckSecretRequest
|
|
64, // 60: gateway.v1.ChatService.RecentLogs:output_type -> gateway.v1.RecentLogsResponse
|
|
9, // 61: gateway.v1.ChatService.Snapshot:output_type -> gateway.v1.SnapshotResponse
|
|
11, // 62: gateway.v1.ChatService.GetSession:output_type -> gateway.v1.GetSessionResponse
|
|
13, // 63: gateway.v1.ChatService.RecentMessages:output_type -> gateway.v1.RecentMessagesResponse
|
|
15, // 64: gateway.v1.ChatService.RecentTurns:output_type -> gateway.v1.RecentTurnsResponse
|
|
17, // 65: gateway.v1.ChatService.Route:output_type -> gateway.v1.RouteResponse
|
|
23, // 66: gateway.v1.ChatService.Stream:output_type -> gateway.v1.StreamResponse
|
|
22, // 67: gateway.v1.ChatService.Answer:output_type -> gateway.v1.AnswerResponse
|
|
25, // 68: gateway.v1.ChatService.Cancel:output_type -> gateway.v1.CancelResponse
|
|
27, // 69: gateway.v1.ChatService.StopTasks:output_type -> gateway.v1.StopTasksResponse
|
|
29, // 70: gateway.v1.ChatService.ApplyTaskAction:output_type -> gateway.v1.ApplyTaskActionResponse
|
|
31, // 71: gateway.v1.ChatService.ApplyOperatorTaskAction:output_type -> gateway.v1.ApplyOperatorTaskActionResponse
|
|
32, // 72: gateway.v1.ChatService.SaveSession:output_type -> gateway.v1.SaveSessionResponse
|
|
35, // 73: gateway.v1.ChatService.GetSessionsByChannel:output_type -> gateway.v1.GetSessionsByChannelResponse
|
|
37, // 74: gateway.v1.ChatService.DeleteSession:output_type -> gateway.v1.DeleteSessionResponse
|
|
38, // 75: gateway.v1.ChatService.TouchSession:output_type -> gateway.v1.TouchSessionResponse
|
|
36, // 76: gateway.v1.ChatService.ListSessions:output_type -> gateway.v1.ListSessionsResponse
|
|
39, // 77: gateway.v1.ChatService.SaveMessage:output_type -> gateway.v1.SaveMessageResponse
|
|
47, // 78: gateway.v1.ChatService.DeleteRecentMessages:output_type -> gateway.v1.DeleteRecentMessagesResponse
|
|
49, // 79: gateway.v1.ChatService.MessageCount:output_type -> gateway.v1.MessageCountResponse
|
|
40, // 80: gateway.v1.ChatService.SaveMessages:output_type -> gateway.v1.SaveMessagesResponse
|
|
41, // 81: gateway.v1.ChatService.ReplaceMessages:output_type -> gateway.v1.ReplaceMessagesResponse
|
|
53, // 82: gateway.v1.ChatService.SearchMessages:output_type -> gateway.v1.SearchMessagesResponse
|
|
55, // 83: gateway.v1.ChatService.ListSkills:output_type -> gateway.v1.ListSkillsResponse
|
|
58, // 84: gateway.v1.ChatService.CuratorHealth:output_type -> gateway.v1.CuratorHealthResponse
|
|
62, // 85: gateway.v1.ChatService.ReloadChannel:output_type -> gateway.v1.ReloadChannelResponse
|
|
1, // 86: gateway.v1.ChatService.CheckSecret:output_type -> gateway.v1.CheckSecretResponse
|
|
60, // [60:87] is the sub-list for method output_type
|
|
33, // [33:60] is the sub-list for method input_type
|
|
33, // [33:33] is the sub-list for extension type_name
|
|
33, // [33:33] is the sub-list for extension extendee
|
|
0, // [0:33] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_gateway_v1_chat_proto_init() }
|
|
func file_gateway_v1_chat_proto_init() {
|
|
if File_gateway_v1_chat_proto != nil {
|
|
return
|
|
}
|
|
file_gateway_v1_chat_proto_msgTypes[5].OneofWrappers = []any{}
|
|
file_gateway_v1_chat_proto_msgTypes[59].OneofWrappers = []any{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_gateway_v1_chat_proto_rawDesc), len(file_gateway_v1_chat_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 66,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_gateway_v1_chat_proto_goTypes,
|
|
DependencyIndexes: file_gateway_v1_chat_proto_depIdxs,
|
|
MessageInfos: file_gateway_v1_chat_proto_msgTypes,
|
|
}.Build()
|
|
File_gateway_v1_chat_proto = out.File
|
|
file_gateway_v1_chat_proto_goTypes = nil
|
|
file_gateway_v1_chat_proto_depIdxs = nil
|
|
}
|