proto

package
v2.33.3 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 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 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) RecordModelThought added in v2.32.0

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_RecordModelThoughtStream added in v2.32.0

type DRPCRecorder_RecordModelThoughtStream interface {
	drpc.Stream
	SendAndClose(*RecordModelThoughtResponse) 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"`
	ApiKeyId string `protobuf:"bytes,2,opt,name=api_key_id,json=apiKeyId,proto3" json:"api_key_id,omitempty"`
	Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*IsAuthorizedResponse) Descriptor deprecated

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

Deprecated: Use IsAuthorizedResponse.ProtoReflect.Descriptor instead.

func (*IsAuthorizedResponse) GetApiKeyId added in v2.29.0

func (x *IsAuthorizedResponse) GetApiKeyId() string

func (*IsAuthorizedResponse) GetOwnerId

func (x *IsAuthorizedResponse) GetOwnerId() string

func (*IsAuthorizedResponse) GetUsername added in v2.30.0

func (x *IsAuthorizedResponse) GetUsername() 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"`
	ApiKeyId              string                 `protobuf:"bytes,7,opt,name=api_key_id,json=apiKeyId,proto3" json:"api_key_id,omitempty"`
	Client                string                 `protobuf:"bytes,8,opt,name=client,proto3" json:"client,omitempty"`
	UserAgent             string                 `protobuf:"bytes,9,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	CorrelatingToolCallId *string                `` /* 135-byte string literal not displayed */
	ClientSessionId       *string                `protobuf:"bytes,11,opt,name=client_session_id,json=clientSessionId,proto3,oneof" json:"client_session_id,omitempty"`
	ProviderName          string                 `protobuf:"bytes,12,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"`
	CredentialKind        string                 `protobuf:"bytes,13,opt,name=credential_kind,json=credentialKind,proto3" json:"credential_kind,omitempty"`
	CredentialHint        string                 `protobuf:"bytes,14,opt,name=credential_hint,json=credentialHint,proto3" json:"credential_hint,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordInterceptionRequest) Descriptor deprecated

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

Deprecated: Use RecordInterceptionRequest.ProtoReflect.Descriptor instead.

func (*RecordInterceptionRequest) GetApiKeyId added in v2.29.0

func (x *RecordInterceptionRequest) GetApiKeyId() string

func (*RecordInterceptionRequest) GetClient added in v2.31.1

func (x *RecordInterceptionRequest) GetClient() string

func (*RecordInterceptionRequest) GetClientSessionId added in v2.32.0

func (x *RecordInterceptionRequest) GetClientSessionId() string

func (*RecordInterceptionRequest) GetCorrelatingToolCallId added in v2.32.0

func (x *RecordInterceptionRequest) GetCorrelatingToolCallId() string

func (*RecordInterceptionRequest) GetCredentialHint added in v2.33.0

func (x *RecordInterceptionRequest) GetCredentialHint() string

func (*RecordInterceptionRequest) GetCredentialKind added in v2.33.0

func (x *RecordInterceptionRequest) GetCredentialKind() string

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) GetProviderName added in v2.32.0

func (x *RecordInterceptionRequest) GetProviderName() string

func (*RecordInterceptionRequest) GetStartedAt

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

func (*RecordInterceptionRequest) GetUserAgent added in v2.31.1

func (x *RecordInterceptionRequest) GetUserAgent() string

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 RecordModelThoughtRequest added in v2.32.0

type RecordModelThoughtRequest struct {
	InterceptionId string                 `protobuf:"bytes,1,opt,name=interception_id,json=interceptionId,proto3" json:"interception_id,omitempty"` // UUID.
	Content        string                 `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	Metadata       map[string]*anypb.Any  `` /* 157-byte string literal not displayed */
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordModelThoughtRequest) Descriptor deprecated added in v2.32.0

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

Deprecated: Use RecordModelThoughtRequest.ProtoReflect.Descriptor instead.

func (*RecordModelThoughtRequest) GetContent added in v2.32.0

func (x *RecordModelThoughtRequest) GetContent() string

func (*RecordModelThoughtRequest) GetCreatedAt added in v2.32.0

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

func (*RecordModelThoughtRequest) GetInterceptionId added in v2.32.0

func (x *RecordModelThoughtRequest) GetInterceptionId() string

func (*RecordModelThoughtRequest) GetMetadata added in v2.32.0

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

func (*RecordModelThoughtRequest) ProtoMessage added in v2.32.0

func (*RecordModelThoughtRequest) ProtoMessage()

func (*RecordModelThoughtRequest) ProtoReflect added in v2.32.0

func (*RecordModelThoughtRequest) Reset added in v2.32.0

func (x *RecordModelThoughtRequest) Reset()

func (*RecordModelThoughtRequest) String added in v2.32.0

func (x *RecordModelThoughtRequest) String() string

type RecordModelThoughtResponse added in v2.32.0

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

func (*RecordModelThoughtResponse) Descriptor deprecated added in v2.32.0

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

Deprecated: Use RecordModelThoughtResponse.ProtoReflect.Descriptor instead.

func (*RecordModelThoughtResponse) ProtoMessage added in v2.32.0

func (*RecordModelThoughtResponse) ProtoMessage()

func (*RecordModelThoughtResponse) ProtoReflect added in v2.32.0

func (*RecordModelThoughtResponse) Reset added in v2.32.0

func (x *RecordModelThoughtResponse) Reset()

func (*RecordModelThoughtResponse) String added in v2.32.0

func (x *RecordModelThoughtResponse) 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"`
	CacheReadInputTokens  int64                  `` /* 126-byte string literal not displayed */
	CacheWriteInputTokens int64                  `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RecordTokenUsageRequest) Descriptor deprecated

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

Deprecated: Use RecordTokenUsageRequest.ProtoReflect.Descriptor instead.

func (*RecordTokenUsageRequest) GetCacheReadInputTokens added in v2.32.0

func (x *RecordTokenUsageRequest) GetCacheReadInputTokens() int64

func (*RecordTokenUsageRequest) GetCacheWriteInputTokens added in v2.32.0

func (x *RecordTokenUsageRequest) GetCacheWriteInputTokens() int64

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"`
	ToolCallId      string                 `protobuf:"bytes,10,opt,name=tool_call_id,json=toolCallId,proto3" json:"tool_call_id,omitempty"` // The ID of the tool call provided by the AI provider.
	// 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) GetToolCallId added in v2.32.0

func (x *RecordToolUsageRequest) GetToolCallId() 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