proto

package
v2.28.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_enterprise_aibridged_proto_aibridged_proto protoreflect.FileDescriptor

Functions

func DRPCRegisterAuthorizer

func DRPCRegisterAuthorizer(mux drpc.Mux, impl DRPCAuthorizerServer) error

func DRPCRegisterMCPConfigurator

func DRPCRegisterMCPConfigurator(mux drpc.Mux, impl DRPCMCPConfiguratorServer) error

func DRPCRegisterRecorder

func DRPCRegisterRecorder(mux drpc.Mux, impl DRPCRecorderServer) error

Types

type DRPCAuthorizerClient

type DRPCAuthorizerClient interface {
	DRPCConn() drpc.Conn

	IsAuthorized(ctx context.Context, in *IsAuthorizedRequest) (*IsAuthorizedResponse, error)
}

func NewDRPCAuthorizerClient

func NewDRPCAuthorizerClient(cc drpc.Conn) DRPCAuthorizerClient

type DRPCAuthorizerDescription

type DRPCAuthorizerDescription struct{}

func (DRPCAuthorizerDescription) Method

func (DRPCAuthorizerDescription) Method(n int) (string, drpc.Encoding, drpc.Receiver, interface{}, bool)

func (DRPCAuthorizerDescription) NumMethods

func (DRPCAuthorizerDescription) NumMethods() int

type DRPCAuthorizerServer

type DRPCAuthorizerServer interface {
	IsAuthorized(context.Context, *IsAuthorizedRequest) (*IsAuthorizedResponse, error)
}

type DRPCAuthorizerUnimplementedServer

type DRPCAuthorizerUnimplementedServer struct{}

func (*DRPCAuthorizerUnimplementedServer) IsAuthorized

type DRPCAuthorizer_IsAuthorizedStream

type DRPCAuthorizer_IsAuthorizedStream interface {
	drpc.Stream
	SendAndClose(*IsAuthorizedResponse) error
}

type DRPCMCPConfiguratorClient

type DRPCMCPConfiguratorClient interface {
	DRPCConn() drpc.Conn

	GetMCPServerConfigs(ctx context.Context, in *GetMCPServerConfigsRequest) (*GetMCPServerConfigsResponse, error)
	GetMCPServerAccessTokensBatch(ctx context.Context, in *GetMCPServerAccessTokensBatchRequest) (*GetMCPServerAccessTokensBatchResponse, error)
}

func NewDRPCMCPConfiguratorClient

func NewDRPCMCPConfiguratorClient(cc drpc.Conn) DRPCMCPConfiguratorClient

type DRPCMCPConfiguratorDescription

type DRPCMCPConfiguratorDescription struct{}

func (DRPCMCPConfiguratorDescription) Method

func (DRPCMCPConfiguratorDescription) NumMethods

func (DRPCMCPConfiguratorDescription) NumMethods() int

type DRPCMCPConfiguratorUnimplementedServer

type DRPCMCPConfiguratorUnimplementedServer struct{}

func (*DRPCMCPConfiguratorUnimplementedServer) GetMCPServerConfigs

type DRPCMCPConfigurator_GetMCPServerAccessTokensBatchStream

type DRPCMCPConfigurator_GetMCPServerAccessTokensBatchStream interface {
	drpc.Stream
	SendAndClose(*GetMCPServerAccessTokensBatchResponse) error
}

type DRPCMCPConfigurator_GetMCPServerConfigsStream

type DRPCMCPConfigurator_GetMCPServerConfigsStream interface {
	drpc.Stream
	SendAndClose(*GetMCPServerConfigsResponse) error
}

type DRPCRecorderClient

type DRPCRecorderClient interface {
	DRPCConn() drpc.Conn

	RecordInterception(ctx context.Context, in *RecordInterceptionRequest) (*RecordInterceptionResponse, error)
	RecordInterceptionEnded(ctx context.Context, in *RecordInterceptionEndedRequest) (*RecordInterceptionEndedResponse, error)
	RecordTokenUsage(ctx context.Context, in *RecordTokenUsageRequest) (*RecordTokenUsageResponse, error)
	RecordPromptUsage(ctx context.Context, in *RecordPromptUsageRequest) (*RecordPromptUsageResponse, error)
	RecordToolUsage(ctx context.Context, in *RecordToolUsageRequest) (*RecordToolUsageResponse, error)
}

