Documentation
¶
Overview ¶
Package agents is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterAgentsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAgentsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AgentsClient) error
- func RegisterAgentsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAgentsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AgentsServer) error
- func RegisterAgentsServer(s grpc.ServiceRegistrar, srv AgentsServer)
- type AgentChatInfo
- func (*AgentChatInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AgentChatInfo) GetCreatedAt() *timestamp.Timestamp
- func (x *AgentChatInfo) GetId() string
- func (x *AgentChatInfo) GetInitialMessage() string
- func (*AgentChatInfo) ProtoMessage()
- func (x *AgentChatInfo) ProtoReflect() protoreflect.Message
- func (x *AgentChatInfo) Reset()
- func (x *AgentChatInfo) String() string
- type AgentChatMessage
- func (*AgentChatMessage) Descriptor() ([]byte, []int)deprecated
- func (x *AgentChatMessage) GetContent() string
- func (x *AgentChatMessage) GetCreatedAt() *timestamp.Timestamp
- func (x *AgentChatMessage) GetId() string
- func (x *AgentChatMessage) GetRole() string
- func (x *AgentChatMessage) GetToolCallId() string
- func (x *AgentChatMessage) GetToolStatus() string
- func (*AgentChatMessage) ProtoMessage()
- func (x *AgentChatMessage) ProtoReflect() protoreflect.Message
- func (x *AgentChatMessage) Reset()
- func (x *AgentChatMessage) String() string
- type AgentsClient
- type AgentsServer
- type CreateAgentChatRequest
- func (*CreateAgentChatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAgentChatRequest) GetCanvasId() string
- func (*CreateAgentChatRequest) ProtoMessage()
- func (x *CreateAgentChatRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAgentChatRequest) Reset()
- func (x *CreateAgentChatRequest) String() string
- type CreateAgentChatResponse
- func (*CreateAgentChatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAgentChatResponse) GetToken() string
- func (x *CreateAgentChatResponse) GetUrl() string
- func (*CreateAgentChatResponse) ProtoMessage()
- func (x *CreateAgentChatResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAgentChatResponse) Reset()
- func (x *CreateAgentChatResponse) String() string
- type DescribeAgentChatRequest
- func (*DescribeAgentChatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeAgentChatRequest) GetCanvasId() string
- func (x *DescribeAgentChatRequest) GetChatId() string
- func (*DescribeAgentChatRequest) ProtoMessage()
- func (x *DescribeAgentChatRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeAgentChatRequest) Reset()
- func (x *DescribeAgentChatRequest) String() string
- type DescribeAgentChatResponse
- func (*DescribeAgentChatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeAgentChatResponse) GetChat() *AgentChatInfo
- func (*DescribeAgentChatResponse) ProtoMessage()
- func (x *DescribeAgentChatResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeAgentChatResponse) Reset()
- func (x *DescribeAgentChatResponse) String() string
- type ListAgentChatMessagesRequest
- func (*ListAgentChatMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAgentChatMessagesRequest) GetCanvasId() string
- func (x *ListAgentChatMessagesRequest) GetChatId() string
- func (*ListAgentChatMessagesRequest) ProtoMessage()
- func (x *ListAgentChatMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAgentChatMessagesRequest) Reset()
- func (x *ListAgentChatMessagesRequest) String() string
- type ListAgentChatMessagesResponse
- func (*ListAgentChatMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAgentChatMessagesResponse) GetMessages() []*AgentChatMessage
- func (*ListAgentChatMessagesResponse) ProtoMessage()
- func (x *ListAgentChatMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAgentChatMessagesResponse) Reset()
- func (x *ListAgentChatMessagesResponse) String() string
- type ListAgentChatsRequest
- func (*ListAgentChatsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAgentChatsRequest) GetCanvasId() string
- func (*ListAgentChatsRequest) ProtoMessage()
- func (x *ListAgentChatsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAgentChatsRequest) Reset()
- func (x *ListAgentChatsRequest) String() string
- type ListAgentChatsResponse
- func (*ListAgentChatsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAgentChatsResponse) GetChats() []*AgentChatInfo
- func (*ListAgentChatsResponse) ProtoMessage()
- func (x *ListAgentChatsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAgentChatsResponse) Reset()
- func (x *ListAgentChatsResponse) String() string
- type ResumeAgentChatRequest
- func (*ResumeAgentChatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeAgentChatRequest) GetCanvasId() string
- func (x *ResumeAgentChatRequest) GetChatId() string
- func (*ResumeAgentChatRequest) ProtoMessage()
- func (x *ResumeAgentChatRequest) ProtoReflect() protoreflect.Message
- func (x *ResumeAgentChatRequest) Reset()
- func (x *ResumeAgentChatRequest) String() string
- type ResumeAgentChatResponse
- func (*ResumeAgentChatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeAgentChatResponse) GetToken() string
- func (x *ResumeAgentChatResponse) GetUrl() string
- func (*ResumeAgentChatResponse) ProtoMessage()
- func (x *ResumeAgentChatResponse) ProtoReflect() protoreflect.Message
- func (x *ResumeAgentChatResponse) Reset()
- func (x *ResumeAgentChatResponse) String() string
- type UnimplementedAgentsServer
- func (UnimplementedAgentsServer) CreateAgentChat(context.Context, *CreateAgentChatRequest) (*CreateAgentChatResponse, error)
- func (UnimplementedAgentsServer) DescribeAgentChat(context.Context, *DescribeAgentChatRequest) (*DescribeAgentChatResponse, error)
- func (UnimplementedAgentsServer) ListAgentChatMessages(context.Context, *ListAgentChatMessagesRequest) (*ListAgentChatMessagesResponse, error)
- func (UnimplementedAgentsServer) ListAgentChats(context.Context, *ListAgentChatsRequest) (*ListAgentChatsResponse, error)
- func (UnimplementedAgentsServer) ResumeAgentChat(context.Context, *ResumeAgentChatRequest) (*ResumeAgentChatResponse, error)
- type UnsafeAgentsServer
Constants ¶
const ( Agents_ListAgentChats_FullMethodName = "/Superplane.Agents.Agents/ListAgentChats" Agents_CreateAgentChat_FullMethodName = "/Superplane.Agents.Agents/CreateAgentChat" Agents_DescribeAgentChat_FullMethodName = "/Superplane.Agents.Agents/DescribeAgentChat" Agents_ListAgentChatMessages_FullMethodName = "/Superplane.Agents.Agents/ListAgentChatMessages" Agents_ResumeAgentChat_FullMethodName = "/Superplane.Agents.Agents/ResumeAgentChat" )
Variables ¶
var Agents_ServiceDesc = grpc.ServiceDesc{ ServiceName: "Superplane.Agents.Agents", HandlerType: (*AgentsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListAgentChats", Handler: _Agents_ListAgentChats_Handler, }, { MethodName: "CreateAgentChat", Handler: _Agents_CreateAgentChat_Handler, }, { MethodName: "DescribeAgentChat", Handler: _Agents_DescribeAgentChat_Handler, }, { MethodName: "ListAgentChatMessages", Handler: _Agents_ListAgentChatMessages_Handler, }, { MethodName: "ResumeAgentChat", Handler: _Agents_ResumeAgentChat_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "agents.proto", }
Agents_ServiceDesc is the grpc.ServiceDesc for Agents service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_agents_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAgentsHandler ¶
RegisterAgentsHandler registers the http handlers for service Agents to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAgentsHandlerClient ¶
func RegisterAgentsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AgentsClient) error
RegisterAgentsHandlerClient registers the http handlers for service Agents to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AgentsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AgentsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AgentsClient" to call the correct interceptors. This client ignores the HTTP middlewares.
func RegisterAgentsHandlerFromEndpoint ¶
func RegisterAgentsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAgentsHandlerFromEndpoint is same as RegisterAgentsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAgentsHandlerServer ¶
func RegisterAgentsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AgentsServer) error
RegisterAgentsHandlerServer registers the http handlers for service Agents to "mux". UnaryRPC :call AgentsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAgentsHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.
func RegisterAgentsServer ¶
func RegisterAgentsServer(s grpc.ServiceRegistrar, srv AgentsServer)
Types ¶
type AgentChatInfo ¶
type AgentChatInfo struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
InitialMessage string `protobuf:"bytes,2,opt,name=initial_message,json=initialMessage,proto3" json:"initial_message,omitempty"`
CreatedAt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*AgentChatInfo) Descriptor
deprecated
func (*AgentChatInfo) Descriptor() ([]byte, []int)
Deprecated: Use AgentChatInfo.ProtoReflect.Descriptor instead.
func (*AgentChatInfo) GetCreatedAt ¶
func (x *AgentChatInfo) GetCreatedAt() *timestamp.Timestamp
func (*AgentChatInfo) GetId ¶
func (x *AgentChatInfo) GetId() string
func (*AgentChatInfo) GetInitialMessage ¶
func (x *AgentChatInfo) GetInitialMessage() string
func (*AgentChatInfo) ProtoMessage ¶
func (*AgentChatInfo) ProtoMessage()
func (*AgentChatInfo) ProtoReflect ¶
func (x *AgentChatInfo) ProtoReflect() protoreflect.Message
func (*AgentChatInfo) Reset ¶
func (x *AgentChatInfo) Reset()
func (*AgentChatInfo) String ¶
func (x *AgentChatInfo) String() string
type AgentChatMessage ¶
type AgentChatMessage struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
ToolCallId string `protobuf:"bytes,4,opt,name=tool_call_id,json=toolCallId,proto3" json:"tool_call_id,omitempty"`
ToolStatus string `protobuf:"bytes,5,opt,name=tool_status,json=toolStatus,proto3" json:"tool_status,omitempty"`
CreatedAt *timestamp.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*AgentChatMessage) Descriptor
deprecated
func (*AgentChatMessage) Descriptor() ([]byte, []int)
Deprecated: Use AgentChatMessage.ProtoReflect.Descriptor instead.
func (*AgentChatMessage) GetContent ¶
func (x *AgentChatMessage) GetContent() string
func (*AgentChatMessage) GetCreatedAt ¶
func (x *AgentChatMessage) GetCreatedAt() *timestamp.Timestamp
func (*AgentChatMessage) GetId ¶
func (x *AgentChatMessage) GetId() string
func (*AgentChatMessage) GetRole ¶
func (x *AgentChatMessage) GetRole() string
func (*AgentChatMessage) GetToolCallId ¶
func (x *AgentChatMessage) GetToolCallId() string
func (*AgentChatMessage) GetToolStatus ¶
func (x *AgentChatMessage) GetToolStatus() string
func (*AgentChatMessage) ProtoMessage ¶
func (*AgentChatMessage) ProtoMessage()
func (*AgentChatMessage) ProtoReflect ¶
func (x *AgentChatMessage) ProtoReflect() protoreflect.Message
func (*AgentChatMessage) Reset ¶
func (x *AgentChatMessage) Reset()
func (*AgentChatMessage) String ¶
func (x *AgentChatMessage) String() string
type AgentsClient ¶
type AgentsClient interface {
ListAgentChats(ctx context.Context, in *ListAgentChatsRequest, opts ...grpc.CallOption) (*ListAgentChatsResponse, error)
CreateAgentChat(ctx context.Context, in *CreateAgentChatRequest, opts ...grpc.CallOption) (*CreateAgentChatResponse, error)
DescribeAgentChat(ctx context.Context, in *DescribeAgentChatRequest, opts ...grpc.CallOption) (*DescribeAgentChatResponse, error)
ListAgentChatMessages(ctx context.Context, in *ListAgentChatMessagesRequest, opts ...grpc.CallOption) (*ListAgentChatMessagesResponse, error)
ResumeAgentChat(ctx context.Context, in *ResumeAgentChatRequest, opts ...grpc.CallOption) (*ResumeAgentChatResponse, error)
}
AgentsClient is the client API for Agents service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAgentsClient ¶
func NewAgentsClient(cc grpc.ClientConnInterface) AgentsClient
type AgentsServer ¶
type AgentsServer interface {
ListAgentChats(context.Context, *ListAgentChatsRequest) (*ListAgentChatsResponse, error)
CreateAgentChat(context.Context, *CreateAgentChatRequest) (*CreateAgentChatResponse, error)
DescribeAgentChat(context.Context, *DescribeAgentChatRequest) (*DescribeAgentChatResponse, error)
ListAgentChatMessages(context.Context, *ListAgentChatMessagesRequest) (*ListAgentChatMessagesResponse, error)
ResumeAgentChat(context.Context, *ResumeAgentChatRequest) (*ResumeAgentChatResponse, error)
}
AgentsServer is the server API for Agents service. All implementations should embed UnimplementedAgentsServer for forward compatibility.
type CreateAgentChatRequest ¶
type CreateAgentChatRequest struct {
CanvasId string `protobuf:"bytes,1,opt,name=canvas_id,json=canvasId,proto3" json:"canvas_id,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAgentChatRequest) Descriptor
deprecated
func (*CreateAgentChatRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAgentChatRequest.ProtoReflect.Descriptor instead.
func (*CreateAgentChatRequest) GetCanvasId ¶
func (x *CreateAgentChatRequest) GetCanvasId() string
func (*CreateAgentChatRequest) ProtoMessage ¶
func (*CreateAgentChatRequest) ProtoMessage()
func (*CreateAgentChatRequest) ProtoReflect ¶
func (x *CreateAgentChatRequest) ProtoReflect() protoreflect.Message
func (*CreateAgentChatRequest) Reset ¶
func (x *CreateAgentChatRequest) Reset()
func (*CreateAgentChatRequest) String ¶
func (x *CreateAgentChatRequest) String() string
type CreateAgentChatResponse ¶
type CreateAgentChatResponse struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAgentChatResponse) Descriptor
deprecated
func (*CreateAgentChatResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAgentChatResponse.ProtoReflect.Descriptor instead.
func (*CreateAgentChatResponse) GetToken ¶
func (x *CreateAgentChatResponse) GetToken() string
func (*CreateAgentChatResponse) GetUrl ¶
func (x *CreateAgentChatResponse) GetUrl() string
func (*CreateAgentChatResponse) ProtoMessage ¶
func (*CreateAgentChatResponse) ProtoMessage()
func (*CreateAgentChatResponse) ProtoReflect ¶
func (x *CreateAgentChatResponse) ProtoReflect() protoreflect.Message
func (*CreateAgentChatResponse) Reset ¶
func (x *CreateAgentChatResponse) Reset()
func (*CreateAgentChatResponse) String ¶
func (x *CreateAgentChatResponse) String() string
type DescribeAgentChatRequest ¶
type DescribeAgentChatRequest struct {
CanvasId string `protobuf:"bytes,1,opt,name=canvas_id,json=canvasId,proto3" json:"canvas_id,omitempty"`
ChatId string `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
// contains filtered or unexported fields
}
func (*DescribeAgentChatRequest) Descriptor
deprecated
func (*DescribeAgentChatRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeAgentChatRequest.ProtoReflect.Descriptor instead.
func (*DescribeAgentChatRequest) GetCanvasId ¶
func (x *DescribeAgentChatRequest) GetCanvasId() string
func (*DescribeAgentChatRequest) GetChatId ¶
func (x *DescribeAgentChatRequest) GetChatId() string
func (*DescribeAgentChatRequest) ProtoMessage ¶
func (*DescribeAgentChatRequest) ProtoMessage()
func (*DescribeAgentChatRequest) ProtoReflect ¶
func (x *DescribeAgentChatRequest) ProtoReflect() protoreflect.Message
func (*DescribeAgentChatRequest) Reset ¶
func (x *DescribeAgentChatRequest) Reset()
func (*DescribeAgentChatRequest) String ¶
func (x *DescribeAgentChatRequest) String() string
type DescribeAgentChatResponse ¶
type DescribeAgentChatResponse struct {
Chat *AgentChatInfo `protobuf:"bytes,1,opt,name=chat,proto3" json:"chat,omitempty"`
// contains filtered or unexported fields
}
func (*DescribeAgentChatResponse) Descriptor
deprecated
func (*DescribeAgentChatResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeAgentChatResponse.ProtoReflect.Descriptor instead.
func (*DescribeAgentChatResponse) GetChat ¶
func (x *DescribeAgentChatResponse) GetChat() *AgentChatInfo
func (*DescribeAgentChatResponse) ProtoMessage ¶
func (*DescribeAgentChatResponse) ProtoMessage()
func (*DescribeAgentChatResponse) ProtoReflect ¶
func (x *DescribeAgentChatResponse) ProtoReflect() protoreflect.Message
func (*DescribeAgentChatResponse) Reset ¶
func (x *DescribeAgentChatResponse) Reset()
func (*DescribeAgentChatResponse) String ¶
func (x *DescribeAgentChatResponse) String() string
type ListAgentChatMessagesRequest ¶
type ListAgentChatMessagesRequest struct {
CanvasId string `protobuf:"bytes,1,opt,name=canvas_id,json=canvasId,proto3" json:"canvas_id,omitempty"`
ChatId string `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
// contains filtered or unexported fields
}
func (*ListAgentChatMessagesRequest) Descriptor
deprecated
func (*ListAgentChatMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAgentChatMessagesRequest.ProtoReflect.Descriptor instead.
func (*ListAgentChatMessagesRequest) GetCanvasId ¶
func (x *ListAgentChatMessagesRequest) GetCanvasId() string
func (*ListAgentChatMessagesRequest) GetChatId ¶
func (x *ListAgentChatMessagesRequest) GetChatId() string
func (*ListAgentChatMessagesRequest) ProtoMessage ¶
func (*ListAgentChatMessagesRequest) ProtoMessage()
func (*ListAgentChatMessagesRequest) ProtoReflect ¶
func (x *ListAgentChatMessagesRequest) ProtoReflect() protoreflect.Message
func (*ListAgentChatMessagesRequest) Reset ¶
func (x *ListAgentChatMessagesRequest) Reset()
func (*ListAgentChatMessagesRequest) String ¶
func (x *ListAgentChatMessagesRequest) String() string
type ListAgentChatMessagesResponse ¶
type ListAgentChatMessagesResponse struct {
Messages []*AgentChatMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
// contains filtered or unexported fields
}
func (*ListAgentChatMessagesResponse) Descriptor
deprecated
func (*ListAgentChatMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAgentChatMessagesResponse.ProtoReflect.Descriptor instead.
func (*ListAgentChatMessagesResponse) GetMessages ¶
func (x *ListAgentChatMessagesResponse) GetMessages() []*AgentChatMessage
func (*ListAgentChatMessagesResponse) ProtoMessage ¶
func (*ListAgentChatMessagesResponse) ProtoMessage()
func (*ListAgentChatMessagesResponse) ProtoReflect ¶
func (x *ListAgentChatMessagesResponse) ProtoReflect() protoreflect.Message
func (*ListAgentChatMessagesResponse) Reset ¶
func (x *ListAgentChatMessagesResponse) Reset()
func (*ListAgentChatMessagesResponse) String ¶
func (x *ListAgentChatMessagesResponse) String() string
type ListAgentChatsRequest ¶
type ListAgentChatsRequest struct {
CanvasId string `protobuf:"bytes,1,opt,name=canvas_id,json=canvasId,proto3" json:"canvas_id,omitempty"`
// contains filtered or unexported fields
}
func (*ListAgentChatsRequest) Descriptor
deprecated
func (*ListAgentChatsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAgentChatsRequest.ProtoReflect.Descriptor instead.
func (*ListAgentChatsRequest) GetCanvasId ¶
func (x *ListAgentChatsRequest) GetCanvasId() string
func (*ListAgentChatsRequest) ProtoMessage ¶
func (*ListAgentChatsRequest) ProtoMessage()
func (*ListAgentChatsRequest) ProtoReflect ¶
func (x *ListAgentChatsRequest) ProtoReflect() protoreflect.Message
func (*ListAgentChatsRequest) Reset ¶
func (x *ListAgentChatsRequest) Reset()
func (*ListAgentChatsRequest) String ¶
func (x *ListAgentChatsRequest) String() string
type ListAgentChatsResponse ¶
type ListAgentChatsResponse struct {
Chats []*AgentChatInfo `protobuf:"bytes,1,rep,name=chats,proto3" json:"chats,omitempty"`
// contains filtered or unexported fields
}
func (*ListAgentChatsResponse) Descriptor
deprecated
func (*ListAgentChatsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAgentChatsResponse.ProtoReflect.Descriptor instead.
func (*ListAgentChatsResponse) GetChats ¶
func (x *ListAgentChatsResponse) GetChats() []*AgentChatInfo
func (*ListAgentChatsResponse) ProtoMessage ¶
func (*ListAgentChatsResponse) ProtoMessage()
func (*ListAgentChatsResponse) ProtoReflect ¶
func (x *ListAgentChatsResponse) ProtoReflect() protoreflect.Message
func (*ListAgentChatsResponse) Reset ¶
func (x *ListAgentChatsResponse) Reset()
func (*ListAgentChatsResponse) String ¶
func (x *ListAgentChatsResponse) String() string
type ResumeAgentChatRequest ¶
type ResumeAgentChatRequest struct {
CanvasId string `protobuf:"bytes,1,opt,name=canvas_id,json=canvasId,proto3" json:"canvas_id,omitempty"`
ChatId string `protobuf:"bytes,2,opt,name=chat_id,json=chatId,proto3" json:"chat_id,omitempty"`
// contains filtered or unexported fields
}
func (*ResumeAgentChatRequest) Descriptor
deprecated
func (*ResumeAgentChatRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeAgentChatRequest.ProtoReflect.Descriptor instead.
func (*ResumeAgentChatRequest) GetCanvasId ¶
func (x *ResumeAgentChatRequest) GetCanvasId() string
func (*ResumeAgentChatRequest) GetChatId ¶
func (x *ResumeAgentChatRequest) GetChatId() string
func (*ResumeAgentChatRequest) ProtoMessage ¶
func (*ResumeAgentChatRequest) ProtoMessage()
func (*ResumeAgentChatRequest) ProtoReflect ¶
func (x *ResumeAgentChatRequest) ProtoReflect() protoreflect.Message
func (*ResumeAgentChatRequest) Reset ¶
func (x *ResumeAgentChatRequest) Reset()
func (*ResumeAgentChatRequest) String ¶
func (x *ResumeAgentChatRequest) String() string
type ResumeAgentChatResponse ¶
type ResumeAgentChatResponse struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
// contains filtered or unexported fields
}
func (*ResumeAgentChatResponse) Descriptor
deprecated
func (*ResumeAgentChatResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResumeAgentChatResponse.ProtoReflect.Descriptor instead.
func (*ResumeAgentChatResponse) GetToken ¶
func (x *ResumeAgentChatResponse) GetToken() string
func (*ResumeAgentChatResponse) GetUrl ¶
func (x *ResumeAgentChatResponse) GetUrl() string
func (*ResumeAgentChatResponse) ProtoMessage ¶
func (*ResumeAgentChatResponse) ProtoMessage()
func (*ResumeAgentChatResponse) ProtoReflect ¶
func (x *ResumeAgentChatResponse) ProtoReflect() protoreflect.Message
func (*ResumeAgentChatResponse) Reset ¶
func (x *ResumeAgentChatResponse) Reset()
func (*ResumeAgentChatResponse) String ¶
func (x *ResumeAgentChatResponse) String() string
type UnimplementedAgentsServer ¶
type UnimplementedAgentsServer struct{}
UnimplementedAgentsServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAgentsServer) CreateAgentChat ¶
func (UnimplementedAgentsServer) CreateAgentChat(context.Context, *CreateAgentChatRequest) (*CreateAgentChatResponse, error)
func (UnimplementedAgentsServer) DescribeAgentChat ¶
func (UnimplementedAgentsServer) DescribeAgentChat(context.Context, *DescribeAgentChatRequest) (*DescribeAgentChatResponse, error)
func (UnimplementedAgentsServer) ListAgentChatMessages ¶
func (UnimplementedAgentsServer) ListAgentChatMessages(context.Context, *ListAgentChatMessagesRequest) (*ListAgentChatMessagesResponse, error)
func (UnimplementedAgentsServer) ListAgentChats ¶
func (UnimplementedAgentsServer) ListAgentChats(context.Context, *ListAgentChatsRequest) (*ListAgentChatsResponse, error)
func (UnimplementedAgentsServer) ResumeAgentChat ¶
func (UnimplementedAgentsServer) ResumeAgentChat(context.Context, *ResumeAgentChatRequest) (*ResumeAgentChatResponse, error)
type UnsafeAgentsServer ¶
type UnsafeAgentsServer interface {
// contains filtered or unexported methods
}
UnsafeAgentsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentsServer will result in compilation errors.