func NewDRPCRecorderClient

func NewDRPCRecorderClient(cc drpc.Conn) DRPCRecorderClient

type DRPCRecorderDescription

type DRPCRecorderDescription struct{}

func (DRPCRecorderDescription) Method

func (DRPCRecorderDescription) Method(n int) (string, drpc.Encoding, drpc.Receiver, interface{}, bool)

func (DRPCRecorderDescription) NumMethods

func (DRPCRecorderDescription) NumMethods() int

type DRPCRecorderUnimplementedServer

type DRPCRecorderUnimplementedServer struct{}

func (*DRPCRecorderUnimplementedServer) RecordInterception

func (*DRPCRecorderUnimplementedServer) RecordPromptUsage

func (*DRPCRecorderUnimplementedServer) RecordTokenUsage

func (*DRPCRecorderUnimplementedServer) RecordToolUsage

type DRPCRecorder_RecordInterceptionEndedStream

type DRPCRecorder_RecordInterceptionEndedStream interface {
	drpc.Stream
	SendAndClose(*RecordInterceptionEndedResponse) error
}

type DRPCRecorder_RecordInterceptionStream

type DRPCRecorder_RecordInterceptionStream interface {
	drpc.Stream
	SendAndClose(*RecordInterceptionResponse) error
}

type DRPCRecorder_RecordPromptUsageStream

type DRPCRecorder_RecordPromptUsageStream interface {
	drpc.Stream
	SendAndClose(*RecordPromptUsageResponse) error
}

type DRPCRecorder_RecordTokenUsageStream

type DRPCRecorder_RecordTokenUsageStream interface {
	drpc.Stream
	SendAndClose(*RecordTokenUsageResponse) error
}

type DRPCRecorder_RecordToolUsageStream

type DRPCRecorder_RecordToolUsageStream interface {
	drpc.Stream
	SendAndClose(*RecordToolUsageResponse) error
}

type GetMCPServerAccessTokensBatchRequest

type GetMCPServerAccessTokensBatchRequest struct {
	UserId             string   `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // UUID.
	McpServerConfigIds []string `protobuf:"bytes,2,rep,name=mcp_server_config_ids,json=mcpServerConfigIds,proto3" json:"mcp_server_config_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMCPServerAccessTokensBatchRequest) Descriptor deprecated

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

Deprecated: Use GetMCPServerAccessTokensBatchRequest.ProtoReflect.Descriptor instead.

func (*GetMCPServerAccessTokensBatchRequest) GetMcpServerConfigIds

func (x *GetMCPServerAccessTokensBatchRequest) GetMcpServerConfigIds() []string

func (*GetMCPServerAccessTokensBatchRequest) GetUserId

func (*GetMCPServerAccessTokensBatchRequest) ProtoMessage

func (*GetMCPServerAccessTokensBatchRequest) ProtoMessage()

func (*GetMCPServerAccessTokensBatchRequest) ProtoReflect

func (*GetMCPServerAccessTokensBatchRequest) Reset

func (*GetMCPServerAccessTokensBatchRequest) String

type GetMCPServerAccessTokensBatchResponse

type GetMCPServerAccessTokensBatchResponse struct {
	AccessTokens map[string]string `` /* 185-byte string literal not displayed */
	Errors       map[string]string `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

GetMCPServerAccessTokensBatchResponse returns a map for resulting tokens or errors, indexed by server ID.

func (*GetMCPServerAccessTokensBatchResponse) Descriptor deprecated

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

Deprecated: Use GetMCPServerAccessTokensBatchResponse.ProtoReflect.Descriptor instead.

func (*GetMCPServerAccessTokensBatchResponse) GetAccessTokens

func (x *GetMCPServerAccessTokensBatchResponse) GetAccessTokens() map[string]string

func (*GetMCPServerAccessTokensBatchResponse) GetErrors

func (*GetMCPServerAccessTokensBatchResponse) ProtoMessage

func (*GetMCPServerAccessTokensBatchResponse) ProtoMessage()

func (*GetMCPServerAccessTokensBatchResponse) ProtoReflect

func (*GetMCPServerAccessTokensBatchResponse) Reset

func (*GetMCPServerAccessTokensBatchResponse) String

type GetMCPServerConfigsRequest

type GetMCPServerConfigsRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // UUID. // Not used yet, will be necessary for later RBAC purposes.
	// contains filtered or unexported fields
}

func (*GetMCPServerConfigsRequest) Descriptor deprecated

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

Deprecated: Use GetMCPServerConfigsRequest.ProtoReflect.Descriptor instead.

func (*GetMCPServerConfigsRequest) GetUserId

func (x *GetMCPServerConfigsRequest) GetUserId() string

func (*GetMCPServerConfigsRequest) ProtoMessage

func (*GetMCPServerConfigsRequest) ProtoMessage()

func (*GetMCPServerConfigsRequest) ProtoReflect

func (*GetMCPServerConfigsRequest) Reset

func (x *GetMCPServerConfigsRequest) Reset()

func (*GetMCPServerConfigsRequest) String

func (x *GetMCPServerConfigsRequest) String() string

type GetMCPServerConfigsResponse

type GetMCPServerConfigsResponse struct {
	CoderMcpConfig         *MCPServerConfig   `protobuf:"bytes,1,opt,name=coder_mcp_config,json=coderMcpConfig,proto3" json:"coder_mcp_config,omitempty"`
	ExternalAuthMcpConfigs []*MCPServerConfig `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetMCPServerConfigsResponse) Descriptor deprecated

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

Deprecated: Use GetMCPServerConfigsResponse.ProtoReflect.Descriptor instead.

func (*GetMCPServerConfigsResponse) GetCoderMcpConfig

func (x *GetMCPServerConfigsResponse) GetCoderMcpConfig() *MCPServerConfig

func (*GetMCPServerConfigsResponse) GetExternalAuthMcpConfigs

func (x *GetMCPServerConfigsResponse) GetExternalAuthMcpConfigs() []*MCPServerConfig

func (*GetMCPServerConfigsResponse) ProtoMessage

func (*GetMCPServerConfigsResponse) ProtoMessage()

func (*GetMCPServerConfigsResponse) ProtoReflect

func (*GetMCPServerConfigsResponse) Reset

func (x *GetMCPServerConfigsResponse) Reset()

func (*GetMCPServerConfigsResponse) String

func (x *GetMCPServerConfigsResponse) String() string

type IsAuthorizedRequest

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

func (*IsAuthorizedRequest) Descriptor deprecated

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

Deprecated: Use IsAuthorizedRequest.ProtoReflect.Descriptor instead.

func (*IsAuthorizedRequest) GetKey

func (x *IsAuthorizedRequest) GetKey() string

func (*IsAuthorizedRequest) ProtoMessage

func (*IsAuthorizedRequest) ProtoMessage()

func (*IsAuthorizedRequest) ProtoReflect

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

func (*IsAuthorizedRequest) Reset

func (x *IsAuthorizedRequest) Reset()

func (*IsAuthorizedRequest) String

func (x *IsAuthorizedRequest) String() string

type IsAuthorizedResponse

type IsAuthorizedResponse struct {
	OwnerId string `protobuf:"bytes,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
	// contains filtered or unexported fields
}

func (*IsAuthorizedResponse) Descriptor deprecated

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

Deprecated: Use IsAuthorizedResponse.ProtoReflect.Descriptor instead.

func (*IsAuthorizedResponse) GetOwnerId

func (x *IsAuthorizedResponse) GetOwnerId() string

func (*IsAuthorizedResponse) ProtoMessage

func (*IsAuthorizedResponse) ProtoMessage()

func (*IsAuthorizedResponse) ProtoReflect

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

func (*IsAuthorizedResponse) Reset

func (x *IsAuthorizedResponse) Reset()

func (*IsAuthorizedResponse) String

func (x *IsAuthorizedResponse) String() string

type MCPServerConfig

type MCPServerConfig struct {
	Id             string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Maps to the ID of the External Auth; this ID is unique.
	Url            string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	ToolAllowRegex string `protobuf:"bytes,3,opt,name=tool_allow_regex,json=toolAllowRegex,proto3" json:"tool_allow_regex,omitempty"`
	ToolDenyRegex  string `protobuf:"bytes,4,opt,name=tool_deny_regex,json=toolDenyRegex,proto3" json:"tool_deny_regex,omitempty"`
	// contains filtered or unexported fields
}

func (*MCPServerConfig) Descriptor deprecated

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

Deprecated: Use MCPServerConfig.ProtoReflect.Descriptor instead.

func (*MCPServerConfig) GetId

func (x *MCPServerConfig) GetId() string

func (*MCPServerConfig) GetToolAllowRegex

func (x *MCPServerConfig) GetToolAllowRegex() string

func (*MCPServerConfig) GetToolDenyRegex

func (x *MCPServerConfig) GetToolDenyRegex() string

func (*MCPServerConfig) GetUrl

func (x *MCPServerConfig) GetUrl() string

func (*MCPServerConfig) ProtoMessage

func (*MCPServerConfig) ProtoMessage()

func (*MCPServerConfig) ProtoReflect

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

func (*MCPServerConfig) Reset

func (x *MCPServerConfig) Reset()

func (*MCPServerConfig) String

func (x *MCPServerConfig) String() string

type RecordInterceptionEndedRequest

type RecordInterceptionEndedRequest struct {
	Id      string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // UUID.
	EndedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordInterceptionEndedRequest) Descriptor deprecated

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

Deprecated: Use RecordInterceptionEndedRequest.ProtoReflect.Descriptor instead.

func (*RecordInterceptionEndedRequest) GetEndedAt

func (*RecordInterceptionEndedRequest) GetId

func (*RecordInterceptionEndedRequest) ProtoMessage

func (*RecordInterceptionEndedRequest) ProtoMessage()

func (*RecordInterceptionEndedRequest) ProtoReflect

func (*RecordInterceptionEndedRequest) Reset

func (x *RecordInterceptionEndedRequest) Reset()

func (*RecordInterceptionEndedRequest) String

type RecordInterceptionEndedResponse

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

func (*RecordInterceptionEndedResponse) Descriptor deprecated

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

Deprecated: Use RecordInterceptionEndedResponse.ProtoReflect.Descriptor instead.

func (*RecordInterceptionEndedResponse) ProtoMessage

func (*RecordInterceptionEndedResponse) ProtoMessage()

func (*RecordInterceptionEndedResponse) ProtoReflect

func (*RecordInterceptionEndedResponse) Reset

func (*RecordInterceptionEndedResponse) String

type RecordInterceptionRequest

type RecordInterceptionRequest struct {
	Id          string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                      // UUID.
	InitiatorId string                 `protobuf:"bytes,2,opt,name=initiator_id,json=initiatorId,proto3" json:"initiator_id,omitempty"` // UUID.
	Provider    string                 `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
	Model       string                 `protobuf:"bytes,4,opt,name=model,proto3" json:"model,omitempty"`
	Metadata    map[string]*anypb.Any  `` /* 157-byte string literal not displayed */
	StartedAt   *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordInterceptionRequest) Descriptor deprecated

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

Deprecated: Use RecordInterceptionRequest.ProtoReflect.Descriptor instead.

func (*RecordInterceptionRequest) GetId

func (x *RecordInterceptionRequest) GetId() string

func (*RecordInterceptionRequest) GetInitiatorId

func (x *RecordInterceptionRequest) GetInitiatorId() string

func (*RecordInterceptionRequest) GetMetadata

func (x *RecordInterceptionRequest) GetMetadata() map[string]*anypb.Any

func (*RecordInterceptionRequest) GetModel

func (x *RecordInterceptionRequest) GetModel() string

func (*RecordInterceptionRequest) GetProvider

func (x *RecordInterceptionRequest) GetProvider() string

func (*RecordInterceptionRequest) GetStartedAt

func (x *RecordInterceptionRequest) GetStartedAt() *timestamppb.Timestamp

func (*RecordInterceptionRequest) ProtoMessage

func (*RecordInterceptionRequest) ProtoMessage()

func (*RecordInterceptionRequest) ProtoReflect

func (*RecordInterceptionRequest) Reset

func (x *RecordInterceptionRequest) Reset()

func (*RecordInterceptionRequest) String

func (x *RecordInterceptionRequest) String() string

type RecordInterceptionResponse

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

func (*RecordInterceptionResponse) Descriptor deprecated

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

Deprecated: Use RecordInterceptionResponse.ProtoReflect.Descriptor instead.

func (*RecordInterceptionResponse) ProtoMessage

func (*RecordInterceptionResponse) ProtoMessage()

func (*RecordInterceptionResponse) ProtoReflect

func (*RecordInterceptionResponse) Reset

func (x *RecordInterceptionResponse) Reset()

func (*RecordInterceptionResponse) String

func (x *RecordInterceptionResponse) String() string

type RecordPromptUsageRequest

type RecordPromptUsageRequest struct {
	InterceptionId string                 `protobuf:"bytes,1,opt,name=interception_id,json=interceptionId,proto3" json:"interception_id,omitempty"` // UUID.
	MsgId          string                 `protobuf:"bytes,2,opt,name=msg_id,json=msgId,proto3" json:"msg_id,omitempty"`                            // ID provided by provider.
	Prompt         string                 `protobuf:"bytes,3,opt,name=prompt,proto3" json:"prompt,omitempty"`
	Metadata       map[string]*anypb.Any  `` /* 157-byte string literal not displayed */
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordPromptUsageRequest) Descriptor deprecated

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

Deprecated: Use RecordPromptUsageRequest.ProtoReflect.Descriptor instead.

func (*RecordPromptUsageRequest) GetCreatedAt

func (x *RecordPromptUsageRequest) GetCreatedAt() *timestamppb.Timestamp

func (*RecordPromptUsageRequest) GetInterceptionId

func (x *RecordPromptUsageRequest) GetInterceptionId() string

func (*RecordPromptUsageRequest) GetMetadata

func (x *RecordPromptUsageRequest) GetMetadata() map[string]*anypb.Any

func (*RecordPromptUsageRequest) GetMsgId

func (x *RecordPromptUsageRequest) GetMsgId() string

func (*RecordPromptUsageRequest) GetPrompt

func (x *RecordPromptUsageRequest) GetPrompt() string

func (*RecordPromptUsageRequest) ProtoMessage

func (*RecordPromptUsageRequest) ProtoMessage()

func (*RecordPromptUsageRequest) ProtoReflect

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

func (*RecordPromptUsageRequest) Reset

func (x *RecordPromptUsageRequest) Reset()

func (*RecordPromptUsageRequest) String

func (x *RecordPromptUsageRequest) String() string

type RecordPromptUsageResponse

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

func (*RecordPromptUsageResponse) Descriptor deprecated

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

Deprecated: Use RecordPromptUsageResponse.ProtoReflect.Descriptor instead.

func (*RecordPromptUsageResponse) ProtoMessage

func (*RecordPromptUsageResponse) ProtoMessage()

func (*RecordPromptUsageResponse) ProtoReflect

func (*RecordPromptUsageResponse) Reset

func (x *RecordPromptUsageResponse) Reset()

func (*RecordPromptUsageResponse) String

func (x *RecordPromptUsageResponse) String() string

type RecordTokenUsageRequest

type RecordTokenUsageRequest struct {
	InterceptionId string                 `protobuf:"bytes,1,opt,name=interception_id,json=interceptionId,proto3" json:"interception_id,omitempty"` // UUID.
	MsgId          string                 `protobuf:"bytes,2,opt,name=msg_id,json=msgId,proto3" json:"msg_id,omitempty"`                            // ID provided by provider.
	InputTokens    int64                  `protobuf:"varint,3,opt,name=input_tokens,json=inputTokens,proto3" json:"input_tokens,omitempty"`
	OutputTokens   int64                  `protobuf:"varint,4,opt,name=output_tokens,json=outputTokens,proto3" json:"output_tokens,omitempty"`
	Metadata       map[string]*anypb.Any  `` /* 157-byte string literal not displayed */
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordTokenUsageRequest) Descriptor deprecated

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

Deprecated: Use RecordTokenUsageRequest.ProtoReflect.Descriptor instead.

func (*RecordTokenUsageRequest) GetCreatedAt

func (x *RecordTokenUsageRequest) GetCreatedAt() *timestamppb.Timestamp

func (*RecordTokenUsageRequest) GetInputTokens

func (x *RecordTokenUsageRequest) GetInputTokens() int64

func (*RecordTokenUsageRequest) GetInterceptionId

func (x *RecordTokenUsageRequest) GetInterceptionId() string

func (*RecordTokenUsageRequest) GetMetadata

func (x *RecordTokenUsageRequest) GetMetadata() map[string]*anypb.Any

func (*RecordTokenUsageRequest) GetMsgId

func (x *RecordTokenUsageRequest) GetMsgId() string

func (*RecordTokenUsageRequest) GetOutputTokens

func (x *RecordTokenUsageRequest) GetOutputTokens() int64

func (*RecordTokenUsageRequest) ProtoMessage

func (*RecordTokenUsageRequest) ProtoMessage()

func (*RecordTokenUsageRequest) ProtoReflect

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

func (*RecordTokenUsageRequest) Reset

func (x *RecordTokenUsageRequest) Reset()

func (*RecordTokenUsageRequest) String

func (x *RecordTokenUsageRequest) String() string

type RecordTokenUsageResponse

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

func (*RecordTokenUsageResponse) Descriptor deprecated

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

Deprecated: Use RecordTokenUsageResponse.ProtoReflect.Descriptor instead.

func (*RecordTokenUsageResponse) ProtoMessage

func (*RecordTokenUsageResponse) ProtoMessage()

func (*RecordTokenUsageResponse) ProtoReflect

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

func (*RecordTokenUsageResponse) Reset

func (x *RecordTokenUsageResponse) Reset()

func (*RecordTokenUsageResponse) String

func (x *RecordTokenUsageResponse) String() string

type RecordToolUsageRequest

type RecordToolUsageRequest struct {
	InterceptionId  string                 `protobuf:"bytes,1,opt,name=interception_id,json=interceptionId,proto3" json:"interception_id,omitempty"` // UUID.
	MsgId           string                 `protobuf:"bytes,2,opt,name=msg_id,json=msgId,proto3" json:"msg_id,omitempty"`                            // ID provided by provider.
	ServerUrl       *string                `protobuf:"bytes,3,opt,name=server_url,json=serverUrl,proto3,oneof" json:"server_url,omitempty"`          // The URL of the MCP server.
	Tool            string                 `protobuf:"bytes,4,opt,name=tool,proto3" json:"tool,omitempty"`
	Input           string                 `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"`
	Injected        bool                   `protobuf:"varint,6,opt,name=injected,proto3" json:"injected,omitempty"`
	InvocationError *string                `protobuf:"bytes,7,opt,name=invocation_error,json=invocationError,proto3,oneof" json:"invocation_error,omitempty"` // Only injected tools are invoked.
	Metadata        map[string]*anypb.Any  ``                                                                                                                 /* 157-byte string literal not displayed */
	CreatedAt       *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordToolUsageRequest) Descriptor deprecated

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

Deprecated: Use RecordToolUsageRequest.ProtoReflect.Descriptor instead.

func (*RecordToolUsageRequest) GetCreatedAt

func (x *RecordToolUsageRequest) GetCreatedAt() *timestamppb.Timestamp

func (*RecordToolUsageRequest) GetInjected

func (x *RecordToolUsageRequest) GetInjected() bool

func (*RecordToolUsageRequest) GetInput

func (x *RecordToolUsageRequest) GetInput() string

func (*RecordToolUsageRequest) GetInterceptionId

func (x *RecordToolUsageRequest) GetInterceptionId() string

func (*RecordToolUsageRequest) GetInvocationError

func (x *RecordToolUsageRequest) GetInvocationError() string

func (*RecordToolUsageRequest) GetMetadata

func (x *RecordToolUsageRequest) GetMetadata() map[string]*anypb.Any

func (*RecordToolUsageRequest) GetMsgId

func (x *RecordToolUsageRequest) GetMsgId() string

func (*RecordToolUsageRequest) GetServerUrl

func (x *RecordToolUsageRequest) GetServerUrl() string

func (*RecordToolUsageRequest) GetTool

func (x *RecordToolUsageRequest) GetTool() string

func (*RecordToolUsageRequest) ProtoMessage

func (*RecordToolUsageRequest) ProtoMessage()

func (*RecordToolUsageRequest) ProtoReflect

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

func (*RecordToolUsageRequest) Reset

func (x *RecordToolUsageRequest) Reset()

func (*RecordToolUsageRequest) String

func (x *RecordToolUsageRequest) String() string

type RecordToolUsageResponse

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

func (*RecordToolUsageResponse) Descriptor deprecated

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

Deprecated: Use RecordToolUsageResponse.ProtoReflect.Descriptor instead.

func (*RecordToolUsageResponse) ProtoMessage

func (*RecordToolUsageResponse) ProtoMessage()

func (*RecordToolUsageResponse) ProtoReflect

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

func (*RecordToolUsageResponse) Reset

func (x *RecordToolUsageResponse) Reset()

func (*RecordToolUsageResponse) String

func (x *RecordToolUsageResponse) String() string

Jump to

Keyboard shortcuts

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