Documentation
¶
Overview ¶
Package responses provides the responses model of the ark runtime service.
Index ¶
- Variables
- type Action
- type ActionType
- type ActionType_Enum
- func (ActionType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ActionType_Enum) Enum() *ActionType_Enum
- func (ActionType_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ActionType_Enum) MarshalJSON() ([]byte, error)
- func (x ActionType_Enum) Number() protoreflect.EnumNumber
- func (x ActionType_Enum) String() string
- func (ActionType_Enum) Type() protoreflect.EnumType
- func (r *ActionType_Enum) UnmarshalJSON(bytes []byte) error
- type Annotation
- func (*Annotation) Descriptor() ([]byte, []int)deprecated
- func (x *Annotation) GetChunkAttachment() []*structpb.Struct
- func (x *Annotation) GetChunkId() int32
- func (x *Annotation) GetCoverImage() *CoverImage
- func (x *Annotation) GetDocId() string
- func (x *Annotation) GetDocName() string
- func (x *Annotation) GetFreshnessInfo() string
- func (x *Annotation) GetLogoUrl() string
- func (x *Annotation) GetMobileUrl() string
- func (x *Annotation) GetPublishTime() string
- func (x *Annotation) GetSiteName() string
- func (x *Annotation) GetSummary() string
- func (x *Annotation) GetTitle() string
- func (x *Annotation) GetType() AnnotationType_Enum
- func (x *Annotation) GetUrl() string
- func (*Annotation) ProtoMessage()
- func (x *Annotation) ProtoReflect() protoreflect.Message
- func (x *Annotation) Reset()
- func (x *Annotation) String() string
- type AnnotationType
- type AnnotationType_Enum
- func (AnnotationType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x AnnotationType_Enum) Enum() *AnnotationType_Enum
- func (AnnotationType_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r AnnotationType_Enum) MarshalJSON() ([]byte, error)
- func (x AnnotationType_Enum) Number() protoreflect.EnumNumber
- func (x AnnotationType_Enum) String() string
- func (AnnotationType_Enum) Type() protoreflect.EnumType
- func (r *AnnotationType_Enum) UnmarshalJSON(bytes []byte) error
- type ApprovalMode
- type ApprovalMode_Enum
- func (ApprovalMode_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ApprovalMode_Enum) Enum() *ApprovalMode_Enum
- func (ApprovalMode_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ApprovalMode_Enum) MarshalJSON() ([]byte, error)
- func (x ApprovalMode_Enum) Number() protoreflect.EnumNumber
- func (x ApprovalMode_Enum) String() string
- func (ApprovalMode_Enum) Type() protoreflect.EnumType
- func (r *ApprovalMode_Enum) UnmarshalJSON(bytes []byte) error
- type AudioChunk
- func (*AudioChunk) Descriptor() ([]byte, []int)deprecated
- func (x *AudioChunk) GetEndTime() int64
- func (x *AudioChunk) GetStartTime() int64
- func (x *AudioChunk) GetText() string
- func (*AudioChunk) ProtoMessage()
- func (x *AudioChunk) ProtoReflect() protoreflect.Message
- func (x *AudioChunk) Reset()
- func (x *AudioChunk) String() string
- type AudioChunkingStrategy
- func (*AudioChunkingStrategy) Descriptor() ([]byte, []int)deprecated
- func (x *AudioChunkingStrategy) GetPrefixPaddingMs() int64
- func (x *AudioChunkingStrategy) GetSilenceDurationMs() int64
- func (x *AudioChunkingStrategy) GetThreshold() float64
- func (x *AudioChunkingStrategy) GetType() ChunkingStrategyType_Enum
- func (*AudioChunkingStrategy) ProtoMessage()
- func (x *AudioChunkingStrategy) ProtoReflect() protoreflect.Message
- func (x *AudioChunkingStrategy) Reset()
- func (x *AudioChunkingStrategy) String() string
- type Bytes
- func (*Bytes) Descriptor() ([]byte, []int)deprecated
- func (x *Bytes) GetValue() []byte
- func (r *Bytes) MarshalJSON() ([]byte, error)
- func (*Bytes) ProtoMessage()
- func (x *Bytes) ProtoReflect() protoreflect.Message
- func (x *Bytes) Reset()
- func (x *Bytes) String() string
- func (r *Bytes) UnmarshalJSON(bytes []byte) error
- type CacheType
- type CacheType_Enum
- func (CacheType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x CacheType_Enum) Enum() *CacheType_Enum
- func (CacheType_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r CacheType_Enum) MarshalJSON() ([]byte, error)
- func (x CacheType_Enum) Number() protoreflect.EnumNumber
- func (x CacheType_Enum) String() string
- func (CacheType_Enum) Type() protoreflect.EnumType
- func (r *CacheType_Enum) UnmarshalJSON(bytes []byte) error
- type ChunkingStrategyType
- type ChunkingStrategyType_Enum
- func (ChunkingStrategyType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ChunkingStrategyType_Enum) Enum() *ChunkingStrategyType_Enum
- func (ChunkingStrategyType_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ChunkingStrategyType_Enum) MarshalJSON() ([]byte, error)
- func (x ChunkingStrategyType_Enum) Number() protoreflect.EnumNumber
- func (x ChunkingStrategyType_Enum) String() string
- func (ChunkingStrategyType_Enum) Type() protoreflect.EnumType
- func (r *ChunkingStrategyType_Enum) UnmarshalJSON(bytes []byte) error
- type ContentFilter
- func (*ContentFilter) Descriptor() ([]byte, []int)deprecated
- func (x *ContentFilter) GetDetails() string
- func (x *ContentFilter) GetType() string
- func (*ContentFilter) ProtoMessage()
- func (x *ContentFilter) ProtoReflect() protoreflect.Message
- func (x *ContentFilter) Reset()
- func (x *ContentFilter) String() string
- type ContentItem
- func (*ContentItem) Descriptor() ([]byte, []int)deprecated
- func (x *ContentItem) GetAudio() *ContentItemAudio
- func (x *ContentItem) GetFile() *ContentItemFile
- func (x *ContentItem) GetImage() *ContentItemImage
- func (x *ContentItem) GetText() *ContentItemText
- func (m *ContentItem) GetUnion() isContentItem_Union
- func (x *ContentItem) GetVideo() *ContentItemVideo
- func (r *ContentItem) MarshalJSON() ([]byte, error)
- func (*ContentItem) ProtoMessage()
- func (x *ContentItem) ProtoReflect() protoreflect.Message
- func (x *ContentItem) Reset()
- func (x *ContentItem) String() string
- func (r *ContentItem) UnmarshalJSON(bytes []byte) error
- type ContentItemAudio
- func (*ContentItemAudio) Descriptor() ([]byte, []int)deprecated
- func (x *ContentItemAudio) GetAudioBytes() []byte
- func (x *ContentItemAudio) GetAudioUrl() string
- func (x *ContentItemAudio) GetChunkingStrategy() *AudioChunkingStrategy
- func (x *ContentItemAudio) GetFileId() string
- func (x *ContentItemAudio) GetType() ContentItemType_Enum
- func (*ContentItemAudio) ProtoMessage()
- func (x *ContentItemAudio) ProtoReflect() protoreflect.Message
- func (x *ContentItemAudio) Reset()
- func (x *ContentItemAudio) String() string
- type ContentItemFile
- func (*ContentItemFile) Descriptor() ([]byte, []int)deprecated
- func (x *ContentItemFile) GetFileData() string
- func (x *ContentItemFile) GetFileId() string
- func (x *ContentItemFile) GetFileUrl() string
- func (x *ContentItemFile) GetFilename() string
- func (x *ContentItemFile) GetType() ContentItemType_Enum
- func (*ContentItemFile) ProtoMessage()
- func (x *ContentItemFile) ProtoReflect() protoreflect.Message
- func (x *ContentItemFile) Reset()
- func (x *ContentItemFile) String() string
- type ContentItemImage
- func (*ContentItemImage) Descriptor() ([]byte, []int)deprecated
- func (x *ContentItemImage) GetDetail() ContentItemImageDetail_Enum
- func (x *ContentItemImage) GetFileId() string
- func (x *ContentItemImage) GetImagePixelLimit() *ImagePixelLimit
- func (x *ContentItemImage) GetImageUrl() string
- func (x *ContentItemImage) GetType() ContentItemType_Enum
- func (*ContentItemImage) ProtoMessage()
- func (x *ContentItemImage) ProtoReflect() protoreflect.Message
- func (x *ContentItemImage) Reset()
- func (x *ContentItemImage) String() string
- type ContentItemImageDetail
- type ContentItemImageDetail_Enum
- func (ContentItemImageDetail_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ContentItemImageDetail_Enum) Enum() *ContentItemImageDetail_Enum
- func (ContentItemImageDetail_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ContentItemImageDetail_Enum) MarshalJSON() ([]byte, error)
- func (x ContentItemImageDetail_Enum) Number() protoreflect.EnumNumber
- func (x ContentItemImageDetail_Enum) String() string
- func (ContentItemImageDetail_Enum) Type() protoreflect.EnumType
- func (r *ContentItemImageDetail_Enum) UnmarshalJSON(bytes []byte) error
- type ContentItemList
- type ContentItemText
- func (*ContentItemText) Descriptor() ([]byte, []int)deprecated
- func (x *ContentItemText) GetText() string
- func (x *ContentItemText) GetTranslationOptions() *TextTranslationOptions
- func (x *ContentItemText) GetType() ContentItemType_Enum
- func (*ContentItemText) ProtoMessage()
- func (x *ContentItemText) ProtoReflect() protoreflect.Message
- func (x *ContentItemText) Reset()
- func (x *ContentItemText) String() string
- type ContentItemType
- type ContentItemType_Enum
- func (ContentItemType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ContentItemType_Enum) Enum() *ContentItemType_Enum
- func (ContentItemType_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ContentItemType_Enum) MarshalJSON() ([]byte, error)
- func (x ContentItemType_Enum) Number() protoreflect.EnumNumber
- func (x ContentItemType_Enum) String() string
- func (ContentItemType_Enum) Type() protoreflect.EnumType
- func (r *ContentItemType_Enum) UnmarshalJSON(bytes []byte) error
- type ContentItemVideo
- func (*ContentItemVideo) Descriptor() ([]byte, []int)deprecated
- func (x *ContentItemVideo) GetFileId() string
- func (x *ContentItemVideo) GetFps() float32
- func (x *ContentItemVideo) GetType() ContentItemType_Enum
- func (x *ContentItemVideo) GetVideoUrl() string
- func (*ContentItemVideo) ProtoMessage()
- func (x *ContentItemVideo) ProtoReflect() protoreflect.Message
- func (x *ContentItemVideo) Reset()
- func (x *ContentItemVideo) String() string
- type ContentItem_Audio
- type ContentItem_File
- type ContentItem_Image
- type ContentItem_Text
- type ContentItem_Video
- type ContentPartDoneEvent
- func (*ContentPartDoneEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ContentPartDoneEvent) GetContentIndex() int64
- func (x *ContentPartDoneEvent) GetItemId() string
- func (x *ContentPartDoneEvent) GetOutputIndex() int64
- func (x *ContentPartDoneEvent) GetPart() *OutputContentItem
- func (x *ContentPartDoneEvent) GetSequenceNumber() int64
- func (x *ContentPartDoneEvent) GetType() EventType_Enum
- func (*ContentPartDoneEvent) ProtoMessage()
- func (x *ContentPartDoneEvent) ProtoReflect() protoreflect.Message
- func (x *ContentPartDoneEvent) Reset()
- func (x *ContentPartDoneEvent) String() string
- type ContentPartEvent
- func (*ContentPartEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ContentPartEvent) GetContentIndex() int64
- func (x *ContentPartEvent) GetItemId() string
- func (x *ContentPartEvent) GetOutputIndex() int64
- func (x *ContentPartEvent) GetPart() *OutputContentItem
- func (x *ContentPartEvent) GetSequenceNumber() int64
- func (x *ContentPartEvent) GetType() EventType_Enum
- func (*ContentPartEvent) ProtoMessage()
- func (x *ContentPartEvent) ProtoReflect() protoreflect.Message
- func (x *ContentPartEvent) Reset()
- func (x *ContentPartEvent) String() string
- type CoverImage
- func (*CoverImage) Descriptor() ([]byte, []int)deprecated
- func (x *CoverImage) GetHeight() int64
- func (x *CoverImage) GetUrl() string
- func (x *CoverImage) GetWidth() int64
- func (*CoverImage) ProtoMessage()
- func (x *CoverImage) ProtoReflect() protoreflect.Message
- func (x *CoverImage) Reset()
- func (x *CoverImage) String() string
- type DeleteResponseRequest
- func (*DeleteResponseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResponseRequest) GetResponseId() string
- func (*DeleteResponseRequest) ProtoMessage()
- func (x *DeleteResponseRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteResponseRequest) Reset()
- func (x *DeleteResponseRequest) String() string
- type DeleteResponseResponse
- func (*DeleteResponseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResponseResponse) GetDeleted() bool
- func (x *DeleteResponseResponse) GetId() string
- func (x *DeleteResponseResponse) GetObject() ObjectType_Enum
- func (*DeleteResponseResponse) ProtoMessage()
- func (x *DeleteResponseResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResponseResponse) Reset()
- func (x *DeleteResponseResponse) String() string
- type Error
- type ErrorEvent
- func (*ErrorEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ErrorEvent) GetCode() string
- func (x *ErrorEvent) GetMessage() string
- func (x *ErrorEvent) GetParam() string
- func (x *ErrorEvent) GetSequenceNumber() int64
- func (x *ErrorEvent) GetType() EventType_Enum
- func (*ErrorEvent) ProtoMessage()
- func (x *ErrorEvent) ProtoReflect() protoreflect.Message
- func (x *ErrorEvent) Reset()
- func (x *ErrorEvent) String() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetContentPart() *ContentPartEvent
- func (x *Event) GetContentPartDone() *ContentPartDoneEvent
- func (x *Event) GetError() *ErrorEvent
- func (m *Event) GetEvent() isEvent_Event
- func (e *Event) GetEventType() string
- func (x *Event) GetFunctionCallArguments() *FunctionCallArgumentsEvent
- func (x *Event) GetFunctionCallArgumentsDone() *FunctionCallArgumentsDoneEvent
- func (x *Event) GetItem() *ItemEvent
- func (x *Event) GetItemDone() *ItemDoneEvent
- func (x *Event) GetReasoningPart() *ReasoningSummaryPartEvent
- func (x *Event) GetReasoningPartDone() *ReasoningSummaryPartDoneEvent
- func (x *Event) GetReasoningText() *ReasoningSummaryTextEvent
- func (x *Event) GetReasoningTextDone() *ReasoningSummaryTextDoneEvent
- func (x *Event) GetResponse() *ResponseEvent
- func (x *Event) GetResponseAnnotationAdded() *ResponseAnnotationAddedEvent
- func (x *Event) GetResponseCompleted() *ResponseCompletedEvent
- func (x *Event) GetResponseFailed() *ResponseFailedEvent
- func (x *Event) GetResponseImageProcessCallCompleted() *ResponseImageProcessCallCompletedEvent
- func (x *Event) GetResponseImageProcessCallInProgress() *ResponseImageProcessCallInProgressEvent
- func (x *Event) GetResponseImageProcessCallProcessing() *ResponseImageProcessCallProcessingEvent
- func (x *Event) GetResponseInProgress() *ResponseInProgressEvent
- func (x *Event) GetResponseIncomplete() *ResponseIncompleteEvent
- func (x *Event) GetResponseKnowledgeSearchCallCompleted() *ResponseKnowledgeSearchCallCompletedEvent
- func (x *Event) GetResponseKnowledgeSearchCallFailed() *ResponseKnowledgeSearchCallFailedEvent
- func (x *Event) GetResponseKnowledgeSearchCallInProgress() *ResponseKnowledgeSearchCallInProgressEvent
- func (x *Event) GetResponseKnowledgeSearchCallSearching() *ResponseKnowledgeSearchCallSearchingEvent
- func (x *Event) GetResponseMcpApprovalRequest() *ResponseMcpApprovalRequestEvent
- func (x *Event) GetResponseMcpCallArgumentsDelta() *ResponseMcpCallArgumentsDeltaEvent
- func (x *Event) GetResponseMcpCallArgumentsDone() *ResponseMcpCallArgumentsDoneEvent
- func (x *Event) GetResponseMcpCallCompleted() *ResponseMcpCallCompletedEvent
- func (x *Event) GetResponseMcpCallFailed() *ResponseMcpCallFailedEvent
- func (x *Event) GetResponseMcpCallInProgress() *ResponseMcpCallInProgressEvent
- func (x *Event) GetResponseMcpListToolsCompleted() *ResponseMcpListToolsCompletedEvent
- func (x *Event) GetResponseMcpListToolsInProgress() *ResponseMcpListToolsInProgressEvent
- func (x *Event) GetResponseWebSearchCallCompleted() *ResponseWebSearchCallCompletedEvent
- func (x *Event) GetResponseWebSearchCallInProgress() *ResponseWebSearchCallInProgressEvent
- func (x *Event) GetResponseWebSearchCallSearching() *ResponseWebSearchCallSearchingEvent
- func (x *Event) GetText() *OutputTextEvent
- func (x *Event) GetTextDone() *OutputTextDoneEvent
- func (x *Event) GetTranscriptionPart() *TranscriptionPartEvent
- func (x *Event) GetTranscriptionPartDone() *TranscriptionPartDoneEvent
- func (x *Event) GetTranscriptionText() *TranscriptionTextEvent
- func (x *Event) GetTranscriptionTextDone() *TranscriptionTextDoneEvent
- func (e *Event) IsDelta() bool
- func (e *Event) IsDeltaDone() bool
- func (e *Event) IsResponseDone() bool
- func (e *Event) MarshalJSON() ([]byte, error)
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- func (e *Event) UnmarshalJSON(bytes []byte) error
- type EventType
- type EventType_Enum
- func (EventType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x EventType_Enum) Enum() *EventType_Enum
- func (EventType_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r EventType_Enum) MarshalJSON() ([]byte, error)
- func (x EventType_Enum) Number() protoreflect.EnumNumber
- func (x EventType_Enum) String() string
- func (EventType_Enum) Type() protoreflect.EnumType
- func (r *EventType_Enum) UnmarshalJSON(bytes []byte) error
- type Event_ContentPart
- type Event_ContentPartDone
- type Event_Error
- type Event_FunctionCallArguments
- type Event_FunctionCallArgumentsDone
- type Event_Item
- type Event_ItemDone
- type Event_ReasoningPart
- type Event_ReasoningPartDone
- type Event_ReasoningText
- type Event_ReasoningTextDone
- type Event_Response
- type Event_ResponseAnnotationAdded
- type Event_ResponseCompleted
- type Event_ResponseFailed
- type Event_ResponseImageProcessCallCompleted
- type Event_ResponseImageProcessCallInProgress
- type Event_ResponseImageProcessCallProcessing
- type Event_ResponseInProgress
- type Event_ResponseIncomplete
- type Event_ResponseKnowledgeSearchCallCompleted
- type Event_ResponseKnowledgeSearchCallFailed
- type Event_ResponseKnowledgeSearchCallInProgress
- type Event_ResponseKnowledgeSearchCallSearching
- type Event_ResponseMcpApprovalRequest
- type Event_ResponseMcpCallArgumentsDelta
- type Event_ResponseMcpCallArgumentsDone
- type Event_ResponseMcpCallCompleted
- type Event_ResponseMcpCallFailed
- type Event_ResponseMcpCallInProgress
- type Event_ResponseMcpListToolsCompleted
- type Event_ResponseMcpListToolsInProgress
- type Event_ResponseWebSearchCallCompleted
- type Event_ResponseWebSearchCallInProgress
- type Event_ResponseWebSearchCallSearching
- type Event_Text
- type Event_TextDone
- type Event_TranscriptionPart
- type Event_TranscriptionPartDone
- type Event_TranscriptionText
- type Event_TranscriptionTextDone
- type FunctionCallArgumentsDoneEvent
- func (*FunctionCallArgumentsDoneEvent) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionCallArgumentsDoneEvent) GetArguments() string
- func (x *FunctionCallArgumentsDoneEvent) GetDelta() string
- func (x *FunctionCallArgumentsDoneEvent) GetItemId() string
- func (x *FunctionCallArgumentsDoneEvent) GetOutputIndex() int64
- func (x *FunctionCallArgumentsDoneEvent) GetSequenceNumber() int64
- func (x *FunctionCallArgumentsDoneEvent) GetType() EventType_Enum
- func (*FunctionCallArgumentsDoneEvent) ProtoMessage()
- func (x *FunctionCallArgumentsDoneEvent) ProtoReflect() protoreflect.Message
- func (x *FunctionCallArgumentsDoneEvent) Reset()
- func (x *FunctionCallArgumentsDoneEvent) String() string
- type FunctionCallArgumentsEvent
- func (*FunctionCallArgumentsEvent) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionCallArgumentsEvent) GetArguments() string
- func (x *FunctionCallArgumentsEvent) GetDelta() string
- func (x *FunctionCallArgumentsEvent) GetItemId() string
- func (x *FunctionCallArgumentsEvent) GetOutputIndex() int64
- func (x *FunctionCallArgumentsEvent) GetSequenceNumber() int64
- func (x *FunctionCallArgumentsEvent) GetType() EventType_Enum
- func (*FunctionCallArgumentsEvent) ProtoMessage()
- func (x *FunctionCallArgumentsEvent) ProtoReflect() protoreflect.Message
- func (x *FunctionCallArgumentsEvent) Reset()
- func (x *FunctionCallArgumentsEvent) String() string
- type FunctionToolChoice
- func (*FunctionToolChoice) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionToolChoice) GetName() string
- func (x *FunctionToolChoice) GetType() ToolType_Enum
- func (*FunctionToolChoice) ProtoMessage()
- func (x *FunctionToolChoice) ProtoReflect() protoreflect.Message
- func (x *FunctionToolChoice) Reset()
- func (x *FunctionToolChoice) String() string
- type GetResponseRequest
- func (*GetResponseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResponseRequest) GetResponseId() string
- func (*GetResponseRequest) ProtoMessage()
- func (x *GetResponseRequest) ProtoReflect() protoreflect.Message
- func (x *GetResponseRequest) Reset()
- func (x *GetResponseRequest) String() string
- func (x *GetResponseRequest) URLQuery() (v url.Values, err error)
- type ImagePixelLimit
- func (*ImagePixelLimit) Descriptor() ([]byte, []int)deprecated
- func (x *ImagePixelLimit) GetMaxPixels() int64
- func (x *ImagePixelLimit) GetMinPixels() int64
- func (*ImagePixelLimit) ProtoMessage()
- func (x *ImagePixelLimit) ProtoReflect() protoreflect.Message
- func (x *ImagePixelLimit) Reset()
- func (x *ImagePixelLimit) String() string
- type ImageProcessGroundingOptions
- func (*ImageProcessGroundingOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ImageProcessGroundingOptions) GetType() string
- func (*ImageProcessGroundingOptions) ProtoMessage()
- func (x *ImageProcessGroundingOptions) ProtoReflect() protoreflect.Message
- func (x *ImageProcessGroundingOptions) Reset()
- func (x *ImageProcessGroundingOptions) String() string
- type ImageProcessPointOptions
- func (*ImageProcessPointOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ImageProcessPointOptions) GetType() string
- func (*ImageProcessPointOptions) ProtoMessage()
- func (x *ImageProcessPointOptions) ProtoReflect() protoreflect.Message
- func (x *ImageProcessPointOptions) Reset()
- func (x *ImageProcessPointOptions) String() string
- type ImageProcessRotateOptions
- func (*ImageProcessRotateOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ImageProcessRotateOptions) GetType() string
- func (*ImageProcessRotateOptions) ProtoMessage()
- func (x *ImageProcessRotateOptions) ProtoReflect() protoreflect.Message
- func (x *ImageProcessRotateOptions) Reset()
- func (x *ImageProcessRotateOptions) String() string
- type ImageProcessZoomOptions
- func (*ImageProcessZoomOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ImageProcessZoomOptions) GetType() string
- func (*ImageProcessZoomOptions) ProtoMessage()
- func (x *ImageProcessZoomOptions) ProtoReflect() protoreflect.Message
- func (x *ImageProcessZoomOptions) Reset()
- func (x *ImageProcessZoomOptions) String() string
- type IncludeType
- type IncludeType_Enum
- func (IncludeType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x IncludeType_Enum) Enum() *IncludeType_Enum
- func (IncludeType_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r IncludeType_Enum) MarshalJSON() ([]byte, error)
- func (x IncludeType_Enum) Number() protoreflect.EnumNumber
- func (x IncludeType_Enum) String() string
- func (IncludeType_Enum) Type() protoreflect.EnumType
- func (r *IncludeType_Enum) UnmarshalJSON(bytes []byte) error
- type IncompleteDetails
- func (*IncompleteDetails) Descriptor() ([]byte, []int)deprecated
- func (x *IncompleteDetails) GetContentFilter() *ContentFilter
- func (x *IncompleteDetails) GetReason() string
- func (*IncompleteDetails) ProtoMessage()
- func (x *IncompleteDetails) ProtoReflect() protoreflect.Message
- func (x *IncompleteDetails) Reset()
- func (x *IncompleteDetails) String() string
- type InputItem
- func (*InputItem) Descriptor() ([]byte, []int)deprecated
- func (x *InputItem) GetEasyMessage() *ItemEasyMessage
- func (x *InputItem) GetFunctionKnowledgeSearch() *ItemFunctionKnowledgeSearch
- func (x *InputItem) GetFunctionMcpCall() *ItemFunctionMcpCall
- func (x *InputItem) GetFunctionToolCall() *ItemFunctionToolCall
- func (x *InputItem) GetFunctionToolCallOutput() *ItemFunctionToolCallOutput
- func (x *InputItem) GetFunctionWebSearchCall() *ItemFunctionWebSearch
- func (x *InputItem) GetImageProcess() *ItemFunctionImageProcess
- func (x *InputItem) GetInputMessage() *ItemInputMessage
- func (x *InputItem) GetMcpApprovalRequest() *ItemFunctionMcpApprovalRequest
- func (x *InputItem) GetMcpApprovalResponse() *ItemFunctionMcpApprovalResponse
- func (x *InputItem) GetMcpListTools() *ItemFunctionMcpListTools
- func (x *InputItem) GetOutputMessage() *ItemOutputMessage
- func (x *InputItem) GetReasoning() *ItemReasoning
- func (x *InputItem) GetReference() *ItemReference
- func (m *InputItem) GetUnion() isInputItem_Union
- func (r *InputItem) MarshalJSON() ([]byte, error)
- func (*InputItem) ProtoMessage()
- func (x *InputItem) ProtoReflect() protoreflect.Message
- func (x *InputItem) Reset()
- func (x *InputItem) String() string
- func (r *InputItem) UnmarshalJSON(bytes []byte) error
- type InputItemList
- type InputItem_EasyMessage
- type InputItem_FunctionKnowledgeSearch
- type InputItem_FunctionMcpCall
- type InputItem_FunctionToolCall
- type InputItem_FunctionToolCallOutput
- type InputItem_FunctionWebSearchCall
- type InputItem_ImageProcess
- type InputItem_InputMessage
- type InputItem_McpApprovalRequest
- type InputItem_McpApprovalResponse
- type InputItem_McpListTools
- type InputItem_OutputMessage
- type InputItem_Reasoning
- type InputItem_Reference
- type InputTokensDetails
- func (*InputTokensDetails) Descriptor() ([]byte, []int)deprecated
- func (x *InputTokensDetails) GetAudioTokens() int64
- func (x *InputTokensDetails) GetCachedTokens() int64
- func (*InputTokensDetails) ProtoMessage()
- func (x *InputTokensDetails) ProtoReflect() protoreflect.Message
- func (x *InputTokensDetails) Reset()
- func (x *InputTokensDetails) String() string
- type ItemDoneEvent
- func (*ItemDoneEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ItemDoneEvent) GetItem() *OutputItem
- func (x *ItemDoneEvent) GetOutputIndex() int64
- func (x *ItemDoneEvent) GetSequenceNumber() int64
- func (x *ItemDoneEvent) GetType() EventType_Enum
- func (*ItemDoneEvent) ProtoMessage()
- func (x *ItemDoneEvent) ProtoReflect() protoreflect.Message
- func (x *ItemDoneEvent) Reset()
- func (x *ItemDoneEvent) String() string
- type ItemEasyMessage
- func (*ItemEasyMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ItemEasyMessage) GetContent() *MessageContent
- func (x *ItemEasyMessage) GetId() string
- func (x *ItemEasyMessage) GetRole() MessageRole_Enum
- func (x *ItemEasyMessage) GetType() ItemType_Enum
- func (*ItemEasyMessage) ProtoMessage()
- func (x *ItemEasyMessage) ProtoReflect() protoreflect.Message
- func (x *ItemEasyMessage) Reset()
- func (x *ItemEasyMessage) String() string
- type ItemEvent
- func (*ItemEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ItemEvent) GetItem() *OutputItem
- func (x *ItemEvent) GetOutputIndex() int64
- func (x *ItemEvent) GetSequenceNumber() int64
- func (x *ItemEvent) GetType() EventType_Enum
- func (*ItemEvent) ProtoMessage()
- func (x *ItemEvent) ProtoReflect() protoreflect.Message
- func (x *ItemEvent) Reset()
- func (x *ItemEvent) String() string
- type ItemFunctionImageProcess
- func (*ItemFunctionImageProcess) Descriptor() ([]byte, []int)deprecated
- func (x *ItemFunctionImageProcess) GetAction() *ResponseImageProcessAction
- func (x *ItemFunctionImageProcess) GetArguments() *ResponseImageProcessArgs
- func (x *ItemFunctionImageProcess) GetError() *ResponseImageProcessError
- func (x *ItemFunctionImageProcess) GetId() string
- func (x *ItemFunctionImageProcess) GetStatus() ItemStatus_Enum
- func (x *ItemFunctionImageProcess) GetType() ItemType_Enum
- func (*ItemFunctionImageProcess) ProtoMessage()
- func (x *ItemFunctionImageProcess) ProtoReflect() protoreflect.Message
- func (x *ItemFunctionImageProcess) Reset()
- func (x *ItemFunctionImageProcess) String() string
- type ItemFunctionKnowledgeSearch
- func (*ItemFunctionKnowledgeSearch) Descriptor() ([]byte, []int)deprecated
- func (x *ItemFunctionKnowledgeSearch) GetId() string
- func (x *ItemFunctionKnowledgeSearch) GetKnowledgeResourceId() string
- func (x *ItemFunctionKnowledgeSearch) GetQueries() []string
- func (x *ItemFunctionKnowledgeSearch) GetStatus() ItemStatus_Enum
- func (x *ItemFunctionKnowledgeSearch) GetType() ItemType_Enum
- func (*ItemFunctionKnowledgeSearch) ProtoMessage()
- func (x *ItemFunctionKnowledgeSearch) ProtoReflect() protoreflect.Message
- func (x *ItemFunctionKnowledgeSearch) Reset()
- func (x *ItemFunctionKnowledgeSearch) String() string
- type ItemFunctionMcpApprovalRequest
- func (*ItemFunctionMcpApprovalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ItemFunctionMcpApprovalRequest) GetArguments() string
- func (x *ItemFunctionMcpApprovalRequest) GetId() string
- func (x *ItemFunctionMcpApprovalRequest) GetName() string
- func (x *ItemFunctionMcpApprovalRequest) GetServerLabel() string
- func (x *ItemFunctionMcpApprovalRequest) GetType() ItemType_Enum
- func (*ItemFunctionMcpApprovalRequest) ProtoMessage()
- func (x *ItemFunctionMcpApprovalRequest) ProtoReflect() protoreflect.Message
- func (x *ItemFunctionMcpApprovalRequest) Reset()
- func (x *ItemFunctionMcpApprovalRequest) String() string
- type ItemFunctionMcpApprovalResponse
- func (*ItemFunctionMcpApprovalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ItemFunctionMcpApprovalResponse) GetApprovalRequestId() string
- func (x *ItemFunctionMcpApprovalResponse) GetApprove() bool
- func (x *ItemFunctionMcpApprovalResponse) GetId() string
- func (x *ItemFunctionMcpApprovalResponse) GetReason() string
- func (x *ItemFunctionMcpApprovalResponse) GetType() ItemType_Enum
- func (*ItemFunctionMcpApprovalResponse) ProtoMessage()
- func (x *ItemFunctionMcpApprovalResponse) ProtoReflect() protoreflect.Message
- func (x *ItemFunctionMcpApprovalResponse) Reset()
- func (x *ItemFunctionMcpApprovalResponse) String() string
- type ItemFunctionMcpCall
- func (*ItemFunctionMcpCall) Descriptor() ([]byte, []int)deprecated
- func (x *ItemFunctionMcpCall) GetApprovalRequestId() string
- func (x *ItemFunctionMcpCall) GetArguments() string
- func (x *ItemFunctionMcpCall) GetError() string
- func (x *ItemFunctionMcpCall) GetId() string
- func (x *ItemFunctionMcpCall) GetName() string
- func (x *ItemFunctionMcpCall) GetOutput() string
- func (x *ItemFunctionMcpCall) GetServerLabel() string
- func (x *ItemFunctionMcpCall) GetType() ItemType_Enum
- func (*ItemFunctionMcpCall) ProtoMessage()
- func (x *ItemFunctionMcpCall) ProtoReflect() protoreflect.Message
- func (x *ItemFunctionMcpCall) Reset()
- func (x *ItemFunctionMcpCall) String() string
- type ItemFunctionMcpListTools
- func (*ItemFunctionMcpListTools) Descriptor() ([]byte, []int)deprecated
- func (x *ItemFunctionMcpListTools) GetError() string
- func (x *ItemFunctionMcpListTools) GetId() string
- func (x *ItemFunctionMcpListTools) GetServerLabel() string
- func (x *ItemFunctionMcpListTools) GetTools() []*McpTool
- func (x *ItemFunctionMcpListTools) GetType() ItemType_Enum
- func (*ItemFunctionMcpListTools) ProtoMessage()
- func (x *ItemFunctionMcpListTools) ProtoReflect() protoreflect.Message
- func (x *ItemFunctionMcpListTools) Reset()
- func (x *ItemFunctionMcpListTools) String() string
- type ItemFunctionToolCall
- func (*ItemFunctionToolCall) Descriptor() ([]byte, []int)deprecated
- func (x *ItemFunctionToolCall) GetArguments() string
- func (x *ItemFunctionToolCall) GetCallId() string
- func (x *ItemFunctionToolCall) GetId() string
- func (x *ItemFunctionToolCall) GetName() string
- func (x *ItemFunctionToolCall) GetStatus() ItemStatus_Enum
- func (x *ItemFunctionToolCall) GetType() ItemType_Enum
- func (*ItemFunctionToolCall) ProtoMessage()
- func (x *ItemFunctionToolCall) ProtoReflect() protoreflect.Message
- func (x *ItemFunctionToolCall) Reset()
- func (x *ItemFunctionToolCall) String() string
- type ItemFunctionToolCallOutput
- func (*ItemFunctionToolCallOutput) Descriptor() ([]byte, []int)deprecated
- func (x *ItemFunctionToolCallOutput) GetCallId() string
- func (x *ItemFunctionToolCallOutput) GetId() string
- func (x *ItemFunctionToolCallOutput) GetOutput() string
- func (x *ItemFunctionToolCallOutput) GetStatus() ItemStatus_Enum
- func (x *ItemFunctionToolCallOutput) GetType() ItemType_Enum
- func (*ItemFunctionToolCallOutput) ProtoMessage()
- func (x *ItemFunctionToolCallOutput) ProtoReflect() protoreflect.Message
- func (x *ItemFunctionToolCallOutput) Reset()
- func (x *ItemFunctionToolCallOutput) String() string
- type ItemFunctionWebSearch
- func (*ItemFunctionWebSearch) Descriptor() ([]byte, []int)deprecated
- func (x *ItemFunctionWebSearch) GetAction() *Action
- func (x *ItemFunctionWebSearch) GetId() string
- func (x *ItemFunctionWebSearch) GetStatus() ItemStatus_Enum
- func (x *ItemFunctionWebSearch) GetType() ItemType_Enum
- func (*ItemFunctionWebSearch) ProtoMessage()
- func (x *ItemFunctionWebSearch) ProtoReflect() protoreflect.Message
- func (x *ItemFunctionWebSearch) Reset()
- func (x *ItemFunctionWebSearch) String() string
- type ItemInputMessage
- func (*ItemInputMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ItemInputMessage) GetContent() []*ContentItem
- func (x *ItemInputMessage) GetId() string
- func (x *ItemInputMessage) GetRole() MessageRole_Enum
- func (x *ItemInputMessage) GetStatus() ItemStatus_Enum
- func (x *ItemInputMessage) GetType() ItemType_Enum
- func (*ItemInputMessage) ProtoMessage()
- func (x *ItemInputMessage) ProtoReflect() protoreflect.Message
- func (x *ItemInputMessage) Reset()
- func (x *ItemInputMessage) String() string
- type ItemOutputMessage
- func (*ItemOutputMessage) Descriptor() ([]byte, []int)deprecated
- func (x *ItemOutputMessage) GetContent() []*OutputContentItem
- func (x *ItemOutputMessage) GetId() string
- func (x *ItemOutputMessage) GetRole() MessageRole_Enum
- func (x *ItemOutputMessage) GetStatus() ItemStatus_Enum
- func (x *ItemOutputMessage) GetType() ItemType_Enum
- func (*ItemOutputMessage) ProtoMessage()
- func (x *ItemOutputMessage) ProtoReflect() protoreflect.Message
- func (x *ItemOutputMessage) Reset()
- func (x *ItemOutputMessage) String() string
- type ItemReasoning
- func (*ItemReasoning) Descriptor() ([]byte, []int)deprecated
- func (x *ItemReasoning) GetId() string
- func (x *ItemReasoning) GetStatus() ItemStatus_Enum
- func (x *ItemReasoning) GetSummary() []*ReasoningSummaryPart
- func (x *ItemReasoning) GetType() ItemType_Enum
- func (*ItemReasoning) ProtoMessage()
- func (x *ItemReasoning) ProtoReflect() protoreflect.Message
- func (x *ItemReasoning) Reset()
- func (x *ItemReasoning) String() string
- type ItemReference
- func (*ItemReference) Descriptor() ([]byte, []int)deprecated
- func (x *ItemReference) GetId() string
- func (x *ItemReference) GetType() ItemType_Enum
- func (*ItemReference) ProtoMessage()
- func (x *ItemReference) ProtoReflect() protoreflect.Message
- func (x *ItemReference) Reset()
- func (x *ItemReference) String() string
- type ItemStatus
- type ItemStatus_Enum
- func (ItemStatus_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ItemStatus_Enum) Enum() *ItemStatus_Enum
- func (ItemStatus_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ItemStatus_Enum) MarshalJSON() ([]byte, error)
- func (x ItemStatus_Enum) Number() protoreflect.EnumNumber
- func (x ItemStatus_Enum) String() string
- func (ItemStatus_Enum) Type() protoreflect.EnumType
- func (r *ItemStatus_Enum) UnmarshalJSON(bytes []byte) error
- type ItemTranscription
- func (*ItemTranscription) Descriptor() ([]byte, []int)deprecated
- func (x *ItemTranscription) GetId() string
- func (x *ItemTranscription) GetStatus() ItemStatus_Enum
- func (x *ItemTranscription) GetTranscription() []*TranscriptionPart
- func (x *ItemTranscription) GetType() ItemType_Enum
- func (*ItemTranscription) ProtoMessage()
- func (x *ItemTranscription) ProtoReflect() protoreflect.Message
- func (x *ItemTranscription) Reset()
- func (x *ItemTranscription) String() string
- type ItemType
- type ItemType_Enum
- func (ItemType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ItemType_Enum) Enum() *ItemType_Enum
- func (ItemType_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ItemType_Enum) MarshalJSON() ([]byte, error)
- func (x ItemType_Enum) Number() protoreflect.EnumNumber
- func (x ItemType_Enum) String() string
- func (ItemType_Enum) Type() protoreflect.EnumType
- func (r *ItemType_Enum) UnmarshalJSON(bytes []byte) error
- type KnowledgeSearchToolChoice
- func (*KnowledgeSearchToolChoice) Descriptor() ([]byte, []int)deprecated
- func (x *KnowledgeSearchToolChoice) GetType() ToolType_Enum
- func (*KnowledgeSearchToolChoice) ProtoMessage()
- func (x *KnowledgeSearchToolChoice) ProtoReflect() protoreflect.Message
- func (x *KnowledgeSearchToolChoice) Reset()
- func (x *KnowledgeSearchToolChoice) String() string
- type ListInputItemsRequest
- func (*ListInputItemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInputItemsRequest) GetAfter() string
- func (x *ListInputItemsRequest) GetBefore() string
- func (x *ListInputItemsRequest) GetInclude() []IncludeType_Enum
- func (x *ListInputItemsRequest) GetLimit() int32
- func (x *ListInputItemsRequest) GetOrder() string
- func (x *ListInputItemsRequest) GetResponseId() string
- func (*ListInputItemsRequest) ProtoMessage()
- func (x *ListInputItemsRequest) ProtoReflect() protoreflect.Message
- func (x *ListInputItemsRequest) Reset()
- func (x *ListInputItemsRequest) String() string
- func (x *ListInputItemsRequest) URLQuery() (v url.Values, err error)
- type ListInputItemsResponse
- func (*ListInputItemsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInputItemsResponse) GetData() []*InputItem
- func (x *ListInputItemsResponse) GetFirstId() string
- func (x *ListInputItemsResponse) GetHasMore() bool
- func (x *ListInputItemsResponse) GetLastId() string
- func (x *ListInputItemsResponse) GetObject() ObjectType_Enum
- func (*ListInputItemsResponse) ProtoMessage()
- func (x *ListInputItemsResponse) ProtoReflect() protoreflect.Message
- func (x *ListInputItemsResponse) Reset()
- func (x *ListInputItemsResponse) String() string
- type McpAllowedTools
- func (*McpAllowedTools) Descriptor() ([]byte, []int)deprecated
- func (x *McpAllowedTools) GetFilter() *McpAllowedToolsFilter
- func (x *McpAllowedTools) GetList() *McpAllowedToolsList
- func (m *McpAllowedTools) GetUnion() isMcpAllowedTools_Union
- func (r *McpAllowedTools) MarshalJSON() ([]byte, error)
- func (*McpAllowedTools) ProtoMessage()
- func (x *McpAllowedTools) ProtoReflect() protoreflect.Message
- func (x *McpAllowedTools) Reset()
- func (x *McpAllowedTools) String() string
- func (r *McpAllowedTools) UnmarshalJSON(bytes []byte) error
- type McpAllowedToolsFilter
- func (*McpAllowedToolsFilter) Descriptor() ([]byte, []int)deprecated
- func (x *McpAllowedToolsFilter) GetToolNames() []string
- func (*McpAllowedToolsFilter) ProtoMessage()
- func (x *McpAllowedToolsFilter) ProtoReflect() protoreflect.Message
- func (x *McpAllowedToolsFilter) Reset()
- func (x *McpAllowedToolsFilter) String() string
- type McpAllowedToolsList
- func (*McpAllowedToolsList) Descriptor() ([]byte, []int)deprecated
- func (x *McpAllowedToolsList) GetValues() []string
- func (*McpAllowedToolsList) ProtoMessage()
- func (x *McpAllowedToolsList) ProtoReflect() protoreflect.Message
- func (x *McpAllowedToolsList) Reset()
- func (x *McpAllowedToolsList) String() string
- type McpAllowedTools_Filter
- type McpAllowedTools_List
- type McpRequireApproval
- func (*McpRequireApproval) Descriptor() ([]byte, []int)deprecated
- func (x *McpRequireApproval) GetFilter() *McpToolApprovalFilter
- func (x *McpRequireApproval) GetMode() ApprovalMode_Enum
- func (m *McpRequireApproval) GetUnion() isMcpRequireApproval_Union
- func (r *McpRequireApproval) MarshalJSON() ([]byte, error)
- func (*McpRequireApproval) ProtoMessage()
- func (x *McpRequireApproval) ProtoReflect() protoreflect.Message
- func (x *McpRequireApproval) Reset()
- func (x *McpRequireApproval) String() string
- func (r *McpRequireApproval) UnmarshalJSON(bytes []byte) error
- type McpRequireApproval_Filter
- type McpRequireApproval_Mode
- type McpTool
- func (*McpTool) Descriptor() ([]byte, []int)deprecated
- func (x *McpTool) GetDescription() string
- func (x *McpTool) GetInputSchema() *structpb.Struct
- func (x *McpTool) GetName() string
- func (*McpTool) ProtoMessage()
- func (x *McpTool) ProtoReflect() protoreflect.Message
- func (x *McpTool) Reset()
- func (x *McpTool) String() string
- type McpToolApprovalFilter
- func (*McpToolApprovalFilter) Descriptor() ([]byte, []int)deprecated
- func (x *McpToolApprovalFilter) GetAlways() *McpToolApprovalFilterAlways
- func (x *McpToolApprovalFilter) GetNever() *McpToolApprovalFilterNever
- func (*McpToolApprovalFilter) ProtoMessage()
- func (x *McpToolApprovalFilter) ProtoReflect() protoreflect.Message
- func (x *McpToolApprovalFilter) Reset()
- func (x *McpToolApprovalFilter) String() string
- type McpToolApprovalFilterAlways
- func (*McpToolApprovalFilterAlways) Descriptor() ([]byte, []int)deprecated
- func (x *McpToolApprovalFilterAlways) GetToolNames() []string
- func (*McpToolApprovalFilterAlways) ProtoMessage()
- func (x *McpToolApprovalFilterAlways) ProtoReflect() protoreflect.Message
- func (x *McpToolApprovalFilterAlways) Reset()
- func (x *McpToolApprovalFilterAlways) String() string
- type McpToolApprovalFilterNever
- func (*McpToolApprovalFilterNever) Descriptor() ([]byte, []int)deprecated
- func (x *McpToolApprovalFilterNever) GetToolNames() []string
- func (*McpToolApprovalFilterNever) ProtoMessage()
- func (x *McpToolApprovalFilterNever) ProtoReflect() protoreflect.Message
- func (x *McpToolApprovalFilterNever) Reset()
- func (x *McpToolApprovalFilterNever) String() string
- type McpToolChoice
- func (*McpToolChoice) Descriptor() ([]byte, []int)deprecated
- func (x *McpToolChoice) GetName() string
- func (x *McpToolChoice) GetServerLabel() string
- func (x *McpToolChoice) GetType() ToolType_Enum
- func (*McpToolChoice) ProtoMessage()
- func (x *McpToolChoice) ProtoReflect() protoreflect.Message
- func (x *McpToolChoice) Reset()
- func (x *McpToolChoice) String() string
- type MessageContent
- func (*MessageContent) Descriptor() ([]byte, []int)deprecated
- func (x *MessageContent) GetListValue() *ContentItemList
- func (x *MessageContent) GetStringValue() string
- func (m *MessageContent) GetUnion() isMessageContent_Union
- func (r *MessageContent) MarshalJSON() ([]byte, error)
- func (*MessageContent) ProtoMessage()
- func (x *MessageContent) ProtoReflect() protoreflect.Message
- func (x *MessageContent) Reset()
- func (x *MessageContent) String() string
- func (r *MessageContent) UnmarshalJSON(bytes []byte) error
- type MessageContent_ListValue
- type MessageContent_StringValue
- type MessageRole
- type MessageRole_Enum
- func (MessageRole_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x MessageRole_Enum) Enum() *MessageRole_Enum
- func (MessageRole_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r MessageRole_Enum) MarshalJSON() ([]byte, error)
- func (x MessageRole_Enum) Number() protoreflect.EnumNumber
- func (x MessageRole_Enum) String() string
- func (MessageRole_Enum) Type() protoreflect.EnumType
- func (r *MessageRole_Enum) UnmarshalJSON(bytes []byte) error
- type ObjectType
- type ObjectType_Enum
- func (ObjectType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ObjectType_Enum) Enum() *ObjectType_Enum
- func (ObjectType_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ObjectType_Enum) MarshalJSON() ([]byte, error)
- func (x ObjectType_Enum) Number() protoreflect.EnumNumber
- func (x ObjectType_Enum) String() string
- func (ObjectType_Enum) Type() protoreflect.EnumType
- func (r *ObjectType_Enum) UnmarshalJSON(bytes []byte) error
- type OutputContentItem
- func (*OutputContentItem) Descriptor() ([]byte, []int)deprecated
- func (x *OutputContentItem) GetText() *OutputContentItemText
- func (m *OutputContentItem) GetUnion() isOutputContentItem_Union
- func (r *OutputContentItem) MarshalJSON() ([]byte, error)
- func (*OutputContentItem) ProtoMessage()
- func (x *OutputContentItem) ProtoReflect() protoreflect.Message
- func (x *OutputContentItem) Reset()
- func (x *OutputContentItem) String() string
- func (r *OutputContentItem) UnmarshalJSON(bytes []byte) error
- type OutputContentItemText
- func (*OutputContentItemText) Descriptor() ([]byte, []int)deprecated
- func (x *OutputContentItemText) GetAnnotations() []*Annotation
- func (x *OutputContentItemText) GetText() string
- func (x *OutputContentItemText) GetType() ContentItemType_Enum
- func (*OutputContentItemText) ProtoMessage()
- func (x *OutputContentItemText) ProtoReflect() protoreflect.Message
- func (x *OutputContentItemText) Reset()
- func (x *OutputContentItemText) String() string
- type OutputContentItem_Text
- type OutputItem
- func (*OutputItem) Descriptor() ([]byte, []int)deprecated
- func (x *OutputItem) GetFunctionImageProcess() *ItemFunctionImageProcess
- func (x *OutputItem) GetFunctionKnowledgeSearch() *ItemFunctionKnowledgeSearch
- func (x *OutputItem) GetFunctionMcpApprovalRequest() *ItemFunctionMcpApprovalRequest
- func (x *OutputItem) GetFunctionMcpCall() *ItemFunctionMcpCall
- func (x *OutputItem) GetFunctionMcpListTools() *ItemFunctionMcpListTools
- func (x *OutputItem) GetFunctionToolCall() *ItemFunctionToolCall
- func (x *OutputItem) GetFunctionWebSearch() *ItemFunctionWebSearch
- func (x *OutputItem) GetOutputMessage() *ItemOutputMessage
- func (x *OutputItem) GetReasoning() *ItemReasoning
- func (x *OutputItem) GetTranscription() *ItemTranscription
- func (m *OutputItem) GetUnion() isOutputItem_Union
- func (r *OutputItem) MarshalJSON() ([]byte, error)
- func (*OutputItem) ProtoMessage()
- func (x *OutputItem) ProtoReflect() protoreflect.Message
- func (x *OutputItem) Reset()
- func (x *OutputItem) String() string
- func (r *OutputItem) UnmarshalJSON(bytes []byte) error
- type OutputItem_FunctionImageProcess
- type OutputItem_FunctionKnowledgeSearch
- type OutputItem_FunctionMcpApprovalRequest
- type OutputItem_FunctionMcpCall
- type OutputItem_FunctionMcpListTools
- type OutputItem_FunctionToolCall
- type OutputItem_FunctionWebSearch
- type OutputItem_OutputMessage
- type OutputItem_Reasoning
- type OutputItem_Transcription
- type OutputTextDoneEvent
- func (*OutputTextDoneEvent) Descriptor() ([]byte, []int)deprecated
- func (x *OutputTextDoneEvent) GetContentIndex() int64
- func (x *OutputTextDoneEvent) GetDelta() string
- func (x *OutputTextDoneEvent) GetItemId() string
- func (x *OutputTextDoneEvent) GetOutputIndex() int64
- func (x *OutputTextDoneEvent) GetSequenceNumber() int64
- func (x *OutputTextDoneEvent) GetText() string
- func (x *OutputTextDoneEvent) GetType() EventType_Enum
- func (*OutputTextDoneEvent) ProtoMessage()
- func (x *OutputTextDoneEvent) ProtoReflect() protoreflect.Message
- func (x *OutputTextDoneEvent) Reset()
- func (x *OutputTextDoneEvent) String() string
- type OutputTextEvent
- func (*OutputTextEvent) Descriptor() ([]byte, []int)deprecated
- func (x *OutputTextEvent) GetContentIndex() int64
- func (x *OutputTextEvent) GetDelta() string
- func (x *OutputTextEvent) GetItemId() string
- func (x *OutputTextEvent) GetOutputIndex() int64
- func (x *OutputTextEvent) GetSequenceNumber() int64
- func (x *OutputTextEvent) GetText() string
- func (x *OutputTextEvent) GetType() EventType_Enum
- func (*OutputTextEvent) ProtoMessage()
- func (x *OutputTextEvent) ProtoReflect() protoreflect.Message
- func (x *OutputTextEvent) Reset()
- func (x *OutputTextEvent) String() string
- type OutputTokensDetails
- func (*OutputTokensDetails) Descriptor() ([]byte, []int)deprecated
- func (x *OutputTokensDetails) GetReasoningTokens() int64
- func (*OutputTokensDetails) ProtoMessage()
- func (x *OutputTokensDetails) ProtoReflect() protoreflect.Message
- func (x *OutputTokensDetails) Reset()
- func (x *OutputTokensDetails) String() string
- type ReasoningEffort
- type ReasoningEffort_Enum
- func (ReasoningEffort_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ReasoningEffort_Enum) Enum() *ReasoningEffort_Enum
- func (ReasoningEffort_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ReasoningEffort_Enum) MarshalJSON() ([]byte, error)
- func (x ReasoningEffort_Enum) Number() protoreflect.EnumNumber
- func (x ReasoningEffort_Enum) String() string
- func (ReasoningEffort_Enum) Type() protoreflect.EnumType
- func (r *ReasoningEffort_Enum) UnmarshalJSON(bytes []byte) error
- type ReasoningSummaryPart
- func (*ReasoningSummaryPart) Descriptor() ([]byte, []int)deprecated
- func (x *ReasoningSummaryPart) GetText() string
- func (x *ReasoningSummaryPart) GetType() ContentItemType_Enum
- func (*ReasoningSummaryPart) ProtoMessage()
- func (x *ReasoningSummaryPart) ProtoReflect() protoreflect.Message
- func (x *ReasoningSummaryPart) Reset()
- func (x *ReasoningSummaryPart) String() string
- type ReasoningSummaryPartDone
- func (*ReasoningSummaryPartDone) Descriptor() ([]byte, []int)deprecated
- func (x *ReasoningSummaryPartDone) GetText() string
- func (x *ReasoningSummaryPartDone) GetType() ContentItemType_Enum
- func (*ReasoningSummaryPartDone) ProtoMessage()
- func (x *ReasoningSummaryPartDone) ProtoReflect() protoreflect.Message
- func (x *ReasoningSummaryPartDone) Reset()
- func (x *ReasoningSummaryPartDone) String() string
- type ReasoningSummaryPartDoneEvent
- func (*ReasoningSummaryPartDoneEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ReasoningSummaryPartDoneEvent) GetItemId() string
- func (x *ReasoningSummaryPartDoneEvent) GetOutputIndex() int64
- func (x *ReasoningSummaryPartDoneEvent) GetPart() *ReasoningSummaryPart
- func (x *ReasoningSummaryPartDoneEvent) GetSequenceNumber() int64
- func (x *ReasoningSummaryPartDoneEvent) GetSummaryIndex() int64
- func (x *ReasoningSummaryPartDoneEvent) GetType() EventType_Enum
- func (*ReasoningSummaryPartDoneEvent) ProtoMessage()
- func (x *ReasoningSummaryPartDoneEvent) ProtoReflect() protoreflect.Message
- func (x *ReasoningSummaryPartDoneEvent) Reset()
- func (x *ReasoningSummaryPartDoneEvent) String() string
- type ReasoningSummaryPartEvent
- func (*ReasoningSummaryPartEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ReasoningSummaryPartEvent) GetItemId() string
- func (x *ReasoningSummaryPartEvent) GetOutputIndex() int64
- func (x *ReasoningSummaryPartEvent) GetPart() *ReasoningSummaryPart
- func (x *ReasoningSummaryPartEvent) GetSequenceNumber() int64
- func (x *ReasoningSummaryPartEvent) GetSummaryIndex() int64
- func (x *ReasoningSummaryPartEvent) GetType() EventType_Enum
- func (*ReasoningSummaryPartEvent) ProtoMessage()
- func (x *ReasoningSummaryPartEvent) ProtoReflect() protoreflect.Message
- func (x *ReasoningSummaryPartEvent) Reset()
- func (x *ReasoningSummaryPartEvent) String() string
- type ReasoningSummaryTextDoneEvent
- func (*ReasoningSummaryTextDoneEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ReasoningSummaryTextDoneEvent) GetDelta() string
- func (x *ReasoningSummaryTextDoneEvent) GetItemId() string
- func (x *ReasoningSummaryTextDoneEvent) GetOutputIndex() int64
- func (x *ReasoningSummaryTextDoneEvent) GetSequenceNumber() int64
- func (x *ReasoningSummaryTextDoneEvent) GetSummaryIndex() int64
- func (x *ReasoningSummaryTextDoneEvent) GetText() string
- func (x *ReasoningSummaryTextDoneEvent) GetType() EventType_Enum
- func (*ReasoningSummaryTextDoneEvent) ProtoMessage()
- func (x *ReasoningSummaryTextDoneEvent) ProtoReflect() protoreflect.Message
- func (x *ReasoningSummaryTextDoneEvent) Reset()
- func (x *ReasoningSummaryTextDoneEvent) String() string
- type ReasoningSummaryTextEvent
- func (*ReasoningSummaryTextEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ReasoningSummaryTextEvent) GetDelta() string
- func (x *ReasoningSummaryTextEvent) GetItemId() string
- func (x *ReasoningSummaryTextEvent) GetOutputIndex() int64
- func (x *ReasoningSummaryTextEvent) GetSequenceNumber() int64
- func (x *ReasoningSummaryTextEvent) GetSummaryIndex() int64
- func (x *ReasoningSummaryTextEvent) GetText() string
- func (x *ReasoningSummaryTextEvent) GetType() EventType_Enum
- func (*ReasoningSummaryTextEvent) ProtoMessage()
- func (x *ReasoningSummaryTextEvent) ProtoReflect() protoreflect.Message
- func (x *ReasoningSummaryTextEvent) Reset()
- func (x *ReasoningSummaryTextEvent) String() string
- type ResponseAnnotationAddedEvent
- func (*ResponseAnnotationAddedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseAnnotationAddedEvent) GetAnnotation() *Annotation
- func (x *ResponseAnnotationAddedEvent) GetAnnotationIndex() int64
- func (x *ResponseAnnotationAddedEvent) GetContentIndex() int64
- func (x *ResponseAnnotationAddedEvent) GetDelta() string
- func (x *ResponseAnnotationAddedEvent) GetItemId() string
- func (x *ResponseAnnotationAddedEvent) GetOutputIndex() int64
- func (x *ResponseAnnotationAddedEvent) GetSequenceNumber() int64
- func (x *ResponseAnnotationAddedEvent) GetText() string
- func (x *ResponseAnnotationAddedEvent) GetType() EventType_Enum
- func (*ResponseAnnotationAddedEvent) ProtoMessage()
- func (x *ResponseAnnotationAddedEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseAnnotationAddedEvent) Reset()
- func (x *ResponseAnnotationAddedEvent) String() string
- type ResponseCompletedEvent
- func (*ResponseCompletedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseCompletedEvent) GetResponse() *ResponseObject
- func (x *ResponseCompletedEvent) GetSequenceNumber() int64
- func (x *ResponseCompletedEvent) GetType() EventType_Enum
- func (*ResponseCompletedEvent) ProtoMessage()
- func (x *ResponseCompletedEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseCompletedEvent) Reset()
- func (x *ResponseCompletedEvent) String() string
- type ResponseEvent
- func (*ResponseEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseEvent) GetResponse() *ResponseObject
- func (x *ResponseEvent) GetSequenceNumber() int64
- func (x *ResponseEvent) GetType() EventType_Enum
- func (*ResponseEvent) ProtoMessage()
- func (x *ResponseEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseEvent) Reset()
- func (x *ResponseEvent) String() string
- type ResponseFailedEvent
- func (*ResponseFailedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseFailedEvent) GetResponse() *ResponseObject
- func (x *ResponseFailedEvent) GetSequenceNumber() int64
- func (x *ResponseFailedEvent) GetType() EventType_Enum
- func (*ResponseFailedEvent) ProtoMessage()
- func (x *ResponseFailedEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseFailedEvent) Reset()
- func (x *ResponseFailedEvent) String() string
- type ResponseImageProcessAction
- func (*ResponseImageProcessAction) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseImageProcessAction) GetResultImageUrl() string
- func (x *ResponseImageProcessAction) GetType() string
- func (*ResponseImageProcessAction) ProtoMessage()
- func (x *ResponseImageProcessAction) ProtoReflect() protoreflect.Message
- func (x *ResponseImageProcessAction) Reset()
- func (x *ResponseImageProcessAction) String() string
- type ResponseImageProcessArgs
- func (*ResponseImageProcessArgs) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseImageProcessArgs) GetGroundingArgs() *ResponseImageProcessGroundingArgs
- func (x *ResponseImageProcessArgs) GetImageIndex() int
- func (x *ResponseImageProcessArgs) GetParamType() ResponseImageProcessType_Enum
- func (x *ResponseImageProcessArgs) GetPointArgs() *ResponseImageProcessPointArgs
- func (x *ResponseImageProcessArgs) GetRotateArgs() *ResponseImageProcessRotateArgs
- func (m *ResponseImageProcessArgs) GetUnion() isResponseImageProcessArgs_Union
- func (x *ResponseImageProcessArgs) GetZoomArgs() *ResponseImageProcessZoomArgs
- func (i *ResponseImageProcessArgs) MarshalJSON() ([]byte, error)
- func (*ResponseImageProcessArgs) ProtoMessage()
- func (x *ResponseImageProcessArgs) ProtoReflect() protoreflect.Message
- func (x *ResponseImageProcessArgs) Reset()
- func (x *ResponseImageProcessArgs) String() string
- func (i *ResponseImageProcessArgs) UnmarshalJSON(bytes []byte) error
- type ResponseImageProcessArgs_GroundingArgs
- type ResponseImageProcessArgs_PointArgs
- type ResponseImageProcessArgs_RotateArgs
- type ResponseImageProcessArgs_ZoomArgs
- type ResponseImageProcessCallCompletedEvent
- func (*ResponseImageProcessCallCompletedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseImageProcessCallCompletedEvent) GetAction() *ResponseImageProcessAction
- func (x *ResponseImageProcessCallCompletedEvent) GetArguments() *ResponseImageProcessArgs
- func (x *ResponseImageProcessCallCompletedEvent) GetError() *ResponseImageProcessError
- func (x *ResponseImageProcessCallCompletedEvent) GetItemId() string
- func (x *ResponseImageProcessCallCompletedEvent) GetOutputIndex() int64
- func (x *ResponseImageProcessCallCompletedEvent) GetSequenceNumber() int64
- func (x *ResponseImageProcessCallCompletedEvent) GetType() EventType_Enum
- func (*ResponseImageProcessCallCompletedEvent) ProtoMessage()
- func (x *ResponseImageProcessCallCompletedEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseImageProcessCallCompletedEvent) Reset()
- func (x *ResponseImageProcessCallCompletedEvent) String() string
- type ResponseImageProcessCallInProgressEvent
- func (*ResponseImageProcessCallInProgressEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseImageProcessCallInProgressEvent) GetItemId() string
- func (x *ResponseImageProcessCallInProgressEvent) GetOutputIndex() int64
- func (x *ResponseImageProcessCallInProgressEvent) GetSequenceNumber() int64
- func (x *ResponseImageProcessCallInProgressEvent) GetType() EventType_Enum
- func (*ResponseImageProcessCallInProgressEvent) ProtoMessage()
- func (x *ResponseImageProcessCallInProgressEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseImageProcessCallInProgressEvent) Reset()
- func (x *ResponseImageProcessCallInProgressEvent) String() string
- type ResponseImageProcessCallProcessingEvent
- func (*ResponseImageProcessCallProcessingEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseImageProcessCallProcessingEvent) GetAction() *ResponseImageProcessAction
- func (x *ResponseImageProcessCallProcessingEvent) GetArguments() *ResponseImageProcessArgs
- func (x *ResponseImageProcessCallProcessingEvent) GetItemId() string
- func (x *ResponseImageProcessCallProcessingEvent) GetOutputIndex() int64
- func (x *ResponseImageProcessCallProcessingEvent) GetSequenceNumber() int64
- func (x *ResponseImageProcessCallProcessingEvent) GetType() EventType_Enum
- func (*ResponseImageProcessCallProcessingEvent) ProtoMessage()
- func (x *ResponseImageProcessCallProcessingEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseImageProcessCallProcessingEvent) Reset()
- func (x *ResponseImageProcessCallProcessingEvent) String() string
- type ResponseImageProcessError
- func (*ResponseImageProcessError) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseImageProcessError) GetMessage() string
- func (*ResponseImageProcessError) ProtoMessage()
- func (x *ResponseImageProcessError) ProtoReflect() protoreflect.Message
- func (x *ResponseImageProcessError) Reset()
- func (x *ResponseImageProcessError) String() string
- type ResponseImageProcessGroundingArgs
- func (*ResponseImageProcessGroundingArgs) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseImageProcessGroundingArgs) GetBboxStr() string
- func (x *ResponseImageProcessGroundingArgs) GetCrop() bool
- func (x *ResponseImageProcessGroundingArgs) GetImageIndex() int32
- func (*ResponseImageProcessGroundingArgs) ProtoMessage()
- func (x *ResponseImageProcessGroundingArgs) ProtoReflect() protoreflect.Message
- func (x *ResponseImageProcessGroundingArgs) Reset()
- func (x *ResponseImageProcessGroundingArgs) String() string
- type ResponseImageProcessPointArgs
- func (*ResponseImageProcessPointArgs) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseImageProcessPointArgs) GetDrawLine() bool
- func (x *ResponseImageProcessPointArgs) GetImageIndex() int32
- func (x *ResponseImageProcessPointArgs) GetPoints() string
- func (*ResponseImageProcessPointArgs) ProtoMessage()
- func (x *ResponseImageProcessPointArgs) ProtoReflect() protoreflect.Message
- func (x *ResponseImageProcessPointArgs) Reset()
- func (x *ResponseImageProcessPointArgs) String() string
- type ResponseImageProcessRotateArgs
- func (*ResponseImageProcessRotateArgs) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseImageProcessRotateArgs) GetDegree() int32
- func (x *ResponseImageProcessRotateArgs) GetImageIndex() int32
- func (*ResponseImageProcessRotateArgs) ProtoMessage()
- func (x *ResponseImageProcessRotateArgs) ProtoReflect() protoreflect.Message
- func (x *ResponseImageProcessRotateArgs) Reset()
- func (x *ResponseImageProcessRotateArgs) String() string
- type ResponseImageProcessType
- type ResponseImageProcessType_Enum
- func (ResponseImageProcessType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ResponseImageProcessType_Enum) Enum() *ResponseImageProcessType_Enum
- func (ResponseImageProcessType_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResponseImageProcessType_Enum) Number() protoreflect.EnumNumber
- func (x ResponseImageProcessType_Enum) String() string
- func (ResponseImageProcessType_Enum) Type() protoreflect.EnumType
- type ResponseImageProcessZoomArgs
- func (*ResponseImageProcessZoomArgs) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseImageProcessZoomArgs) GetBboxStr() string
- func (x *ResponseImageProcessZoomArgs) GetImageIndex() int32
- func (x *ResponseImageProcessZoomArgs) GetScale() float64
- func (*ResponseImageProcessZoomArgs) ProtoMessage()
- func (x *ResponseImageProcessZoomArgs) ProtoReflect() protoreflect.Message
- func (x *ResponseImageProcessZoomArgs) Reset()
- func (x *ResponseImageProcessZoomArgs) String() string
- type ResponseInProgressEvent
- func (*ResponseInProgressEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseInProgressEvent) GetResponse() *ResponseObject
- func (x *ResponseInProgressEvent) GetSequenceNumber() int64
- func (x *ResponseInProgressEvent) GetType() EventType_Enum
- func (*ResponseInProgressEvent) ProtoMessage()
- func (x *ResponseInProgressEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseInProgressEvent) Reset()
- func (x *ResponseInProgressEvent) String() string
- type ResponseIncompleteEvent
- func (*ResponseIncompleteEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseIncompleteEvent) GetResponse() *ResponseObject
- func (x *ResponseIncompleteEvent) GetSequenceNumber() int64
- func (x *ResponseIncompleteEvent) GetType() EventType_Enum
- func (*ResponseIncompleteEvent) ProtoMessage()
- func (x *ResponseIncompleteEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseIncompleteEvent) Reset()
- func (x *ResponseIncompleteEvent) String() string
- type ResponseKnowledgeSearchCallCompletedEvent
- func (*ResponseKnowledgeSearchCallCompletedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseKnowledgeSearchCallCompletedEvent) GetItemId() string
- func (x *ResponseKnowledgeSearchCallCompletedEvent) GetOutputIndex() int64
- func (x *ResponseKnowledgeSearchCallCompletedEvent) GetSequenceNumber() int64
- func (x *ResponseKnowledgeSearchCallCompletedEvent) GetType() EventType_Enum
- func (*ResponseKnowledgeSearchCallCompletedEvent) ProtoMessage()
- func (x *ResponseKnowledgeSearchCallCompletedEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseKnowledgeSearchCallCompletedEvent) Reset()
- func (x *ResponseKnowledgeSearchCallCompletedEvent) String() string
- type ResponseKnowledgeSearchCallFailedEvent
- func (*ResponseKnowledgeSearchCallFailedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseKnowledgeSearchCallFailedEvent) GetItemId() string
- func (x *ResponseKnowledgeSearchCallFailedEvent) GetOutputIndex() int64
- func (x *ResponseKnowledgeSearchCallFailedEvent) GetSequenceNumber() int64
- func (x *ResponseKnowledgeSearchCallFailedEvent) GetType() EventType_Enum
- func (*ResponseKnowledgeSearchCallFailedEvent) ProtoMessage()
- func (x *ResponseKnowledgeSearchCallFailedEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseKnowledgeSearchCallFailedEvent) Reset()
- func (x *ResponseKnowledgeSearchCallFailedEvent) String() string
- type ResponseKnowledgeSearchCallInProgressEvent
- func (*ResponseKnowledgeSearchCallInProgressEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseKnowledgeSearchCallInProgressEvent) GetItemId() string
- func (x *ResponseKnowledgeSearchCallInProgressEvent) GetOutputIndex() int64
- func (x *ResponseKnowledgeSearchCallInProgressEvent) GetSequenceNumber() int64
- func (x *ResponseKnowledgeSearchCallInProgressEvent) GetType() EventType_Enum
- func (*ResponseKnowledgeSearchCallInProgressEvent) ProtoMessage()
- func (x *ResponseKnowledgeSearchCallInProgressEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseKnowledgeSearchCallInProgressEvent) Reset()
- func (x *ResponseKnowledgeSearchCallInProgressEvent) String() string
- type ResponseKnowledgeSearchCallSearchingEvent
- func (*ResponseKnowledgeSearchCallSearchingEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseKnowledgeSearchCallSearchingEvent) GetItemId() string
- func (x *ResponseKnowledgeSearchCallSearchingEvent) GetOutputIndex() int64
- func (x *ResponseKnowledgeSearchCallSearchingEvent) GetSequenceNumber() int64
- func (x *ResponseKnowledgeSearchCallSearchingEvent) GetType() EventType_Enum
- func (*ResponseKnowledgeSearchCallSearchingEvent) ProtoMessage()
- func (x *ResponseKnowledgeSearchCallSearchingEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseKnowledgeSearchCallSearchingEvent) Reset()
- func (x *ResponseKnowledgeSearchCallSearchingEvent) String() string
- type ResponseMcpApprovalRequestEvent
- func (*ResponseMcpApprovalRequestEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMcpApprovalRequestEvent) GetFunctionMcpApprovalRequest() *ItemFunctionMcpApprovalRequest
- func (x *ResponseMcpApprovalRequestEvent) GetOutputIndex() int64
- func (x *ResponseMcpApprovalRequestEvent) GetSequenceNumber() int64
- func (x *ResponseMcpApprovalRequestEvent) GetType() EventType_Enum
- func (*ResponseMcpApprovalRequestEvent) ProtoMessage()
- func (x *ResponseMcpApprovalRequestEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseMcpApprovalRequestEvent) Reset()
- func (x *ResponseMcpApprovalRequestEvent) String() string
- type ResponseMcpCallArgumentsDeltaEvent
- func (*ResponseMcpCallArgumentsDeltaEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMcpCallArgumentsDeltaEvent) GetDelta() string
- func (x *ResponseMcpCallArgumentsDeltaEvent) GetItemId() string
- func (x *ResponseMcpCallArgumentsDeltaEvent) GetOutputIndex() int64
- func (x *ResponseMcpCallArgumentsDeltaEvent) GetSequenceNumber() int64
- func (x *ResponseMcpCallArgumentsDeltaEvent) GetType() EventType_Enum
- func (*ResponseMcpCallArgumentsDeltaEvent) ProtoMessage()
- func (x *ResponseMcpCallArgumentsDeltaEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseMcpCallArgumentsDeltaEvent) Reset()
- func (x *ResponseMcpCallArgumentsDeltaEvent) String() string
- type ResponseMcpCallArgumentsDoneEvent
- func (*ResponseMcpCallArgumentsDoneEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMcpCallArgumentsDoneEvent) GetArguments() string
- func (x *ResponseMcpCallArgumentsDoneEvent) GetItemId() string
- func (x *ResponseMcpCallArgumentsDoneEvent) GetOutputIndex() int64
- func (x *ResponseMcpCallArgumentsDoneEvent) GetSequenceNumber() int64
- func (x *ResponseMcpCallArgumentsDoneEvent) GetType() EventType_Enum
- func (*ResponseMcpCallArgumentsDoneEvent) ProtoMessage()
- func (x *ResponseMcpCallArgumentsDoneEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseMcpCallArgumentsDoneEvent) Reset()
- func (x *ResponseMcpCallArgumentsDoneEvent) String() string
- type ResponseMcpCallCompletedEvent
- func (*ResponseMcpCallCompletedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMcpCallCompletedEvent) GetItemId() string
- func (x *ResponseMcpCallCompletedEvent) GetOutputIndex() int64
- func (x *ResponseMcpCallCompletedEvent) GetSequenceNumber() int64
- func (x *ResponseMcpCallCompletedEvent) GetType() EventType_Enum
- func (*ResponseMcpCallCompletedEvent) ProtoMessage()
- func (x *ResponseMcpCallCompletedEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseMcpCallCompletedEvent) Reset()
- func (x *ResponseMcpCallCompletedEvent) String() string
- type ResponseMcpCallFailedEvent
- func (*ResponseMcpCallFailedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMcpCallFailedEvent) GetItemId() string
- func (x *ResponseMcpCallFailedEvent) GetOutputIndex() int64
- func (x *ResponseMcpCallFailedEvent) GetSequenceNumber() int64
- func (x *ResponseMcpCallFailedEvent) GetType() EventType_Enum
- func (*ResponseMcpCallFailedEvent) ProtoMessage()
- func (x *ResponseMcpCallFailedEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseMcpCallFailedEvent) Reset()
- func (x *ResponseMcpCallFailedEvent) String() string
- type ResponseMcpCallInProgressEvent
- func (*ResponseMcpCallInProgressEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMcpCallInProgressEvent) GetItemId() string
- func (x *ResponseMcpCallInProgressEvent) GetOutputIndex() int64
- func (x *ResponseMcpCallInProgressEvent) GetSequenceNumber() int64
- func (x *ResponseMcpCallInProgressEvent) GetType() EventType_Enum
- func (*ResponseMcpCallInProgressEvent) ProtoMessage()
- func (x *ResponseMcpCallInProgressEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseMcpCallInProgressEvent) Reset()
- func (x *ResponseMcpCallInProgressEvent) String() string
- type ResponseMcpListToolsCompletedEvent
- func (*ResponseMcpListToolsCompletedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMcpListToolsCompletedEvent) GetItemId() string
- func (x *ResponseMcpListToolsCompletedEvent) GetOutputIndex() int64
- func (x *ResponseMcpListToolsCompletedEvent) GetSequenceNumber() int64
- func (x *ResponseMcpListToolsCompletedEvent) GetType() EventType_Enum
- func (*ResponseMcpListToolsCompletedEvent) ProtoMessage()
- func (x *ResponseMcpListToolsCompletedEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseMcpListToolsCompletedEvent) Reset()
- func (x *ResponseMcpListToolsCompletedEvent) String() string
- type ResponseMcpListToolsInProgressEvent
- func (*ResponseMcpListToolsInProgressEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseMcpListToolsInProgressEvent) GetItemId() string
- func (x *ResponseMcpListToolsInProgressEvent) GetOutputIndex() int64
- func (x *ResponseMcpListToolsInProgressEvent) GetSequenceNumber() int64
- func (x *ResponseMcpListToolsInProgressEvent) GetType() EventType_Enum
- func (*ResponseMcpListToolsInProgressEvent) ProtoMessage()
- func (x *ResponseMcpListToolsInProgressEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseMcpListToolsInProgressEvent) Reset()
- func (x *ResponseMcpListToolsInProgressEvent) String() string
- type ResponseObject
- func (*ResponseObject) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseObject) GetCaching() *ResponsesCaching
- func (x *ResponseObject) GetCreatedAt() int64
- func (x *ResponseObject) GetError() *Error
- func (x *ResponseObject) GetExpireAt() int64
- func (x *ResponseObject) GetId() string
- func (x *ResponseObject) GetIncompleteDetails() *IncompleteDetails
- func (x *ResponseObject) GetInstructions() string
- func (x *ResponseObject) GetMaxOutputTokens() int64
- func (x *ResponseObject) GetMaxToolCalls() int64
- func (x *ResponseObject) GetModel() string
- func (x *ResponseObject) GetObject() ObjectType_Enum
- func (x *ResponseObject) GetOutput() []*OutputItem
- func (x *ResponseObject) GetParallelToolCalls() bool
- func (x *ResponseObject) GetPreviousResponseId() string
- func (x *ResponseObject) GetReasoning() *ResponsesReasoning
- func (x *ResponseObject) GetServiceTier() ResponsesServiceTier_Enum
- func (x *ResponseObject) GetStatus() ResponseStatus_Enum
- func (x *ResponseObject) GetStore() bool
- func (x *ResponseObject) GetTemperature() float64
- func (x *ResponseObject) GetText() *ResponsesText
- func (x *ResponseObject) GetThinking() *ResponsesThinking
- func (x *ResponseObject) GetToolChoice() *ResponsesToolChoice
- func (x *ResponseObject) GetTools() []*ResponsesTool
- func (x *ResponseObject) GetTopP() float64
- func (x *ResponseObject) GetUsage() *Usage
- func (*ResponseObject) ProtoMessage()
- func (x *ResponseObject) ProtoReflect() protoreflect.Message
- func (x *ResponseObject) Reset()
- func (x *ResponseObject) String() string
- type ResponseStatus
- type ResponseStatus_Enum
- func (ResponseStatus_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ResponseStatus_Enum) Enum() *ResponseStatus_Enum
- func (ResponseStatus_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ResponseStatus_Enum) MarshalJSON() ([]byte, error)
- func (x ResponseStatus_Enum) Number() protoreflect.EnumNumber
- func (x ResponseStatus_Enum) String() string
- func (ResponseStatus_Enum) Type() protoreflect.EnumType
- func (r *ResponseStatus_Enum) UnmarshalJSON(bytes []byte) error
- type ResponseWebSearchCallCompletedEvent
- func (*ResponseWebSearchCallCompletedEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseWebSearchCallCompletedEvent) GetItemId() string
- func (x *ResponseWebSearchCallCompletedEvent) GetOutputIndex() int64
- func (x *ResponseWebSearchCallCompletedEvent) GetSequenceNumber() int64
- func (x *ResponseWebSearchCallCompletedEvent) GetType() EventType_Enum
- func (*ResponseWebSearchCallCompletedEvent) ProtoMessage()
- func (x *ResponseWebSearchCallCompletedEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseWebSearchCallCompletedEvent) Reset()
- func (x *ResponseWebSearchCallCompletedEvent) String() string
- type ResponseWebSearchCallInProgressEvent
- func (*ResponseWebSearchCallInProgressEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseWebSearchCallInProgressEvent) GetItemId() string
- func (x *ResponseWebSearchCallInProgressEvent) GetOutputIndex() int64
- func (x *ResponseWebSearchCallInProgressEvent) GetSequenceNumber() int64
- func (x *ResponseWebSearchCallInProgressEvent) GetType() EventType_Enum
- func (*ResponseWebSearchCallInProgressEvent) ProtoMessage()
- func (x *ResponseWebSearchCallInProgressEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseWebSearchCallInProgressEvent) Reset()
- func (x *ResponseWebSearchCallInProgressEvent) String() string
- type ResponseWebSearchCallSearchingEvent
- func (*ResponseWebSearchCallSearchingEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseWebSearchCallSearchingEvent) GetItemId() string
- func (x *ResponseWebSearchCallSearchingEvent) GetOutputIndex() int64
- func (x *ResponseWebSearchCallSearchingEvent) GetSequenceNumber() int64
- func (x *ResponseWebSearchCallSearchingEvent) GetType() EventType_Enum
- func (*ResponseWebSearchCallSearchingEvent) ProtoMessage()
- func (x *ResponseWebSearchCallSearchingEvent) ProtoReflect() protoreflect.Message
- func (x *ResponseWebSearchCallSearchingEvent) Reset()
- func (x *ResponseWebSearchCallSearchingEvent) String() string
- type ResponsesCaching
- func (*ResponsesCaching) Descriptor() ([]byte, []int)deprecated
- func (x *ResponsesCaching) GetPrefix() bool
- func (x *ResponsesCaching) GetType() CacheType_Enum
- func (*ResponsesCaching) ProtoMessage()
- func (x *ResponsesCaching) ProtoReflect() protoreflect.Message
- func (x *ResponsesCaching) Reset()
- func (x *ResponsesCaching) String() string
- type ResponsesInput
- func (*ResponsesInput) Descriptor() ([]byte, []int)deprecated
- func (x *ResponsesInput) GetListValue() *InputItemList
- func (x *ResponsesInput) GetStringValue() string
- func (m *ResponsesInput) GetUnion() isResponsesInput_Union
- func (r *ResponsesInput) MarshalJSON() ([]byte, error)
- func (*ResponsesInput) ProtoMessage()
- func (x *ResponsesInput) ProtoReflect() protoreflect.Message
- func (x *ResponsesInput) Reset()
- func (x *ResponsesInput) String() string
- func (r *ResponsesInput) UnmarshalJSON(bytes []byte) error
- type ResponsesInput_ListValue
- type ResponsesInput_StringValue
- type ResponsesReasoning
- func (*ResponsesReasoning) Descriptor() ([]byte, []int)deprecated
- func (x *ResponsesReasoning) GetEffort() ReasoningEffort_Enum
- func (*ResponsesReasoning) ProtoMessage()
- func (x *ResponsesReasoning) ProtoReflect() protoreflect.Message
- func (x *ResponsesReasoning) Reset()
- func (x *ResponsesReasoning) String() string
- type ResponsesRequest
- func (*ResponsesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResponsesRequest) GetCaching() *ResponsesCaching
- func (x *ResponsesRequest) GetExpireAt() int64
- func (x *ResponsesRequest) GetInclude() []IncludeType_Enum
- func (x *ResponsesRequest) GetInput() *ResponsesInput
- func (x *ResponsesRequest) GetInstructions() string
- func (x *ResponsesRequest) GetMaxOutputTokens() int64
- func (x *ResponsesRequest) GetMaxToolCalls() int64
- func (x *ResponsesRequest) GetModel() string
- func (x *ResponsesRequest) GetParallelToolCalls() bool
- func (x *ResponsesRequest) GetPreviousResponseId() string
- func (x *ResponsesRequest) GetReasoning() *ResponsesReasoning
- func (x *ResponsesRequest) GetServiceTier() ResponsesServiceTier_Enum
- func (x *ResponsesRequest) GetStore() bool
- func (x *ResponsesRequest) GetStream() bool
- func (x *ResponsesRequest) GetTemperature() float64
- func (x *ResponsesRequest) GetText() *ResponsesText
- func (x *ResponsesRequest) GetThinking() *ResponsesThinking
- func (x *ResponsesRequest) GetToolChoice() *ResponsesToolChoice
- func (x *ResponsesRequest) GetTools() []*ResponsesTool
- func (x *ResponsesRequest) GetTopP() float64
- func (*ResponsesRequest) ProtoMessage()
- func (x *ResponsesRequest) ProtoReflect() protoreflect.Message
- func (x *ResponsesRequest) Reset()
- func (x *ResponsesRequest) String() string
- func (r *ResponsesRequest) UnmarshalJSON(bytes []byte) error
- type ResponsesServiceTier
- type ResponsesServiceTier_Enum
- func (ResponsesServiceTier_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ResponsesServiceTier_Enum) Enum() *ResponsesServiceTier_Enum
- func (ResponsesServiceTier_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ResponsesServiceTier_Enum) MarshalJSON() ([]byte, error)
- func (x ResponsesServiceTier_Enum) Number() protoreflect.EnumNumber
- func (x ResponsesServiceTier_Enum) String() string
- func (ResponsesServiceTier_Enum) Type() protoreflect.EnumType
- func (r *ResponsesServiceTier_Enum) UnmarshalJSON(bytes []byte) error
- type ResponsesText
- type ResponsesThinking
- func (*ResponsesThinking) Descriptor() ([]byte, []int)deprecated
- func (x *ResponsesThinking) GetType() ThinkingType_Enum
- func (*ResponsesThinking) ProtoMessage()
- func (x *ResponsesThinking) ProtoReflect() protoreflect.Message
- func (x *ResponsesThinking) Reset()
- func (x *ResponsesThinking) String() string
- type ResponsesTool
- func (*ResponsesTool) Descriptor() ([]byte, []int)deprecated
- func (x *ResponsesTool) GetToolFunction() *ToolFunction
- func (x *ResponsesTool) GetToolImageProcess() *ToolImageProcess
- func (x *ResponsesTool) GetToolKnowledgeSearch() *ToolKnowledgeSearch
- func (x *ResponsesTool) GetToolMcp() *ToolMcp
- func (x *ResponsesTool) GetToolWebSearch() *ToolWebSearch
- func (m *ResponsesTool) GetUnion() isResponsesTool_Union
- func (r *ResponsesTool) MarshalJSON() ([]byte, error)
- func (*ResponsesTool) ProtoMessage()
- func (x *ResponsesTool) ProtoReflect() protoreflect.Message
- func (x *ResponsesTool) Reset()
- func (x *ResponsesTool) String() string
- func (r *ResponsesTool) UnmarshalJSON(bytes []byte) error
- type ResponsesToolChoice
- func (*ResponsesToolChoice) Descriptor() ([]byte, []int)deprecated
- func (x *ResponsesToolChoice) GetFunctionToolChoice() *FunctionToolChoice
- func (x *ResponsesToolChoice) GetKnowledgeSearchToolChoice() *KnowledgeSearchToolChoice
- func (x *ResponsesToolChoice) GetMcpToolChoice() *McpToolChoice
- func (x *ResponsesToolChoice) GetMode() ToolChoiceMode_Enum
- func (m *ResponsesToolChoice) GetUnion() isResponsesToolChoice_Union
- func (x *ResponsesToolChoice) GetWebSearchToolChoice() *WebSearchToolChoice
- func (r *ResponsesToolChoice) MarshalJSON() ([]byte, error)
- func (*ResponsesToolChoice) ProtoMessage()
- func (x *ResponsesToolChoice) ProtoReflect() protoreflect.Message
- func (x *ResponsesToolChoice) Reset()
- func (x *ResponsesToolChoice) String() string
- func (r *ResponsesToolChoice) UnmarshalJSON(bytes []byte) error
- type ResponsesToolChoice_FunctionToolChoice
- type ResponsesToolChoice_KnowledgeSearchToolChoice
- type ResponsesToolChoice_McpToolChoice
- type ResponsesToolChoice_Mode
- type ResponsesToolChoice_WebSearchToolChoice
- type ResponsesTool_ToolFunction
- type ResponsesTool_ToolImageProcess
- type ResponsesTool_ToolKnowledgeSearch
- type ResponsesTool_ToolMcp
- type ResponsesTool_ToolWebSearch
- type ResponsesTruncation
- type ResponsesTruncation_Enum
- func (ResponsesTruncation_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ResponsesTruncation_Enum) Enum() *ResponsesTruncation_Enum
- func (ResponsesTruncation_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ResponsesTruncation_Enum) MarshalJSON() ([]byte, error)
- func (x ResponsesTruncation_Enum) Number() protoreflect.EnumNumber
- func (x ResponsesTruncation_Enum) String() string
- func (ResponsesTruncation_Enum) Type() protoreflect.EnumType
- func (r *ResponsesTruncation_Enum) UnmarshalJSON(bytes []byte) error
- type SourceType
- type SourceType_Enum
- func (SourceType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x SourceType_Enum) Enum() *SourceType_Enum
- func (SourceType_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r SourceType_Enum) MarshalJSON() ([]byte, error)
- func (x SourceType_Enum) Number() protoreflect.EnumNumber
- func (x SourceType_Enum) String() string
- func (SourceType_Enum) Type() protoreflect.EnumType
- func (r *SourceType_Enum) UnmarshalJSON(bytes []byte) error
- type TextFormat
- func (*TextFormat) Descriptor() ([]byte, []int)deprecated
- func (x *TextFormat) GetDescription() string
- func (x *TextFormat) GetName() string
- func (x *TextFormat) GetSchema() *Bytes
- func (x *TextFormat) GetStrict() bool
- func (x *TextFormat) GetType() TextType_Enum
- func (*TextFormat) ProtoMessage()
- func (x *TextFormat) ProtoReflect() protoreflect.Message
- func (x *TextFormat) Reset()
- func (x *TextFormat) String() string
- type TextTranslationOptions
- func (*TextTranslationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *TextTranslationOptions) GetSourceLanguage() string
- func (x *TextTranslationOptions) GetTargetLanguage() string
- func (*TextTranslationOptions) ProtoMessage()
- func (x *TextTranslationOptions) ProtoReflect() protoreflect.Message
- func (x *TextTranslationOptions) Reset()
- func (x *TextTranslationOptions) String() string
- type TextType
- type TextType_Enum
- func (TextType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x TextType_Enum) Enum() *TextType_Enum
- func (TextType_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r TextType_Enum) MarshalJSON() ([]byte, error)
- func (x TextType_Enum) Number() protoreflect.EnumNumber
- func (x TextType_Enum) String() string
- func (TextType_Enum) Type() protoreflect.EnumType
- func (r *TextType_Enum) UnmarshalJSON(bytes []byte) error
- type ThinkingType
- type ThinkingType_Enum
- func (ThinkingType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ThinkingType_Enum) Enum() *ThinkingType_Enum
- func (ThinkingType_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ThinkingType_Enum) MarshalJSON() ([]byte, error)
- func (x ThinkingType_Enum) Number() protoreflect.EnumNumber
- func (x ThinkingType_Enum) String() string
- func (ThinkingType_Enum) Type() protoreflect.EnumType
- func (r *ThinkingType_Enum) UnmarshalJSON(bytes []byte) error
- type ToolChoiceMode
- type ToolChoiceMode_Enum
- func (ToolChoiceMode_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ToolChoiceMode_Enum) Enum() *ToolChoiceMode_Enum
- func (ToolChoiceMode_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ToolChoiceMode_Enum) MarshalJSON() ([]byte, error)
- func (x ToolChoiceMode_Enum) Number() protoreflect.EnumNumber
- func (x ToolChoiceMode_Enum) String() string
- func (ToolChoiceMode_Enum) Type() protoreflect.EnumType
- func (r *ToolChoiceMode_Enum) UnmarshalJSON(bytes []byte) error
- type ToolFunction
- func (*ToolFunction) Descriptor() ([]byte, []int)deprecated
- func (x *ToolFunction) GetDescription() string
- func (x *ToolFunction) GetName() string
- func (x *ToolFunction) GetParameters() *Bytes
- func (x *ToolFunction) GetStrict() bool
- func (x *ToolFunction) GetType() ToolType_Enum
- func (*ToolFunction) ProtoMessage()
- func (x *ToolFunction) ProtoReflect() protoreflect.Message
- func (x *ToolFunction) Reset()
- func (x *ToolFunction) String() string
- type ToolImageProcess
- func (*ToolImageProcess) Descriptor() ([]byte, []int)deprecated
- func (x *ToolImageProcess) GetGrounding() *ImageProcessGroundingOptions
- func (x *ToolImageProcess) GetPoint() *ImageProcessPointOptions
- func (x *ToolImageProcess) GetRotate() *ImageProcessRotateOptions
- func (x *ToolImageProcess) GetType() ToolType_Enum
- func (x *ToolImageProcess) GetZoom() *ImageProcessZoomOptions
- func (*ToolImageProcess) ProtoMessage()
- func (x *ToolImageProcess) ProtoReflect() protoreflect.Message
- func (x *ToolImageProcess) Reset()
- func (x *ToolImageProcess) String() string
- type ToolKnowledgeSearch
- func (*ToolKnowledgeSearch) Descriptor() ([]byte, []int)deprecated
- func (x *ToolKnowledgeSearch) GetDenseWeight() float64
- func (x *ToolKnowledgeSearch) GetDescription() string
- func (x *ToolKnowledgeSearch) GetDocFilter() *structpb.Struct
- func (x *ToolKnowledgeSearch) GetKnowledgeResourceId() string
- func (x *ToolKnowledgeSearch) GetLimit() int64
- func (x *ToolKnowledgeSearch) GetMaxKeyword() int32
- func (x *ToolKnowledgeSearch) GetRankingOptions() *structpb.Struct
- func (x *ToolKnowledgeSearch) GetType() ToolType_Enum
- func (*ToolKnowledgeSearch) ProtoMessage()
- func (x *ToolKnowledgeSearch) ProtoReflect() protoreflect.Message
- func (x *ToolKnowledgeSearch) Reset()
- func (x *ToolKnowledgeSearch) String() string
- type ToolMcp
- func (*ToolMcp) Descriptor() ([]byte, []int)deprecated
- func (x *ToolMcp) GetAllowedTools() *McpAllowedTools
- func (x *ToolMcp) GetHeaders() map[string]string
- func (x *ToolMcp) GetRequireApproval() *McpRequireApproval
- func (x *ToolMcp) GetServerDescription() string
- func (x *ToolMcp) GetServerLabel() string
- func (x *ToolMcp) GetServerUrl() string
- func (x *ToolMcp) GetType() ToolType_Enum
- func (*ToolMcp) ProtoMessage()
- func (x *ToolMcp) ProtoReflect() protoreflect.Message
- func (x *ToolMcp) Reset()
- func (x *ToolMcp) String() string
- type ToolType
- type ToolType_Enum
- func (ToolType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x ToolType_Enum) Enum() *ToolType_Enum
- func (ToolType_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r ToolType_Enum) MarshalJSON() ([]byte, error)
- func (x ToolType_Enum) Number() protoreflect.EnumNumber
- func (x ToolType_Enum) String() string
- func (ToolType_Enum) Type() protoreflect.EnumType
- func (r *ToolType_Enum) UnmarshalJSON(bytes []byte) error
- type ToolUsage
- func (*ToolUsage) Descriptor() ([]byte, []int)deprecated
- func (x *ToolUsage) GetKnowledgeSearch() int64
- func (x *ToolUsage) GetMcp() int64
- func (x *ToolUsage) GetWebSearch() int64
- func (*ToolUsage) ProtoMessage()
- func (x *ToolUsage) ProtoReflect() protoreflect.Message
- func (x *ToolUsage) Reset()
- func (x *ToolUsage) String() string
- type ToolUsageDetail
- func (*ToolUsageDetail) Descriptor() ([]byte, []int)deprecated
- func (x *ToolUsageDetail) GetKnowledgeSearch() map[string]int64
- func (x *ToolUsageDetail) GetMcp() map[string]int64
- func (x *ToolUsageDetail) GetWebSearch() map[string]int64
- func (*ToolUsageDetail) ProtoMessage()
- func (x *ToolUsageDetail) ProtoReflect() protoreflect.Message
- func (x *ToolUsageDetail) Reset()
- func (x *ToolUsageDetail) String() string
- type ToolWebSearch
- func (*ToolWebSearch) Descriptor() ([]byte, []int)deprecated
- func (x *ToolWebSearch) GetLimit() int64
- func (x *ToolWebSearch) GetMaxKeyword() int32
- func (x *ToolWebSearch) GetSources() []SourceType_Enum
- func (x *ToolWebSearch) GetType() ToolType_Enum
- func (x *ToolWebSearch) GetUserLocation() *UserLocation
- func (*ToolWebSearch) ProtoMessage()
- func (x *ToolWebSearch) ProtoReflect() protoreflect.Message
- func (x *ToolWebSearch) Reset()
- func (x *ToolWebSearch) String() string
- type TranscriptionPart
- func (*TranscriptionPart) Descriptor() ([]byte, []int)deprecated
- func (x *TranscriptionPart) GetChunks() []*AudioChunk
- func (x *TranscriptionPart) GetText() string
- func (x *TranscriptionPart) GetType() ContentItemType_Enum
- func (*TranscriptionPart) ProtoMessage()
- func (x *TranscriptionPart) ProtoReflect() protoreflect.Message
- func (x *TranscriptionPart) Reset()
- func (x *TranscriptionPart) String() string
- type TranscriptionPartDoneEvent
- func (*TranscriptionPartDoneEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TranscriptionPartDoneEvent) GetItemId() string
- func (x *TranscriptionPartDoneEvent) GetOutputIndex() int64
- func (x *TranscriptionPartDoneEvent) GetPart() *TranscriptionPart
- func (x *TranscriptionPartDoneEvent) GetSequenceNumber() int64
- func (x *TranscriptionPartDoneEvent) GetTranscriptionIndex() int64
- func (x *TranscriptionPartDoneEvent) GetType() EventType_Enum
- func (*TranscriptionPartDoneEvent) ProtoMessage()
- func (x *TranscriptionPartDoneEvent) ProtoReflect() protoreflect.Message
- func (x *TranscriptionPartDoneEvent) Reset()
- func (x *TranscriptionPartDoneEvent) String() string
- type TranscriptionPartEvent
- func (*TranscriptionPartEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TranscriptionPartEvent) GetItemId() string
- func (x *TranscriptionPartEvent) GetOutputIndex() int64
- func (x *TranscriptionPartEvent) GetPart() *TranscriptionPart
- func (x *TranscriptionPartEvent) GetSequenceNumber() int64
- func (x *TranscriptionPartEvent) GetTranscriptionIndex() int64
- func (x *TranscriptionPartEvent) GetType() EventType_Enum
- func (*TranscriptionPartEvent) ProtoMessage()
- func (x *TranscriptionPartEvent) ProtoReflect() protoreflect.Message
- func (x *TranscriptionPartEvent) Reset()
- func (x *TranscriptionPartEvent) String() string
- type TranscriptionTextDoneEvent
- func (*TranscriptionTextDoneEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TranscriptionTextDoneEvent) GetChunks() []*AudioChunk
- func (x *TranscriptionTextDoneEvent) GetDelta() string
- func (x *TranscriptionTextDoneEvent) GetEndTime() int64
- func (x *TranscriptionTextDoneEvent) GetItemId() string
- func (x *TranscriptionTextDoneEvent) GetOutputIndex() int64
- func (x *TranscriptionTextDoneEvent) GetSequenceNumber() int64
- func (x *TranscriptionTextDoneEvent) GetStartTime() int64
- func (x *TranscriptionTextDoneEvent) GetText() string
- func (x *TranscriptionTextDoneEvent) GetTranscriptionIndex() int64
- func (x *TranscriptionTextDoneEvent) GetType() EventType_Enum
- func (*TranscriptionTextDoneEvent) ProtoMessage()
- func (x *TranscriptionTextDoneEvent) ProtoReflect() protoreflect.Message
- func (x *TranscriptionTextDoneEvent) Reset()
- func (x *TranscriptionTextDoneEvent) String() string
- type TranscriptionTextEvent
- func (*TranscriptionTextEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TranscriptionTextEvent) GetChunks() []*AudioChunk
- func (x *TranscriptionTextEvent) GetDelta() string
- func (x *TranscriptionTextEvent) GetEndTime() int64
- func (x *TranscriptionTextEvent) GetItemId() string
- func (x *TranscriptionTextEvent) GetOutputIndex() int64
- func (x *TranscriptionTextEvent) GetSequenceNumber() int64
- func (x *TranscriptionTextEvent) GetStartTime() int64
- func (x *TranscriptionTextEvent) GetText() string
- func (x *TranscriptionTextEvent) GetTranscriptionIndex() int64
- func (x *TranscriptionTextEvent) GetType() EventType_Enum
- func (*TranscriptionTextEvent) ProtoMessage()
- func (x *TranscriptionTextEvent) ProtoReflect() protoreflect.Message
- func (x *TranscriptionTextEvent) Reset()
- func (x *TranscriptionTextEvent) String() string
- type Usage
- func (*Usage) Descriptor() ([]byte, []int)deprecated
- func (x *Usage) GetInputTokens() int64
- func (x *Usage) GetInputTokensDetails() *InputTokensDetails
- func (x *Usage) GetOutputTokens() int64
- func (x *Usage) GetOutputTokensDetails() *OutputTokensDetails
- func (x *Usage) GetToolUsage() *ToolUsage
- func (x *Usage) GetToolUsageDetails() *ToolUsageDetail
- func (x *Usage) GetTotalTokens() int64
- func (*Usage) ProtoMessage()
- func (x *Usage) ProtoReflect() protoreflect.Message
- func (x *Usage) Reset()
- func (x *Usage) String() string
- type UserLocation
- func (*UserLocation) Descriptor() ([]byte, []int)deprecated
- func (x *UserLocation) GetCity() string
- func (x *UserLocation) GetCountry() string
- func (x *UserLocation) GetRegion() string
- func (x *UserLocation) GetTimezone() string
- func (x *UserLocation) GetType() UserLocationType_Enum
- func (*UserLocation) ProtoMessage()
- func (x *UserLocation) ProtoReflect() protoreflect.Message
- func (x *UserLocation) Reset()
- func (x *UserLocation) String() string
- type UserLocationType
- type UserLocationType_Enum
- func (UserLocationType_Enum) Descriptor() protoreflect.EnumDescriptor
- func (x UserLocationType_Enum) Enum() *UserLocationType_Enum
- func (UserLocationType_Enum) EnumDescriptor() ([]byte, []int)deprecated
- func (r UserLocationType_Enum) MarshalJSON() ([]byte, error)
- func (x UserLocationType_Enum) Number() protoreflect.EnumNumber
- func (x UserLocationType_Enum) String() string
- func (UserLocationType_Enum) Type() protoreflect.EnumType
- func (r *UserLocationType_Enum) UnmarshalJSON(bytes []byte) error
- type WebSearchToolChoice
- func (*WebSearchToolChoice) Descriptor() ([]byte, []int)deprecated
- func (x *WebSearchToolChoice) GetType() ToolType_Enum
- func (*WebSearchToolChoice) ProtoMessage()
- func (x *WebSearchToolChoice) ProtoReflect() protoreflect.Message
- func (x *WebSearchToolChoice) Reset()
- func (x *WebSearchToolChoice) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ResponsesServiceTier_Enum_name = map[int32]string{ 0: "unspecified", 1: "auto", 2: "default", } ResponsesServiceTier_Enum_value = map[string]int32{ "unspecified": 0, "auto": 1, "default": 2, } )
Enum value maps for ResponsesServiceTier_Enum.
var ( ResponsesTruncation_Enum_name = map[int32]string{ 0: "unspecified", 1: "auto", 2: "disabled", } ResponsesTruncation_Enum_value = map[string]int32{ "unspecified": 0, "auto": 1, "disabled": 2, } )
Enum value maps for ResponsesTruncation_Enum.
var ( AnnotationType_Enum_name = map[int32]string{ 0: "unspecified", 1: "url_citation", 2: "doc_citation", } AnnotationType_Enum_value = map[string]int32{ "unspecified": 0, "url_citation": 1, "doc_citation": 2, } )
Enum value maps for AnnotationType_Enum.
var ( ResponseImageProcessType_Enum_name = map[int32]string{ 0: "unspecified", 1: "point", 2: "grounding", 3: "rotate", 4: "zoom", } ResponseImageProcessType_Enum_value = map[string]int32{ "unspecified": 0, "point": 1, "grounding": 2, "rotate": 3, "zoom": 4, } )
Enum value maps for ResponseImageProcessType_Enum.
var ( ItemType_Enum_name = map[int32]string{ 0: "unspecified", 1: "message", 2: "function_call", 3: "function_call_output", 4: "reasoning", 5: "item_reference", 6: "transcription", 7: "web_search_call", 8: "image_process", 9: "mcp_approval_request", 10: "mcp_approval_response", 11: "mcp_list_tools", 12: "mcp_call", 13: "knowledge_search_call", } ItemType_Enum_value = map[string]int32{ "unspecified": 0, "message": 1, "function_call": 2, "function_call_output": 3, "reasoning": 4, "item_reference": 5, "transcription": 6, "web_search_call": 7, "image_process": 8, "mcp_approval_request": 9, "mcp_approval_response": 10, "mcp_list_tools": 11, "mcp_call": 12, "knowledge_search_call": 13, } )
Enum value maps for ItemType_Enum.
var ( MessageRole_Enum_name = map[int32]string{ 0: "unspecified", 1: "user", 2: "system", 3: "developer", 4: "assistant", } MessageRole_Enum_value = map[string]int32{ "unspecified": 0, "user": 1, "system": 2, "developer": 3, "assistant": 4, } )
Enum value maps for MessageRole_Enum.
var ( ContentItemImageDetail_Enum_name = map[int32]string{ 0: "auto", 1: "high", 2: "low", } ContentItemImageDetail_Enum_value = map[string]int32{ "auto": 0, "high": 1, "low": 2, } )
Enum value maps for ContentItemImageDetail_Enum.
var ( ContentItemType_Enum_name = map[int32]string{ 0: "unspecified", 1: "input_text", 2: "input_image", 3: "input_video", 4: "output_text", 5: "summary_text", 6: "transcription_text", 7: "input_audio", 8: "input_file", } ContentItemType_Enum_value = map[string]int32{ "unspecified": 0, "input_text": 1, "input_image": 2, "input_video": 3, "output_text": 4, "summary_text": 5, "transcription_text": 6, "input_audio": 7, "input_file": 8, } )
Enum value maps for ContentItemType_Enum.
var ( ItemStatus_Enum_name = map[int32]string{ 0: "unspecified", 1: "in_progress", 2: "completed", 3: "incomplete", 4: "searching", 5: "failed", } ItemStatus_Enum_value = map[string]int32{ "unspecified": 0, "in_progress": 1, "completed": 2, "incomplete": 3, "searching": 4, "failed": 5, } )
Enum value maps for ItemStatus_Enum.
var ( ResponseStatus_Enum_name = map[int32]string{ 0: "unspecified", 1: "in_progress", 2: "completed", 3: "incomplete", 4: "failed", } ResponseStatus_Enum_value = map[string]int32{ "unspecified": 0, "in_progress": 1, "completed": 2, "incomplete": 3, "failed": 4, } )
Enum value maps for ResponseStatus_Enum.
var ( ThinkingType_Enum_name = map[int32]string{ 0: "unspecified", 1: "auto", 2: "disabled", 3: "enabled", } ThinkingType_Enum_value = map[string]int32{ "unspecified": 0, "auto": 1, "disabled": 2, "enabled": 3, } )
Enum value maps for ThinkingType_Enum.
var ( TextType_Enum_name = map[int32]string{ 0: "unspecified", 1: "text", 2: "json_object", 3: "json_schema", } TextType_Enum_value = map[string]int32{ "unspecified": 0, "text": 1, "json_object": 2, "json_schema": 3, } )
Enum value maps for TextType_Enum.
var ( ToolChoiceMode_Enum_name = map[int32]string{ 0: "unspecified", 1: "auto", 2: "none", 3: "required", } ToolChoiceMode_Enum_value = map[string]int32{ "unspecified": 0, "auto": 1, "none": 2, "required": 3, } )
Enum value maps for ToolChoiceMode_Enum.
var ( ToolType_Enum_name = map[int32]string{ 0: "unspecified", 1: "function", 2: "web_search_preview", 3: "web_search", 4: "image_process", 5: "mcp", 6: "knowledge_search", } ToolType_Enum_value = map[string]int32{ "unspecified": 0, "function": 1, "web_search_preview": 2, "web_search": 3, "image_process": 4, "mcp": 5, "knowledge_search": 6, } )
Enum value maps for ToolType_Enum.
var ( UserLocationType_Enum_name = map[int32]string{ 0: "unspecified", 1: "approximate", } UserLocationType_Enum_value = map[string]int32{ "unspecified": 0, "approximate": 1, } )
Enum value maps for UserLocationType_Enum.
var ( ObjectType_Enum_name = map[int32]string{ 0: "unspecified", 1: "response", 2: "list", } ObjectType_Enum_value = map[string]int32{ "unspecified": 0, "response": 1, "list": 2, } )
Enum value maps for ObjectType_Enum.
var ( ReasoningEffort_Enum_name = map[int32]string{ 0: "unspecified", 1: "minimal", 2: "low", 3: "medium", 4: "high", } ReasoningEffort_Enum_value = map[string]int32{ "unspecified": 0, "minimal": 1, "low": 2, "medium": 3, "high": 4, } )
Enum value maps for ReasoningEffort_Enum.
var ( EventType_Enum_name = map[int32]string{ 0: "unspecified", 1: "response.created", 2: "response.in_progress", 3: "response.completed", 4: "response.failed", 5: "response.incomplete", 6: "response.output_item.added", 7: "response.output_item.done", 8: "response.content_part.added", 9: "response.content_part.done", 10: "response.output_text.delta", 11: "response.output_text.done", 12: "response.reasoning_summary_text.delta", 13: "response.reasoning_summary_text.done", 14: "response.reasoning_summary_part.added", 15: "response.reasoning_summary_part.done", 16: "response.function_call_arguments.delta", 17: "response.function_call_arguments.done", 18: "error", 19: "response.transcription_part.added", 20: "response.transcription_part.done", 21: "response.transcription_text.delta", 22: "response.transcription_text.done", 23: "response.web_search_call.in_progress", 24: "response.web_search_call.searching", 25: "response.web_search_call.completed", 26: "response.output_text.annotation.added", 30: "response.image_process_call.in_progress", 31: "response.image_process_call.progressing", 32: "response.image_process_call.completed", 33: "response.image_process_call.failed", 34: "response.mcp_list_tools.in_progress", 35: "response.mcp_list_tools.completed", 36: "response.mcp_call.in_progress", 37: "response.mcp_call_arguments.delta", 38: "response.mcp_call_arguments.done", 39: "response.mcp_call.completed", 40: "response.mcp_call.failed", 41: "response_mcp_approval_request", 42: "response.knowledge_search_call.in_progress", 43: "response.knowledge_search_call.searching", 44: "response.knowledge_search_call.completed", 45: "response.knowledge_search_call.failed", } EventType_Enum_value = map[string]int32{ "unspecified": 0, "response.created": 1, "response.in_progress": 2, "response.completed": 3, "response.failed": 4, "response.incomplete": 5, "response.output_item.added": 6, "response.output_item.done": 7, "response.content_part.added": 8, "response.content_part.done": 9, "response.output_text.delta": 10, "response.output_text.done": 11, "response.reasoning_summary_text.delta": 12, "response.reasoning_summary_text.done": 13, "response.reasoning_summary_part.added": 14, "response.reasoning_summary_part.done": 15, "response.function_call_arguments.delta": 16, "response.function_call_arguments.done": 17, "error": 18, "response.transcription_part.added": 19, "response.transcription_part.done": 20, "response.transcription_text.delta": 21, "response.transcription_text.done": 22, "response.web_search_call.in_progress": 23, "response.web_search_call.searching": 24, "response.web_search_call.completed": 25, "response.output_text.annotation.added": 26, "response.image_process_call.in_progress": 30, "response.image_process_call.progressing": 31, "response.image_process_call.completed": 32, "response.image_process_call.failed": 33, "response.mcp_list_tools.in_progress": 34, "response.mcp_list_tools.completed": 35, "response.mcp_call.in_progress": 36, "response.mcp_call_arguments.delta": 37, "response.mcp_call_arguments.done": 38, "response.mcp_call.completed": 39, "response.mcp_call.failed": 40, "response_mcp_approval_request": 41, "response.knowledge_search_call.in_progress": 42, "response.knowledge_search_call.searching": 43, "response.knowledge_search_call.completed": 44, "response.knowledge_search_call.failed": 45, } )
Enum value maps for EventType_Enum.
var ( IncludeType_Enum_name = map[int32]string{ 0: "unspecified", 1: "message.input_image.image_url", } IncludeType_Enum_value = map[string]int32{ "unspecified": 0, "message.input_image.image_url": 1, } )
Enum value maps for IncludeType_Enum.
var ( CacheType_Enum_name = map[int32]string{ 0: "unspecified", 1: "disabled", 2: "enabled", } CacheType_Enum_value = map[string]int32{ "unspecified": 0, "disabled": 1, "enabled": 2, } )
Enum value maps for CacheType_Enum.
var ( ChunkingStrategyType_Enum_name = map[int32]string{ 0: "unspecified", 1: "server_vad", } ChunkingStrategyType_Enum_value = map[string]int32{ "unspecified": 0, "server_vad": 1, } )
Enum value maps for ChunkingStrategyType_Enum.
var ( ActionType_Enum_name = map[int32]string{ 0: "unspecified", 1: "search", } ActionType_Enum_value = map[string]int32{ "unspecified": 0, "search": 1, } )
Enum value maps for ActionType_Enum.
var ( SourceType_Enum_name = map[int32]string{ 0: "unspecified", 1: "toutiao", 2: "douyin", 3: "moji", 4: "search_engine", } SourceType_Enum_value = map[string]int32{ "unspecified": 0, "toutiao": 1, "douyin": 2, "moji": 3, "search_engine": 4, } )
Enum value maps for SourceType_Enum.
var ( ApprovalMode_Enum_name = map[int32]string{ 0: "unspecified", 1: "always", 2: "never", } ApprovalMode_Enum_value = map[string]int32{ "unspecified": 0, "always": 1, "never": 2, } )
Enum value maps for ApprovalMode_Enum.
var File_responsesapi_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
Type ActionType_Enum `protobuf:"varint,2,opt,name=type,proto3,enum=responses.ActionType_Enum" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*Action) Descriptor
deprecated
func (*Action) GetType ¶
func (x *Action) GetType() ActionType_Enum
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
type ActionType ¶
type ActionType struct {
// contains filtered or unexported fields
}
func (*ActionType) Descriptor
deprecated
func (*ActionType) Descriptor() ([]byte, []int)
Deprecated: Use ActionType.ProtoReflect.Descriptor instead.
func (*ActionType) ProtoMessage ¶
func (*ActionType) ProtoMessage()
func (*ActionType) ProtoReflect ¶
func (x *ActionType) ProtoReflect() protoreflect.Message
func (*ActionType) Reset ¶
func (x *ActionType) Reset()
func (*ActionType) String ¶
func (x *ActionType) String() string
type ActionType_Enum ¶
type ActionType_Enum int32
const ( ActionType_unspecified ActionType_Enum = 0 ActionType_search ActionType_Enum = 1 )
func (ActionType_Enum) Descriptor ¶
func (ActionType_Enum) Descriptor() protoreflect.EnumDescriptor
func (ActionType_Enum) Enum ¶
func (x ActionType_Enum) Enum() *ActionType_Enum
func (ActionType_Enum) EnumDescriptor
deprecated
func (ActionType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActionType_Enum.Descriptor instead.
func (ActionType_Enum) MarshalJSON ¶
func (r ActionType_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (ActionType_Enum) Number ¶
func (x ActionType_Enum) Number() protoreflect.EnumNumber
func (ActionType_Enum) String ¶
func (x ActionType_Enum) String() string
func (ActionType_Enum) Type ¶
func (ActionType_Enum) Type() protoreflect.EnumType
func (*ActionType_Enum) UnmarshalJSON ¶
func (r *ActionType_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type Annotation ¶
type Annotation struct {
// The type of the url_citation.
Type AnnotationType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.AnnotationType_Enum" json:"type,omitempty"`
// The title of the url_citation.
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
// The url of the url_citation.
Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
// The logo_url of the url_citation.
LogoUrl *string `protobuf:"bytes,4,opt,name=logo_url,json=logoUrl,proto3,oneof" json:"logo_url,omitempty"`
// The mobile_url of the url_citation.
MobileUrl *string `protobuf:"bytes,5,opt,name=mobile_url,json=mobileUrl,proto3,oneof" json:"mobile_url,omitempty"`
SiteName *string `protobuf:"bytes,6,opt,name=site_name,json=siteName,proto3,oneof" json:"site_name,omitempty"`
// The site_name of the url_citation.
PublishTime *string `protobuf:"bytes,7,opt,name=publish_time,json=publishTime,proto3,oneof" json:"publish_time,omitempty"`
// The cover_image of the url_citation.
CoverImage *CoverImage `protobuf:"bytes,8,opt,name=cover_image,json=coverImage,proto3,oneof" json:"cover_image,omitempty"`
// The summary of the url_citation.
Summary *string `protobuf:"bytes,9,opt,name=summary,proto3,oneof" json:"summary,omitempty"`
FreshnessInfo *string `protobuf:"bytes,10,opt,name=freshness_info,json=freshnessInfo,proto3,oneof" json:"freshness_info,omitempty"`
// The doc id of the doc_citation
DocId *string `protobuf:"bytes,11,opt,name=doc_id,json=docId,proto3,oneof" json:"doc_id,omitempty"`
// The doc name of the doc_citation
DocName *string `protobuf:"bytes,12,opt,name=doc_name,json=docName,proto3,oneof" json:"doc_name,omitempty"`
// The chunk id of the doc_citation
ChunkId *int32 `protobuf:"varint,13,opt,name=chunk_id,json=chunkId,proto3,oneof" json:"chunk_id,omitempty"`
// The chunk_attachment of the doc_citation
ChunkAttachment []*structpb.Struct `protobuf:"bytes,14,rep,name=chunk_attachment,json=chunkAttachment,proto3" json:"chunk_attachment,omitempty"`
// contains filtered or unexported fields
}
func (*Annotation) Descriptor
deprecated
func (*Annotation) Descriptor() ([]byte, []int)
Deprecated: Use Annotation.ProtoReflect.Descriptor instead.
func (*Annotation) GetChunkAttachment ¶ added in v1.0.39
func (x *Annotation) GetChunkAttachment() []*structpb.Struct
func (*Annotation) GetChunkId ¶ added in v1.0.39
func (x *Annotation) GetChunkId() int32
func (*Annotation) GetCoverImage ¶
func (x *Annotation) GetCoverImage() *CoverImage
func (*Annotation) GetDocId ¶ added in v1.0.39
func (x *Annotation) GetDocId() string
func (*Annotation) GetDocName ¶ added in v1.0.39
func (x *Annotation) GetDocName() string
func (*Annotation) GetFreshnessInfo ¶
func (x *Annotation) GetFreshnessInfo() string
func (*Annotation) GetLogoUrl ¶
func (x *Annotation) GetLogoUrl() string
func (*Annotation) GetMobileUrl ¶
func (x *Annotation) GetMobileUrl() string
func (*Annotation) GetPublishTime ¶
func (x *Annotation) GetPublishTime() string
func (*Annotation) GetSiteName ¶
func (x *Annotation) GetSiteName() string
func (*Annotation) GetSummary ¶
func (x *Annotation) GetSummary() string
func (*Annotation) GetTitle ¶
func (x *Annotation) GetTitle() string
func (*Annotation) GetType ¶
func (x *Annotation) GetType() AnnotationType_Enum
func (*Annotation) GetUrl ¶
func (x *Annotation) GetUrl() string
func (*Annotation) ProtoMessage ¶
func (*Annotation) ProtoMessage()
func (*Annotation) ProtoReflect ¶
func (x *Annotation) ProtoReflect() protoreflect.Message
func (*Annotation) Reset ¶
func (x *Annotation) Reset()
func (*Annotation) String ¶
func (x *Annotation) String() string
type AnnotationType ¶
type AnnotationType struct {
// contains filtered or unexported fields
}
func (*AnnotationType) Descriptor
deprecated
func (*AnnotationType) Descriptor() ([]byte, []int)
Deprecated: Use AnnotationType.ProtoReflect.Descriptor instead.
func (*AnnotationType) ProtoMessage ¶
func (*AnnotationType) ProtoMessage()
func (*AnnotationType) ProtoReflect ¶
func (x *AnnotationType) ProtoReflect() protoreflect.Message
func (*AnnotationType) Reset ¶
func (x *AnnotationType) Reset()
func (*AnnotationType) String ¶
func (x *AnnotationType) String() string
type AnnotationType_Enum ¶
type AnnotationType_Enum int32
const ( AnnotationType_unspecified AnnotationType_Enum = 0 AnnotationType_url_citation AnnotationType_Enum = 1 AnnotationType_doc_citation AnnotationType_Enum = 2 )
func (AnnotationType_Enum) Descriptor ¶
func (AnnotationType_Enum) Descriptor() protoreflect.EnumDescriptor
func (AnnotationType_Enum) Enum ¶
func (x AnnotationType_Enum) Enum() *AnnotationType_Enum
func (AnnotationType_Enum) EnumDescriptor
deprecated
func (AnnotationType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use AnnotationType_Enum.Descriptor instead.
func (AnnotationType_Enum) MarshalJSON ¶
func (r AnnotationType_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (AnnotationType_Enum) Number ¶
func (x AnnotationType_Enum) Number() protoreflect.EnumNumber
func (AnnotationType_Enum) String ¶
func (x AnnotationType_Enum) String() string
func (AnnotationType_Enum) Type ¶
func (AnnotationType_Enum) Type() protoreflect.EnumType
func (*AnnotationType_Enum) UnmarshalJSON ¶
func (r *AnnotationType_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ApprovalMode ¶
type ApprovalMode struct {
// contains filtered or unexported fields
}
func (*ApprovalMode) Descriptor
deprecated
func (*ApprovalMode) Descriptor() ([]byte, []int)
Deprecated: Use ApprovalMode.ProtoReflect.Descriptor instead.
func (*ApprovalMode) ProtoMessage ¶
func (*ApprovalMode) ProtoMessage()
func (*ApprovalMode) ProtoReflect ¶
func (x *ApprovalMode) ProtoReflect() protoreflect.Message
func (*ApprovalMode) Reset ¶
func (x *ApprovalMode) Reset()
func (*ApprovalMode) String ¶
func (x *ApprovalMode) String() string
type ApprovalMode_Enum ¶
type ApprovalMode_Enum int32
const ( ApprovalMode_unspecified ApprovalMode_Enum = 0 ApprovalMode_always ApprovalMode_Enum = 1 ApprovalMode_never ApprovalMode_Enum = 2 )
func (ApprovalMode_Enum) Descriptor ¶
func (ApprovalMode_Enum) Descriptor() protoreflect.EnumDescriptor
func (ApprovalMode_Enum) Enum ¶
func (x ApprovalMode_Enum) Enum() *ApprovalMode_Enum
func (ApprovalMode_Enum) EnumDescriptor
deprecated
func (ApprovalMode_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ApprovalMode_Enum.Descriptor instead.
func (ApprovalMode_Enum) MarshalJSON ¶
func (r ApprovalMode_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (ApprovalMode_Enum) Number ¶
func (x ApprovalMode_Enum) Number() protoreflect.EnumNumber
func (ApprovalMode_Enum) String ¶
func (x ApprovalMode_Enum) String() string
func (ApprovalMode_Enum) Type ¶
func (ApprovalMode_Enum) Type() protoreflect.EnumType
func (*ApprovalMode_Enum) UnmarshalJSON ¶
func (r *ApprovalMode_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type AudioChunk ¶
type AudioChunk struct {
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
StartTime int64 `protobuf:"varint,2,opt,name=start_time,json=startTime,proto3" json:"start_time"` // @inject_tag: json:"start_time"
EndTime int64 `protobuf:"varint,3,opt,name=end_time,json=endTime,proto3" json:"end_time"` // @inject_tag: json:"end_time"
// contains filtered or unexported fields
}
func (*AudioChunk) Descriptor
deprecated
func (*AudioChunk) Descriptor() ([]byte, []int)
Deprecated: Use AudioChunk.ProtoReflect.Descriptor instead.
func (*AudioChunk) GetEndTime ¶
func (x *AudioChunk) GetEndTime() int64
func (*AudioChunk) GetStartTime ¶
func (x *AudioChunk) GetStartTime() int64
func (*AudioChunk) GetText ¶
func (x *AudioChunk) GetText() string
func (*AudioChunk) ProtoMessage ¶
func (*AudioChunk) ProtoMessage()
func (*AudioChunk) ProtoReflect ¶
func (x *AudioChunk) ProtoReflect() protoreflect.Message
func (*AudioChunk) Reset ¶
func (x *AudioChunk) Reset()
func (*AudioChunk) String ¶
func (x *AudioChunk) String() string
type AudioChunkingStrategy ¶
type AudioChunkingStrategy struct {
Type ChunkingStrategyType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ChunkingStrategyType_Enum" json:"type,omitempty"` // p2p: {"const": "server_vad"}
PrefixPaddingMs *int64 `protobuf:"varint,2,opt,name=prefix_padding_ms,json=prefixPaddingMs,proto3,oneof" json:"prefix_padding_ms,omitempty"`
SilenceDurationMs *int64 `protobuf:"varint,3,opt,name=silence_duration_ms,json=silenceDurationMs,proto3,oneof" json:"silence_duration_ms,omitempty"`
Threshold *float64 `protobuf:"fixed64,4,opt,name=threshold,proto3,oneof" json:"threshold,omitempty"`
// contains filtered or unexported fields
}
func (*AudioChunkingStrategy) Descriptor
deprecated
func (*AudioChunkingStrategy) Descriptor() ([]byte, []int)
Deprecated: Use AudioChunkingStrategy.ProtoReflect.Descriptor instead.
func (*AudioChunkingStrategy) GetPrefixPaddingMs ¶
func (x *AudioChunkingStrategy) GetPrefixPaddingMs() int64
func (*AudioChunkingStrategy) GetSilenceDurationMs ¶
func (x *AudioChunkingStrategy) GetSilenceDurationMs() int64
func (*AudioChunkingStrategy) GetThreshold ¶
func (x *AudioChunkingStrategy) GetThreshold() float64
func (*AudioChunkingStrategy) GetType ¶
func (x *AudioChunkingStrategy) GetType() ChunkingStrategyType_Enum
func (*AudioChunkingStrategy) ProtoMessage ¶
func (*AudioChunkingStrategy) ProtoMessage()
func (*AudioChunkingStrategy) ProtoReflect ¶
func (x *AudioChunkingStrategy) ProtoReflect() protoreflect.Message
func (*AudioChunkingStrategy) Reset ¶
func (x *AudioChunkingStrategy) Reset()
func (*AudioChunkingStrategy) String ¶
func (x *AudioChunkingStrategy) String() string
type Bytes ¶
type Bytes struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*Bytes) Descriptor
deprecated
func (*Bytes) ProtoMessage ¶
func (*Bytes) ProtoMessage()
func (*Bytes) ProtoReflect ¶
func (x *Bytes) ProtoReflect() protoreflect.Message
type CacheType ¶
type CacheType struct {
// contains filtered or unexported fields
}
func (*CacheType) Descriptor
deprecated
func (*CacheType) ProtoMessage ¶
func (*CacheType) ProtoMessage()
func (*CacheType) ProtoReflect ¶
func (x *CacheType) ProtoReflect() protoreflect.Message
type CacheType_Enum ¶
type CacheType_Enum int32
const ( CacheType_unspecified CacheType_Enum = 0 CacheType_disabled CacheType_Enum = 1 CacheType_enabled CacheType_Enum = 2 )
func (CacheType_Enum) Descriptor ¶
func (CacheType_Enum) Descriptor() protoreflect.EnumDescriptor
func (CacheType_Enum) Enum ¶
func (x CacheType_Enum) Enum() *CacheType_Enum
func (CacheType_Enum) EnumDescriptor
deprecated
func (CacheType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use CacheType_Enum.Descriptor instead.
func (CacheType_Enum) MarshalJSON ¶
func (r CacheType_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (CacheType_Enum) Number ¶
func (x CacheType_Enum) Number() protoreflect.EnumNumber
func (CacheType_Enum) String ¶
func (x CacheType_Enum) String() string
func (CacheType_Enum) Type ¶
func (CacheType_Enum) Type() protoreflect.EnumType
func (*CacheType_Enum) UnmarshalJSON ¶
func (r *CacheType_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ChunkingStrategyType ¶
type ChunkingStrategyType struct {
// contains filtered or unexported fields
}
func (*ChunkingStrategyType) Descriptor
deprecated
func (*ChunkingStrategyType) Descriptor() ([]byte, []int)
Deprecated: Use ChunkingStrategyType.ProtoReflect.Descriptor instead.
func (*ChunkingStrategyType) ProtoMessage ¶
func (*ChunkingStrategyType) ProtoMessage()
func (*ChunkingStrategyType) ProtoReflect ¶
func (x *ChunkingStrategyType) ProtoReflect() protoreflect.Message
func (*ChunkingStrategyType) Reset ¶
func (x *ChunkingStrategyType) Reset()
func (*ChunkingStrategyType) String ¶
func (x *ChunkingStrategyType) String() string
type ChunkingStrategyType_Enum ¶
type ChunkingStrategyType_Enum int32
const ( ChunkingStrategyType_unspecified ChunkingStrategyType_Enum = 0 ChunkingStrategyType_server_vad ChunkingStrategyType_Enum = 1 )
func (ChunkingStrategyType_Enum) Descriptor ¶
func (ChunkingStrategyType_Enum) Descriptor() protoreflect.EnumDescriptor
func (ChunkingStrategyType_Enum) Enum ¶
func (x ChunkingStrategyType_Enum) Enum() *ChunkingStrategyType_Enum
func (ChunkingStrategyType_Enum) EnumDescriptor
deprecated
func (ChunkingStrategyType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ChunkingStrategyType_Enum.Descriptor instead.
func (ChunkingStrategyType_Enum) MarshalJSON ¶
func (r ChunkingStrategyType_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (ChunkingStrategyType_Enum) Number ¶
func (x ChunkingStrategyType_Enum) Number() protoreflect.EnumNumber
func (ChunkingStrategyType_Enum) String ¶
func (x ChunkingStrategyType_Enum) String() string
func (ChunkingStrategyType_Enum) Type ¶
func (ChunkingStrategyType_Enum) Type() protoreflect.EnumType
func (*ChunkingStrategyType_Enum) UnmarshalJSON ¶
func (r *ChunkingStrategyType_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ContentFilter ¶
type ContentFilter struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Details string `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
// contains filtered or unexported fields
}
func (*ContentFilter) Descriptor
deprecated
func (*ContentFilter) Descriptor() ([]byte, []int)
Deprecated: Use ContentFilter.ProtoReflect.Descriptor instead.
func (*ContentFilter) GetDetails ¶
func (x *ContentFilter) GetDetails() string
func (*ContentFilter) GetType ¶
func (x *ContentFilter) GetType() string
func (*ContentFilter) ProtoMessage ¶
func (*ContentFilter) ProtoMessage()
func (*ContentFilter) ProtoReflect ¶
func (x *ContentFilter) ProtoReflect() protoreflect.Message
func (*ContentFilter) Reset ¶
func (x *ContentFilter) Reset()
func (*ContentFilter) String ¶
func (x *ContentFilter) String() string
type ContentItem ¶
type ContentItem struct {
// Types that are assignable to Union:
//
// *ContentItem_Text
// *ContentItem_Image
// *ContentItem_Video
// *ContentItem_Audio
// *ContentItem_File
Union isContentItem_Union `protobuf_oneof:"union"`
// contains filtered or unexported fields
}
func (*ContentItem) Descriptor
deprecated
func (*ContentItem) Descriptor() ([]byte, []int)
Deprecated: Use ContentItem.ProtoReflect.Descriptor instead.
func (*ContentItem) GetAudio ¶
func (x *ContentItem) GetAudio() *ContentItemAudio
func (*ContentItem) GetFile ¶ added in v1.0.39
func (x *ContentItem) GetFile() *ContentItemFile
func (*ContentItem) GetImage ¶
func (x *ContentItem) GetImage() *ContentItemImage
func (*ContentItem) GetText ¶
func (x *ContentItem) GetText() *ContentItemText
func (*ContentItem) GetUnion ¶
func (m *ContentItem) GetUnion() isContentItem_Union
func (*ContentItem) GetVideo ¶
func (x *ContentItem) GetVideo() *ContentItemVideo
func (*ContentItem) MarshalJSON ¶
func (r *ContentItem) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (*ContentItem) ProtoMessage ¶
func (*ContentItem) ProtoMessage()
func (*ContentItem) ProtoReflect ¶
func (x *ContentItem) ProtoReflect() protoreflect.Message
func (*ContentItem) Reset ¶
func (x *ContentItem) Reset()
func (*ContentItem) String ¶
func (x *ContentItem) String() string
func (*ContentItem) UnmarshalJSON ¶
func (r *ContentItem) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ContentItemAudio ¶
type ContentItemAudio struct {
Type ContentItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ContentItemType_Enum" json:"type,omitempty"` // p2p: {"const": "input_audio"}
ChunkingStrategy *AudioChunkingStrategy `protobuf:"bytes,2,opt,name=chunking_strategy,json=chunkingStrategy,proto3,oneof" json:"chunking_strategy,omitempty"`
AudioUrl string `protobuf:"bytes,3,opt,name=audio_url,json=audioUrl,proto3" json:"audio_url,omitempty"`
FileId *string `protobuf:"bytes,4,opt,name=file_id,json=fileId,proto3,oneof" json:"file_id,omitempty"`
AudioBytes []byte `protobuf:"bytes,7,opt,name=audio_bytes,json=audioBytes,proto3,oneof" json:"-"` // @inject_tag: json:"-"
// contains filtered or unexported fields
}
func (*ContentItemAudio) Descriptor
deprecated
func (*ContentItemAudio) Descriptor() ([]byte, []int)
Deprecated: Use ContentItemAudio.ProtoReflect.Descriptor instead.
func (*ContentItemAudio) GetAudioBytes ¶
func (x *ContentItemAudio) GetAudioBytes() []byte
func (*ContentItemAudio) GetAudioUrl ¶
func (x *ContentItemAudio) GetAudioUrl() string
func (*ContentItemAudio) GetChunkingStrategy ¶
func (x *ContentItemAudio) GetChunkingStrategy() *AudioChunkingStrategy
func (*ContentItemAudio) GetFileId ¶
func (x *ContentItemAudio) GetFileId() string
func (*ContentItemAudio) GetType ¶
func (x *ContentItemAudio) GetType() ContentItemType_Enum
func (*ContentItemAudio) ProtoMessage ¶
func (*ContentItemAudio) ProtoMessage()
func (*ContentItemAudio) ProtoReflect ¶
func (x *ContentItemAudio) ProtoReflect() protoreflect.Message
func (*ContentItemAudio) Reset ¶
func (x *ContentItemAudio) Reset()
func (*ContentItemAudio) String ¶
func (x *ContentItemAudio) String() string
type ContentItemFile ¶ added in v1.0.39
type ContentItemFile struct {
Type ContentItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ContentItemType_Enum" json:"type,omitempty"` // p2p: {"const": "input_file"}
FileData *string `protobuf:"bytes,2,opt,name=file_data,json=fileData,proto3,oneof" json:"file_data,omitempty"`
FileId *string `protobuf:"bytes,3,opt,name=file_id,json=fileId,proto3,oneof" json:"file_id,omitempty"`
FileUrl *string `protobuf:"bytes,4,opt,name=file_url,json=fileUrl,proto3,oneof" json:"file_url,omitempty"`
Filename *string `protobuf:"bytes,5,opt,name=filename,proto3,oneof" json:"filename,omitempty"`
// contains filtered or unexported fields
}
func (*ContentItemFile) Descriptor
deprecated
added in
v1.0.39
func (*ContentItemFile) Descriptor() ([]byte, []int)
Deprecated: Use ContentItemFile.ProtoReflect.Descriptor instead.
func (*ContentItemFile) GetFileData ¶ added in v1.0.39
func (x *ContentItemFile) GetFileData() string
func (*ContentItemFile) GetFileId ¶ added in v1.0.39
func (x *ContentItemFile) GetFileId() string
func (*ContentItemFile) GetFileUrl ¶ added in v1.0.39
func (x *ContentItemFile) GetFileUrl() string
func (*ContentItemFile) GetFilename ¶ added in v1.0.39
func (x *ContentItemFile) GetFilename() string
func (*ContentItemFile) GetType ¶ added in v1.0.39
func (x *ContentItemFile) GetType() ContentItemType_Enum
func (*ContentItemFile) ProtoMessage ¶ added in v1.0.39
func (*ContentItemFile) ProtoMessage()
func (*ContentItemFile) ProtoReflect ¶ added in v1.0.39
func (x *ContentItemFile) ProtoReflect() protoreflect.Message
func (*ContentItemFile) Reset ¶ added in v1.0.39
func (x *ContentItemFile) Reset()
func (*ContentItemFile) String ¶ added in v1.0.39
func (x *ContentItemFile) String() string
type ContentItemImage ¶
type ContentItemImage struct {
Type ContentItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ContentItemType_Enum" json:"type,omitempty"` // p2p: {"const": "input_image"}
Detail *ContentItemImageDetail_Enum `protobuf:"varint,2,opt,name=detail,proto3,enum=responses.ContentItemImageDetail_Enum,oneof" json:"detail,omitempty"`
ImageUrl *string `protobuf:"bytes,3,opt,name=image_url,json=imageUrl,proto3,oneof" json:"image_url,omitempty"`
FileId *string `protobuf:"bytes,4,opt,name=file_id,json=fileId,proto3,oneof" json:"file_id,omitempty"`
ImagePixelLimit *ImagePixelLimit `protobuf:"bytes,6,opt,name=image_pixel_limit,json=imagePixelLimit,proto3,oneof" json:"image_pixel_limit,omitempty"`
// contains filtered or unexported fields
}
func (*ContentItemImage) Descriptor
deprecated
func (*ContentItemImage) Descriptor() ([]byte, []int)
Deprecated: Use ContentItemImage.ProtoReflect.Descriptor instead.
func (*ContentItemImage) GetDetail ¶
func (x *ContentItemImage) GetDetail() ContentItemImageDetail_Enum
func (*ContentItemImage) GetFileId ¶
func (x *ContentItemImage) GetFileId() string
func (*ContentItemImage) GetImagePixelLimit ¶
func (x *ContentItemImage) GetImagePixelLimit() *ImagePixelLimit
func (*ContentItemImage) GetImageUrl ¶
func (x *ContentItemImage) GetImageUrl() string
func (*ContentItemImage) GetType ¶
func (x *ContentItemImage) GetType() ContentItemType_Enum
func (*ContentItemImage) ProtoMessage ¶
func (*ContentItemImage) ProtoMessage()
func (*ContentItemImage) ProtoReflect ¶
func (x *ContentItemImage) ProtoReflect() protoreflect.Message
func (*ContentItemImage) Reset ¶
func (x *ContentItemImage) Reset()
func (*ContentItemImage) String ¶
func (x *ContentItemImage) String() string
type ContentItemImageDetail ¶
type ContentItemImageDetail struct {
// contains filtered or unexported fields
}
func (*ContentItemImageDetail) Descriptor
deprecated
func (*ContentItemImageDetail) Descriptor() ([]byte, []int)
Deprecated: Use ContentItemImageDetail.ProtoReflect.Descriptor instead.
func (*ContentItemImageDetail) ProtoMessage ¶
func (*ContentItemImageDetail) ProtoMessage()
func (*ContentItemImageDetail) ProtoReflect ¶
func (x *ContentItemImageDetail) ProtoReflect() protoreflect.Message
func (*ContentItemImageDetail) Reset ¶
func (x *ContentItemImageDetail) Reset()
func (*ContentItemImageDetail) String ¶
func (x *ContentItemImageDetail) String() string
type ContentItemImageDetail_Enum ¶
type ContentItemImageDetail_Enum int32
const ( ContentItemImageDetail_auto ContentItemImageDetail_Enum = 0 ContentItemImageDetail_high ContentItemImageDetail_Enum = 1 ContentItemImageDetail_low ContentItemImageDetail_Enum = 2 )
func (ContentItemImageDetail_Enum) Descriptor ¶
func (ContentItemImageDetail_Enum) Descriptor() protoreflect.EnumDescriptor
func (ContentItemImageDetail_Enum) Enum ¶
func (x ContentItemImageDetail_Enum) Enum() *ContentItemImageDetail_Enum
func (ContentItemImageDetail_Enum) EnumDescriptor
deprecated
func (ContentItemImageDetail_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContentItemImageDetail_Enum.Descriptor instead.
func (ContentItemImageDetail_Enum) MarshalJSON ¶
func (r ContentItemImageDetail_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (ContentItemImageDetail_Enum) Number ¶
func (x ContentItemImageDetail_Enum) Number() protoreflect.EnumNumber
func (ContentItemImageDetail_Enum) String ¶
func (x ContentItemImageDetail_Enum) String() string
func (ContentItemImageDetail_Enum) Type ¶
func (ContentItemImageDetail_Enum) Type() protoreflect.EnumType
func (*ContentItemImageDetail_Enum) UnmarshalJSON ¶
func (r *ContentItemImageDetail_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ContentItemList ¶
type ContentItemList struct {
ListValue []*ContentItem `protobuf:"bytes,1,rep,name=ListValue,proto3" json:"ListValue,omitempty"`
// contains filtered or unexported fields
}
func (*ContentItemList) Descriptor
deprecated
func (*ContentItemList) Descriptor() ([]byte, []int)
Deprecated: Use ContentItemList.ProtoReflect.Descriptor instead.
func (*ContentItemList) GetListValue ¶
func (x *ContentItemList) GetListValue() []*ContentItem
func (*ContentItemList) ProtoMessage ¶
func (*ContentItemList) ProtoMessage()
func (*ContentItemList) ProtoReflect ¶
func (x *ContentItemList) ProtoReflect() protoreflect.Message
func (*ContentItemList) Reset ¶
func (x *ContentItemList) Reset()
func (*ContentItemList) String ¶
func (x *ContentItemList) String() string
type ContentItemText ¶
type ContentItemText struct {
Type ContentItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ContentItemType_Enum" json:"type,omitempty"` // p2p: {"const": "input_text"}
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
TranslationOptions *TextTranslationOptions `protobuf:"bytes,4,opt,name=translation_options,json=translationOptions,proto3,oneof" json:"translation_options,omitempty"`
// contains filtered or unexported fields
}
func (*ContentItemText) Descriptor
deprecated
func (*ContentItemText) Descriptor() ([]byte, []int)
Deprecated: Use ContentItemText.ProtoReflect.Descriptor instead.
func (*ContentItemText) GetText ¶
func (x *ContentItemText) GetText() string
func (*ContentItemText) GetTranslationOptions ¶
func (x *ContentItemText) GetTranslationOptions() *TextTranslationOptions
func (*ContentItemText) GetType ¶
func (x *ContentItemText) GetType() ContentItemType_Enum
func (*ContentItemText) ProtoMessage ¶
func (*ContentItemText) ProtoMessage()
func (*ContentItemText) ProtoReflect ¶
func (x *ContentItemText) ProtoReflect() protoreflect.Message
func (*ContentItemText) Reset ¶
func (x *ContentItemText) Reset()
func (*ContentItemText) String ¶
func (x *ContentItemText) String() string
type ContentItemType ¶
type ContentItemType struct {
// contains filtered or unexported fields
}
func (*ContentItemType) Descriptor
deprecated
func (*ContentItemType) Descriptor() ([]byte, []int)
Deprecated: Use ContentItemType.ProtoReflect.Descriptor instead.
func (*ContentItemType) ProtoMessage ¶
func (*ContentItemType) ProtoMessage()
func (*ContentItemType) ProtoReflect ¶
func (x *ContentItemType) ProtoReflect() protoreflect.Message
func (*ContentItemType) Reset ¶
func (x *ContentItemType) Reset()
func (*ContentItemType) String ¶
func (x *ContentItemType) String() string
type ContentItemType_Enum ¶
type ContentItemType_Enum int32
const ( ContentItemType_unspecified ContentItemType_Enum = 0 ContentItemType_input_text ContentItemType_Enum = 1 ContentItemType_input_image ContentItemType_Enum = 2 ContentItemType_input_video ContentItemType_Enum = 3 ContentItemType_output_text ContentItemType_Enum = 4 ContentItemType_summary_text ContentItemType_Enum = 5 // reasoning 的 summary ContentItemType_transcription_text ContentItemType_Enum = 6 // asr 的 result ContentItemType_input_audio ContentItemType_Enum = 7 ContentItemType_input_file ContentItemType_Enum = 8 )
func (ContentItemType_Enum) Descriptor ¶
func (ContentItemType_Enum) Descriptor() protoreflect.EnumDescriptor
func (ContentItemType_Enum) Enum ¶
func (x ContentItemType_Enum) Enum() *ContentItemType_Enum
func (ContentItemType_Enum) EnumDescriptor
deprecated
func (ContentItemType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContentItemType_Enum.Descriptor instead.
func (ContentItemType_Enum) MarshalJSON ¶
func (r ContentItemType_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (ContentItemType_Enum) Number ¶
func (x ContentItemType_Enum) Number() protoreflect.EnumNumber
func (ContentItemType_Enum) String ¶
func (x ContentItemType_Enum) String() string
func (ContentItemType_Enum) Type ¶
func (ContentItemType_Enum) Type() protoreflect.EnumType
func (*ContentItemType_Enum) UnmarshalJSON ¶
func (r *ContentItemType_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ContentItemVideo ¶
type ContentItemVideo struct {
// The type of the input item. Always `input_video`.
Type ContentItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ContentItemType_Enum" json:"type,omitempty"` // p2p: {"const": "input_video"}
// The URL of the video to be sent to the model. A fully qualified URL or base64 encoded video in a data URL.
VideoUrl string `protobuf:"bytes,3,opt,name=video_url,json=videoUrl,proto3" json:"video_url,omitempty"`
FileId *string `protobuf:"bytes,4,opt,name=file_id,json=fileId,proto3,oneof" json:"file_id,omitempty"`
// Extract a specified number of images from the video every second.
Fps *float32 `protobuf:"fixed32,5,opt,name=fps,proto3,oneof" json:"fps,omitempty"`
// contains filtered or unexported fields
}
func (*ContentItemVideo) Descriptor
deprecated
func (*ContentItemVideo) Descriptor() ([]byte, []int)
Deprecated: Use ContentItemVideo.ProtoReflect.Descriptor instead.
func (*ContentItemVideo) GetFileId ¶
func (x *ContentItemVideo) GetFileId() string
func (*ContentItemVideo) GetFps ¶
func (x *ContentItemVideo) GetFps() float32
func (*ContentItemVideo) GetType ¶
func (x *ContentItemVideo) GetType() ContentItemType_Enum
func (*ContentItemVideo) GetVideoUrl ¶
func (x *ContentItemVideo) GetVideoUrl() string
func (*ContentItemVideo) ProtoMessage ¶
func (*ContentItemVideo) ProtoMessage()
func (*ContentItemVideo) ProtoReflect ¶
func (x *ContentItemVideo) ProtoReflect() protoreflect.Message
func (*ContentItemVideo) Reset ¶
func (x *ContentItemVideo) Reset()
func (*ContentItemVideo) String ¶
func (x *ContentItemVideo) String() string
type ContentItem_Audio ¶
type ContentItem_Audio struct {
Audio *ContentItemAudio `protobuf:"bytes,4,opt,name=audio,proto3,oneof"`
}
type ContentItem_File ¶ added in v1.0.39
type ContentItem_File struct {
File *ContentItemFile `protobuf:"bytes,5,opt,name=file,proto3,oneof"`
}
type ContentItem_Image ¶
type ContentItem_Image struct {
Image *ContentItemImage `protobuf:"bytes,2,opt,name=image,proto3,oneof"`
}
type ContentItem_Text ¶
type ContentItem_Text struct {
Text *ContentItemText `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type ContentItem_Video ¶
type ContentItem_Video struct {
Video *ContentItemVideo `protobuf:"bytes,3,opt,name=video,proto3,oneof"`
}
type ContentPartDoneEvent ¶ added in v1.0.39
type ContentPartDoneEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.content_part.done"}
ContentIndex int64 `protobuf:"varint,2,opt,name=content_index,json=contentIndex,proto3" json:"content_index"` // @inject_tag: json:"content_index"
ItemId string `protobuf:"bytes,3,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,4,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
Part *OutputContentItem `protobuf:"bytes,5,opt,name=part,proto3" json:"part,omitempty"`
SequenceNumber int64 `protobuf:"varint,6,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ContentPartDoneEvent) Descriptor
deprecated
added in
v1.0.39
func (*ContentPartDoneEvent) Descriptor() ([]byte, []int)
Deprecated: Use ContentPartDoneEvent.ProtoReflect.Descriptor instead.
func (*ContentPartDoneEvent) GetContentIndex ¶ added in v1.0.39
func (x *ContentPartDoneEvent) GetContentIndex() int64
func (*ContentPartDoneEvent) GetItemId ¶ added in v1.0.39
func (x *ContentPartDoneEvent) GetItemId() string
func (*ContentPartDoneEvent) GetOutputIndex ¶ added in v1.0.39
func (x *ContentPartDoneEvent) GetOutputIndex() int64
func (*ContentPartDoneEvent) GetPart ¶ added in v1.0.39
func (x *ContentPartDoneEvent) GetPart() *OutputContentItem
func (*ContentPartDoneEvent) GetSequenceNumber ¶ added in v1.0.39
func (x *ContentPartDoneEvent) GetSequenceNumber() int64
func (*ContentPartDoneEvent) GetType ¶ added in v1.0.39
func (x *ContentPartDoneEvent) GetType() EventType_Enum
func (*ContentPartDoneEvent) ProtoMessage ¶ added in v1.0.39
func (*ContentPartDoneEvent) ProtoMessage()
func (*ContentPartDoneEvent) ProtoReflect ¶ added in v1.0.39
func (x *ContentPartDoneEvent) ProtoReflect() protoreflect.Message
func (*ContentPartDoneEvent) Reset ¶ added in v1.0.39
func (x *ContentPartDoneEvent) Reset()
func (*ContentPartDoneEvent) String ¶ added in v1.0.39
func (x *ContentPartDoneEvent) String() string
type ContentPartEvent ¶
type ContentPartEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.content_part.added"}
ContentIndex int64 `protobuf:"varint,2,opt,name=content_index,json=contentIndex,proto3" json:"content_index"` // @inject_tag: json:"content_index"
ItemId string `protobuf:"bytes,3,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,4,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
Part *OutputContentItem `protobuf:"bytes,5,opt,name=part,proto3" json:"part,omitempty"`
SequenceNumber int64 `protobuf:"varint,6,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ContentPartEvent) Descriptor
deprecated
func (*ContentPartEvent) Descriptor() ([]byte, []int)
Deprecated: Use ContentPartEvent.ProtoReflect.Descriptor instead.
func (*ContentPartEvent) GetContentIndex ¶
func (x *ContentPartEvent) GetContentIndex() int64
func (*ContentPartEvent) GetItemId ¶
func (x *ContentPartEvent) GetItemId() string
func (*ContentPartEvent) GetOutputIndex ¶
func (x *ContentPartEvent) GetOutputIndex() int64
func (*ContentPartEvent) GetPart ¶
func (x *ContentPartEvent) GetPart() *OutputContentItem
func (*ContentPartEvent) GetSequenceNumber ¶
func (x *ContentPartEvent) GetSequenceNumber() int64
func (*ContentPartEvent) GetType ¶
func (x *ContentPartEvent) GetType() EventType_Enum
func (*ContentPartEvent) ProtoMessage ¶
func (*ContentPartEvent) ProtoMessage()
func (*ContentPartEvent) ProtoReflect ¶
func (x *ContentPartEvent) ProtoReflect() protoreflect.Message
func (*ContentPartEvent) Reset ¶
func (x *ContentPartEvent) Reset()
func (*ContentPartEvent) String ¶
func (x *ContentPartEvent) String() string
type CoverImage ¶
type CoverImage struct {
Url *string `protobuf:"bytes,1,opt,name=url,proto3,oneof" json:"url,omitempty"`
Width *int64 `protobuf:"varint,2,opt,name=width,proto3,oneof" json:"width,omitempty"`
Height *int64 `protobuf:"varint,3,opt,name=height,proto3,oneof" json:"height,omitempty"`
// contains filtered or unexported fields
}
func (*CoverImage) Descriptor
deprecated
func (*CoverImage) Descriptor() ([]byte, []int)
Deprecated: Use CoverImage.ProtoReflect.Descriptor instead.
func (*CoverImage) GetHeight ¶
func (x *CoverImage) GetHeight() int64
func (*CoverImage) GetUrl ¶
func (x *CoverImage) GetUrl() string
func (*CoverImage) GetWidth ¶
func (x *CoverImage) GetWidth() int64
func (*CoverImage) ProtoMessage ¶
func (*CoverImage) ProtoMessage()
func (*CoverImage) ProtoReflect ¶
func (x *CoverImage) ProtoReflect() protoreflect.Message
func (*CoverImage) Reset ¶
func (x *CoverImage) Reset()
func (*CoverImage) String ¶
func (x *CoverImage) String() string
type DeleteResponseRequest ¶
type DeleteResponseRequest struct {
ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id" path:"response_id,required"` // @inject_tag: path:"response_id,required" json:"response_id"
// contains filtered or unexported fields
}
func (*DeleteResponseRequest) Descriptor
deprecated
func (*DeleteResponseRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponseRequest.ProtoReflect.Descriptor instead.
func (*DeleteResponseRequest) GetResponseId ¶
func (x *DeleteResponseRequest) GetResponseId() string
func (*DeleteResponseRequest) ProtoMessage ¶
func (*DeleteResponseRequest) ProtoMessage()
func (*DeleteResponseRequest) ProtoReflect ¶
func (x *DeleteResponseRequest) ProtoReflect() protoreflect.Message
func (*DeleteResponseRequest) Reset ¶
func (x *DeleteResponseRequest) Reset()
func (*DeleteResponseRequest) String ¶
func (x *DeleteResponseRequest) String() string
type DeleteResponseResponse ¶
type DeleteResponseResponse struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Object ObjectType_Enum `protobuf:"varint,2,opt,name=object,proto3,enum=responses.ObjectType_Enum" json:"object,omitempty"`
Deleted bool `protobuf:"varint,3,opt,name=deleted,proto3" json:"deleted,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteResponseResponse) Descriptor
deprecated
func (*DeleteResponseResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponseResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponseResponse) GetDeleted ¶
func (x *DeleteResponseResponse) GetDeleted() bool
func (*DeleteResponseResponse) GetId ¶
func (x *DeleteResponseResponse) GetId() string
func (*DeleteResponseResponse) GetObject ¶
func (x *DeleteResponseResponse) GetObject() ObjectType_Enum
func (*DeleteResponseResponse) ProtoMessage ¶
func (*DeleteResponseResponse) ProtoMessage()
func (*DeleteResponseResponse) ProtoReflect ¶
func (x *DeleteResponseResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponseResponse) Reset ¶
func (x *DeleteResponseResponse) Reset()
func (*DeleteResponseResponse) String ¶
func (x *DeleteResponseResponse) String() string
type Error ¶
type Error struct {
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*Error) Descriptor
deprecated
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type ErrorEvent ¶
type ErrorEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "error"}
Code *string `protobuf:"bytes,2,opt,name=code,proto3,oneof" json:"code,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
Param *string `protobuf:"bytes,4,opt,name=param,proto3,oneof" json:"param,omitempty"`
SequenceNumber int64 `protobuf:"varint,5,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ErrorEvent) Descriptor
deprecated
func (*ErrorEvent) Descriptor() ([]byte, []int)
Deprecated: Use ErrorEvent.ProtoReflect.Descriptor instead.
func (*ErrorEvent) GetCode ¶
func (x *ErrorEvent) GetCode() string
func (*ErrorEvent) GetMessage ¶
func (x *ErrorEvent) GetMessage() string
func (*ErrorEvent) GetParam ¶
func (x *ErrorEvent) GetParam() string
func (*ErrorEvent) GetSequenceNumber ¶
func (x *ErrorEvent) GetSequenceNumber() int64
func (*ErrorEvent) GetType ¶
func (x *ErrorEvent) GetType() EventType_Enum
func (*ErrorEvent) ProtoMessage ¶
func (*ErrorEvent) ProtoMessage()
func (*ErrorEvent) ProtoReflect ¶
func (x *ErrorEvent) ProtoReflect() protoreflect.Message
func (*ErrorEvent) Reset ¶
func (x *ErrorEvent) Reset()
func (*ErrorEvent) String ¶
func (x *ErrorEvent) String() string
type Event ¶
type Event struct {
// Types that are assignable to Event:
//
// *Event_Response
// *Event_Item
// *Event_ContentPart
// *Event_Text
// *Event_ReasoningPart
// *Event_ReasoningText
// *Event_FunctionCallArguments
// *Event_Error
// *Event_TranscriptionPart
// *Event_TranscriptionText
// *Event_ResponseWebSearchCallInProgress
// *Event_ResponseWebSearchCallSearching
// *Event_ResponseWebSearchCallCompleted
// *Event_ResponseAnnotationAdded
// *Event_ResponseImageProcessCallInProgress
// *Event_ResponseImageProcessCallProcessing
// *Event_ResponseImageProcessCallCompleted
// *Event_ResponseMcpListToolsInProgress
// *Event_ResponseMcpListToolsCompleted
// *Event_ResponseMcpCallInProgress
// *Event_ResponseMcpCallArgumentsDelta
// *Event_ResponseMcpCallArgumentsDone
// *Event_ResponseMcpCallCompleted
// *Event_ResponseMcpCallFailed
// *Event_ResponseMcpApprovalRequest
// *Event_ResponseKnowledgeSearchCallInProgress
// *Event_ResponseKnowledgeSearchCallSearching
// *Event_ResponseKnowledgeSearchCallCompleted
// *Event_ResponseKnowledgeSearchCallFailed
// *Event_ResponseInProgress
// *Event_ResponseCompleted
// *Event_ResponseFailed
// *Event_ResponseIncomplete
// *Event_ItemDone
// *Event_ContentPartDone
// *Event_TextDone
// *Event_ReasoningPartDone
// *Event_ReasoningTextDone
// *Event_FunctionCallArgumentsDone
// *Event_TranscriptionPartDone
// *Event_TranscriptionTextDone
Event isEvent_Event `protobuf_oneof:"event"`
// contains filtered or unexported fields
}
func (*Event) Descriptor
deprecated
func (*Event) GetContentPart ¶
func (x *Event) GetContentPart() *ContentPartEvent
func (*Event) GetContentPartDone ¶ added in v1.0.39
func (x *Event) GetContentPartDone() *ContentPartDoneEvent
func (*Event) GetError ¶
func (x *Event) GetError() *ErrorEvent
func (*Event) GetFunctionCallArguments ¶
func (x *Event) GetFunctionCallArguments() *FunctionCallArgumentsEvent
func (*Event) GetFunctionCallArgumentsDone ¶ added in v1.0.39
func (x *Event) GetFunctionCallArgumentsDone() *FunctionCallArgumentsDoneEvent
func (*Event) GetItemDone ¶ added in v1.0.39
func (x *Event) GetItemDone() *ItemDoneEvent
func (*Event) GetReasoningPart ¶
func (x *Event) GetReasoningPart() *ReasoningSummaryPartEvent
func (*Event) GetReasoningPartDone ¶ added in v1.0.39
func (x *Event) GetReasoningPartDone() *ReasoningSummaryPartDoneEvent
func (*Event) GetReasoningText ¶
func (x *Event) GetReasoningText() *ReasoningSummaryTextEvent
func (*Event) GetReasoningTextDone ¶ added in v1.0.39
func (x *Event) GetReasoningTextDone() *ReasoningSummaryTextDoneEvent
func (*Event) GetResponse ¶
func (x *Event) GetResponse() *ResponseEvent
func (*Event) GetResponseAnnotationAdded ¶
func (x *Event) GetResponseAnnotationAdded() *ResponseAnnotationAddedEvent
func (*Event) GetResponseCompleted ¶ added in v1.0.39
func (x *Event) GetResponseCompleted() *ResponseCompletedEvent
func (*Event) GetResponseFailed ¶ added in v1.0.39
func (x *Event) GetResponseFailed() *ResponseFailedEvent
func (*Event) GetResponseImageProcessCallCompleted ¶
func (x *Event) GetResponseImageProcessCallCompleted() *ResponseImageProcessCallCompletedEvent
func (*Event) GetResponseImageProcessCallInProgress ¶
func (x *Event) GetResponseImageProcessCallInProgress() *ResponseImageProcessCallInProgressEvent
func (*Event) GetResponseImageProcessCallProcessing ¶
func (x *Event) GetResponseImageProcessCallProcessing() *ResponseImageProcessCallProcessingEvent
func (*Event) GetResponseInProgress ¶ added in v1.0.39
func (x *Event) GetResponseInProgress() *ResponseInProgressEvent
func (*Event) GetResponseIncomplete ¶ added in v1.0.39
func (x *Event) GetResponseIncomplete() *ResponseIncompleteEvent
func (*Event) GetResponseKnowledgeSearchCallCompleted ¶ added in v1.0.39
func (x *Event) GetResponseKnowledgeSearchCallCompleted() *ResponseKnowledgeSearchCallCompletedEvent
func (*Event) GetResponseKnowledgeSearchCallFailed ¶ added in v1.0.39
func (x *Event) GetResponseKnowledgeSearchCallFailed() *ResponseKnowledgeSearchCallFailedEvent
func (*Event) GetResponseKnowledgeSearchCallInProgress ¶ added in v1.0.39
func (x *Event) GetResponseKnowledgeSearchCallInProgress() *ResponseKnowledgeSearchCallInProgressEvent
func (*Event) GetResponseKnowledgeSearchCallSearching ¶ added in v1.0.39
func (x *Event) GetResponseKnowledgeSearchCallSearching() *ResponseKnowledgeSearchCallSearchingEvent
func (*Event) GetResponseMcpApprovalRequest ¶
func (x *Event) GetResponseMcpApprovalRequest() *ResponseMcpApprovalRequestEvent
func (*Event) GetResponseMcpCallArgumentsDelta ¶
func (x *Event) GetResponseMcpCallArgumentsDelta() *ResponseMcpCallArgumentsDeltaEvent
func (*Event) GetResponseMcpCallArgumentsDone ¶
func (x *Event) GetResponseMcpCallArgumentsDone() *ResponseMcpCallArgumentsDoneEvent
func (*Event) GetResponseMcpCallCompleted ¶
func (x *Event) GetResponseMcpCallCompleted() *ResponseMcpCallCompletedEvent
func (*Event) GetResponseMcpCallFailed ¶
func (x *Event) GetResponseMcpCallFailed() *ResponseMcpCallFailedEvent
func (*Event) GetResponseMcpCallInProgress ¶
func (x *Event) GetResponseMcpCallInProgress() *ResponseMcpCallInProgressEvent
func (*Event) GetResponseMcpListToolsCompleted ¶
func (x *Event) GetResponseMcpListToolsCompleted() *ResponseMcpListToolsCompletedEvent
func (*Event) GetResponseMcpListToolsInProgress ¶
func (x *Event) GetResponseMcpListToolsInProgress() *ResponseMcpListToolsInProgressEvent
func (*Event) GetResponseWebSearchCallCompleted ¶
func (x *Event) GetResponseWebSearchCallCompleted() *ResponseWebSearchCallCompletedEvent
func (*Event) GetResponseWebSearchCallInProgress ¶
func (x *Event) GetResponseWebSearchCallInProgress() *ResponseWebSearchCallInProgressEvent
func (*Event) GetResponseWebSearchCallSearching ¶
func (x *Event) GetResponseWebSearchCallSearching() *ResponseWebSearchCallSearchingEvent
func (*Event) GetText ¶
func (x *Event) GetText() *OutputTextEvent
func (*Event) GetTextDone ¶ added in v1.0.39
func (x *Event) GetTextDone() *OutputTextDoneEvent
func (*Event) GetTranscriptionPart ¶
func (x *Event) GetTranscriptionPart() *TranscriptionPartEvent
func (*Event) GetTranscriptionPartDone ¶ added in v1.0.39
func (x *Event) GetTranscriptionPartDone() *TranscriptionPartDoneEvent
func (*Event) GetTranscriptionText ¶
func (x *Event) GetTranscriptionText() *TranscriptionTextEvent
func (*Event) GetTranscriptionTextDone ¶ added in v1.0.39
func (x *Event) GetTranscriptionTextDone() *TranscriptionTextDoneEvent
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventType ¶
type EventType struct {
// contains filtered or unexported fields
}
func (*EventType) Descriptor
deprecated
func (*EventType) ProtoMessage ¶
func (*EventType) ProtoMessage()
func (*EventType) ProtoReflect ¶
func (x *EventType) ProtoReflect() protoreflect.Message
type EventType_Enum ¶
type EventType_Enum int32
const ( EventType_unspecified EventType_Enum = 0 EventType_response_created EventType_Enum = 1 EventType_response_in_progress EventType_Enum = 2 EventType_response_completed EventType_Enum = 3 EventType_response_failed EventType_Enum = 4 EventType_response_incomplete EventType_Enum = 5 EventType_response_output_item_added EventType_Enum = 6 EventType_response_output_item_done EventType_Enum = 7 EventType_response_content_part_added EventType_Enum = 8 EventType_response_content_part_done EventType_Enum = 9 EventType_response_output_text_delta EventType_Enum = 10 EventType_response_output_text_done EventType_Enum = 11 EventType_response_reasoning_summary_text_delta EventType_Enum = 12 EventType_response_reasoning_summary_text_done EventType_Enum = 13 EventType_response_reasoning_summary_part_added EventType_Enum = 14 EventType_response_reasoning_summary_part_done EventType_Enum = 15 EventType_response_function_call_arguments_delta EventType_Enum = 16 EventType_response_function_call_arguments_done EventType_Enum = 17 EventType_error EventType_Enum = 18 EventType_response_transcription_part_added EventType_Enum = 19 EventType_response_transcription_part_done EventType_Enum = 20 EventType_response_transcription_text_delta EventType_Enum = 21 EventType_response_transcription_text_done EventType_Enum = 22 EventType_response_web_search_call_in_progress EventType_Enum = 23 EventType_response_web_search_call_searching EventType_Enum = 24 EventType_response_web_search_call_completed EventType_Enum = 25 EventType_response_output_text_annotation_added EventType_Enum = 26 EventType_response_image_process_call_in_progress EventType_Enum = 30 EventType_response_image_process_call_progressing EventType_Enum = 31 EventType_response_image_process_call_completed EventType_Enum = 32 EventType_response_image_process_call_failed EventType_Enum = 33 EventType_response_mcp_list_tools_in_progress EventType_Enum = 34 EventType_response_mcp_list_tools_completed EventType_Enum = 35 EventType_response_mcp_call_in_progress EventType_Enum = 36 EventType_response_mcp_call_arguments_delta EventType_Enum = 37 EventType_response_mcp_call_arguments_done EventType_Enum = 38 EventType_response_mcp_call_completed EventType_Enum = 39 EventType_response_mcp_call_failed EventType_Enum = 40 EventType_response_mcp_approval_request EventType_Enum = 41 EventType_response_knowledge_search_call_in_progress EventType_Enum = 42 EventType_response_knowledge_search_call_searching EventType_Enum = 43 EventType_response_knowledge_search_call_completed EventType_Enum = 44 EventType_response_knowledge_search_call_failed EventType_Enum = 45 )
func (EventType_Enum) Descriptor ¶
func (EventType_Enum) Descriptor() protoreflect.EnumDescriptor
func (EventType_Enum) Enum ¶
func (x EventType_Enum) Enum() *EventType_Enum
func (EventType_Enum) EnumDescriptor
deprecated
func (EventType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use EventType_Enum.Descriptor instead.
func (EventType_Enum) MarshalJSON ¶
func (r EventType_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (EventType_Enum) Number ¶
func (x EventType_Enum) Number() protoreflect.EnumNumber
func (EventType_Enum) String ¶
func (x EventType_Enum) String() string
func (EventType_Enum) Type ¶
func (EventType_Enum) Type() protoreflect.EnumType
func (*EventType_Enum) UnmarshalJSON ¶
func (r *EventType_Enum) UnmarshalJSON(bytes []byte) error
type Event_ContentPart ¶
type Event_ContentPart struct {
ContentPart *ContentPartEvent `protobuf:"bytes,3,opt,name=content_part,json=contentPart,proto3,oneof"` // .added .done
}
type Event_ContentPartDone ¶ added in v1.0.39
type Event_ContentPartDone struct {
ContentPartDone *ContentPartDoneEvent `protobuf:"bytes,35,opt,name=content_part_done,json=contentPartDone,proto3,oneof"`
}
type Event_Error ¶
type Event_Error struct {
Error *ErrorEvent `protobuf:"bytes,8,opt,name=error,proto3,oneof"`
}
type Event_FunctionCallArguments ¶
type Event_FunctionCallArguments struct {
FunctionCallArguments *FunctionCallArgumentsEvent `protobuf:"bytes,7,opt,name=function_call_arguments,json=functionCallArguments,proto3,oneof"` // .delta .done
}
type Event_FunctionCallArgumentsDone ¶ added in v1.0.39
type Event_FunctionCallArgumentsDone struct {
FunctionCallArgumentsDone *FunctionCallArgumentsDoneEvent `protobuf:"bytes,39,opt,name=function_call_arguments_done,json=functionCallArgumentsDone,proto3,oneof"`
}
type Event_Item ¶
type Event_Item struct {
Item *ItemEvent `protobuf:"bytes,2,opt,name=item,proto3,oneof"` // .added .done
}
type Event_ItemDone ¶ added in v1.0.39
type Event_ItemDone struct {
ItemDone *ItemDoneEvent `protobuf:"bytes,34,opt,name=item_done,json=itemDone,proto3,oneof"` // .done
}
type Event_ReasoningPart ¶
type Event_ReasoningPart struct {
ReasoningPart *ReasoningSummaryPartEvent `protobuf:"bytes,5,opt,name=reasoning_part,json=reasoningPart,proto3,oneof"` // .added .done
}
type Event_ReasoningPartDone ¶ added in v1.0.39
type Event_ReasoningPartDone struct {
ReasoningPartDone *ReasoningSummaryPartDoneEvent `protobuf:"bytes,37,opt,name=reasoning_part_done,json=reasoningPartDone,proto3,oneof"`
}
type Event_ReasoningText ¶
type Event_ReasoningText struct {
ReasoningText *ReasoningSummaryTextEvent `protobuf:"bytes,6,opt,name=reasoning_text,json=reasoningText,proto3,oneof"` //.delta.done
}
type Event_ReasoningTextDone ¶ added in v1.0.39
type Event_ReasoningTextDone struct {
ReasoningTextDone *ReasoningSummaryTextDoneEvent `protobuf:"bytes,38,opt,name=reasoning_text_done,json=reasoningTextDone,proto3,oneof"`
}
type Event_Response ¶
type Event_Response struct {
Response *ResponseEvent `protobuf:"bytes,1,opt,name=response,proto3,oneof"` // .created .in_progress .completed .failed .incomplete
}
type Event_ResponseAnnotationAdded ¶
type Event_ResponseAnnotationAdded struct {
ResponseAnnotationAdded *ResponseAnnotationAddedEvent `protobuf:"bytes,14,opt,name=response_annotation_added,json=responseAnnotationAdded,proto3,oneof"`
}
type Event_ResponseCompleted ¶ added in v1.0.39
type Event_ResponseCompleted struct {
ResponseCompleted *ResponseCompletedEvent `protobuf:"bytes,31,opt,name=response_completed,json=responseCompleted,proto3,oneof"` // .created .in_progress .completed .failed .incomplete
}
type Event_ResponseFailed ¶ added in v1.0.39
type Event_ResponseFailed struct {
ResponseFailed *ResponseFailedEvent `protobuf:"bytes,32,opt,name=response_failed,json=responseFailed,proto3,oneof"` // .created .in_progress .completed .failed .incomplete
}
type Event_ResponseImageProcessCallCompleted ¶
type Event_ResponseImageProcessCallCompleted struct {
ResponseImageProcessCallCompleted *ResponseImageProcessCallCompletedEvent `protobuf:"bytes,17,opt,name=response_image_process_call_completed,json=responseImageProcessCallCompleted,proto3,oneof"`
}
type Event_ResponseImageProcessCallInProgress ¶
type Event_ResponseImageProcessCallInProgress struct {
ResponseImageProcessCallInProgress *ResponseImageProcessCallInProgressEvent `protobuf:"bytes,15,opt,name=response_image_process_call_in_progress,json=responseImageProcessCallInProgress,proto3,oneof"`
}
type Event_ResponseImageProcessCallProcessing ¶
type Event_ResponseImageProcessCallProcessing struct {
ResponseImageProcessCallProcessing *ResponseImageProcessCallProcessingEvent `protobuf:"bytes,16,opt,name=response_image_process_call_processing,json=responseImageProcessCallProcessing,proto3,oneof"`
}
type Event_ResponseInProgress ¶ added in v1.0.39
type Event_ResponseInProgress struct {
ResponseInProgress *ResponseInProgressEvent `protobuf:"bytes,30,opt,name=response_in_progress,json=responseInProgress,proto3,oneof"` // .created .in_progress .completed .failed .incomplete
}
type Event_ResponseIncomplete ¶ added in v1.0.39
type Event_ResponseIncomplete struct {
ResponseIncomplete *ResponseIncompleteEvent `protobuf:"bytes,33,opt,name=response_incomplete,json=responseIncomplete,proto3,oneof"` // .created .in_progress .completed .failed .incomplete
}
type Event_ResponseKnowledgeSearchCallCompleted ¶ added in v1.0.39
type Event_ResponseKnowledgeSearchCallCompleted struct {
ResponseKnowledgeSearchCallCompleted *ResponseKnowledgeSearchCallCompletedEvent `protobuf:"bytes,28,opt,name=response_knowledge_search_call_completed,json=responseKnowledgeSearchCallCompleted,proto3,oneof"`
}
type Event_ResponseKnowledgeSearchCallFailed ¶ added in v1.0.39
type Event_ResponseKnowledgeSearchCallFailed struct {
ResponseKnowledgeSearchCallFailed *ResponseKnowledgeSearchCallFailedEvent `protobuf:"bytes,29,opt,name=response_knowledge_search_call_failed,json=responseKnowledgeSearchCallFailed,proto3,oneof"`
}
type Event_ResponseKnowledgeSearchCallInProgress ¶ added in v1.0.39
type Event_ResponseKnowledgeSearchCallInProgress struct {
ResponseKnowledgeSearchCallInProgress *ResponseKnowledgeSearchCallInProgressEvent `` /* 127-byte string literal not displayed */
}
type Event_ResponseKnowledgeSearchCallSearching ¶ added in v1.0.39
type Event_ResponseKnowledgeSearchCallSearching struct {
ResponseKnowledgeSearchCallSearching *ResponseKnowledgeSearchCallSearchingEvent `protobuf:"bytes,27,opt,name=response_knowledge_search_call_searching,json=responseKnowledgeSearchCallSearching,proto3,oneof"`
}
type Event_ResponseMcpApprovalRequest ¶
type Event_ResponseMcpApprovalRequest struct {
ResponseMcpApprovalRequest *ResponseMcpApprovalRequestEvent `protobuf:"bytes,25,opt,name=response_mcp_approval_request,json=responseMcpApprovalRequest,proto3,oneof"` // sdk: {"skip": ["python", "java"]}
}
type Event_ResponseMcpCallArgumentsDelta ¶
type Event_ResponseMcpCallArgumentsDelta struct {
ResponseMcpCallArgumentsDelta *ResponseMcpCallArgumentsDeltaEvent `protobuf:"bytes,21,opt,name=response_mcp_call_arguments_delta,json=responseMcpCallArgumentsDelta,proto3,oneof"`
}
type Event_ResponseMcpCallArgumentsDone ¶
type Event_ResponseMcpCallArgumentsDone struct {
ResponseMcpCallArgumentsDone *ResponseMcpCallArgumentsDoneEvent `protobuf:"bytes,22,opt,name=response_mcp_call_arguments_done,json=responseMcpCallArgumentsDone,proto3,oneof"`
}
type Event_ResponseMcpCallCompleted ¶
type Event_ResponseMcpCallCompleted struct {
ResponseMcpCallCompleted *ResponseMcpCallCompletedEvent `protobuf:"bytes,23,opt,name=response_mcp_call_completed,json=responseMcpCallCompleted,proto3,oneof"`
}
type Event_ResponseMcpCallFailed ¶
type Event_ResponseMcpCallFailed struct {
ResponseMcpCallFailed *ResponseMcpCallFailedEvent `protobuf:"bytes,24,opt,name=response_mcp_call_failed,json=responseMcpCallFailed,proto3,oneof"`
}
type Event_ResponseMcpCallInProgress ¶
type Event_ResponseMcpCallInProgress struct {
ResponseMcpCallInProgress *ResponseMcpCallInProgressEvent `protobuf:"bytes,20,opt,name=response_mcp_call_in_progress,json=responseMcpCallInProgress,proto3,oneof"`
}
type Event_ResponseMcpListToolsCompleted ¶
type Event_ResponseMcpListToolsCompleted struct {
ResponseMcpListToolsCompleted *ResponseMcpListToolsCompletedEvent `protobuf:"bytes,19,opt,name=response_mcp_list_tools_completed,json=responseMcpListToolsCompleted,proto3,oneof"`
}
type Event_ResponseMcpListToolsInProgress ¶
type Event_ResponseMcpListToolsInProgress struct {
ResponseMcpListToolsInProgress *ResponseMcpListToolsInProgressEvent `protobuf:"bytes,18,opt,name=response_mcp_list_tools_in_progress,json=responseMcpListToolsInProgress,proto3,oneof"`
}
type Event_ResponseWebSearchCallCompleted ¶
type Event_ResponseWebSearchCallCompleted struct {
ResponseWebSearchCallCompleted *ResponseWebSearchCallCompletedEvent `protobuf:"bytes,13,opt,name=response_web_search_call_completed,json=responseWebSearchCallCompleted,proto3,oneof"`
}
type Event_ResponseWebSearchCallInProgress ¶
type Event_ResponseWebSearchCallInProgress struct {
ResponseWebSearchCallInProgress *ResponseWebSearchCallInProgressEvent `protobuf:"bytes,11,opt,name=response_web_search_call_in_progress,json=responseWebSearchCallInProgress,proto3,oneof"`
}
type Event_ResponseWebSearchCallSearching ¶
type Event_ResponseWebSearchCallSearching struct {
ResponseWebSearchCallSearching *ResponseWebSearchCallSearchingEvent `protobuf:"bytes,12,opt,name=response_web_search_call_searching,json=responseWebSearchCallSearching,proto3,oneof"`
}
type Event_Text ¶
type Event_Text struct {
Text *OutputTextEvent `protobuf:"bytes,4,opt,name=text,proto3,oneof"` // .delta .done
}
type Event_TextDone ¶ added in v1.0.39
type Event_TextDone struct {
TextDone *OutputTextDoneEvent `protobuf:"bytes,36,opt,name=text_done,json=textDone,proto3,oneof"`
}
type Event_TranscriptionPart ¶
type Event_TranscriptionPart struct {
TranscriptionPart *TranscriptionPartEvent `protobuf:"bytes,9,opt,name=transcription_part,json=transcriptionPart,proto3,oneof"` //.delta.done sdk: {"skip": ["python", "java"]}
}
type Event_TranscriptionPartDone ¶ added in v1.0.39
type Event_TranscriptionPartDone struct {
TranscriptionPartDone *TranscriptionPartDoneEvent `protobuf:"bytes,40,opt,name=transcription_part_done,json=transcriptionPartDone,proto3,oneof"` // sdk: {"skip": ["python", "java"]}
}
type Event_TranscriptionText ¶
type Event_TranscriptionText struct {
TranscriptionText *TranscriptionTextEvent `protobuf:"bytes,10,opt,name=transcription_text,json=transcriptionText,proto3,oneof"` //.delta.done sdk: {"skip": ["python", "java"]}
}
type Event_TranscriptionTextDone ¶ added in v1.0.39
type Event_TranscriptionTextDone struct {
TranscriptionTextDone *TranscriptionTextDoneEvent `protobuf:"bytes,41,opt,name=transcription_text_done,json=transcriptionTextDone,proto3,oneof"` // sdk: {"skip": ["python", "java"]}
}
type FunctionCallArgumentsDoneEvent ¶ added in v1.0.39
type FunctionCallArgumentsDoneEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.function_call_arguments.done"}
Delta *string `protobuf:"bytes,3,opt,name=delta,proto3,oneof" json:"delta,omitempty"`
ItemId string `protobuf:"bytes,4,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,5,opt,name=output_index,json=outputIndex,proto3" json:"output_index"` // @inject_tag: json:"output_index"
Arguments *string `protobuf:"bytes,6,opt,name=arguments,proto3,oneof" json:"arguments,omitempty"`
SequenceNumber int64 `protobuf:"varint,7,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*FunctionCallArgumentsDoneEvent) Descriptor
deprecated
added in
v1.0.39
func (*FunctionCallArgumentsDoneEvent) Descriptor() ([]byte, []int)
Deprecated: Use FunctionCallArgumentsDoneEvent.ProtoReflect.Descriptor instead.
func (*FunctionCallArgumentsDoneEvent) GetArguments ¶ added in v1.0.39
func (x *FunctionCallArgumentsDoneEvent) GetArguments() string
func (*FunctionCallArgumentsDoneEvent) GetDelta ¶ added in v1.0.39
func (x *FunctionCallArgumentsDoneEvent) GetDelta() string
func (*FunctionCallArgumentsDoneEvent) GetItemId ¶ added in v1.0.39
func (x *FunctionCallArgumentsDoneEvent) GetItemId() string
func (*FunctionCallArgumentsDoneEvent) GetOutputIndex ¶ added in v1.0.39
func (x *FunctionCallArgumentsDoneEvent) GetOutputIndex() int64
func (*FunctionCallArgumentsDoneEvent) GetSequenceNumber ¶ added in v1.0.39
func (x *FunctionCallArgumentsDoneEvent) GetSequenceNumber() int64
func (*FunctionCallArgumentsDoneEvent) GetType ¶ added in v1.0.39
func (x *FunctionCallArgumentsDoneEvent) GetType() EventType_Enum
func (*FunctionCallArgumentsDoneEvent) ProtoMessage ¶ added in v1.0.39
func (*FunctionCallArgumentsDoneEvent) ProtoMessage()
func (*FunctionCallArgumentsDoneEvent) ProtoReflect ¶ added in v1.0.39
func (x *FunctionCallArgumentsDoneEvent) ProtoReflect() protoreflect.Message
func (*FunctionCallArgumentsDoneEvent) Reset ¶ added in v1.0.39
func (x *FunctionCallArgumentsDoneEvent) Reset()
func (*FunctionCallArgumentsDoneEvent) String ¶ added in v1.0.39
func (x *FunctionCallArgumentsDoneEvent) String() string
type FunctionCallArgumentsEvent ¶
type FunctionCallArgumentsEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.function_call_arguments.delta"}
Delta *string `protobuf:"bytes,3,opt,name=delta,proto3,oneof" json:"delta,omitempty"`
ItemId string `protobuf:"bytes,4,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,5,opt,name=output_index,json=outputIndex,proto3" json:"output_index"` // @inject_tag: json:"output_index"
Arguments *string `protobuf:"bytes,6,opt,name=arguments,proto3,oneof" json:"arguments,omitempty"`
SequenceNumber int64 `protobuf:"varint,7,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*FunctionCallArgumentsEvent) Descriptor
deprecated
func (*FunctionCallArgumentsEvent) Descriptor() ([]byte, []int)
Deprecated: Use FunctionCallArgumentsEvent.ProtoReflect.Descriptor instead.
func (*FunctionCallArgumentsEvent) GetArguments ¶
func (x *FunctionCallArgumentsEvent) GetArguments() string
func (*FunctionCallArgumentsEvent) GetDelta ¶
func (x *FunctionCallArgumentsEvent) GetDelta() string
func (*FunctionCallArgumentsEvent) GetItemId ¶
func (x *FunctionCallArgumentsEvent) GetItemId() string
func (*FunctionCallArgumentsEvent) GetOutputIndex ¶
func (x *FunctionCallArgumentsEvent) GetOutputIndex() int64
func (*FunctionCallArgumentsEvent) GetSequenceNumber ¶
func (x *FunctionCallArgumentsEvent) GetSequenceNumber() int64
func (*FunctionCallArgumentsEvent) GetType ¶
func (x *FunctionCallArgumentsEvent) GetType() EventType_Enum
func (*FunctionCallArgumentsEvent) ProtoMessage ¶
func (*FunctionCallArgumentsEvent) ProtoMessage()
func (*FunctionCallArgumentsEvent) ProtoReflect ¶
func (x *FunctionCallArgumentsEvent) ProtoReflect() protoreflect.Message
func (*FunctionCallArgumentsEvent) Reset ¶
func (x *FunctionCallArgumentsEvent) Reset()
func (*FunctionCallArgumentsEvent) String ¶
func (x *FunctionCallArgumentsEvent) String() string
type FunctionToolChoice ¶
type FunctionToolChoice struct {
Type ToolType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ToolType_Enum" json:"type,omitempty"` // p2p: {"const": "function"}
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*FunctionToolChoice) Descriptor
deprecated
func (*FunctionToolChoice) Descriptor() ([]byte, []int)
Deprecated: Use FunctionToolChoice.ProtoReflect.Descriptor instead.
func (*FunctionToolChoice) GetName ¶
func (x *FunctionToolChoice) GetName() string
func (*FunctionToolChoice) GetType ¶
func (x *FunctionToolChoice) GetType() ToolType_Enum
func (*FunctionToolChoice) ProtoMessage ¶
func (*FunctionToolChoice) ProtoMessage()
func (*FunctionToolChoice) ProtoReflect ¶
func (x *FunctionToolChoice) ProtoReflect() protoreflect.Message
func (*FunctionToolChoice) Reset ¶
func (x *FunctionToolChoice) Reset()
func (*FunctionToolChoice) String ¶
func (x *FunctionToolChoice) String() string
type GetResponseRequest ¶
type GetResponseRequest struct {
ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty" path:"response_id,required"` // @inject_tag: path:"response_id,required"
// contains filtered or unexported fields
}
func (*GetResponseRequest) Descriptor
deprecated
func (*GetResponseRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetResponseRequest.ProtoReflect.Descriptor instead.
func (*GetResponseRequest) GetResponseId ¶
func (x *GetResponseRequest) GetResponseId() string
func (*GetResponseRequest) ProtoMessage ¶
func (*GetResponseRequest) ProtoMessage()
func (*GetResponseRequest) ProtoReflect ¶
func (x *GetResponseRequest) ProtoReflect() protoreflect.Message
func (*GetResponseRequest) Reset ¶
func (x *GetResponseRequest) Reset()
func (*GetResponseRequest) String ¶
func (x *GetResponseRequest) String() string
func (*GetResponseRequest) URLQuery ¶
func (x *GetResponseRequest) URLQuery() (v url.Values, err error)
URLQuery serializes GetResponseRequest's query parameters as `url.Values`.
type ImagePixelLimit ¶
type ImagePixelLimit struct {
MaxPixels *int64 `protobuf:"varint,1,opt,name=max_pixels,json=maxPixels,proto3,oneof" json:"max_pixels,omitempty"`
MinPixels *int64 `protobuf:"varint,2,opt,name=min_pixels,json=minPixels,proto3,oneof" json:"min_pixels,omitempty"`
// contains filtered or unexported fields
}
func (*ImagePixelLimit) Descriptor
deprecated
func (*ImagePixelLimit) Descriptor() ([]byte, []int)
Deprecated: Use ImagePixelLimit.ProtoReflect.Descriptor instead.
func (*ImagePixelLimit) GetMaxPixels ¶
func (x *ImagePixelLimit) GetMaxPixels() int64
func (*ImagePixelLimit) GetMinPixels ¶
func (x *ImagePixelLimit) GetMinPixels() int64
func (*ImagePixelLimit) ProtoMessage ¶
func (*ImagePixelLimit) ProtoMessage()
func (*ImagePixelLimit) ProtoReflect ¶
func (x *ImagePixelLimit) ProtoReflect() protoreflect.Message
func (*ImagePixelLimit) Reset ¶
func (x *ImagePixelLimit) Reset()
func (*ImagePixelLimit) String ¶
func (x *ImagePixelLimit) String() string
type ImageProcessGroundingOptions ¶
type ImageProcessGroundingOptions struct {
// `disabled` or `enabled`.
Type *string `protobuf:"bytes,1,opt,name=type,proto3,oneof" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*ImageProcessGroundingOptions) Descriptor
deprecated
func (*ImageProcessGroundingOptions) Descriptor() ([]byte, []int)
Deprecated: Use ImageProcessGroundingOptions.ProtoReflect.Descriptor instead.
func (*ImageProcessGroundingOptions) GetType ¶
func (x *ImageProcessGroundingOptions) GetType() string
func (*ImageProcessGroundingOptions) ProtoMessage ¶
func (*ImageProcessGroundingOptions) ProtoMessage()
func (*ImageProcessGroundingOptions) ProtoReflect ¶
func (x *ImageProcessGroundingOptions) ProtoReflect() protoreflect.Message
func (*ImageProcessGroundingOptions) Reset ¶
func (x *ImageProcessGroundingOptions) Reset()
func (*ImageProcessGroundingOptions) String ¶
func (x *ImageProcessGroundingOptions) String() string
type ImageProcessPointOptions ¶
type ImageProcessPointOptions struct {
// `disabled` or `enabled`.
Type *string `protobuf:"bytes,1,opt,name=type,proto3,oneof" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*ImageProcessPointOptions) Descriptor
deprecated
func (*ImageProcessPointOptions) Descriptor() ([]byte, []int)
Deprecated: Use ImageProcessPointOptions.ProtoReflect.Descriptor instead.
func (*ImageProcessPointOptions) GetType ¶
func (x *ImageProcessPointOptions) GetType() string
func (*ImageProcessPointOptions) ProtoMessage ¶
func (*ImageProcessPointOptions) ProtoMessage()
func (*ImageProcessPointOptions) ProtoReflect ¶
func (x *ImageProcessPointOptions) ProtoReflect() protoreflect.Message
func (*ImageProcessPointOptions) Reset ¶
func (x *ImageProcessPointOptions) Reset()
func (*ImageProcessPointOptions) String ¶
func (x *ImageProcessPointOptions) String() string
type ImageProcessRotateOptions ¶
type ImageProcessRotateOptions struct {
// `disabled` or `enabled`.
Type *string `protobuf:"bytes,1,opt,name=type,proto3,oneof" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*ImageProcessRotateOptions) Descriptor
deprecated
func (*ImageProcessRotateOptions) Descriptor() ([]byte, []int)
Deprecated: Use ImageProcessRotateOptions.ProtoReflect.Descriptor instead.
func (*ImageProcessRotateOptions) GetType ¶
func (x *ImageProcessRotateOptions) GetType() string
func (*ImageProcessRotateOptions) ProtoMessage ¶
func (*ImageProcessRotateOptions) ProtoMessage()
func (*ImageProcessRotateOptions) ProtoReflect ¶
func (x *ImageProcessRotateOptions) ProtoReflect() protoreflect.Message
func (*ImageProcessRotateOptions) Reset ¶
func (x *ImageProcessRotateOptions) Reset()
func (*ImageProcessRotateOptions) String ¶
func (x *ImageProcessRotateOptions) String() string
type ImageProcessZoomOptions ¶
type ImageProcessZoomOptions struct {
// `disabled` or `enabled`.
Type *string `protobuf:"bytes,1,opt,name=type,proto3,oneof" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*ImageProcessZoomOptions) Descriptor
deprecated
func (*ImageProcessZoomOptions) Descriptor() ([]byte, []int)
Deprecated: Use ImageProcessZoomOptions.ProtoReflect.Descriptor instead.
func (*ImageProcessZoomOptions) GetType ¶
func (x *ImageProcessZoomOptions) GetType() string
func (*ImageProcessZoomOptions) ProtoMessage ¶
func (*ImageProcessZoomOptions) ProtoMessage()
func (*ImageProcessZoomOptions) ProtoReflect ¶
func (x *ImageProcessZoomOptions) ProtoReflect() protoreflect.Message
func (*ImageProcessZoomOptions) Reset ¶
func (x *ImageProcessZoomOptions) Reset()
func (*ImageProcessZoomOptions) String ¶
func (x *ImageProcessZoomOptions) String() string
type IncludeType ¶
type IncludeType struct {
// contains filtered or unexported fields
}
func (*IncludeType) Descriptor
deprecated
func (*IncludeType) Descriptor() ([]byte, []int)
Deprecated: Use IncludeType.ProtoReflect.Descriptor instead.
func (*IncludeType) ProtoMessage ¶
func (*IncludeType) ProtoMessage()
func (*IncludeType) ProtoReflect ¶
func (x *IncludeType) ProtoReflect() protoreflect.Message
func (*IncludeType) Reset ¶
func (x *IncludeType) Reset()
func (*IncludeType) String ¶
func (x *IncludeType) String() string
type IncludeType_Enum ¶
type IncludeType_Enum int32
const ( IncludeType_unspecified IncludeType_Enum = 0 IncludeType_image_url IncludeType_Enum = 1 // @inject_tag: query:"message.input_image.image_url" )
func (IncludeType_Enum) Descriptor ¶
func (IncludeType_Enum) Descriptor() protoreflect.EnumDescriptor
func (IncludeType_Enum) Enum ¶
func (x IncludeType_Enum) Enum() *IncludeType_Enum
func (IncludeType_Enum) EnumDescriptor
deprecated
func (IncludeType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use IncludeType_Enum.Descriptor instead.
func (IncludeType_Enum) MarshalJSON ¶
func (r IncludeType_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (IncludeType_Enum) Number ¶
func (x IncludeType_Enum) Number() protoreflect.EnumNumber
func (IncludeType_Enum) String ¶
func (x IncludeType_Enum) String() string
func (IncludeType_Enum) Type ¶
func (IncludeType_Enum) Type() protoreflect.EnumType
func (*IncludeType_Enum) UnmarshalJSON ¶
func (r *IncludeType_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type IncompleteDetails ¶
type IncompleteDetails struct {
Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
ContentFilter *ContentFilter `protobuf:"bytes,2,opt,name=content_filter,json=contentFilter,proto3,oneof" json:"content_filter,omitempty"`
// contains filtered or unexported fields
}
func (*IncompleteDetails) Descriptor
deprecated
func (*IncompleteDetails) Descriptor() ([]byte, []int)
Deprecated: Use IncompleteDetails.ProtoReflect.Descriptor instead.
func (*IncompleteDetails) GetContentFilter ¶
func (x *IncompleteDetails) GetContentFilter() *ContentFilter
func (*IncompleteDetails) GetReason ¶
func (x *IncompleteDetails) GetReason() string
func (*IncompleteDetails) ProtoMessage ¶
func (*IncompleteDetails) ProtoMessage()
func (*IncompleteDetails) ProtoReflect ¶
func (x *IncompleteDetails) ProtoReflect() protoreflect.Message
func (*IncompleteDetails) Reset ¶
func (x *IncompleteDetails) Reset()
func (*IncompleteDetails) String ¶
func (x *IncompleteDetails) String() string
type InputItem ¶
type InputItem struct {
// Types that are assignable to Union:
//
// *InputItem_EasyMessage
// *InputItem_InputMessage
// *InputItem_OutputMessage
// *InputItem_FunctionToolCall
// *InputItem_FunctionToolCallOutput
// *InputItem_Reasoning
// *InputItem_Reference
// *InputItem_ImageProcess
// *InputItem_McpApprovalRequest
// *InputItem_McpApprovalResponse
// *InputItem_McpListTools
// *InputItem_FunctionMcpCall
// *InputItem_FunctionWebSearchCall
// *InputItem_FunctionKnowledgeSearch
Union isInputItem_Union `protobuf_oneof:"union"`
// contains filtered or unexported fields
}
func (*InputItem) Descriptor
deprecated
func (*InputItem) GetEasyMessage ¶
func (x *InputItem) GetEasyMessage() *ItemEasyMessage
func (*InputItem) GetFunctionKnowledgeSearch ¶ added in v1.0.39
func (x *InputItem) GetFunctionKnowledgeSearch() *ItemFunctionKnowledgeSearch
func (*InputItem) GetFunctionMcpCall ¶
func (x *InputItem) GetFunctionMcpCall() *ItemFunctionMcpCall
func (*InputItem) GetFunctionToolCall ¶
func (x *InputItem) GetFunctionToolCall() *ItemFunctionToolCall
func (*InputItem) GetFunctionToolCallOutput ¶
func (x *InputItem) GetFunctionToolCallOutput() *ItemFunctionToolCallOutput
func (*InputItem) GetFunctionWebSearchCall ¶
func (x *InputItem) GetFunctionWebSearchCall() *ItemFunctionWebSearch
func (*InputItem) GetImageProcess ¶
func (x *InputItem) GetImageProcess() *ItemFunctionImageProcess
func (*InputItem) GetInputMessage ¶
func (x *InputItem) GetInputMessage() *ItemInputMessage
func (*InputItem) GetMcpApprovalRequest ¶
func (x *InputItem) GetMcpApprovalRequest() *ItemFunctionMcpApprovalRequest
func (*InputItem) GetMcpApprovalResponse ¶
func (x *InputItem) GetMcpApprovalResponse() *ItemFunctionMcpApprovalResponse
func (*InputItem) GetMcpListTools ¶
func (x *InputItem) GetMcpListTools() *ItemFunctionMcpListTools
func (*InputItem) GetOutputMessage ¶
func (x *InputItem) GetOutputMessage() *ItemOutputMessage
func (*InputItem) GetReasoning ¶
func (x *InputItem) GetReasoning() *ItemReasoning
func (*InputItem) GetReference ¶
func (x *InputItem) GetReference() *ItemReference
func (*InputItem) ProtoMessage ¶
func (*InputItem) ProtoMessage()
func (*InputItem) ProtoReflect ¶
func (x *InputItem) ProtoReflect() protoreflect.Message
func (*InputItem) UnmarshalJSON ¶
UnmarshalJSON ...
type InputItemList ¶
type InputItemList struct {
ListValue []*InputItem `protobuf:"bytes,1,rep,name=listValue,proto3" json:"listValue,omitempty"`
// contains filtered or unexported fields
}
func (*InputItemList) Descriptor
deprecated
func (*InputItemList) Descriptor() ([]byte, []int)
Deprecated: Use InputItemList.ProtoReflect.Descriptor instead.
func (*InputItemList) GetListValue ¶
func (x *InputItemList) GetListValue() []*InputItem
func (*InputItemList) ProtoMessage ¶
func (*InputItemList) ProtoMessage()
func (*InputItemList) ProtoReflect ¶
func (x *InputItemList) ProtoReflect() protoreflect.Message
func (*InputItemList) Reset ¶
func (x *InputItemList) Reset()
func (*InputItemList) String ¶
func (x *InputItemList) String() string
type InputItem_EasyMessage ¶
type InputItem_EasyMessage struct {
EasyMessage *ItemEasyMessage `protobuf:"bytes,1,opt,name=easy_message,json=easyMessage,proto3,oneof"`
}
type InputItem_FunctionKnowledgeSearch ¶ added in v1.0.39
type InputItem_FunctionKnowledgeSearch struct {
FunctionKnowledgeSearch *ItemFunctionKnowledgeSearch `protobuf:"bytes,14,opt,name=function_knowledge_search,json=functionKnowledgeSearch,proto3,oneof"`
}
type InputItem_FunctionMcpCall ¶
type InputItem_FunctionMcpCall struct {
FunctionMcpCall *ItemFunctionMcpCall `protobuf:"bytes,12,opt,name=function_mcp_call,json=functionMcpCall,proto3,oneof"`
}
type InputItem_FunctionToolCall ¶
type InputItem_FunctionToolCall struct {
FunctionToolCall *ItemFunctionToolCall `protobuf:"bytes,4,opt,name=function_tool_call,json=functionToolCall,proto3,oneof"`
}
type InputItem_FunctionToolCallOutput ¶
type InputItem_FunctionToolCallOutput struct {
FunctionToolCallOutput *ItemFunctionToolCallOutput `protobuf:"bytes,5,opt,name=function_tool_call_output,json=functionToolCallOutput,proto3,oneof"`
}
type InputItem_FunctionWebSearchCall ¶
type InputItem_FunctionWebSearchCall struct {
FunctionWebSearchCall *ItemFunctionWebSearch `protobuf:"bytes,13,opt,name=function_web_search_call,json=functionWebSearchCall,proto3,oneof"`
}
type InputItem_ImageProcess ¶
type InputItem_ImageProcess struct {
ImageProcess *ItemFunctionImageProcess `protobuf:"bytes,8,opt,name=image_process,json=imageProcess,proto3,oneof"`
}
type InputItem_InputMessage ¶
type InputItem_InputMessage struct {
InputMessage *ItemInputMessage `protobuf:"bytes,2,opt,name=input_message,json=inputMessage,proto3,oneof"`
}
type InputItem_McpApprovalRequest ¶
type InputItem_McpApprovalRequest struct {
McpApprovalRequest *ItemFunctionMcpApprovalRequest `protobuf:"bytes,9,opt,name=mcp_approval_request,json=mcpApprovalRequest,proto3,oneof"`
}
type InputItem_McpApprovalResponse ¶
type InputItem_McpApprovalResponse struct {
McpApprovalResponse *ItemFunctionMcpApprovalResponse `protobuf:"bytes,10,opt,name=mcp_approval_response,json=mcpApprovalResponse,proto3,oneof"`
}
type InputItem_McpListTools ¶
type InputItem_McpListTools struct {
McpListTools *ItemFunctionMcpListTools `protobuf:"bytes,11,opt,name=mcp_list_tools,json=mcpListTools,proto3,oneof"`
}
type InputItem_OutputMessage ¶
type InputItem_OutputMessage struct {
OutputMessage *ItemOutputMessage `protobuf:"bytes,3,opt,name=output_message,json=outputMessage,proto3,oneof"`
}
type InputItem_Reasoning ¶
type InputItem_Reasoning struct {
Reasoning *ItemReasoning `protobuf:"bytes,6,opt,name=reasoning,proto3,oneof"`
}
type InputItem_Reference ¶
type InputItem_Reference struct {
Reference *ItemReference `protobuf:"bytes,7,opt,name=reference,proto3,oneof"`
}
type InputTokensDetails ¶
type InputTokensDetails struct {
CachedTokens int64 `protobuf:"varint,1,opt,name=cached_tokens,json=cachedTokens,proto3" json:"cached_tokens"` // @inject_tag: json:"cached_tokens"
AudioTokens int64 `protobuf:"varint,2,opt,name=audio_tokens,json=audioTokens,proto3" json:"audio_tokens,omitempty"`
// contains filtered or unexported fields
}
func (*InputTokensDetails) Descriptor
deprecated
func (*InputTokensDetails) Descriptor() ([]byte, []int)
Deprecated: Use InputTokensDetails.ProtoReflect.Descriptor instead.
func (*InputTokensDetails) GetAudioTokens ¶
func (x *InputTokensDetails) GetAudioTokens() int64
func (*InputTokensDetails) GetCachedTokens ¶
func (x *InputTokensDetails) GetCachedTokens() int64
func (*InputTokensDetails) ProtoMessage ¶
func (*InputTokensDetails) ProtoMessage()
func (*InputTokensDetails) ProtoReflect ¶
func (x *InputTokensDetails) ProtoReflect() protoreflect.Message
func (*InputTokensDetails) Reset ¶
func (x *InputTokensDetails) Reset()
func (*InputTokensDetails) String ¶
func (x *InputTokensDetails) String() string
type ItemDoneEvent ¶ added in v1.0.39
type ItemDoneEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.output_item.done"}
OutputIndex int64 `protobuf:"varint,2,opt,name=output_index,json=outputIndex,proto3" json:"output_index"` // @inject_tag: json:"output_index"
Item *OutputItem `protobuf:"bytes,3,opt,name=item,proto3" json:"item,omitempty"`
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ItemDoneEvent) Descriptor
deprecated
added in
v1.0.39
func (*ItemDoneEvent) Descriptor() ([]byte, []int)
Deprecated: Use ItemDoneEvent.ProtoReflect.Descriptor instead.
func (*ItemDoneEvent) GetItem ¶ added in v1.0.39
func (x *ItemDoneEvent) GetItem() *OutputItem
func (*ItemDoneEvent) GetOutputIndex ¶ added in v1.0.39
func (x *ItemDoneEvent) GetOutputIndex() int64
func (*ItemDoneEvent) GetSequenceNumber ¶ added in v1.0.39
func (x *ItemDoneEvent) GetSequenceNumber() int64
func (*ItemDoneEvent) GetType ¶ added in v1.0.39
func (x *ItemDoneEvent) GetType() EventType_Enum
func (*ItemDoneEvent) ProtoMessage ¶ added in v1.0.39
func (*ItemDoneEvent) ProtoMessage()
func (*ItemDoneEvent) ProtoReflect ¶ added in v1.0.39
func (x *ItemDoneEvent) ProtoReflect() protoreflect.Message
func (*ItemDoneEvent) Reset ¶ added in v1.0.39
func (x *ItemDoneEvent) Reset()
func (*ItemDoneEvent) String ¶ added in v1.0.39
func (x *ItemDoneEvent) String() string
type ItemEasyMessage ¶
type ItemEasyMessage struct {
// The type of the message input. Always `message`.
Type *ItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ItemType_Enum,oneof" json:"type,omitempty"` // p2p: {"const": "message"}
// The role of the message input. One of `user`, `assistant`, `system`, or `developer`.
Role MessageRole_Enum `protobuf:"varint,2,opt,name=role,proto3,enum=responses.MessageRole_Enum" json:"role,omitempty"`
// Text, image, or audio input to the model, used to generate a response. Can also contain previous assistant responses.
Content *MessageContent `protobuf:"bytes,3,opt,name=content,proto3,oneof" json:"content,omitempty"`
Id *string `protobuf:"bytes,4,opt,name=id,proto3,oneof" json:"id,omitempty"` // p2p: {"extra": {"skip": "true"}}
// contains filtered or unexported fields
}
func (*ItemEasyMessage) Descriptor
deprecated
func (*ItemEasyMessage) Descriptor() ([]byte, []int)
Deprecated: Use ItemEasyMessage.ProtoReflect.Descriptor instead.
func (*ItemEasyMessage) GetContent ¶
func (x *ItemEasyMessage) GetContent() *MessageContent
func (*ItemEasyMessage) GetId ¶
func (x *ItemEasyMessage) GetId() string
func (*ItemEasyMessage) GetRole ¶
func (x *ItemEasyMessage) GetRole() MessageRole_Enum
func (*ItemEasyMessage) GetType ¶
func (x *ItemEasyMessage) GetType() ItemType_Enum
func (*ItemEasyMessage) ProtoMessage ¶
func (*ItemEasyMessage) ProtoMessage()
func (*ItemEasyMessage) ProtoReflect ¶
func (x *ItemEasyMessage) ProtoReflect() protoreflect.Message
func (*ItemEasyMessage) Reset ¶
func (x *ItemEasyMessage) Reset()
func (*ItemEasyMessage) String ¶
func (x *ItemEasyMessage) String() string
type ItemEvent ¶
type ItemEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.output_item.added"}
OutputIndex int64 `protobuf:"varint,2,opt,name=output_index,json=outputIndex,proto3" json:"output_index"` // @inject_tag: json:"output_index"
Item *OutputItem `protobuf:"bytes,3,opt,name=item,proto3" json:"item,omitempty"`
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ItemEvent) Descriptor
deprecated
func (*ItemEvent) GetItem ¶
func (x *ItemEvent) GetItem() *OutputItem
func (*ItemEvent) GetOutputIndex ¶
func (*ItemEvent) GetSequenceNumber ¶
func (*ItemEvent) GetType ¶
func (x *ItemEvent) GetType() EventType_Enum
func (*ItemEvent) ProtoMessage ¶
func (*ItemEvent) ProtoMessage()
func (*ItemEvent) ProtoReflect ¶
func (x *ItemEvent) ProtoReflect() protoreflect.Message
type ItemFunctionImageProcess ¶
type ItemFunctionImageProcess struct {
Type ItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ItemType_Enum" json:"type,omitempty"` // p2p: {"const": "image_process"}
Action *ResponseImageProcessAction `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
Arguments *ResponseImageProcessArgs `protobuf:"bytes,3,opt,name=arguments,proto3" json:"arguments,omitempty"`
Status ItemStatus_Enum `protobuf:"varint,4,opt,name=status,proto3,enum=responses.ItemStatus_Enum" json:"status,omitempty"`
Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
Error *ResponseImageProcessError `protobuf:"bytes,6,opt,name=error,proto3,oneof" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*ItemFunctionImageProcess) Descriptor
deprecated
func (*ItemFunctionImageProcess) Descriptor() ([]byte, []int)
Deprecated: Use ItemFunctionImageProcess.ProtoReflect.Descriptor instead.
func (*ItemFunctionImageProcess) GetAction ¶
func (x *ItemFunctionImageProcess) GetAction() *ResponseImageProcessAction
func (*ItemFunctionImageProcess) GetArguments ¶
func (x *ItemFunctionImageProcess) GetArguments() *ResponseImageProcessArgs
func (*ItemFunctionImageProcess) GetError ¶
func (x *ItemFunctionImageProcess) GetError() *ResponseImageProcessError
func (*ItemFunctionImageProcess) GetId ¶
func (x *ItemFunctionImageProcess) GetId() string
func (*ItemFunctionImageProcess) GetStatus ¶
func (x *ItemFunctionImageProcess) GetStatus() ItemStatus_Enum
func (*ItemFunctionImageProcess) GetType ¶
func (x *ItemFunctionImageProcess) GetType() ItemType_Enum
func (*ItemFunctionImageProcess) ProtoMessage ¶
func (*ItemFunctionImageProcess) ProtoMessage()
func (*ItemFunctionImageProcess) ProtoReflect ¶
func (x *ItemFunctionImageProcess) ProtoReflect() protoreflect.Message
func (*ItemFunctionImageProcess) Reset ¶
func (x *ItemFunctionImageProcess) Reset()
func (*ItemFunctionImageProcess) String ¶
func (x *ItemFunctionImageProcess) String() string
type ItemFunctionKnowledgeSearch ¶ added in v1.0.39
type ItemFunctionKnowledgeSearch struct {
Type ItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ItemType_Enum" json:"type,omitempty"` // p2p: {"const": "knowledge_search_call"}
Queries []string `protobuf:"bytes,2,rep,name=queries,proto3" json:"queries,omitempty"`
KnowledgeResourceId string `protobuf:"bytes,3,opt,name=knowledge_resource_id,json=knowledgeResourceId,proto3" json:"knowledge_resource_id,omitempty"`
Status ItemStatus_Enum `protobuf:"varint,4,opt,name=status,proto3,enum=responses.ItemStatus_Enum" json:"status,omitempty"`
Id *string `protobuf:"bytes,5,opt,name=id,proto3,oneof" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*ItemFunctionKnowledgeSearch) Descriptor
deprecated
added in
v1.0.39
func (*ItemFunctionKnowledgeSearch) Descriptor() ([]byte, []int)
Deprecated: Use ItemFunctionKnowledgeSearch.ProtoReflect.Descriptor instead.
func (*ItemFunctionKnowledgeSearch) GetId ¶ added in v1.0.39
func (x *ItemFunctionKnowledgeSearch) GetId() string
func (*ItemFunctionKnowledgeSearch) GetKnowledgeResourceId ¶ added in v1.0.39
func (x *ItemFunctionKnowledgeSearch) GetKnowledgeResourceId() string
func (*ItemFunctionKnowledgeSearch) GetQueries ¶ added in v1.0.39
func (x *ItemFunctionKnowledgeSearch) GetQueries() []string
func (*ItemFunctionKnowledgeSearch) GetStatus ¶ added in v1.0.39
func (x *ItemFunctionKnowledgeSearch) GetStatus() ItemStatus_Enum
func (*ItemFunctionKnowledgeSearch) GetType ¶ added in v1.0.39
func (x *ItemFunctionKnowledgeSearch) GetType() ItemType_Enum
func (*ItemFunctionKnowledgeSearch) ProtoMessage ¶ added in v1.0.39
func (*ItemFunctionKnowledgeSearch) ProtoMessage()
func (*ItemFunctionKnowledgeSearch) ProtoReflect ¶ added in v1.0.39
func (x *ItemFunctionKnowledgeSearch) ProtoReflect() protoreflect.Message
func (*ItemFunctionKnowledgeSearch) Reset ¶ added in v1.0.39
func (x *ItemFunctionKnowledgeSearch) Reset()
func (*ItemFunctionKnowledgeSearch) String ¶ added in v1.0.39
func (x *ItemFunctionKnowledgeSearch) String() string
type ItemFunctionMcpApprovalRequest ¶
type ItemFunctionMcpApprovalRequest struct {
// The type of the item. Always `mcp_approval_request`.
Type ItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ItemType_Enum" json:"type,omitempty"` // p2p: {"const": "mcp_approval_request"}
// The label of the MCP server making the request.
ServerLabel string `protobuf:"bytes,2,opt,name=server_label,json=serverLabel,proto3" json:"server_label,omitempty"`
// A JSON string of arguments for the tool.
Arguments string `protobuf:"bytes,3,opt,name=arguments,proto3" json:"arguments,omitempty"`
// The name of the tool to run.
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// The unique ID of the approval request.
Id *string `protobuf:"bytes,5,opt,name=id,proto3,oneof" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*ItemFunctionMcpApprovalRequest) Descriptor
deprecated
func (*ItemFunctionMcpApprovalRequest) Descriptor() ([]byte, []int)
Deprecated: Use ItemFunctionMcpApprovalRequest.ProtoReflect.Descriptor instead.
func (*ItemFunctionMcpApprovalRequest) GetArguments ¶
func (x *ItemFunctionMcpApprovalRequest) GetArguments() string
func (*ItemFunctionMcpApprovalRequest) GetId ¶
func (x *ItemFunctionMcpApprovalRequest) GetId() string
func (*ItemFunctionMcpApprovalRequest) GetName ¶
func (x *ItemFunctionMcpApprovalRequest) GetName() string
func (*ItemFunctionMcpApprovalRequest) GetServerLabel ¶
func (x *ItemFunctionMcpApprovalRequest) GetServerLabel() string
func (*ItemFunctionMcpApprovalRequest) GetType ¶
func (x *ItemFunctionMcpApprovalRequest) GetType() ItemType_Enum
func (*ItemFunctionMcpApprovalRequest) ProtoMessage ¶
func (*ItemFunctionMcpApprovalRequest) ProtoMessage()
func (*ItemFunctionMcpApprovalRequest) ProtoReflect ¶
func (x *ItemFunctionMcpApprovalRequest) ProtoReflect() protoreflect.Message
func (*ItemFunctionMcpApprovalRequest) Reset ¶
func (x *ItemFunctionMcpApprovalRequest) Reset()
func (*ItemFunctionMcpApprovalRequest) String ¶
func (x *ItemFunctionMcpApprovalRequest) String() string
type ItemFunctionMcpApprovalResponse ¶
type ItemFunctionMcpApprovalResponse struct {
// The type of the item. Always `mcp_approval_response`.
Type ItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ItemType_Enum" json:"type,omitempty"` // p2p: {"const": "mcp_approval_response"}
// The unique ID of the approval response
Id *string `protobuf:"bytes,2,opt,name=id,proto3,oneof" json:"id,omitempty"`
// Whether the request was approved.
Approve bool `protobuf:"varint,3,opt,name=approve,proto3" json:"approve,omitempty"`
// The ID of the approval request being answered.
ApprovalRequestId string `protobuf:"bytes,4,opt,name=approval_request_id,json=approvalRequestId,proto3" json:"approval_request_id,omitempty"`
// Optional reason for the decision.
Reason *string `protobuf:"bytes,5,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
// contains filtered or unexported fields
}
func (*ItemFunctionMcpApprovalResponse) Descriptor
deprecated
func (*ItemFunctionMcpApprovalResponse) Descriptor() ([]byte, []int)
Deprecated: Use ItemFunctionMcpApprovalResponse.ProtoReflect.Descriptor instead.
func (*ItemFunctionMcpApprovalResponse) GetApprovalRequestId ¶
func (x *ItemFunctionMcpApprovalResponse) GetApprovalRequestId() string
func (*ItemFunctionMcpApprovalResponse) GetApprove ¶
func (x *ItemFunctionMcpApprovalResponse) GetApprove() bool
func (*ItemFunctionMcpApprovalResponse) GetId ¶
func (x *ItemFunctionMcpApprovalResponse) GetId() string
func (*ItemFunctionMcpApprovalResponse) GetReason ¶ added in v1.0.39
func (x *ItemFunctionMcpApprovalResponse) GetReason() string
func (*ItemFunctionMcpApprovalResponse) GetType ¶
func (x *ItemFunctionMcpApprovalResponse) GetType() ItemType_Enum
func (*ItemFunctionMcpApprovalResponse) ProtoMessage ¶
func (*ItemFunctionMcpApprovalResponse) ProtoMessage()
func (*ItemFunctionMcpApprovalResponse) ProtoReflect ¶
func (x *ItemFunctionMcpApprovalResponse) ProtoReflect() protoreflect.Message
func (*ItemFunctionMcpApprovalResponse) Reset ¶
func (x *ItemFunctionMcpApprovalResponse) Reset()
func (*ItemFunctionMcpApprovalResponse) String ¶
func (x *ItemFunctionMcpApprovalResponse) String() string
type ItemFunctionMcpCall ¶
type ItemFunctionMcpCall struct {
Type ItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ItemType_Enum" json:"type,omitempty"` // p2p: {"const": "mcp_call"}
ServerLabel string `protobuf:"bytes,2,opt,name=server_label,json=serverLabel,proto3" json:"server_label,omitempty"`
ApprovalRequestId *string `protobuf:"bytes,3,opt,name=approval_request_id,json=approvalRequestId,proto3,oneof" json:"approval_request_id,omitempty"` // p2p: {"extra": {"skip": "true"}}
Arguments string `protobuf:"bytes,4,opt,name=arguments,proto3" json:"arguments,omitempty"`
Error *string `protobuf:"bytes,5,opt,name=error,proto3,oneof" json:"error,omitempty"`
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
Output *string `protobuf:"bytes,7,opt,name=output,proto3,oneof" json:"output,omitempty"`
Id *string `protobuf:"bytes,8,opt,name=id,proto3,oneof" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*ItemFunctionMcpCall) Descriptor
deprecated
func (*ItemFunctionMcpCall) Descriptor() ([]byte, []int)
Deprecated: Use ItemFunctionMcpCall.ProtoReflect.Descriptor instead.
func (*ItemFunctionMcpCall) GetApprovalRequestId ¶
func (x *ItemFunctionMcpCall) GetApprovalRequestId() string
func (*ItemFunctionMcpCall) GetArguments ¶
func (x *ItemFunctionMcpCall) GetArguments() string
func (*ItemFunctionMcpCall) GetError ¶
func (x *ItemFunctionMcpCall) GetError() string
func (*ItemFunctionMcpCall) GetId ¶
func (x *ItemFunctionMcpCall) GetId() string
func (*ItemFunctionMcpCall) GetName ¶
func (x *ItemFunctionMcpCall) GetName() string
func (*ItemFunctionMcpCall) GetOutput ¶
func (x *ItemFunctionMcpCall) GetOutput() string
func (*ItemFunctionMcpCall) GetServerLabel ¶
func (x *ItemFunctionMcpCall) GetServerLabel() string
func (*ItemFunctionMcpCall) GetType ¶
func (x *ItemFunctionMcpCall) GetType() ItemType_Enum
func (*ItemFunctionMcpCall) ProtoMessage ¶
func (*ItemFunctionMcpCall) ProtoMessage()
func (*ItemFunctionMcpCall) ProtoReflect ¶
func (x *ItemFunctionMcpCall) ProtoReflect() protoreflect.Message
func (*ItemFunctionMcpCall) Reset ¶
func (x *ItemFunctionMcpCall) Reset()
func (*ItemFunctionMcpCall) String ¶
func (x *ItemFunctionMcpCall) String() string
type ItemFunctionMcpListTools ¶
type ItemFunctionMcpListTools struct {
// The type of the item. Always `mcp_list_tools`.
Type ItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ItemType_Enum" json:"type,omitempty"` // p2p: {"const": "mcp_list_tools"}
// The label of the MCP server.
ServerLabel string `protobuf:"bytes,2,opt,name=server_label,json=serverLabel,proto3" json:"server_label,omitempty"`
// The tools available on the server.
Tools []*McpTool `protobuf:"bytes,3,rep,name=tools,proto3" json:"tools,omitempty"`
// The unique ID of the list.
Id *string `protobuf:"bytes,4,opt,name=id,proto3,oneof" json:"id,omitempty"`
// Error message if the server could not list tools.
Error *string `protobuf:"bytes,5,opt,name=error,proto3,oneof" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*ItemFunctionMcpListTools) Descriptor
deprecated
func (*ItemFunctionMcpListTools) Descriptor() ([]byte, []int)
Deprecated: Use ItemFunctionMcpListTools.ProtoReflect.Descriptor instead.
func (*ItemFunctionMcpListTools) GetError ¶ added in v1.0.39
func (x *ItemFunctionMcpListTools) GetError() string
func (*ItemFunctionMcpListTools) GetId ¶
func (x *ItemFunctionMcpListTools) GetId() string
func (*ItemFunctionMcpListTools) GetServerLabel ¶
func (x *ItemFunctionMcpListTools) GetServerLabel() string
func (*ItemFunctionMcpListTools) GetTools ¶
func (x *ItemFunctionMcpListTools) GetTools() []*McpTool
func (*ItemFunctionMcpListTools) GetType ¶
func (x *ItemFunctionMcpListTools) GetType() ItemType_Enum
func (*ItemFunctionMcpListTools) ProtoMessage ¶
func (*ItemFunctionMcpListTools) ProtoMessage()
func (*ItemFunctionMcpListTools) ProtoReflect ¶
func (x *ItemFunctionMcpListTools) ProtoReflect() protoreflect.Message
func (*ItemFunctionMcpListTools) Reset ¶
func (x *ItemFunctionMcpListTools) Reset()
func (*ItemFunctionMcpListTools) String ¶
func (x *ItemFunctionMcpListTools) String() string
type ItemFunctionToolCall ¶
type ItemFunctionToolCall struct {
Arguments string `protobuf:"bytes,1,opt,name=arguments,proto3" json:"arguments,omitempty"`
CallId string `protobuf:"bytes,2,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Type ItemType_Enum `protobuf:"varint,4,opt,name=type,proto3,enum=responses.ItemType_Enum" json:"type,omitempty"` // p2p: {"const": "function_call"}
Id *string `protobuf:"bytes,5,opt,name=id,proto3,oneof" json:"id,omitempty"` // p2p: {"extra": {"skip": "true"}}
Status *ItemStatus_Enum `protobuf:"varint,6,opt,name=status,proto3,enum=responses.ItemStatus_Enum,oneof" json:"status,omitempty"` // p2p: {"extra": {"skip": "true"}}
// contains filtered or unexported fields
}
func (*ItemFunctionToolCall) Descriptor
deprecated
func (*ItemFunctionToolCall) Descriptor() ([]byte, []int)
Deprecated: Use ItemFunctionToolCall.ProtoReflect.Descriptor instead.
func (*ItemFunctionToolCall) GetArguments ¶
func (x *ItemFunctionToolCall) GetArguments() string
func (*ItemFunctionToolCall) GetCallId ¶
func (x *ItemFunctionToolCall) GetCallId() string
func (*ItemFunctionToolCall) GetId ¶
func (x *ItemFunctionToolCall) GetId() string
func (*ItemFunctionToolCall) GetName ¶
func (x *ItemFunctionToolCall) GetName() string
func (*ItemFunctionToolCall) GetStatus ¶
func (x *ItemFunctionToolCall) GetStatus() ItemStatus_Enum
func (*ItemFunctionToolCall) GetType ¶
func (x *ItemFunctionToolCall) GetType() ItemType_Enum
func (*ItemFunctionToolCall) ProtoMessage ¶
func (*ItemFunctionToolCall) ProtoMessage()
func (*ItemFunctionToolCall) ProtoReflect ¶
func (x *ItemFunctionToolCall) ProtoReflect() protoreflect.Message
func (*ItemFunctionToolCall) Reset ¶
func (x *ItemFunctionToolCall) Reset()
func (*ItemFunctionToolCall) String ¶
func (x *ItemFunctionToolCall) String() string
type ItemFunctionToolCallOutput ¶
type ItemFunctionToolCallOutput struct {
Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
CallId string `protobuf:"bytes,2,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"`
Type ItemType_Enum `protobuf:"varint,3,opt,name=type,proto3,enum=responses.ItemType_Enum" json:"type,omitempty"` // p2p: {"const": "function_call_output"}
Id *string `protobuf:"bytes,4,opt,name=id,proto3,oneof" json:"id,omitempty"` // p2p: {"extra": {"skip": "true"}}
Status *ItemStatus_Enum `protobuf:"varint,5,opt,name=status,proto3,enum=responses.ItemStatus_Enum,oneof" json:"status,omitempty"` // p2p: {"extra": {"skip": "true"}}
// contains filtered or unexported fields
}
func (*ItemFunctionToolCallOutput) Descriptor
deprecated
func (*ItemFunctionToolCallOutput) Descriptor() ([]byte, []int)
Deprecated: Use ItemFunctionToolCallOutput.ProtoReflect.Descriptor instead.
func (*ItemFunctionToolCallOutput) GetCallId ¶
func (x *ItemFunctionToolCallOutput) GetCallId() string
func (*ItemFunctionToolCallOutput) GetId ¶
func (x *ItemFunctionToolCallOutput) GetId() string
func (*ItemFunctionToolCallOutput) GetOutput ¶
func (x *ItemFunctionToolCallOutput) GetOutput() string
func (*ItemFunctionToolCallOutput) GetStatus ¶
func (x *ItemFunctionToolCallOutput) GetStatus() ItemStatus_Enum
func (*ItemFunctionToolCallOutput) GetType ¶
func (x *ItemFunctionToolCallOutput) GetType() ItemType_Enum
func (*ItemFunctionToolCallOutput) ProtoMessage ¶
func (*ItemFunctionToolCallOutput) ProtoMessage()
func (*ItemFunctionToolCallOutput) ProtoReflect ¶
func (x *ItemFunctionToolCallOutput) ProtoReflect() protoreflect.Message
func (*ItemFunctionToolCallOutput) Reset ¶
func (x *ItemFunctionToolCallOutput) Reset()
func (*ItemFunctionToolCallOutput) String ¶
func (x *ItemFunctionToolCallOutput) String() string
type ItemFunctionWebSearch ¶
type ItemFunctionWebSearch struct {
Type ItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ItemType_Enum" json:"type,omitempty"` // p2p: {"const": "web_search_call"}
Action *Action `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
Status ItemStatus_Enum `protobuf:"varint,3,opt,name=status,proto3,enum=responses.ItemStatus_Enum" json:"status,omitempty"`
Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*ItemFunctionWebSearch) Descriptor
deprecated
func (*ItemFunctionWebSearch) Descriptor() ([]byte, []int)
Deprecated: Use ItemFunctionWebSearch.ProtoReflect.Descriptor instead.
func (*ItemFunctionWebSearch) GetAction ¶
func (x *ItemFunctionWebSearch) GetAction() *Action
func (*ItemFunctionWebSearch) GetId ¶
func (x *ItemFunctionWebSearch) GetId() string
func (*ItemFunctionWebSearch) GetStatus ¶
func (x *ItemFunctionWebSearch) GetStatus() ItemStatus_Enum
func (*ItemFunctionWebSearch) GetType ¶
func (x *ItemFunctionWebSearch) GetType() ItemType_Enum
func (*ItemFunctionWebSearch) ProtoMessage ¶
func (*ItemFunctionWebSearch) ProtoMessage()
func (*ItemFunctionWebSearch) ProtoReflect ¶
func (x *ItemFunctionWebSearch) ProtoReflect() protoreflect.Message
func (*ItemFunctionWebSearch) Reset ¶
func (x *ItemFunctionWebSearch) Reset()
func (*ItemFunctionWebSearch) String ¶
func (x *ItemFunctionWebSearch) String() string
type ItemInputMessage ¶
type ItemInputMessage struct {
Type *ItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ItemType_Enum,oneof" json:"type,omitempty"` // p2p: {"const": "message"}
Role MessageRole_Enum `protobuf:"varint,2,opt,name=role,proto3,enum=responses.MessageRole_Enum" json:"role,omitempty"`
Content []*ContentItem `protobuf:"bytes,3,rep,name=content,proto3" json:"content,omitempty"`
Status *ItemStatus_Enum `protobuf:"varint,4,opt,name=status,proto3,enum=responses.ItemStatus_Enum,oneof" json:"status,omitempty"` // p2p: {"extra": {"skip": "true"}}
Id *string `protobuf:"bytes,5,opt,name=id,proto3,oneof" json:"id,omitempty"` // p2p: {"extra": {"skip": "true"}}
// contains filtered or unexported fields
}
func (*ItemInputMessage) Descriptor
deprecated
func (*ItemInputMessage) Descriptor() ([]byte, []int)
Deprecated: Use ItemInputMessage.ProtoReflect.Descriptor instead.
func (*ItemInputMessage) GetContent ¶
func (x *ItemInputMessage) GetContent() []*ContentItem
func (*ItemInputMessage) GetId ¶
func (x *ItemInputMessage) GetId() string
func (*ItemInputMessage) GetRole ¶
func (x *ItemInputMessage) GetRole() MessageRole_Enum
func (*ItemInputMessage) GetStatus ¶
func (x *ItemInputMessage) GetStatus() ItemStatus_Enum
func (*ItemInputMessage) GetType ¶
func (x *ItemInputMessage) GetType() ItemType_Enum
func (*ItemInputMessage) ProtoMessage ¶
func (*ItemInputMessage) ProtoMessage()
func (*ItemInputMessage) ProtoReflect ¶
func (x *ItemInputMessage) ProtoReflect() protoreflect.Message
func (*ItemInputMessage) Reset ¶
func (x *ItemInputMessage) Reset()
func (*ItemInputMessage) String ¶
func (x *ItemInputMessage) String() string
type ItemOutputMessage ¶
type ItemOutputMessage struct {
Type ItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ItemType_Enum" json:"type,omitempty"` // p2p: {"required": true, "const": "message"}
Role MessageRole_Enum `protobuf:"varint,2,opt,name=role,proto3,enum=responses.MessageRole_Enum" json:"role,omitempty"`
Content []*OutputContentItem `protobuf:"bytes,3,rep,name=content,proto3" json:"content,omitempty"`
Status ItemStatus_Enum `protobuf:"varint,4,opt,name=status,proto3,enum=responses.ItemStatus_Enum" json:"status,omitempty"`
Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*ItemOutputMessage) Descriptor
deprecated
func (*ItemOutputMessage) Descriptor() ([]byte, []int)
Deprecated: Use ItemOutputMessage.ProtoReflect.Descriptor instead.
func (*ItemOutputMessage) GetContent ¶
func (x *ItemOutputMessage) GetContent() []*OutputContentItem
func (*ItemOutputMessage) GetId ¶
func (x *ItemOutputMessage) GetId() string
func (*ItemOutputMessage) GetRole ¶
func (x *ItemOutputMessage) GetRole() MessageRole_Enum
func (*ItemOutputMessage) GetStatus ¶
func (x *ItemOutputMessage) GetStatus() ItemStatus_Enum
func (*ItemOutputMessage) GetType ¶
func (x *ItemOutputMessage) GetType() ItemType_Enum
func (*ItemOutputMessage) ProtoMessage ¶
func (*ItemOutputMessage) ProtoMessage()
func (*ItemOutputMessage) ProtoReflect ¶
func (x *ItemOutputMessage) ProtoReflect() protoreflect.Message
func (*ItemOutputMessage) Reset ¶
func (x *ItemOutputMessage) Reset()
func (*ItemOutputMessage) String ¶
func (x *ItemOutputMessage) String() string
type ItemReasoning ¶
type ItemReasoning struct {
Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
Type ItemType_Enum `protobuf:"varint,2,opt,name=type,proto3,enum=responses.ItemType_Enum" json:"type,omitempty"` // p2p: {"const": "reasoning"}
Summary []*ReasoningSummaryPart `protobuf:"bytes,3,rep,name=summary,proto3" json:"summary,omitempty"`
Status ItemStatus_Enum `protobuf:"varint,4,opt,name=status,proto3,enum=responses.ItemStatus_Enum" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*ItemReasoning) Descriptor
deprecated
func (*ItemReasoning) Descriptor() ([]byte, []int)
Deprecated: Use ItemReasoning.ProtoReflect.Descriptor instead.
func (*ItemReasoning) GetId ¶
func (x *ItemReasoning) GetId() string
func (*ItemReasoning) GetStatus ¶
func (x *ItemReasoning) GetStatus() ItemStatus_Enum
func (*ItemReasoning) GetSummary ¶
func (x *ItemReasoning) GetSummary() []*ReasoningSummaryPart
func (*ItemReasoning) GetType ¶
func (x *ItemReasoning) GetType() ItemType_Enum
func (*ItemReasoning) ProtoMessage ¶
func (*ItemReasoning) ProtoMessage()
func (*ItemReasoning) ProtoReflect ¶
func (x *ItemReasoning) ProtoReflect() protoreflect.Message
func (*ItemReasoning) Reset ¶
func (x *ItemReasoning) Reset()
func (*ItemReasoning) String ¶
func (x *ItemReasoning) String() string
type ItemReference ¶
type ItemReference struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Type *ItemType_Enum `protobuf:"varint,2,opt,name=type,proto3,enum=responses.ItemType_Enum,oneof" json:"type,omitempty"` // p2p: {"const": "item_reference"}
// contains filtered or unexported fields
}
func (*ItemReference) Descriptor
deprecated
func (*ItemReference) Descriptor() ([]byte, []int)
Deprecated: Use ItemReference.ProtoReflect.Descriptor instead.
func (*ItemReference) GetId ¶
func (x *ItemReference) GetId() string
func (*ItemReference) GetType ¶
func (x *ItemReference) GetType() ItemType_Enum
func (*ItemReference) ProtoMessage ¶
func (*ItemReference) ProtoMessage()
func (*ItemReference) ProtoReflect ¶
func (x *ItemReference) ProtoReflect() protoreflect.Message
func (*ItemReference) Reset ¶
func (x *ItemReference) Reset()
func (*ItemReference) String ¶
func (x *ItemReference) String() string
type ItemStatus ¶
type ItemStatus struct {
// contains filtered or unexported fields
}
func (*ItemStatus) Descriptor
deprecated
func (*ItemStatus) Descriptor() ([]byte, []int)
Deprecated: Use ItemStatus.ProtoReflect.Descriptor instead.
func (*ItemStatus) ProtoMessage ¶
func (*ItemStatus) ProtoMessage()
func (*ItemStatus) ProtoReflect ¶
func (x *ItemStatus) ProtoReflect() protoreflect.Message
func (*ItemStatus) Reset ¶
func (x *ItemStatus) Reset()
func (*ItemStatus) String ¶
func (x *ItemStatus) String() string
type ItemStatus_Enum ¶
type ItemStatus_Enum int32
const ( ItemStatus_unspecified ItemStatus_Enum = 0 ItemStatus_in_progress ItemStatus_Enum = 1 ItemStatus_completed ItemStatus_Enum = 2 ItemStatus_incomplete ItemStatus_Enum = 3 ItemStatus_searching ItemStatus_Enum = 4 // for web search ItemStatus_failed ItemStatus_Enum = 5 // for web search )
func (ItemStatus_Enum) Descriptor ¶
func (ItemStatus_Enum) Descriptor() protoreflect.EnumDescriptor
func (ItemStatus_Enum) Enum ¶
func (x ItemStatus_Enum) Enum() *ItemStatus_Enum
func (ItemStatus_Enum) EnumDescriptor
deprecated
func (ItemStatus_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ItemStatus_Enum.Descriptor instead.
func (ItemStatus_Enum) MarshalJSON ¶
func (r ItemStatus_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (ItemStatus_Enum) Number ¶
func (x ItemStatus_Enum) Number() protoreflect.EnumNumber
func (ItemStatus_Enum) String ¶
func (x ItemStatus_Enum) String() string
func (ItemStatus_Enum) Type ¶
func (ItemStatus_Enum) Type() protoreflect.EnumType
func (*ItemStatus_Enum) UnmarshalJSON ¶
func (r *ItemStatus_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ItemTranscription ¶
type ItemTranscription struct {
Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"`
Type ItemType_Enum `protobuf:"varint,2,opt,name=type,proto3,enum=responses.ItemType_Enum" json:"type,omitempty"` // p2p: {"const": "transcription"}
Transcription []*TranscriptionPart `protobuf:"bytes,3,rep,name=transcription,proto3" json:"transcription,omitempty"`
Status ItemStatus_Enum `protobuf:"varint,4,opt,name=status,proto3,enum=responses.ItemStatus_Enum" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*ItemTranscription) Descriptor
deprecated
func (*ItemTranscription) Descriptor() ([]byte, []int)
Deprecated: Use ItemTranscription.ProtoReflect.Descriptor instead.
func (*ItemTranscription) GetId ¶
func (x *ItemTranscription) GetId() string
func (*ItemTranscription) GetStatus ¶
func (x *ItemTranscription) GetStatus() ItemStatus_Enum
func (*ItemTranscription) GetTranscription ¶
func (x *ItemTranscription) GetTranscription() []*TranscriptionPart
func (*ItemTranscription) GetType ¶
func (x *ItemTranscription) GetType() ItemType_Enum
func (*ItemTranscription) ProtoMessage ¶
func (*ItemTranscription) ProtoMessage()
func (*ItemTranscription) ProtoReflect ¶
func (x *ItemTranscription) ProtoReflect() protoreflect.Message
func (*ItemTranscription) Reset ¶
func (x *ItemTranscription) Reset()
func (*ItemTranscription) String ¶
func (x *ItemTranscription) String() string
type ItemType ¶
type ItemType struct {
// contains filtered or unexported fields
}
func (*ItemType) Descriptor
deprecated
func (*ItemType) ProtoMessage ¶
func (*ItemType) ProtoMessage()
func (*ItemType) ProtoReflect ¶
func (x *ItemType) ProtoReflect() protoreflect.Message
type ItemType_Enum ¶
type ItemType_Enum int32
const ( ItemType_unspecified ItemType_Enum = 0 ItemType_message ItemType_Enum = 1 ItemType_function_call ItemType_Enum = 2 ItemType_function_call_output ItemType_Enum = 3 ItemType_reasoning ItemType_Enum = 4 ItemType_item_reference ItemType_Enum = 5 ItemType_transcription ItemType_Enum = 6 ItemType_web_search_call ItemType_Enum = 7 ItemType_image_process ItemType_Enum = 8 ItemType_mcp_approval_request ItemType_Enum = 9 ItemType_mcp_approval_response ItemType_Enum = 10 ItemType_mcp_list_tools ItemType_Enum = 11 ItemType_mcp_call ItemType_Enum = 12 ItemType_knowledge_search_call ItemType_Enum = 13 )
func (ItemType_Enum) Descriptor ¶
func (ItemType_Enum) Descriptor() protoreflect.EnumDescriptor
func (ItemType_Enum) Enum ¶
func (x ItemType_Enum) Enum() *ItemType_Enum
func (ItemType_Enum) EnumDescriptor
deprecated
func (ItemType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ItemType_Enum.Descriptor instead.
func (ItemType_Enum) MarshalJSON ¶
func (r ItemType_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (ItemType_Enum) Number ¶
func (x ItemType_Enum) Number() protoreflect.EnumNumber
func (ItemType_Enum) String ¶
func (x ItemType_Enum) String() string
func (ItemType_Enum) Type ¶
func (ItemType_Enum) Type() protoreflect.EnumType
func (*ItemType_Enum) UnmarshalJSON ¶
func (r *ItemType_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type KnowledgeSearchToolChoice ¶ added in v1.0.39
type KnowledgeSearchToolChoice struct {
Type ToolType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ToolType_Enum" json:"type,omitempty"` // p2p: {"const": "knowledge_search"}
// contains filtered or unexported fields
}
func (*KnowledgeSearchToolChoice) Descriptor
deprecated
added in
v1.0.39
func (*KnowledgeSearchToolChoice) Descriptor() ([]byte, []int)
Deprecated: Use KnowledgeSearchToolChoice.ProtoReflect.Descriptor instead.
func (*KnowledgeSearchToolChoice) GetType ¶ added in v1.0.39
func (x *KnowledgeSearchToolChoice) GetType() ToolType_Enum
func (*KnowledgeSearchToolChoice) ProtoMessage ¶ added in v1.0.39
func (*KnowledgeSearchToolChoice) ProtoMessage()
func (*KnowledgeSearchToolChoice) ProtoReflect ¶ added in v1.0.39
func (x *KnowledgeSearchToolChoice) ProtoReflect() protoreflect.Message
func (*KnowledgeSearchToolChoice) Reset ¶ added in v1.0.39
func (x *KnowledgeSearchToolChoice) Reset()
func (*KnowledgeSearchToolChoice) String ¶ added in v1.0.39
func (x *KnowledgeSearchToolChoice) String() string
type ListInputItemsRequest ¶
type ListInputItemsRequest struct {
ResponseId string `protobuf:"bytes,1,opt,name=response_id,json=responseId,proto3" json:"response_id,omitempty" path:"response_id,required"` // @inject_tag: path:"response_id,required"
// An item ID to list items after, used in pagination.
After *string `protobuf:"bytes,2,opt,name=after,proto3,oneof" json:"after,omitempty" query:"after,omitempty"` // @inject_tag: query:"after,omitempty"
// An item ID to list items before, used in pagination.
Before *string `protobuf:"bytes,3,opt,name=before,proto3,oneof" json:"before,omitempty" query:"before,omitempty"` // @inject_tag: query:"before,omitempty"
// A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
Limit *int32 `protobuf:"varint,4,opt,name=limit,proto3,oneof" json:"limit,omitempty" query:"limit,omitempty"` // @inject_tag: query:"limit,omitempty"
// The order to return the input items in. Default is `desc`. `asc`: Return the input items in ascending order. `desc`: Return the input items in descending order.
Order *string `protobuf:"bytes,5,opt,name=order,proto3,oneof" json:"order,omitempty" query:"order,omitempty"` // @inject_tag: query:"order,omitempty"
// Additional fields to include in the response. See the `include` parameter for Response creation above for more information.
Include []IncludeType_Enum `` // @inject_tag: query:"include,omitempty"
/* 133-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ListInputItemsRequest) Descriptor
deprecated
func (*ListInputItemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInputItemsRequest.ProtoReflect.Descriptor instead.
func (*ListInputItemsRequest) GetAfter ¶
func (x *ListInputItemsRequest) GetAfter() string
func (*ListInputItemsRequest) GetBefore ¶
func (x *ListInputItemsRequest) GetBefore() string
func (*ListInputItemsRequest) GetInclude ¶
func (x *ListInputItemsRequest) GetInclude() []IncludeType_Enum
func (*ListInputItemsRequest) GetLimit ¶
func (x *ListInputItemsRequest) GetLimit() int32
func (*ListInputItemsRequest) GetOrder ¶
func (x *ListInputItemsRequest) GetOrder() string
func (*ListInputItemsRequest) GetResponseId ¶
func (x *ListInputItemsRequest) GetResponseId() string
func (*ListInputItemsRequest) ProtoMessage ¶
func (*ListInputItemsRequest) ProtoMessage()
func (*ListInputItemsRequest) ProtoReflect ¶
func (x *ListInputItemsRequest) ProtoReflect() protoreflect.Message
func (*ListInputItemsRequest) Reset ¶
func (x *ListInputItemsRequest) Reset()
func (*ListInputItemsRequest) String ¶
func (x *ListInputItemsRequest) String() string
func (*ListInputItemsRequest) URLQuery ¶
func (x *ListInputItemsRequest) URLQuery() (v url.Values, err error)
URLQuery serializes ListInputItemsRequest's query parameters as `url.Values`.
type ListInputItemsResponse ¶
type ListInputItemsResponse struct {
Object ObjectType_Enum `protobuf:"varint,1,opt,name=object,proto3,enum=responses.ObjectType_Enum" json:"object,omitempty"` // 固定为 "list"
Data []*InputItem `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
FirstId string `protobuf:"bytes,3,opt,name=first_id,json=firstId,proto3" json:"first_id,omitempty"`
LastId string `protobuf:"bytes,4,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty"`
HasMore *bool `protobuf:"varint,5,opt,name=has_more,json=hasMore,proto3,oneof" json:"has_more"` // @inject_tag: json:"has_more"
model.HttpHeader
// contains filtered or unexported fields
}
func (*ListInputItemsResponse) Descriptor
deprecated
func (*ListInputItemsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInputItemsResponse.ProtoReflect.Descriptor instead.
func (*ListInputItemsResponse) GetData ¶
func (x *ListInputItemsResponse) GetData() []*InputItem
func (*ListInputItemsResponse) GetFirstId ¶
func (x *ListInputItemsResponse) GetFirstId() string
func (*ListInputItemsResponse) GetHasMore ¶
func (x *ListInputItemsResponse) GetHasMore() bool
func (*ListInputItemsResponse) GetLastId ¶
func (x *ListInputItemsResponse) GetLastId() string
func (*ListInputItemsResponse) GetObject ¶
func (x *ListInputItemsResponse) GetObject() ObjectType_Enum
func (*ListInputItemsResponse) ProtoMessage ¶
func (*ListInputItemsResponse) ProtoMessage()
func (*ListInputItemsResponse) ProtoReflect ¶
func (x *ListInputItemsResponse) ProtoReflect() protoreflect.Message
func (*ListInputItemsResponse) Reset ¶
func (x *ListInputItemsResponse) Reset()
func (*ListInputItemsResponse) String ¶
func (x *ListInputItemsResponse) String() string
type McpAllowedTools ¶
type McpAllowedTools struct {
// Types that are assignable to Union:
//
// *McpAllowedTools_List
// *McpAllowedTools_Filter
Union isMcpAllowedTools_Union `protobuf_oneof:"union"`
// contains filtered or unexported fields
}
func (*McpAllowedTools) Descriptor
deprecated
func (*McpAllowedTools) Descriptor() ([]byte, []int)
Deprecated: Use McpAllowedTools.ProtoReflect.Descriptor instead.
func (*McpAllowedTools) GetFilter ¶
func (x *McpAllowedTools) GetFilter() *McpAllowedToolsFilter
func (*McpAllowedTools) GetList ¶
func (x *McpAllowedTools) GetList() *McpAllowedToolsList
func (*McpAllowedTools) GetUnion ¶
func (m *McpAllowedTools) GetUnion() isMcpAllowedTools_Union
func (*McpAllowedTools) MarshalJSON ¶
func (r *McpAllowedTools) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (*McpAllowedTools) ProtoMessage ¶
func (*McpAllowedTools) ProtoMessage()
func (*McpAllowedTools) ProtoReflect ¶
func (x *McpAllowedTools) ProtoReflect() protoreflect.Message
func (*McpAllowedTools) Reset ¶
func (x *McpAllowedTools) Reset()
func (*McpAllowedTools) String ¶
func (x *McpAllowedTools) String() string
func (*McpAllowedTools) UnmarshalJSON ¶
func (r *McpAllowedTools) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type McpAllowedToolsFilter ¶
type McpAllowedToolsFilter struct {
ToolNames []string `protobuf:"bytes,1,rep,name=tool_names,json=toolNames,proto3" json:"tool_names,omitempty"`
// contains filtered or unexported fields
}
func (*McpAllowedToolsFilter) Descriptor
deprecated
func (*McpAllowedToolsFilter) Descriptor() ([]byte, []int)
Deprecated: Use McpAllowedToolsFilter.ProtoReflect.Descriptor instead.
func (*McpAllowedToolsFilter) GetToolNames ¶
func (x *McpAllowedToolsFilter) GetToolNames() []string
func (*McpAllowedToolsFilter) ProtoMessage ¶
func (*McpAllowedToolsFilter) ProtoMessage()
func (*McpAllowedToolsFilter) ProtoReflect ¶
func (x *McpAllowedToolsFilter) ProtoReflect() protoreflect.Message
func (*McpAllowedToolsFilter) Reset ¶
func (x *McpAllowedToolsFilter) Reset()
func (*McpAllowedToolsFilter) String ¶
func (x *McpAllowedToolsFilter) String() string
type McpAllowedToolsList ¶
type McpAllowedToolsList struct {
Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
func (*McpAllowedToolsList) Descriptor
deprecated
func (*McpAllowedToolsList) Descriptor() ([]byte, []int)
Deprecated: Use McpAllowedToolsList.ProtoReflect.Descriptor instead.
func (*McpAllowedToolsList) GetValues ¶
func (x *McpAllowedToolsList) GetValues() []string
func (*McpAllowedToolsList) ProtoMessage ¶
func (*McpAllowedToolsList) ProtoMessage()
func (*McpAllowedToolsList) ProtoReflect ¶
func (x *McpAllowedToolsList) ProtoReflect() protoreflect.Message
func (*McpAllowedToolsList) Reset ¶
func (x *McpAllowedToolsList) Reset()
func (*McpAllowedToolsList) String ¶
func (x *McpAllowedToolsList) String() string
type McpAllowedTools_Filter ¶
type McpAllowedTools_Filter struct {
Filter *McpAllowedToolsFilter `protobuf:"bytes,2,opt,name=filter,proto3,oneof"`
}
type McpAllowedTools_List ¶
type McpAllowedTools_List struct {
List *McpAllowedToolsList `protobuf:"bytes,1,opt,name=list,proto3,oneof"`
}
type McpRequireApproval ¶
type McpRequireApproval struct {
// Types that are assignable to Union:
//
// *McpRequireApproval_Mode
// *McpRequireApproval_Filter
Union isMcpRequireApproval_Union `protobuf_oneof:"union"`
// contains filtered or unexported fields
}
func (*McpRequireApproval) Descriptor
deprecated
func (*McpRequireApproval) Descriptor() ([]byte, []int)
Deprecated: Use McpRequireApproval.ProtoReflect.Descriptor instead.
func (*McpRequireApproval) GetFilter ¶
func (x *McpRequireApproval) GetFilter() *McpToolApprovalFilter
func (*McpRequireApproval) GetMode ¶
func (x *McpRequireApproval) GetMode() ApprovalMode_Enum
func (*McpRequireApproval) GetUnion ¶
func (m *McpRequireApproval) GetUnion() isMcpRequireApproval_Union
func (*McpRequireApproval) MarshalJSON ¶
func (r *McpRequireApproval) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (*McpRequireApproval) ProtoMessage ¶
func (*McpRequireApproval) ProtoMessage()
func (*McpRequireApproval) ProtoReflect ¶
func (x *McpRequireApproval) ProtoReflect() protoreflect.Message
func (*McpRequireApproval) Reset ¶
func (x *McpRequireApproval) Reset()
func (*McpRequireApproval) String ¶
func (x *McpRequireApproval) String() string
func (*McpRequireApproval) UnmarshalJSON ¶
func (r *McpRequireApproval) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type McpRequireApproval_Filter ¶
type McpRequireApproval_Filter struct {
Filter *McpToolApprovalFilter `protobuf:"bytes,2,opt,name=filter,proto3,oneof"` // dict
}
type McpRequireApproval_Mode ¶
type McpRequireApproval_Mode struct {
Mode ApprovalMode_Enum `protobuf:"varint,1,opt,name=mode,proto3,enum=responses.ApprovalMode_Enum,oneof"`
}
type McpTool ¶
type McpTool struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
InputSchema *structpb.Struct `protobuf:"bytes,3,opt,name=input_schema,json=inputSchema,proto3,oneof" json:"input_schema,omitempty"`
// contains filtered or unexported fields
}
func (*McpTool) Descriptor
deprecated
func (*McpTool) GetDescription ¶
func (*McpTool) GetInputSchema ¶
func (*McpTool) ProtoMessage ¶
func (*McpTool) ProtoMessage()
func (*McpTool) ProtoReflect ¶
func (x *McpTool) ProtoReflect() protoreflect.Message
type McpToolApprovalFilter ¶
type McpToolApprovalFilter struct {
Always *McpToolApprovalFilterAlways `protobuf:"bytes,1,opt,name=always,proto3,oneof" json:"always,omitempty"`
Never *McpToolApprovalFilterNever `protobuf:"bytes,2,opt,name=never,proto3,oneof" json:"never,omitempty"`
// contains filtered or unexported fields
}
func (*McpToolApprovalFilter) Descriptor
deprecated
func (*McpToolApprovalFilter) Descriptor() ([]byte, []int)
Deprecated: Use McpToolApprovalFilter.ProtoReflect.Descriptor instead.
func (*McpToolApprovalFilter) GetAlways ¶
func (x *McpToolApprovalFilter) GetAlways() *McpToolApprovalFilterAlways
func (*McpToolApprovalFilter) GetNever ¶
func (x *McpToolApprovalFilter) GetNever() *McpToolApprovalFilterNever
func (*McpToolApprovalFilter) ProtoMessage ¶
func (*McpToolApprovalFilter) ProtoMessage()
func (*McpToolApprovalFilter) ProtoReflect ¶
func (x *McpToolApprovalFilter) ProtoReflect() protoreflect.Message
func (*McpToolApprovalFilter) Reset ¶
func (x *McpToolApprovalFilter) Reset()
func (*McpToolApprovalFilter) String ¶
func (x *McpToolApprovalFilter) String() string
type McpToolApprovalFilterAlways ¶
type McpToolApprovalFilterAlways struct {
ToolNames []string `protobuf:"bytes,1,rep,name=tool_names,json=toolNames,proto3" json:"tool_names,omitempty"`
// contains filtered or unexported fields
}
func (*McpToolApprovalFilterAlways) Descriptor
deprecated
func (*McpToolApprovalFilterAlways) Descriptor() ([]byte, []int)
Deprecated: Use McpToolApprovalFilterAlways.ProtoReflect.Descriptor instead.
func (*McpToolApprovalFilterAlways) GetToolNames ¶
func (x *McpToolApprovalFilterAlways) GetToolNames() []string
func (*McpToolApprovalFilterAlways) ProtoMessage ¶
func (*McpToolApprovalFilterAlways) ProtoMessage()
func (*McpToolApprovalFilterAlways) ProtoReflect ¶
func (x *McpToolApprovalFilterAlways) ProtoReflect() protoreflect.Message
func (*McpToolApprovalFilterAlways) Reset ¶
func (x *McpToolApprovalFilterAlways) Reset()
func (*McpToolApprovalFilterAlways) String ¶
func (x *McpToolApprovalFilterAlways) String() string
type McpToolApprovalFilterNever ¶
type McpToolApprovalFilterNever struct {
ToolNames []string `protobuf:"bytes,1,rep,name=tool_names,json=toolNames,proto3" json:"tool_names,omitempty"`
// contains filtered or unexported fields
}
func (*McpToolApprovalFilterNever) Descriptor
deprecated
func (*McpToolApprovalFilterNever) Descriptor() ([]byte, []int)
Deprecated: Use McpToolApprovalFilterNever.ProtoReflect.Descriptor instead.
func (*McpToolApprovalFilterNever) GetToolNames ¶
func (x *McpToolApprovalFilterNever) GetToolNames() []string
func (*McpToolApprovalFilterNever) ProtoMessage ¶
func (*McpToolApprovalFilterNever) ProtoMessage()
func (*McpToolApprovalFilterNever) ProtoReflect ¶
func (x *McpToolApprovalFilterNever) ProtoReflect() protoreflect.Message
func (*McpToolApprovalFilterNever) Reset ¶
func (x *McpToolApprovalFilterNever) Reset()
func (*McpToolApprovalFilterNever) String ¶
func (x *McpToolApprovalFilterNever) String() string
type McpToolChoice ¶ added in v1.0.39
type McpToolChoice struct {
// For MCP tools, the type is always `mcp`.
Type ToolType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ToolType_Enum" json:"type,omitempty"` // p2p: {"const": "mcp"}
// The label of the MCP server to use.
ServerLabel string `protobuf:"bytes,2,opt,name=server_label,json=serverLabel,proto3" json:"server_label,omitempty"`
// The name of the tool to call on the server.
Name *string `protobuf:"bytes,3,opt,name=name,proto3,oneof" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*McpToolChoice) Descriptor
deprecated
added in
v1.0.39
func (*McpToolChoice) Descriptor() ([]byte, []int)
Deprecated: Use McpToolChoice.ProtoReflect.Descriptor instead.
func (*McpToolChoice) GetName ¶ added in v1.0.39
func (x *McpToolChoice) GetName() string
func (*McpToolChoice) GetServerLabel ¶ added in v1.0.39
func (x *McpToolChoice) GetServerLabel() string
func (*McpToolChoice) GetType ¶ added in v1.0.39
func (x *McpToolChoice) GetType() ToolType_Enum
func (*McpToolChoice) ProtoMessage ¶ added in v1.0.39
func (*McpToolChoice) ProtoMessage()
func (*McpToolChoice) ProtoReflect ¶ added in v1.0.39
func (x *McpToolChoice) ProtoReflect() protoreflect.Message
func (*McpToolChoice) Reset ¶ added in v1.0.39
func (x *McpToolChoice) Reset()
func (*McpToolChoice) String ¶ added in v1.0.39
func (x *McpToolChoice) String() string
type MessageContent ¶
type MessageContent struct {
// Types that are assignable to Union:
//
// *MessageContent_StringValue
// *MessageContent_ListValue
Union isMessageContent_Union `protobuf_oneof:"union"`
// contains filtered or unexported fields
}
func (*MessageContent) Descriptor
deprecated
func (*MessageContent) Descriptor() ([]byte, []int)
Deprecated: Use MessageContent.ProtoReflect.Descriptor instead.
func (*MessageContent) GetListValue ¶
func (x *MessageContent) GetListValue() *ContentItemList
func (*MessageContent) GetStringValue ¶
func (x *MessageContent) GetStringValue() string
func (*MessageContent) GetUnion ¶
func (m *MessageContent) GetUnion() isMessageContent_Union
func (*MessageContent) MarshalJSON ¶
func (r *MessageContent) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (*MessageContent) ProtoMessage ¶
func (*MessageContent) ProtoMessage()
func (*MessageContent) ProtoReflect ¶
func (x *MessageContent) ProtoReflect() protoreflect.Message
func (*MessageContent) Reset ¶
func (x *MessageContent) Reset()
func (*MessageContent) String ¶
func (x *MessageContent) String() string
func (*MessageContent) UnmarshalJSON ¶
func (r *MessageContent) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type MessageContent_ListValue ¶
type MessageContent_ListValue struct {
ListValue *ContentItemList `protobuf:"bytes,2,opt,name=ListValue,proto3,oneof"`
}
type MessageContent_StringValue ¶
type MessageContent_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=StringValue,proto3,oneof"`
}
type MessageRole ¶
type MessageRole struct {
// contains filtered or unexported fields
}
func (*MessageRole) Descriptor
deprecated
func (*MessageRole) Descriptor() ([]byte, []int)
Deprecated: Use MessageRole.ProtoReflect.Descriptor instead.
func (*MessageRole) ProtoMessage ¶
func (*MessageRole) ProtoMessage()
func (*MessageRole) ProtoReflect ¶
func (x *MessageRole) ProtoReflect() protoreflect.Message
func (*MessageRole) Reset ¶
func (x *MessageRole) Reset()
func (*MessageRole) String ¶
func (x *MessageRole) String() string
type MessageRole_Enum ¶
type MessageRole_Enum int32
const ( MessageRole_unspecified MessageRole_Enum = 0 MessageRole_user MessageRole_Enum = 1 MessageRole_system MessageRole_Enum = 2 MessageRole_developer MessageRole_Enum = 3 MessageRole_assistant MessageRole_Enum = 4 )
func (MessageRole_Enum) Descriptor ¶
func (MessageRole_Enum) Descriptor() protoreflect.EnumDescriptor
func (MessageRole_Enum) Enum ¶
func (x MessageRole_Enum) Enum() *MessageRole_Enum
func (MessageRole_Enum) EnumDescriptor
deprecated
func (MessageRole_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageRole_Enum.Descriptor instead.
func (MessageRole_Enum) MarshalJSON ¶
func (r MessageRole_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (MessageRole_Enum) Number ¶
func (x MessageRole_Enum) Number() protoreflect.EnumNumber
func (MessageRole_Enum) String ¶
func (x MessageRole_Enum) String() string
func (MessageRole_Enum) Type ¶
func (MessageRole_Enum) Type() protoreflect.EnumType
func (*MessageRole_Enum) UnmarshalJSON ¶
func (r *MessageRole_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ObjectType ¶
type ObjectType struct {
// contains filtered or unexported fields
}
func (*ObjectType) Descriptor
deprecated
func (*ObjectType) Descriptor() ([]byte, []int)
Deprecated: Use ObjectType.ProtoReflect.Descriptor instead.
func (*ObjectType) ProtoMessage ¶
func (*ObjectType) ProtoMessage()
func (*ObjectType) ProtoReflect ¶
func (x *ObjectType) ProtoReflect() protoreflect.Message
func (*ObjectType) Reset ¶
func (x *ObjectType) Reset()
func (*ObjectType) String ¶
func (x *ObjectType) String() string
type ObjectType_Enum ¶
type ObjectType_Enum int32
const ( ObjectType_unspecified ObjectType_Enum = 0 ObjectType_response ObjectType_Enum = 1 ObjectType_list ObjectType_Enum = 2 )
func (ObjectType_Enum) Descriptor ¶
func (ObjectType_Enum) Descriptor() protoreflect.EnumDescriptor
func (ObjectType_Enum) Enum ¶
func (x ObjectType_Enum) Enum() *ObjectType_Enum
func (ObjectType_Enum) EnumDescriptor
deprecated
func (ObjectType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ObjectType_Enum.Descriptor instead.
func (ObjectType_Enum) MarshalJSON ¶
func (r ObjectType_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (ObjectType_Enum) Number ¶
func (x ObjectType_Enum) Number() protoreflect.EnumNumber
func (ObjectType_Enum) String ¶
func (x ObjectType_Enum) String() string
func (ObjectType_Enum) Type ¶
func (ObjectType_Enum) Type() protoreflect.EnumType
func (*ObjectType_Enum) UnmarshalJSON ¶
func (r *ObjectType_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type OutputContentItem ¶
type OutputContentItem struct {
// Types that are assignable to Union:
//
// *OutputContentItem_Text
Union isOutputContentItem_Union `protobuf_oneof:"union"`
// contains filtered or unexported fields
}
func (*OutputContentItem) Descriptor
deprecated
func (*OutputContentItem) Descriptor() ([]byte, []int)
Deprecated: Use OutputContentItem.ProtoReflect.Descriptor instead.
func (*OutputContentItem) GetText ¶
func (x *OutputContentItem) GetText() *OutputContentItemText
func (*OutputContentItem) GetUnion ¶
func (m *OutputContentItem) GetUnion() isOutputContentItem_Union
func (*OutputContentItem) MarshalJSON ¶
func (r *OutputContentItem) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (*OutputContentItem) ProtoMessage ¶
func (*OutputContentItem) ProtoMessage()
func (*OutputContentItem) ProtoReflect ¶
func (x *OutputContentItem) ProtoReflect() protoreflect.Message
func (*OutputContentItem) Reset ¶
func (x *OutputContentItem) Reset()
func (*OutputContentItem) String ¶
func (x *OutputContentItem) String() string
func (*OutputContentItem) UnmarshalJSON ¶
func (r *OutputContentItem) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type OutputContentItemText ¶
type OutputContentItemText struct {
Type ContentItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ContentItemType_Enum" json:"type,omitempty"` // p2p: {"const": "output_text"}
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
Annotations []*Annotation `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty"`
// contains filtered or unexported fields
}
func (*OutputContentItemText) Descriptor
deprecated
func (*OutputContentItemText) Descriptor() ([]byte, []int)
Deprecated: Use OutputContentItemText.ProtoReflect.Descriptor instead.
func (*OutputContentItemText) GetAnnotations ¶
func (x *OutputContentItemText) GetAnnotations() []*Annotation
func (*OutputContentItemText) GetText ¶
func (x *OutputContentItemText) GetText() string
func (*OutputContentItemText) GetType ¶
func (x *OutputContentItemText) GetType() ContentItemType_Enum
func (*OutputContentItemText) ProtoMessage ¶
func (*OutputContentItemText) ProtoMessage()
func (*OutputContentItemText) ProtoReflect ¶
func (x *OutputContentItemText) ProtoReflect() protoreflect.Message
func (*OutputContentItemText) Reset ¶
func (x *OutputContentItemText) Reset()
func (*OutputContentItemText) String ¶
func (x *OutputContentItemText) String() string
type OutputContentItem_Text ¶
type OutputContentItem_Text struct {
Text *OutputContentItemText `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type OutputItem ¶
type OutputItem struct {
// Types that are assignable to Union:
//
// *OutputItem_OutputMessage
// *OutputItem_FunctionToolCall
// *OutputItem_Reasoning
// *OutputItem_Transcription
// *OutputItem_FunctionWebSearch
// *OutputItem_FunctionImageProcess
// *OutputItem_FunctionMcpApprovalRequest
// *OutputItem_FunctionMcpListTools
// *OutputItem_FunctionMcpCall
// *OutputItem_FunctionKnowledgeSearch
Union isOutputItem_Union `protobuf_oneof:"union"`
// contains filtered or unexported fields
}
func (*OutputItem) Descriptor
deprecated
func (*OutputItem) Descriptor() ([]byte, []int)
Deprecated: Use OutputItem.ProtoReflect.Descriptor instead.
func (*OutputItem) GetFunctionImageProcess ¶
func (x *OutputItem) GetFunctionImageProcess() *ItemFunctionImageProcess
func (*OutputItem) GetFunctionKnowledgeSearch ¶ added in v1.0.39
func (x *OutputItem) GetFunctionKnowledgeSearch() *ItemFunctionKnowledgeSearch
func (*OutputItem) GetFunctionMcpApprovalRequest ¶
func (x *OutputItem) GetFunctionMcpApprovalRequest() *ItemFunctionMcpApprovalRequest
func (*OutputItem) GetFunctionMcpCall ¶
func (x *OutputItem) GetFunctionMcpCall() *ItemFunctionMcpCall
func (*OutputItem) GetFunctionMcpListTools ¶
func (x *OutputItem) GetFunctionMcpListTools() *ItemFunctionMcpListTools
func (*OutputItem) GetFunctionToolCall ¶
func (x *OutputItem) GetFunctionToolCall() *ItemFunctionToolCall
func (*OutputItem) GetFunctionWebSearch ¶
func (x *OutputItem) GetFunctionWebSearch() *ItemFunctionWebSearch
func (*OutputItem) GetOutputMessage ¶
func (x *OutputItem) GetOutputMessage() *ItemOutputMessage
func (*OutputItem) GetReasoning ¶
func (x *OutputItem) GetReasoning() *ItemReasoning
func (*OutputItem) GetTranscription ¶
func (x *OutputItem) GetTranscription() *ItemTranscription
func (*OutputItem) GetUnion ¶
func (m *OutputItem) GetUnion() isOutputItem_Union
func (*OutputItem) ProtoMessage ¶
func (*OutputItem) ProtoMessage()
func (*OutputItem) ProtoReflect ¶
func (x *OutputItem) ProtoReflect() protoreflect.Message
func (*OutputItem) Reset ¶
func (x *OutputItem) Reset()
func (*OutputItem) String ¶
func (x *OutputItem) String() string
func (*OutputItem) UnmarshalJSON ¶
func (r *OutputItem) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type OutputItem_FunctionImageProcess ¶
type OutputItem_FunctionImageProcess struct {
FunctionImageProcess *ItemFunctionImageProcess `protobuf:"bytes,6,opt,name=function_image_process,json=functionImageProcess,proto3,oneof"`
}
type OutputItem_FunctionKnowledgeSearch ¶ added in v1.0.39
type OutputItem_FunctionKnowledgeSearch struct {
FunctionKnowledgeSearch *ItemFunctionKnowledgeSearch `protobuf:"bytes,10,opt,name=function_knowledge_search,json=functionKnowledgeSearch,proto3,oneof"`
}
type OutputItem_FunctionMcpApprovalRequest ¶
type OutputItem_FunctionMcpApprovalRequest struct {
FunctionMcpApprovalRequest *ItemFunctionMcpApprovalRequest `protobuf:"bytes,7,opt,name=function_mcp_approval_request,json=functionMcpApprovalRequest,proto3,oneof"`
}
type OutputItem_FunctionMcpCall ¶
type OutputItem_FunctionMcpCall struct {
FunctionMcpCall *ItemFunctionMcpCall `protobuf:"bytes,9,opt,name=function_mcp_call,json=functionMcpCall,proto3,oneof"`
}
type OutputItem_FunctionMcpListTools ¶
type OutputItem_FunctionMcpListTools struct {
FunctionMcpListTools *ItemFunctionMcpListTools `protobuf:"bytes,8,opt,name=function_mcp_list_tools,json=functionMcpListTools,proto3,oneof"`
}
type OutputItem_FunctionToolCall ¶
type OutputItem_FunctionToolCall struct {
FunctionToolCall *ItemFunctionToolCall `protobuf:"bytes,2,opt,name=function_tool_call,json=functionToolCall,proto3,oneof"`
}
type OutputItem_FunctionWebSearch ¶
type OutputItem_FunctionWebSearch struct {
FunctionWebSearch *ItemFunctionWebSearch `protobuf:"bytes,5,opt,name=function_web_search,json=functionWebSearch,proto3,oneof"`
}
type OutputItem_OutputMessage ¶
type OutputItem_OutputMessage struct {
OutputMessage *ItemOutputMessage `protobuf:"bytes,1,opt,name=output_message,json=outputMessage,proto3,oneof"`
}
type OutputItem_Reasoning ¶
type OutputItem_Reasoning struct {
Reasoning *ItemReasoning `protobuf:"bytes,3,opt,name=reasoning,proto3,oneof"`
}
type OutputItem_Transcription ¶
type OutputItem_Transcription struct {
Transcription *ItemTranscription `protobuf:"bytes,4,opt,name=transcription,proto3,oneof"` // sdk: {"skip": ["python", "java"]}
}
type OutputTextDoneEvent ¶ added in v1.0.39
type OutputTextDoneEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.output_text.done"}
ContentIndex int64 `protobuf:"varint,2,opt,name=content_index,json=contentIndex,proto3" json:"content_index"` // @inject_tag: json:"content_index"
Delta *string `protobuf:"bytes,3,opt,name=delta,proto3,oneof" json:"delta,omitempty"`
ItemId string `protobuf:"bytes,4,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,5,opt,name=output_index,json=outputIndex,proto3" json:"output_index"` // @inject_tag: json:"output_index" p2p: {"extra": {"skip": "true"}}
Text *string `protobuf:"bytes,6,opt,name=text,proto3,oneof" json:"text,omitempty"`
SequenceNumber int64 `protobuf:"varint,7,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*OutputTextDoneEvent) Descriptor
deprecated
added in
v1.0.39
func (*OutputTextDoneEvent) Descriptor() ([]byte, []int)
Deprecated: Use OutputTextDoneEvent.ProtoReflect.Descriptor instead.
func (*OutputTextDoneEvent) GetContentIndex ¶ added in v1.0.39
func (x *OutputTextDoneEvent) GetContentIndex() int64
func (*OutputTextDoneEvent) GetDelta ¶ added in v1.0.39
func (x *OutputTextDoneEvent) GetDelta() string
func (*OutputTextDoneEvent) GetItemId ¶ added in v1.0.39
func (x *OutputTextDoneEvent) GetItemId() string
func (*OutputTextDoneEvent) GetOutputIndex ¶ added in v1.0.39
func (x *OutputTextDoneEvent) GetOutputIndex() int64
func (*OutputTextDoneEvent) GetSequenceNumber ¶ added in v1.0.39
func (x *OutputTextDoneEvent) GetSequenceNumber() int64
func (*OutputTextDoneEvent) GetText ¶ added in v1.0.39
func (x *OutputTextDoneEvent) GetText() string
func (*OutputTextDoneEvent) GetType ¶ added in v1.0.39
func (x *OutputTextDoneEvent) GetType() EventType_Enum
func (*OutputTextDoneEvent) ProtoMessage ¶ added in v1.0.39
func (*OutputTextDoneEvent) ProtoMessage()
func (*OutputTextDoneEvent) ProtoReflect ¶ added in v1.0.39
func (x *OutputTextDoneEvent) ProtoReflect() protoreflect.Message
func (*OutputTextDoneEvent) Reset ¶ added in v1.0.39
func (x *OutputTextDoneEvent) Reset()
func (*OutputTextDoneEvent) String ¶ added in v1.0.39
func (x *OutputTextDoneEvent) String() string
type OutputTextEvent ¶
type OutputTextEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.output_text.delta"}
ContentIndex int64 `protobuf:"varint,2,opt,name=content_index,json=contentIndex,proto3" json:"content_index"` // @inject_tag: json:"content_index"
Delta *string `protobuf:"bytes,3,opt,name=delta,proto3,oneof" json:"delta,omitempty"`
ItemId string `protobuf:"bytes,4,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,5,opt,name=output_index,json=outputIndex,proto3" json:"output_index"` // @inject_tag: json:"output_index" p2p: {"extra": {"skip": "true"}}
Text *string `protobuf:"bytes,6,opt,name=text,proto3,oneof" json:"text,omitempty"`
SequenceNumber int64 `protobuf:"varint,7,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*OutputTextEvent) Descriptor
deprecated
func (*OutputTextEvent) Descriptor() ([]byte, []int)
Deprecated: Use OutputTextEvent.ProtoReflect.Descriptor instead.
func (*OutputTextEvent) GetContentIndex ¶
func (x *OutputTextEvent) GetContentIndex() int64
func (*OutputTextEvent) GetDelta ¶
func (x *OutputTextEvent) GetDelta() string
func (*OutputTextEvent) GetItemId ¶
func (x *OutputTextEvent) GetItemId() string
func (*OutputTextEvent) GetOutputIndex ¶
func (x *OutputTextEvent) GetOutputIndex() int64
func (*OutputTextEvent) GetSequenceNumber ¶
func (x *OutputTextEvent) GetSequenceNumber() int64
func (*OutputTextEvent) GetText ¶
func (x *OutputTextEvent) GetText() string
func (*OutputTextEvent) GetType ¶
func (x *OutputTextEvent) GetType() EventType_Enum
func (*OutputTextEvent) ProtoMessage ¶
func (*OutputTextEvent) ProtoMessage()
func (*OutputTextEvent) ProtoReflect ¶
func (x *OutputTextEvent) ProtoReflect() protoreflect.Message
func (*OutputTextEvent) Reset ¶
func (x *OutputTextEvent) Reset()
func (*OutputTextEvent) String ¶
func (x *OutputTextEvent) String() string
type OutputTokensDetails ¶
type OutputTokensDetails struct {
ReasoningTokens int64 `protobuf:"varint,1,opt,name=reasoning_tokens,json=reasoningTokens,proto3" json:"reasoning_tokens"` // @inject_tag: json:"reasoning_tokens"
// contains filtered or unexported fields
}
func (*OutputTokensDetails) Descriptor
deprecated
func (*OutputTokensDetails) Descriptor() ([]byte, []int)
Deprecated: Use OutputTokensDetails.ProtoReflect.Descriptor instead.
func (*OutputTokensDetails) GetReasoningTokens ¶
func (x *OutputTokensDetails) GetReasoningTokens() int64
func (*OutputTokensDetails) ProtoMessage ¶
func (*OutputTokensDetails) ProtoMessage()
func (*OutputTokensDetails) ProtoReflect ¶
func (x *OutputTokensDetails) ProtoReflect() protoreflect.Message
func (*OutputTokensDetails) Reset ¶
func (x *OutputTokensDetails) Reset()
func (*OutputTokensDetails) String ¶
func (x *OutputTokensDetails) String() string
type ReasoningEffort ¶
type ReasoningEffort struct {
// contains filtered or unexported fields
}
func (*ReasoningEffort) Descriptor
deprecated
func (*ReasoningEffort) Descriptor() ([]byte, []int)
Deprecated: Use ReasoningEffort.ProtoReflect.Descriptor instead.
func (*ReasoningEffort) ProtoMessage ¶
func (*ReasoningEffort) ProtoMessage()
func (*ReasoningEffort) ProtoReflect ¶
func (x *ReasoningEffort) ProtoReflect() protoreflect.Message
func (*ReasoningEffort) Reset ¶
func (x *ReasoningEffort) Reset()
func (*ReasoningEffort) String ¶
func (x *ReasoningEffort) String() string
type ReasoningEffort_Enum ¶
type ReasoningEffort_Enum int32
const ( ReasoningEffort_unspecified ReasoningEffort_Enum = 0 ReasoningEffort_minimal ReasoningEffort_Enum = 1 ReasoningEffort_low ReasoningEffort_Enum = 2 ReasoningEffort_medium ReasoningEffort_Enum = 3 ReasoningEffort_high ReasoningEffort_Enum = 4 )
func (ReasoningEffort_Enum) Descriptor ¶
func (ReasoningEffort_Enum) Descriptor() protoreflect.EnumDescriptor
func (ReasoningEffort_Enum) Enum ¶
func (x ReasoningEffort_Enum) Enum() *ReasoningEffort_Enum
func (ReasoningEffort_Enum) EnumDescriptor
deprecated
func (ReasoningEffort_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReasoningEffort_Enum.Descriptor instead.
func (ReasoningEffort_Enum) MarshalJSON ¶
func (r ReasoningEffort_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (ReasoningEffort_Enum) Number ¶
func (x ReasoningEffort_Enum) Number() protoreflect.EnumNumber
func (ReasoningEffort_Enum) String ¶
func (x ReasoningEffort_Enum) String() string
func (ReasoningEffort_Enum) Type ¶
func (ReasoningEffort_Enum) Type() protoreflect.EnumType
func (*ReasoningEffort_Enum) UnmarshalJSON ¶
func (r *ReasoningEffort_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ReasoningSummaryPart ¶
type ReasoningSummaryPart struct {
Type ContentItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ContentItemType_Enum" json:"type,omitempty"` // p2p: {"const": "summary_text"}
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}
func (*ReasoningSummaryPart) Descriptor
deprecated
func (*ReasoningSummaryPart) Descriptor() ([]byte, []int)
Deprecated: Use ReasoningSummaryPart.ProtoReflect.Descriptor instead.
func (*ReasoningSummaryPart) GetText ¶
func (x *ReasoningSummaryPart) GetText() string
func (*ReasoningSummaryPart) GetType ¶
func (x *ReasoningSummaryPart) GetType() ContentItemType_Enum
func (*ReasoningSummaryPart) ProtoMessage ¶
func (*ReasoningSummaryPart) ProtoMessage()
func (*ReasoningSummaryPart) ProtoReflect ¶
func (x *ReasoningSummaryPart) ProtoReflect() protoreflect.Message
func (*ReasoningSummaryPart) Reset ¶
func (x *ReasoningSummaryPart) Reset()
func (*ReasoningSummaryPart) String ¶
func (x *ReasoningSummaryPart) String() string
type ReasoningSummaryPartDone ¶ added in v1.0.39
type ReasoningSummaryPartDone struct {
Type ContentItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ContentItemType_Enum" json:"type,omitempty"` // p2p: {"const": "summary_text"}
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}
func (*ReasoningSummaryPartDone) Descriptor
deprecated
added in
v1.0.39
func (*ReasoningSummaryPartDone) Descriptor() ([]byte, []int)
Deprecated: Use ReasoningSummaryPartDone.ProtoReflect.Descriptor instead.
func (*ReasoningSummaryPartDone) GetText ¶ added in v1.0.39
func (x *ReasoningSummaryPartDone) GetText() string
func (*ReasoningSummaryPartDone) GetType ¶ added in v1.0.39
func (x *ReasoningSummaryPartDone) GetType() ContentItemType_Enum
func (*ReasoningSummaryPartDone) ProtoMessage ¶ added in v1.0.39
func (*ReasoningSummaryPartDone) ProtoMessage()
func (*ReasoningSummaryPartDone) ProtoReflect ¶ added in v1.0.39
func (x *ReasoningSummaryPartDone) ProtoReflect() protoreflect.Message
func (*ReasoningSummaryPartDone) Reset ¶ added in v1.0.39
func (x *ReasoningSummaryPartDone) Reset()
func (*ReasoningSummaryPartDone) String ¶ added in v1.0.39
func (x *ReasoningSummaryPartDone) String() string
type ReasoningSummaryPartDoneEvent ¶ added in v1.0.39
type ReasoningSummaryPartDoneEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.reasoning_summary_part.done"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index"` // @inject_tag: json:"output_index" p2p: {"extra": {"skip": "true"}}
SummaryIndex int64 `protobuf:"varint,4,opt,name=summary_index,json=summaryIndex,proto3" json:"summary_index"` // @inject_tag: json:"summary_index"
Part *ReasoningSummaryPart `protobuf:"bytes,5,opt,name=part,proto3" json:"part,omitempty"`
SequenceNumber int64 `protobuf:"varint,6,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ReasoningSummaryPartDoneEvent) Descriptor
deprecated
added in
v1.0.39
func (*ReasoningSummaryPartDoneEvent) Descriptor() ([]byte, []int)
Deprecated: Use ReasoningSummaryPartDoneEvent.ProtoReflect.Descriptor instead.
func (*ReasoningSummaryPartDoneEvent) GetItemId ¶ added in v1.0.39
func (x *ReasoningSummaryPartDoneEvent) GetItemId() string
func (*ReasoningSummaryPartDoneEvent) GetOutputIndex ¶ added in v1.0.39
func (x *ReasoningSummaryPartDoneEvent) GetOutputIndex() int64
func (*ReasoningSummaryPartDoneEvent) GetPart ¶ added in v1.0.39
func (x *ReasoningSummaryPartDoneEvent) GetPart() *ReasoningSummaryPart
func (*ReasoningSummaryPartDoneEvent) GetSequenceNumber ¶ added in v1.0.39
func (x *ReasoningSummaryPartDoneEvent) GetSequenceNumber() int64
func (*ReasoningSummaryPartDoneEvent) GetSummaryIndex ¶ added in v1.0.39
func (x *ReasoningSummaryPartDoneEvent) GetSummaryIndex() int64
func (*ReasoningSummaryPartDoneEvent) GetType ¶ added in v1.0.39
func (x *ReasoningSummaryPartDoneEvent) GetType() EventType_Enum
func (*ReasoningSummaryPartDoneEvent) ProtoMessage ¶ added in v1.0.39
func (*ReasoningSummaryPartDoneEvent) ProtoMessage()
func (*ReasoningSummaryPartDoneEvent) ProtoReflect ¶ added in v1.0.39
func (x *ReasoningSummaryPartDoneEvent) ProtoReflect() protoreflect.Message
func (*ReasoningSummaryPartDoneEvent) Reset ¶ added in v1.0.39
func (x *ReasoningSummaryPartDoneEvent) Reset()
func (*ReasoningSummaryPartDoneEvent) String ¶ added in v1.0.39
func (x *ReasoningSummaryPartDoneEvent) String() string
type ReasoningSummaryPartEvent ¶
type ReasoningSummaryPartEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.reasoning_summary_part.added"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index"` // @inject_tag: json:"output_index" p2p: {"extra": {"skip": "true"}}
SummaryIndex int64 `protobuf:"varint,4,opt,name=summary_index,json=summaryIndex,proto3" json:"summary_index"` // @inject_tag: json:"summary_index"
Part *ReasoningSummaryPart `protobuf:"bytes,5,opt,name=part,proto3" json:"part,omitempty"`
SequenceNumber int64 `protobuf:"varint,6,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ReasoningSummaryPartEvent) Descriptor
deprecated
func (*ReasoningSummaryPartEvent) Descriptor() ([]byte, []int)
Deprecated: Use ReasoningSummaryPartEvent.ProtoReflect.Descriptor instead.
func (*ReasoningSummaryPartEvent) GetItemId ¶
func (x *ReasoningSummaryPartEvent) GetItemId() string
func (*ReasoningSummaryPartEvent) GetOutputIndex ¶
func (x *ReasoningSummaryPartEvent) GetOutputIndex() int64
func (*ReasoningSummaryPartEvent) GetPart ¶
func (x *ReasoningSummaryPartEvent) GetPart() *ReasoningSummaryPart
func (*ReasoningSummaryPartEvent) GetSequenceNumber ¶
func (x *ReasoningSummaryPartEvent) GetSequenceNumber() int64
func (*ReasoningSummaryPartEvent) GetSummaryIndex ¶
func (x *ReasoningSummaryPartEvent) GetSummaryIndex() int64
func (*ReasoningSummaryPartEvent) GetType ¶
func (x *ReasoningSummaryPartEvent) GetType() EventType_Enum
func (*ReasoningSummaryPartEvent) ProtoMessage ¶
func (*ReasoningSummaryPartEvent) ProtoMessage()
func (*ReasoningSummaryPartEvent) ProtoReflect ¶
func (x *ReasoningSummaryPartEvent) ProtoReflect() protoreflect.Message
func (*ReasoningSummaryPartEvent) Reset ¶
func (x *ReasoningSummaryPartEvent) Reset()
func (*ReasoningSummaryPartEvent) String ¶
func (x *ReasoningSummaryPartEvent) String() string
type ReasoningSummaryTextDoneEvent ¶ added in v1.0.39
type ReasoningSummaryTextDoneEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.reasoning_summary_text.done"}
SummaryIndex int64 `protobuf:"varint,2,opt,name=summary_index,json=summaryIndex,proto3" json:"summary_index"` // @inject_tag: json:"summary_index"
Delta *string `protobuf:"bytes,3,opt,name=delta,proto3,oneof" json:"delta,omitempty"`
ItemId string `protobuf:"bytes,4,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,5,opt,name=output_index,json=outputIndex,proto3" json:"output_index"` // @inject_tag: json:"output_index"
Text *string `protobuf:"bytes,6,opt,name=text,proto3,oneof" json:"text,omitempty"`
SequenceNumber int64 `protobuf:"varint,7,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ReasoningSummaryTextDoneEvent) Descriptor
deprecated
added in
v1.0.39
func (*ReasoningSummaryTextDoneEvent) Descriptor() ([]byte, []int)
Deprecated: Use ReasoningSummaryTextDoneEvent.ProtoReflect.Descriptor instead.
func (*ReasoningSummaryTextDoneEvent) GetDelta ¶ added in v1.0.39
func (x *ReasoningSummaryTextDoneEvent) GetDelta() string
func (*ReasoningSummaryTextDoneEvent) GetItemId ¶ added in v1.0.39
func (x *ReasoningSummaryTextDoneEvent) GetItemId() string
func (*ReasoningSummaryTextDoneEvent) GetOutputIndex ¶ added in v1.0.39
func (x *ReasoningSummaryTextDoneEvent) GetOutputIndex() int64
func (*ReasoningSummaryTextDoneEvent) GetSequenceNumber ¶ added in v1.0.39
func (x *ReasoningSummaryTextDoneEvent) GetSequenceNumber() int64
func (*ReasoningSummaryTextDoneEvent) GetSummaryIndex ¶ added in v1.0.39
func (x *ReasoningSummaryTextDoneEvent) GetSummaryIndex() int64
func (*ReasoningSummaryTextDoneEvent) GetText ¶ added in v1.0.39
func (x *ReasoningSummaryTextDoneEvent) GetText() string
func (*ReasoningSummaryTextDoneEvent) GetType ¶ added in v1.0.39
func (x *ReasoningSummaryTextDoneEvent) GetType() EventType_Enum
func (*ReasoningSummaryTextDoneEvent) ProtoMessage ¶ added in v1.0.39
func (*ReasoningSummaryTextDoneEvent) ProtoMessage()
func (*ReasoningSummaryTextDoneEvent) ProtoReflect ¶ added in v1.0.39
func (x *ReasoningSummaryTextDoneEvent) ProtoReflect() protoreflect.Message
func (*ReasoningSummaryTextDoneEvent) Reset ¶ added in v1.0.39
func (x *ReasoningSummaryTextDoneEvent) Reset()
func (*ReasoningSummaryTextDoneEvent) String ¶ added in v1.0.39
func (x *ReasoningSummaryTextDoneEvent) String() string
type ReasoningSummaryTextEvent ¶
type ReasoningSummaryTextEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.reasoning_summary_text.delta"}
SummaryIndex int64 `protobuf:"varint,2,opt,name=summary_index,json=summaryIndex,proto3" json:"summary_index"` // @inject_tag: json:"summary_index"
Delta *string `protobuf:"bytes,3,opt,name=delta,proto3,oneof" json:"delta,omitempty"`
ItemId string `protobuf:"bytes,4,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,5,opt,name=output_index,json=outputIndex,proto3" json:"output_index"` // @inject_tag: json:"output_index"
Text *string `protobuf:"bytes,6,opt,name=text,proto3,oneof" json:"text,omitempty"`
SequenceNumber int64 `protobuf:"varint,7,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ReasoningSummaryTextEvent) Descriptor
deprecated
func (*ReasoningSummaryTextEvent) Descriptor() ([]byte, []int)
Deprecated: Use ReasoningSummaryTextEvent.ProtoReflect.Descriptor instead.
func (*ReasoningSummaryTextEvent) GetDelta ¶
func (x *ReasoningSummaryTextEvent) GetDelta() string
func (*ReasoningSummaryTextEvent) GetItemId ¶
func (x *ReasoningSummaryTextEvent) GetItemId() string
func (*ReasoningSummaryTextEvent) GetOutputIndex ¶
func (x *ReasoningSummaryTextEvent) GetOutputIndex() int64
func (*ReasoningSummaryTextEvent) GetSequenceNumber ¶
func (x *ReasoningSummaryTextEvent) GetSequenceNumber() int64
func (*ReasoningSummaryTextEvent) GetSummaryIndex ¶
func (x *ReasoningSummaryTextEvent) GetSummaryIndex() int64
func (*ReasoningSummaryTextEvent) GetText ¶
func (x *ReasoningSummaryTextEvent) GetText() string
func (*ReasoningSummaryTextEvent) GetType ¶
func (x *ReasoningSummaryTextEvent) GetType() EventType_Enum
func (*ReasoningSummaryTextEvent) ProtoMessage ¶
func (*ReasoningSummaryTextEvent) ProtoMessage()
func (*ReasoningSummaryTextEvent) ProtoReflect ¶
func (x *ReasoningSummaryTextEvent) ProtoReflect() protoreflect.Message
func (*ReasoningSummaryTextEvent) Reset ¶
func (x *ReasoningSummaryTextEvent) Reset()
func (*ReasoningSummaryTextEvent) String ¶
func (x *ReasoningSummaryTextEvent) String() string
type ResponseAnnotationAddedEvent ¶
type ResponseAnnotationAddedEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.output_text.annotation.added"}
ContentIndex int64 `protobuf:"varint,2,opt,name=content_index,json=contentIndex,proto3" json:"content_index"` // @inject_tag: json:"content_index"
Delta *string `protobuf:"bytes,3,opt,name=delta,proto3,oneof" json:"delta,omitempty"`
ItemId string `protobuf:"bytes,4,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,5,opt,name=output_index,json=outputIndex,proto3" json:"output_index"` // @inject_tag: json:"output_index"
Text *string `protobuf:"bytes,6,opt,name=text,proto3,oneof" json:"text,omitempty"`
AnnotationIndex int64 `protobuf:"varint,7,opt,name=annotation_index,json=annotationIndex,proto3" json:"annotation_index,omitempty"` // @inject_tag json:"annotation_index"
Annotation *Annotation `protobuf:"bytes,8,opt,name=annotation,proto3" json:"annotation,omitempty"`
SequenceNumber int64 `protobuf:"varint,9,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseAnnotationAddedEvent) Descriptor
deprecated
func (*ResponseAnnotationAddedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseAnnotationAddedEvent.ProtoReflect.Descriptor instead.
func (*ResponseAnnotationAddedEvent) GetAnnotation ¶
func (x *ResponseAnnotationAddedEvent) GetAnnotation() *Annotation
func (*ResponseAnnotationAddedEvent) GetAnnotationIndex ¶
func (x *ResponseAnnotationAddedEvent) GetAnnotationIndex() int64
func (*ResponseAnnotationAddedEvent) GetContentIndex ¶
func (x *ResponseAnnotationAddedEvent) GetContentIndex() int64
func (*ResponseAnnotationAddedEvent) GetDelta ¶
func (x *ResponseAnnotationAddedEvent) GetDelta() string
func (*ResponseAnnotationAddedEvent) GetItemId ¶
func (x *ResponseAnnotationAddedEvent) GetItemId() string
func (*ResponseAnnotationAddedEvent) GetOutputIndex ¶
func (x *ResponseAnnotationAddedEvent) GetOutputIndex() int64
func (*ResponseAnnotationAddedEvent) GetSequenceNumber ¶
func (x *ResponseAnnotationAddedEvent) GetSequenceNumber() int64
func (*ResponseAnnotationAddedEvent) GetText ¶
func (x *ResponseAnnotationAddedEvent) GetText() string
func (*ResponseAnnotationAddedEvent) GetType ¶
func (x *ResponseAnnotationAddedEvent) GetType() EventType_Enum
func (*ResponseAnnotationAddedEvent) ProtoMessage ¶
func (*ResponseAnnotationAddedEvent) ProtoMessage()
func (*ResponseAnnotationAddedEvent) ProtoReflect ¶
func (x *ResponseAnnotationAddedEvent) ProtoReflect() protoreflect.Message
func (*ResponseAnnotationAddedEvent) Reset ¶
func (x *ResponseAnnotationAddedEvent) Reset()
func (*ResponseAnnotationAddedEvent) String ¶
func (x *ResponseAnnotationAddedEvent) String() string
type ResponseCompletedEvent ¶ added in v1.0.39
type ResponseCompletedEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.completed"}
Response *ResponseObject `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
SequenceNumber int64 `protobuf:"varint,3,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseCompletedEvent) Descriptor
deprecated
added in
v1.0.39
func (*ResponseCompletedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseCompletedEvent.ProtoReflect.Descriptor instead.
func (*ResponseCompletedEvent) GetResponse ¶ added in v1.0.39
func (x *ResponseCompletedEvent) GetResponse() *ResponseObject
func (*ResponseCompletedEvent) GetSequenceNumber ¶ added in v1.0.39
func (x *ResponseCompletedEvent) GetSequenceNumber() int64
func (*ResponseCompletedEvent) GetType ¶ added in v1.0.39
func (x *ResponseCompletedEvent) GetType() EventType_Enum
func (*ResponseCompletedEvent) ProtoMessage ¶ added in v1.0.39
func (*ResponseCompletedEvent) ProtoMessage()
func (*ResponseCompletedEvent) ProtoReflect ¶ added in v1.0.39
func (x *ResponseCompletedEvent) ProtoReflect() protoreflect.Message
func (*ResponseCompletedEvent) Reset ¶ added in v1.0.39
func (x *ResponseCompletedEvent) Reset()
func (*ResponseCompletedEvent) String ¶ added in v1.0.39
func (x *ResponseCompletedEvent) String() string
type ResponseEvent ¶
type ResponseEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.created"}
Response *ResponseObject `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
SequenceNumber int64 `protobuf:"varint,3,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseEvent) Descriptor
deprecated
func (*ResponseEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseEvent.ProtoReflect.Descriptor instead.
func (*ResponseEvent) GetResponse ¶
func (x *ResponseEvent) GetResponse() *ResponseObject
func (*ResponseEvent) GetSequenceNumber ¶
func (x *ResponseEvent) GetSequenceNumber() int64
func (*ResponseEvent) GetType ¶
func (x *ResponseEvent) GetType() EventType_Enum
func (*ResponseEvent) ProtoMessage ¶
func (*ResponseEvent) ProtoMessage()
func (*ResponseEvent) ProtoReflect ¶
func (x *ResponseEvent) ProtoReflect() protoreflect.Message
func (*ResponseEvent) Reset ¶
func (x *ResponseEvent) Reset()
func (*ResponseEvent) String ¶
func (x *ResponseEvent) String() string
type ResponseFailedEvent ¶ added in v1.0.39
type ResponseFailedEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.failed"}
Response *ResponseObject `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
SequenceNumber int64 `protobuf:"varint,3,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseFailedEvent) Descriptor
deprecated
added in
v1.0.39
func (*ResponseFailedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseFailedEvent.ProtoReflect.Descriptor instead.
func (*ResponseFailedEvent) GetResponse ¶ added in v1.0.39
func (x *ResponseFailedEvent) GetResponse() *ResponseObject
func (*ResponseFailedEvent) GetSequenceNumber ¶ added in v1.0.39
func (x *ResponseFailedEvent) GetSequenceNumber() int64
func (*ResponseFailedEvent) GetType ¶ added in v1.0.39
func (x *ResponseFailedEvent) GetType() EventType_Enum
func (*ResponseFailedEvent) ProtoMessage ¶ added in v1.0.39
func (*ResponseFailedEvent) ProtoMessage()
func (*ResponseFailedEvent) ProtoReflect ¶ added in v1.0.39
func (x *ResponseFailedEvent) ProtoReflect() protoreflect.Message
func (*ResponseFailedEvent) Reset ¶ added in v1.0.39
func (x *ResponseFailedEvent) Reset()
func (*ResponseFailedEvent) String ¶ added in v1.0.39
func (x *ResponseFailedEvent) String() string
type ResponseImageProcessAction ¶
type ResponseImageProcessAction struct {
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
ResultImageUrl *string `protobuf:"bytes,3,opt,name=result_image_url,json=resultImageUrl,proto3,oneof" json:"result_image_url,omitempty"`
// contains filtered or unexported fields
}
func (*ResponseImageProcessAction) Descriptor
deprecated
func (*ResponseImageProcessAction) Descriptor() ([]byte, []int)
Deprecated: Use ResponseImageProcessAction.ProtoReflect.Descriptor instead.
func (*ResponseImageProcessAction) GetResultImageUrl ¶
func (x *ResponseImageProcessAction) GetResultImageUrl() string
func (*ResponseImageProcessAction) GetType ¶
func (x *ResponseImageProcessAction) GetType() string
func (*ResponseImageProcessAction) ProtoMessage ¶
func (*ResponseImageProcessAction) ProtoMessage()
func (*ResponseImageProcessAction) ProtoReflect ¶
func (x *ResponseImageProcessAction) ProtoReflect() protoreflect.Message
func (*ResponseImageProcessAction) Reset ¶
func (x *ResponseImageProcessAction) Reset()
func (*ResponseImageProcessAction) String ¶
func (x *ResponseImageProcessAction) String() string
type ResponseImageProcessArgs ¶
type ResponseImageProcessArgs struct {
// Types that are assignable to Union:
//
// *ResponseImageProcessArgs_PointArgs
// *ResponseImageProcessArgs_GroundingArgs
// *ResponseImageProcessArgs_RotateArgs
// *ResponseImageProcessArgs_ZoomArgs
Union isResponseImageProcessArgs_Union `protobuf_oneof:"union"`
// contains filtered or unexported fields
}
func (*ResponseImageProcessArgs) Descriptor
deprecated
func (*ResponseImageProcessArgs) Descriptor() ([]byte, []int)
Deprecated: Use ResponseImageProcessArgs.ProtoReflect.Descriptor instead.
func (*ResponseImageProcessArgs) GetGroundingArgs ¶
func (x *ResponseImageProcessArgs) GetGroundingArgs() *ResponseImageProcessGroundingArgs
func (*ResponseImageProcessArgs) GetImageIndex ¶
func (x *ResponseImageProcessArgs) GetImageIndex() int
GetImageIndex ...
func (*ResponseImageProcessArgs) GetParamType ¶
func (x *ResponseImageProcessArgs) GetParamType() ResponseImageProcessType_Enum
GetParamType ...
func (*ResponseImageProcessArgs) GetPointArgs ¶
func (x *ResponseImageProcessArgs) GetPointArgs() *ResponseImageProcessPointArgs
func (*ResponseImageProcessArgs) GetRotateArgs ¶
func (x *ResponseImageProcessArgs) GetRotateArgs() *ResponseImageProcessRotateArgs
func (*ResponseImageProcessArgs) GetUnion ¶
func (m *ResponseImageProcessArgs) GetUnion() isResponseImageProcessArgs_Union
func (*ResponseImageProcessArgs) GetZoomArgs ¶
func (x *ResponseImageProcessArgs) GetZoomArgs() *ResponseImageProcessZoomArgs
func (*ResponseImageProcessArgs) MarshalJSON ¶
func (i *ResponseImageProcessArgs) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (*ResponseImageProcessArgs) ProtoMessage ¶
func (*ResponseImageProcessArgs) ProtoMessage()
func (*ResponseImageProcessArgs) ProtoReflect ¶
func (x *ResponseImageProcessArgs) ProtoReflect() protoreflect.Message
func (*ResponseImageProcessArgs) Reset ¶
func (x *ResponseImageProcessArgs) Reset()
func (*ResponseImageProcessArgs) String ¶
func (x *ResponseImageProcessArgs) String() string
func (*ResponseImageProcessArgs) UnmarshalJSON ¶
func (i *ResponseImageProcessArgs) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ResponseImageProcessArgs_GroundingArgs ¶
type ResponseImageProcessArgs_GroundingArgs struct {
GroundingArgs *ResponseImageProcessGroundingArgs `protobuf:"bytes,2,opt,name=grounding_args,json=groundingArgs,proto3,oneof"`
}
type ResponseImageProcessArgs_PointArgs ¶
type ResponseImageProcessArgs_PointArgs struct {
PointArgs *ResponseImageProcessPointArgs `protobuf:"bytes,1,opt,name=point_args,json=pointArgs,proto3,oneof"`
}
type ResponseImageProcessArgs_RotateArgs ¶
type ResponseImageProcessArgs_RotateArgs struct {
RotateArgs *ResponseImageProcessRotateArgs `protobuf:"bytes,3,opt,name=rotate_args,json=rotateArgs,proto3,oneof"`
}
type ResponseImageProcessArgs_ZoomArgs ¶
type ResponseImageProcessArgs_ZoomArgs struct {
ZoomArgs *ResponseImageProcessZoomArgs `protobuf:"bytes,4,opt,name=zoom_args,json=zoomArgs,proto3,oneof"`
}
type ResponseImageProcessCallCompletedEvent ¶
type ResponseImageProcessCallCompletedEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.image_process_call.completed"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
Action *ResponseImageProcessAction `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"`
Arguments *ResponseImageProcessArgs `protobuf:"bytes,6,opt,name=arguments,proto3" json:"arguments,omitempty"`
Error *ResponseImageProcessError `protobuf:"bytes,7,opt,name=error,proto3,oneof" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*ResponseImageProcessCallCompletedEvent) Descriptor
deprecated
func (*ResponseImageProcessCallCompletedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseImageProcessCallCompletedEvent.ProtoReflect.Descriptor instead.
func (*ResponseImageProcessCallCompletedEvent) GetAction ¶
func (x *ResponseImageProcessCallCompletedEvent) GetAction() *ResponseImageProcessAction
func (*ResponseImageProcessCallCompletedEvent) GetArguments ¶
func (x *ResponseImageProcessCallCompletedEvent) GetArguments() *ResponseImageProcessArgs
func (*ResponseImageProcessCallCompletedEvent) GetError ¶
func (x *ResponseImageProcessCallCompletedEvent) GetError() *ResponseImageProcessError
func (*ResponseImageProcessCallCompletedEvent) GetItemId ¶
func (x *ResponseImageProcessCallCompletedEvent) GetItemId() string
func (*ResponseImageProcessCallCompletedEvent) GetOutputIndex ¶
func (x *ResponseImageProcessCallCompletedEvent) GetOutputIndex() int64
func (*ResponseImageProcessCallCompletedEvent) GetSequenceNumber ¶
func (x *ResponseImageProcessCallCompletedEvent) GetSequenceNumber() int64
func (*ResponseImageProcessCallCompletedEvent) GetType ¶
func (x *ResponseImageProcessCallCompletedEvent) GetType() EventType_Enum
func (*ResponseImageProcessCallCompletedEvent) ProtoMessage ¶
func (*ResponseImageProcessCallCompletedEvent) ProtoMessage()
func (*ResponseImageProcessCallCompletedEvent) ProtoReflect ¶
func (x *ResponseImageProcessCallCompletedEvent) ProtoReflect() protoreflect.Message
func (*ResponseImageProcessCallCompletedEvent) Reset ¶
func (x *ResponseImageProcessCallCompletedEvent) Reset()
func (*ResponseImageProcessCallCompletedEvent) String ¶
func (x *ResponseImageProcessCallCompletedEvent) String() string
type ResponseImageProcessCallInProgressEvent ¶
type ResponseImageProcessCallInProgressEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.image_process_call.in_progress"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseImageProcessCallInProgressEvent) Descriptor
deprecated
func (*ResponseImageProcessCallInProgressEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseImageProcessCallInProgressEvent.ProtoReflect.Descriptor instead.
func (*ResponseImageProcessCallInProgressEvent) GetItemId ¶
func (x *ResponseImageProcessCallInProgressEvent) GetItemId() string
func (*ResponseImageProcessCallInProgressEvent) GetOutputIndex ¶
func (x *ResponseImageProcessCallInProgressEvent) GetOutputIndex() int64
func (*ResponseImageProcessCallInProgressEvent) GetSequenceNumber ¶
func (x *ResponseImageProcessCallInProgressEvent) GetSequenceNumber() int64
func (*ResponseImageProcessCallInProgressEvent) GetType ¶
func (x *ResponseImageProcessCallInProgressEvent) GetType() EventType_Enum
func (*ResponseImageProcessCallInProgressEvent) ProtoMessage ¶
func (*ResponseImageProcessCallInProgressEvent) ProtoMessage()
func (*ResponseImageProcessCallInProgressEvent) ProtoReflect ¶
func (x *ResponseImageProcessCallInProgressEvent) ProtoReflect() protoreflect.Message
func (*ResponseImageProcessCallInProgressEvent) Reset ¶
func (x *ResponseImageProcessCallInProgressEvent) Reset()
func (*ResponseImageProcessCallInProgressEvent) String ¶
func (x *ResponseImageProcessCallInProgressEvent) String() string
type ResponseImageProcessCallProcessingEvent ¶
type ResponseImageProcessCallProcessingEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.image_process_call.progressing"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
Action *ResponseImageProcessAction `protobuf:"bytes,5,opt,name=action,proto3" json:"action,omitempty"`
Arguments *ResponseImageProcessArgs `protobuf:"bytes,6,opt,name=arguments,proto3" json:"arguments,omitempty"`
// contains filtered or unexported fields
}
func (*ResponseImageProcessCallProcessingEvent) Descriptor
deprecated
func (*ResponseImageProcessCallProcessingEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseImageProcessCallProcessingEvent.ProtoReflect.Descriptor instead.
func (*ResponseImageProcessCallProcessingEvent) GetAction ¶
func (x *ResponseImageProcessCallProcessingEvent) GetAction() *ResponseImageProcessAction
func (*ResponseImageProcessCallProcessingEvent) GetArguments ¶
func (x *ResponseImageProcessCallProcessingEvent) GetArguments() *ResponseImageProcessArgs
func (*ResponseImageProcessCallProcessingEvent) GetItemId ¶
func (x *ResponseImageProcessCallProcessingEvent) GetItemId() string
func (*ResponseImageProcessCallProcessingEvent) GetOutputIndex ¶
func (x *ResponseImageProcessCallProcessingEvent) GetOutputIndex() int64
func (*ResponseImageProcessCallProcessingEvent) GetSequenceNumber ¶
func (x *ResponseImageProcessCallProcessingEvent) GetSequenceNumber() int64
func (*ResponseImageProcessCallProcessingEvent) GetType ¶
func (x *ResponseImageProcessCallProcessingEvent) GetType() EventType_Enum
func (*ResponseImageProcessCallProcessingEvent) ProtoMessage ¶
func (*ResponseImageProcessCallProcessingEvent) ProtoMessage()
func (*ResponseImageProcessCallProcessingEvent) ProtoReflect ¶
func (x *ResponseImageProcessCallProcessingEvent) ProtoReflect() protoreflect.Message
func (*ResponseImageProcessCallProcessingEvent) Reset ¶
func (x *ResponseImageProcessCallProcessingEvent) Reset()
func (*ResponseImageProcessCallProcessingEvent) String ¶
func (x *ResponseImageProcessCallProcessingEvent) String() string
type ResponseImageProcessError ¶
type ResponseImageProcessError struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*ResponseImageProcessError) Descriptor
deprecated
func (*ResponseImageProcessError) Descriptor() ([]byte, []int)
Deprecated: Use ResponseImageProcessError.ProtoReflect.Descriptor instead.
func (*ResponseImageProcessError) GetMessage ¶
func (x *ResponseImageProcessError) GetMessage() string
func (*ResponseImageProcessError) ProtoMessage ¶
func (*ResponseImageProcessError) ProtoMessage()
func (*ResponseImageProcessError) ProtoReflect ¶
func (x *ResponseImageProcessError) ProtoReflect() protoreflect.Message
func (*ResponseImageProcessError) Reset ¶
func (x *ResponseImageProcessError) Reset()
func (*ResponseImageProcessError) String ¶
func (x *ResponseImageProcessError) String() string
type ResponseImageProcessGroundingArgs ¶
type ResponseImageProcessGroundingArgs struct {
ImageIndex int32 `protobuf:"varint,1,opt,name=image_index,json=imageIndex,proto3" json:"image_index"` // @inject_tag: json:"image_index"
BboxStr string `protobuf:"bytes,2,opt,name=bbox_str,json=bboxStr,proto3" json:"bbox_str,omitempty"`
Crop bool `protobuf:"varint,3,opt,name=crop,proto3" json:"crop"` // @inject_tag: json:"crop"
// contains filtered or unexported fields
}
func (*ResponseImageProcessGroundingArgs) Descriptor
deprecated
func (*ResponseImageProcessGroundingArgs) Descriptor() ([]byte, []int)
Deprecated: Use ResponseImageProcessGroundingArgs.ProtoReflect.Descriptor instead.
func (*ResponseImageProcessGroundingArgs) GetBboxStr ¶
func (x *ResponseImageProcessGroundingArgs) GetBboxStr() string
func (*ResponseImageProcessGroundingArgs) GetCrop ¶
func (x *ResponseImageProcessGroundingArgs) GetCrop() bool
func (*ResponseImageProcessGroundingArgs) GetImageIndex ¶
func (x *ResponseImageProcessGroundingArgs) GetImageIndex() int32
func (*ResponseImageProcessGroundingArgs) ProtoMessage ¶
func (*ResponseImageProcessGroundingArgs) ProtoMessage()
func (*ResponseImageProcessGroundingArgs) ProtoReflect ¶
func (x *ResponseImageProcessGroundingArgs) ProtoReflect() protoreflect.Message
func (*ResponseImageProcessGroundingArgs) Reset ¶
func (x *ResponseImageProcessGroundingArgs) Reset()
func (*ResponseImageProcessGroundingArgs) String ¶
func (x *ResponseImageProcessGroundingArgs) String() string
type ResponseImageProcessPointArgs ¶
type ResponseImageProcessPointArgs struct {
ImageIndex int32 `protobuf:"varint,1,opt,name=image_index,json=imageIndex,proto3" json:"image_index"` // @inject_tag: json:"image_index"
Points string `protobuf:"bytes,2,opt,name=points,proto3" json:"points,omitempty"`
DrawLine bool `protobuf:"varint,3,opt,name=drawLine,proto3" json:"draw_line"` // @inject_tag: json:"draw_line"
// contains filtered or unexported fields
}
func (*ResponseImageProcessPointArgs) Descriptor
deprecated
func (*ResponseImageProcessPointArgs) Descriptor() ([]byte, []int)
Deprecated: Use ResponseImageProcessPointArgs.ProtoReflect.Descriptor instead.
func (*ResponseImageProcessPointArgs) GetDrawLine ¶
func (x *ResponseImageProcessPointArgs) GetDrawLine() bool
func (*ResponseImageProcessPointArgs) GetImageIndex ¶
func (x *ResponseImageProcessPointArgs) GetImageIndex() int32
func (*ResponseImageProcessPointArgs) GetPoints ¶
func (x *ResponseImageProcessPointArgs) GetPoints() string
func (*ResponseImageProcessPointArgs) ProtoMessage ¶
func (*ResponseImageProcessPointArgs) ProtoMessage()
func (*ResponseImageProcessPointArgs) ProtoReflect ¶
func (x *ResponseImageProcessPointArgs) ProtoReflect() protoreflect.Message
func (*ResponseImageProcessPointArgs) Reset ¶
func (x *ResponseImageProcessPointArgs) Reset()
func (*ResponseImageProcessPointArgs) String ¶
func (x *ResponseImageProcessPointArgs) String() string
type ResponseImageProcessRotateArgs ¶
type ResponseImageProcessRotateArgs struct {
ImageIndex int32 `protobuf:"varint,1,opt,name=image_index,json=imageIndex,proto3" json:"image_index"` // @inject_tag: json:"image_index"
Degree int32 `protobuf:"varint,2,opt,name=degree,proto3" json:"degree"` // @inject_tag: json:"degree"
// contains filtered or unexported fields
}
func (*ResponseImageProcessRotateArgs) Descriptor
deprecated
func (*ResponseImageProcessRotateArgs) Descriptor() ([]byte, []int)
Deprecated: Use ResponseImageProcessRotateArgs.ProtoReflect.Descriptor instead.
func (*ResponseImageProcessRotateArgs) GetDegree ¶
func (x *ResponseImageProcessRotateArgs) GetDegree() int32
func (*ResponseImageProcessRotateArgs) GetImageIndex ¶
func (x *ResponseImageProcessRotateArgs) GetImageIndex() int32
func (*ResponseImageProcessRotateArgs) ProtoMessage ¶
func (*ResponseImageProcessRotateArgs) ProtoMessage()
func (*ResponseImageProcessRotateArgs) ProtoReflect ¶
func (x *ResponseImageProcessRotateArgs) ProtoReflect() protoreflect.Message
func (*ResponseImageProcessRotateArgs) Reset ¶
func (x *ResponseImageProcessRotateArgs) Reset()
func (*ResponseImageProcessRotateArgs) String ¶
func (x *ResponseImageProcessRotateArgs) String() string
type ResponseImageProcessType ¶
type ResponseImageProcessType struct {
// contains filtered or unexported fields
}
func (*ResponseImageProcessType) Descriptor
deprecated
func (*ResponseImageProcessType) Descriptor() ([]byte, []int)
Deprecated: Use ResponseImageProcessType.ProtoReflect.Descriptor instead.
func (*ResponseImageProcessType) ProtoMessage ¶
func (*ResponseImageProcessType) ProtoMessage()
func (*ResponseImageProcessType) ProtoReflect ¶
func (x *ResponseImageProcessType) ProtoReflect() protoreflect.Message
func (*ResponseImageProcessType) Reset ¶
func (x *ResponseImageProcessType) Reset()
func (*ResponseImageProcessType) String ¶
func (x *ResponseImageProcessType) String() string
type ResponseImageProcessType_Enum ¶
type ResponseImageProcessType_Enum int32
const ( ResponseImageProcessType_unspecified ResponseImageProcessType_Enum = 0 ResponseImageProcessType_point ResponseImageProcessType_Enum = 1 ResponseImageProcessType_grounding ResponseImageProcessType_Enum = 2 ResponseImageProcessType_rotate ResponseImageProcessType_Enum = 3 ResponseImageProcessType_zoom ResponseImageProcessType_Enum = 4 )
func (ResponseImageProcessType_Enum) Descriptor ¶
func (ResponseImageProcessType_Enum) Descriptor() protoreflect.EnumDescriptor
func (ResponseImageProcessType_Enum) Enum ¶
func (x ResponseImageProcessType_Enum) Enum() *ResponseImageProcessType_Enum
func (ResponseImageProcessType_Enum) EnumDescriptor
deprecated
func (ResponseImageProcessType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponseImageProcessType_Enum.Descriptor instead.
func (ResponseImageProcessType_Enum) Number ¶
func (x ResponseImageProcessType_Enum) Number() protoreflect.EnumNumber
func (ResponseImageProcessType_Enum) String ¶
func (x ResponseImageProcessType_Enum) String() string
func (ResponseImageProcessType_Enum) Type ¶
func (ResponseImageProcessType_Enum) Type() protoreflect.EnumType
type ResponseImageProcessZoomArgs ¶
type ResponseImageProcessZoomArgs struct {
ImageIndex int32 `protobuf:"varint,1,opt,name=image_index,json=imageIndex,proto3" json:"image_index"` // @inject_tag: json:"image_index"
BboxStr string `protobuf:"bytes,2,opt,name=bbox_str,json=bboxStr,proto3" json:"bbox_str,omitempty"`
Scale float64 `protobuf:"fixed64,3,opt,name=scale,proto3" json:"scale"` // @inject_tag: json:"scale"
// contains filtered or unexported fields
}
func (*ResponseImageProcessZoomArgs) Descriptor
deprecated
func (*ResponseImageProcessZoomArgs) Descriptor() ([]byte, []int)
Deprecated: Use ResponseImageProcessZoomArgs.ProtoReflect.Descriptor instead.
func (*ResponseImageProcessZoomArgs) GetBboxStr ¶
func (x *ResponseImageProcessZoomArgs) GetBboxStr() string
func (*ResponseImageProcessZoomArgs) GetImageIndex ¶
func (x *ResponseImageProcessZoomArgs) GetImageIndex() int32
func (*ResponseImageProcessZoomArgs) GetScale ¶
func (x *ResponseImageProcessZoomArgs) GetScale() float64
func (*ResponseImageProcessZoomArgs) ProtoMessage ¶
func (*ResponseImageProcessZoomArgs) ProtoMessage()
func (*ResponseImageProcessZoomArgs) ProtoReflect ¶
func (x *ResponseImageProcessZoomArgs) ProtoReflect() protoreflect.Message
func (*ResponseImageProcessZoomArgs) Reset ¶
func (x *ResponseImageProcessZoomArgs) Reset()
func (*ResponseImageProcessZoomArgs) String ¶
func (x *ResponseImageProcessZoomArgs) String() string
type ResponseInProgressEvent ¶ added in v1.0.39
type ResponseInProgressEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.in_progress"}
Response *ResponseObject `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
SequenceNumber int64 `protobuf:"varint,3,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseInProgressEvent) Descriptor
deprecated
added in
v1.0.39
func (*ResponseInProgressEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseInProgressEvent.ProtoReflect.Descriptor instead.
func (*ResponseInProgressEvent) GetResponse ¶ added in v1.0.39
func (x *ResponseInProgressEvent) GetResponse() *ResponseObject
func (*ResponseInProgressEvent) GetSequenceNumber ¶ added in v1.0.39
func (x *ResponseInProgressEvent) GetSequenceNumber() int64
func (*ResponseInProgressEvent) GetType ¶ added in v1.0.39
func (x *ResponseInProgressEvent) GetType() EventType_Enum
func (*ResponseInProgressEvent) ProtoMessage ¶ added in v1.0.39
func (*ResponseInProgressEvent) ProtoMessage()
func (*ResponseInProgressEvent) ProtoReflect ¶ added in v1.0.39
func (x *ResponseInProgressEvent) ProtoReflect() protoreflect.Message
func (*ResponseInProgressEvent) Reset ¶ added in v1.0.39
func (x *ResponseInProgressEvent) Reset()
func (*ResponseInProgressEvent) String ¶ added in v1.0.39
func (x *ResponseInProgressEvent) String() string
type ResponseIncompleteEvent ¶ added in v1.0.39
type ResponseIncompleteEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.incomplete"}
Response *ResponseObject `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
SequenceNumber int64 `protobuf:"varint,3,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseIncompleteEvent) Descriptor
deprecated
added in
v1.0.39
func (*ResponseIncompleteEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseIncompleteEvent.ProtoReflect.Descriptor instead.
func (*ResponseIncompleteEvent) GetResponse ¶ added in v1.0.39
func (x *ResponseIncompleteEvent) GetResponse() *ResponseObject
func (*ResponseIncompleteEvent) GetSequenceNumber ¶ added in v1.0.39
func (x *ResponseIncompleteEvent) GetSequenceNumber() int64
func (*ResponseIncompleteEvent) GetType ¶ added in v1.0.39
func (x *ResponseIncompleteEvent) GetType() EventType_Enum
func (*ResponseIncompleteEvent) ProtoMessage ¶ added in v1.0.39
func (*ResponseIncompleteEvent) ProtoMessage()
func (*ResponseIncompleteEvent) ProtoReflect ¶ added in v1.0.39
func (x *ResponseIncompleteEvent) ProtoReflect() protoreflect.Message
func (*ResponseIncompleteEvent) Reset ¶ added in v1.0.39
func (x *ResponseIncompleteEvent) Reset()
func (*ResponseIncompleteEvent) String ¶ added in v1.0.39
func (x *ResponseIncompleteEvent) String() string
type ResponseKnowledgeSearchCallCompletedEvent ¶ added in v1.0.39
type ResponseKnowledgeSearchCallCompletedEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.knowledge_search_call.completed"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseKnowledgeSearchCallCompletedEvent) Descriptor
deprecated
added in
v1.0.39
func (*ResponseKnowledgeSearchCallCompletedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseKnowledgeSearchCallCompletedEvent.ProtoReflect.Descriptor instead.
func (*ResponseKnowledgeSearchCallCompletedEvent) GetItemId ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallCompletedEvent) GetItemId() string
func (*ResponseKnowledgeSearchCallCompletedEvent) GetOutputIndex ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallCompletedEvent) GetOutputIndex() int64
func (*ResponseKnowledgeSearchCallCompletedEvent) GetSequenceNumber ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallCompletedEvent) GetSequenceNumber() int64
func (*ResponseKnowledgeSearchCallCompletedEvent) GetType ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallCompletedEvent) GetType() EventType_Enum
func (*ResponseKnowledgeSearchCallCompletedEvent) ProtoMessage ¶ added in v1.0.39
func (*ResponseKnowledgeSearchCallCompletedEvent) ProtoMessage()
func (*ResponseKnowledgeSearchCallCompletedEvent) ProtoReflect ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallCompletedEvent) ProtoReflect() protoreflect.Message
func (*ResponseKnowledgeSearchCallCompletedEvent) Reset ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallCompletedEvent) Reset()
func (*ResponseKnowledgeSearchCallCompletedEvent) String ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallCompletedEvent) String() string
type ResponseKnowledgeSearchCallFailedEvent ¶ added in v1.0.39
type ResponseKnowledgeSearchCallFailedEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.knowledge_search_call.failed"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseKnowledgeSearchCallFailedEvent) Descriptor
deprecated
added in
v1.0.39
func (*ResponseKnowledgeSearchCallFailedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseKnowledgeSearchCallFailedEvent.ProtoReflect.Descriptor instead.
func (*ResponseKnowledgeSearchCallFailedEvent) GetItemId ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallFailedEvent) GetItemId() string
func (*ResponseKnowledgeSearchCallFailedEvent) GetOutputIndex ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallFailedEvent) GetOutputIndex() int64
func (*ResponseKnowledgeSearchCallFailedEvent) GetSequenceNumber ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallFailedEvent) GetSequenceNumber() int64
func (*ResponseKnowledgeSearchCallFailedEvent) GetType ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallFailedEvent) GetType() EventType_Enum
func (*ResponseKnowledgeSearchCallFailedEvent) ProtoMessage ¶ added in v1.0.39
func (*ResponseKnowledgeSearchCallFailedEvent) ProtoMessage()
func (*ResponseKnowledgeSearchCallFailedEvent) ProtoReflect ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallFailedEvent) ProtoReflect() protoreflect.Message
func (*ResponseKnowledgeSearchCallFailedEvent) Reset ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallFailedEvent) Reset()
func (*ResponseKnowledgeSearchCallFailedEvent) String ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallFailedEvent) String() string
type ResponseKnowledgeSearchCallInProgressEvent ¶ added in v1.0.39
type ResponseKnowledgeSearchCallInProgressEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.knowledge_search_call.in_progress"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseKnowledgeSearchCallInProgressEvent) Descriptor
deprecated
added in
v1.0.39
func (*ResponseKnowledgeSearchCallInProgressEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseKnowledgeSearchCallInProgressEvent.ProtoReflect.Descriptor instead.
func (*ResponseKnowledgeSearchCallInProgressEvent) GetItemId ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallInProgressEvent) GetItemId() string
func (*ResponseKnowledgeSearchCallInProgressEvent) GetOutputIndex ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallInProgressEvent) GetOutputIndex() int64
func (*ResponseKnowledgeSearchCallInProgressEvent) GetSequenceNumber ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallInProgressEvent) GetSequenceNumber() int64
func (*ResponseKnowledgeSearchCallInProgressEvent) GetType ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallInProgressEvent) GetType() EventType_Enum
func (*ResponseKnowledgeSearchCallInProgressEvent) ProtoMessage ¶ added in v1.0.39
func (*ResponseKnowledgeSearchCallInProgressEvent) ProtoMessage()
func (*ResponseKnowledgeSearchCallInProgressEvent) ProtoReflect ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallInProgressEvent) ProtoReflect() protoreflect.Message
func (*ResponseKnowledgeSearchCallInProgressEvent) Reset ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallInProgressEvent) Reset()
func (*ResponseKnowledgeSearchCallInProgressEvent) String ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallInProgressEvent) String() string
type ResponseKnowledgeSearchCallSearchingEvent ¶ added in v1.0.39
type ResponseKnowledgeSearchCallSearchingEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.knowledge_search_call.searching"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseKnowledgeSearchCallSearchingEvent) Descriptor
deprecated
added in
v1.0.39
func (*ResponseKnowledgeSearchCallSearchingEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseKnowledgeSearchCallSearchingEvent.ProtoReflect.Descriptor instead.
func (*ResponseKnowledgeSearchCallSearchingEvent) GetItemId ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallSearchingEvent) GetItemId() string
func (*ResponseKnowledgeSearchCallSearchingEvent) GetOutputIndex ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallSearchingEvent) GetOutputIndex() int64
func (*ResponseKnowledgeSearchCallSearchingEvent) GetSequenceNumber ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallSearchingEvent) GetSequenceNumber() int64
func (*ResponseKnowledgeSearchCallSearchingEvent) GetType ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallSearchingEvent) GetType() EventType_Enum
func (*ResponseKnowledgeSearchCallSearchingEvent) ProtoMessage ¶ added in v1.0.39
func (*ResponseKnowledgeSearchCallSearchingEvent) ProtoMessage()
func (*ResponseKnowledgeSearchCallSearchingEvent) ProtoReflect ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallSearchingEvent) ProtoReflect() protoreflect.Message
func (*ResponseKnowledgeSearchCallSearchingEvent) Reset ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallSearchingEvent) Reset()
func (*ResponseKnowledgeSearchCallSearchingEvent) String ¶ added in v1.0.39
func (x *ResponseKnowledgeSearchCallSearchingEvent) String() string
type ResponseMcpApprovalRequestEvent ¶
type ResponseMcpApprovalRequestEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.mcp_approval_request"}
FunctionMcpApprovalRequest *ItemFunctionMcpApprovalRequest `` /* 143-byte string literal not displayed */
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseMcpApprovalRequestEvent) Descriptor
deprecated
func (*ResponseMcpApprovalRequestEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMcpApprovalRequestEvent.ProtoReflect.Descriptor instead.
func (*ResponseMcpApprovalRequestEvent) GetFunctionMcpApprovalRequest ¶
func (x *ResponseMcpApprovalRequestEvent) GetFunctionMcpApprovalRequest() *ItemFunctionMcpApprovalRequest
func (*ResponseMcpApprovalRequestEvent) GetOutputIndex ¶
func (x *ResponseMcpApprovalRequestEvent) GetOutputIndex() int64
func (*ResponseMcpApprovalRequestEvent) GetSequenceNumber ¶
func (x *ResponseMcpApprovalRequestEvent) GetSequenceNumber() int64
func (*ResponseMcpApprovalRequestEvent) GetType ¶
func (x *ResponseMcpApprovalRequestEvent) GetType() EventType_Enum
func (*ResponseMcpApprovalRequestEvent) ProtoMessage ¶
func (*ResponseMcpApprovalRequestEvent) ProtoMessage()
func (*ResponseMcpApprovalRequestEvent) ProtoReflect ¶
func (x *ResponseMcpApprovalRequestEvent) ProtoReflect() protoreflect.Message
func (*ResponseMcpApprovalRequestEvent) Reset ¶
func (x *ResponseMcpApprovalRequestEvent) Reset()
func (*ResponseMcpApprovalRequestEvent) String ¶
func (x *ResponseMcpApprovalRequestEvent) String() string
type ResponseMcpCallArgumentsDeltaEvent ¶
type ResponseMcpCallArgumentsDeltaEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.mcp_call_arguments.delta"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
Delta string `protobuf:"bytes,5,opt,name=delta,proto3" json:"delta,omitempty"`
// contains filtered or unexported fields
}
func (*ResponseMcpCallArgumentsDeltaEvent) Descriptor
deprecated
func (*ResponseMcpCallArgumentsDeltaEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMcpCallArgumentsDeltaEvent.ProtoReflect.Descriptor instead.
func (*ResponseMcpCallArgumentsDeltaEvent) GetDelta ¶
func (x *ResponseMcpCallArgumentsDeltaEvent) GetDelta() string
func (*ResponseMcpCallArgumentsDeltaEvent) GetItemId ¶
func (x *ResponseMcpCallArgumentsDeltaEvent) GetItemId() string
func (*ResponseMcpCallArgumentsDeltaEvent) GetOutputIndex ¶
func (x *ResponseMcpCallArgumentsDeltaEvent) GetOutputIndex() int64
func (*ResponseMcpCallArgumentsDeltaEvent) GetSequenceNumber ¶
func (x *ResponseMcpCallArgumentsDeltaEvent) GetSequenceNumber() int64
func (*ResponseMcpCallArgumentsDeltaEvent) GetType ¶
func (x *ResponseMcpCallArgumentsDeltaEvent) GetType() EventType_Enum
func (*ResponseMcpCallArgumentsDeltaEvent) ProtoMessage ¶
func (*ResponseMcpCallArgumentsDeltaEvent) ProtoMessage()
func (*ResponseMcpCallArgumentsDeltaEvent) ProtoReflect ¶
func (x *ResponseMcpCallArgumentsDeltaEvent) ProtoReflect() protoreflect.Message
func (*ResponseMcpCallArgumentsDeltaEvent) Reset ¶
func (x *ResponseMcpCallArgumentsDeltaEvent) Reset()
func (*ResponseMcpCallArgumentsDeltaEvent) String ¶
func (x *ResponseMcpCallArgumentsDeltaEvent) String() string
type ResponseMcpCallArgumentsDoneEvent ¶
type ResponseMcpCallArgumentsDoneEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.mcp_call_arguments.done"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
Arguments string `protobuf:"bytes,5,opt,name=arguments,proto3" json:"arguments,omitempty"`
// contains filtered or unexported fields
}
func (*ResponseMcpCallArgumentsDoneEvent) Descriptor
deprecated
func (*ResponseMcpCallArgumentsDoneEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMcpCallArgumentsDoneEvent.ProtoReflect.Descriptor instead.
func (*ResponseMcpCallArgumentsDoneEvent) GetArguments ¶
func (x *ResponseMcpCallArgumentsDoneEvent) GetArguments() string
func (*ResponseMcpCallArgumentsDoneEvent) GetItemId ¶
func (x *ResponseMcpCallArgumentsDoneEvent) GetItemId() string
func (*ResponseMcpCallArgumentsDoneEvent) GetOutputIndex ¶
func (x *ResponseMcpCallArgumentsDoneEvent) GetOutputIndex() int64
func (*ResponseMcpCallArgumentsDoneEvent) GetSequenceNumber ¶
func (x *ResponseMcpCallArgumentsDoneEvent) GetSequenceNumber() int64
func (*ResponseMcpCallArgumentsDoneEvent) GetType ¶
func (x *ResponseMcpCallArgumentsDoneEvent) GetType() EventType_Enum
func (*ResponseMcpCallArgumentsDoneEvent) ProtoMessage ¶
func (*ResponseMcpCallArgumentsDoneEvent) ProtoMessage()
func (*ResponseMcpCallArgumentsDoneEvent) ProtoReflect ¶
func (x *ResponseMcpCallArgumentsDoneEvent) ProtoReflect() protoreflect.Message
func (*ResponseMcpCallArgumentsDoneEvent) Reset ¶
func (x *ResponseMcpCallArgumentsDoneEvent) Reset()
func (*ResponseMcpCallArgumentsDoneEvent) String ¶
func (x *ResponseMcpCallArgumentsDoneEvent) String() string
type ResponseMcpCallCompletedEvent ¶
type ResponseMcpCallCompletedEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.mcp_call.completed"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseMcpCallCompletedEvent) Descriptor
deprecated
func (*ResponseMcpCallCompletedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMcpCallCompletedEvent.ProtoReflect.Descriptor instead.
func (*ResponseMcpCallCompletedEvent) GetItemId ¶
func (x *ResponseMcpCallCompletedEvent) GetItemId() string
func (*ResponseMcpCallCompletedEvent) GetOutputIndex ¶
func (x *ResponseMcpCallCompletedEvent) GetOutputIndex() int64
func (*ResponseMcpCallCompletedEvent) GetSequenceNumber ¶
func (x *ResponseMcpCallCompletedEvent) GetSequenceNumber() int64
func (*ResponseMcpCallCompletedEvent) GetType ¶
func (x *ResponseMcpCallCompletedEvent) GetType() EventType_Enum
func (*ResponseMcpCallCompletedEvent) ProtoMessage ¶
func (*ResponseMcpCallCompletedEvent) ProtoMessage()
func (*ResponseMcpCallCompletedEvent) ProtoReflect ¶
func (x *ResponseMcpCallCompletedEvent) ProtoReflect() protoreflect.Message
func (*ResponseMcpCallCompletedEvent) Reset ¶
func (x *ResponseMcpCallCompletedEvent) Reset()
func (*ResponseMcpCallCompletedEvent) String ¶
func (x *ResponseMcpCallCompletedEvent) String() string
type ResponseMcpCallFailedEvent ¶
type ResponseMcpCallFailedEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.mcp_call.failed"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseMcpCallFailedEvent) Descriptor
deprecated
func (*ResponseMcpCallFailedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMcpCallFailedEvent.ProtoReflect.Descriptor instead.
func (*ResponseMcpCallFailedEvent) GetItemId ¶
func (x *ResponseMcpCallFailedEvent) GetItemId() string
func (*ResponseMcpCallFailedEvent) GetOutputIndex ¶
func (x *ResponseMcpCallFailedEvent) GetOutputIndex() int64
func (*ResponseMcpCallFailedEvent) GetSequenceNumber ¶
func (x *ResponseMcpCallFailedEvent) GetSequenceNumber() int64
func (*ResponseMcpCallFailedEvent) GetType ¶
func (x *ResponseMcpCallFailedEvent) GetType() EventType_Enum
func (*ResponseMcpCallFailedEvent) ProtoMessage ¶
func (*ResponseMcpCallFailedEvent) ProtoMessage()
func (*ResponseMcpCallFailedEvent) ProtoReflect ¶
func (x *ResponseMcpCallFailedEvent) ProtoReflect() protoreflect.Message
func (*ResponseMcpCallFailedEvent) Reset ¶
func (x *ResponseMcpCallFailedEvent) Reset()
func (*ResponseMcpCallFailedEvent) String ¶
func (x *ResponseMcpCallFailedEvent) String() string
type ResponseMcpCallInProgressEvent ¶
type ResponseMcpCallInProgressEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.mcp_call.in_progress"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseMcpCallInProgressEvent) Descriptor
deprecated
func (*ResponseMcpCallInProgressEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMcpCallInProgressEvent.ProtoReflect.Descriptor instead.
func (*ResponseMcpCallInProgressEvent) GetItemId ¶
func (x *ResponseMcpCallInProgressEvent) GetItemId() string
func (*ResponseMcpCallInProgressEvent) GetOutputIndex ¶
func (x *ResponseMcpCallInProgressEvent) GetOutputIndex() int64
func (*ResponseMcpCallInProgressEvent) GetSequenceNumber ¶
func (x *ResponseMcpCallInProgressEvent) GetSequenceNumber() int64
func (*ResponseMcpCallInProgressEvent) GetType ¶
func (x *ResponseMcpCallInProgressEvent) GetType() EventType_Enum
func (*ResponseMcpCallInProgressEvent) ProtoMessage ¶
func (*ResponseMcpCallInProgressEvent) ProtoMessage()
func (*ResponseMcpCallInProgressEvent) ProtoReflect ¶
func (x *ResponseMcpCallInProgressEvent) ProtoReflect() protoreflect.Message
func (*ResponseMcpCallInProgressEvent) Reset ¶
func (x *ResponseMcpCallInProgressEvent) Reset()
func (*ResponseMcpCallInProgressEvent) String ¶
func (x *ResponseMcpCallInProgressEvent) String() string
type ResponseMcpListToolsCompletedEvent ¶
type ResponseMcpListToolsCompletedEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.mcp_list_tools.completed"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseMcpListToolsCompletedEvent) Descriptor
deprecated
func (*ResponseMcpListToolsCompletedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMcpListToolsCompletedEvent.ProtoReflect.Descriptor instead.
func (*ResponseMcpListToolsCompletedEvent) GetItemId ¶
func (x *ResponseMcpListToolsCompletedEvent) GetItemId() string
func (*ResponseMcpListToolsCompletedEvent) GetOutputIndex ¶
func (x *ResponseMcpListToolsCompletedEvent) GetOutputIndex() int64
func (*ResponseMcpListToolsCompletedEvent) GetSequenceNumber ¶
func (x *ResponseMcpListToolsCompletedEvent) GetSequenceNumber() int64
func (*ResponseMcpListToolsCompletedEvent) GetType ¶
func (x *ResponseMcpListToolsCompletedEvent) GetType() EventType_Enum
func (*ResponseMcpListToolsCompletedEvent) ProtoMessage ¶
func (*ResponseMcpListToolsCompletedEvent) ProtoMessage()
func (*ResponseMcpListToolsCompletedEvent) ProtoReflect ¶
func (x *ResponseMcpListToolsCompletedEvent) ProtoReflect() protoreflect.Message
func (*ResponseMcpListToolsCompletedEvent) Reset ¶
func (x *ResponseMcpListToolsCompletedEvent) Reset()
func (*ResponseMcpListToolsCompletedEvent) String ¶
func (x *ResponseMcpListToolsCompletedEvent) String() string
type ResponseMcpListToolsInProgressEvent ¶
type ResponseMcpListToolsInProgressEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.mcp_list_tools.in_progress"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseMcpListToolsInProgressEvent) Descriptor
deprecated
func (*ResponseMcpListToolsInProgressEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseMcpListToolsInProgressEvent.ProtoReflect.Descriptor instead.
func (*ResponseMcpListToolsInProgressEvent) GetItemId ¶
func (x *ResponseMcpListToolsInProgressEvent) GetItemId() string
func (*ResponseMcpListToolsInProgressEvent) GetOutputIndex ¶
func (x *ResponseMcpListToolsInProgressEvent) GetOutputIndex() int64
func (*ResponseMcpListToolsInProgressEvent) GetSequenceNumber ¶
func (x *ResponseMcpListToolsInProgressEvent) GetSequenceNumber() int64
func (*ResponseMcpListToolsInProgressEvent) GetType ¶
func (x *ResponseMcpListToolsInProgressEvent) GetType() EventType_Enum
func (*ResponseMcpListToolsInProgressEvent) ProtoMessage ¶
func (*ResponseMcpListToolsInProgressEvent) ProtoMessage()
func (*ResponseMcpListToolsInProgressEvent) ProtoReflect ¶
func (x *ResponseMcpListToolsInProgressEvent) ProtoReflect() protoreflect.Message
func (*ResponseMcpListToolsInProgressEvent) Reset ¶
func (x *ResponseMcpListToolsInProgressEvent) Reset()
func (*ResponseMcpListToolsInProgressEvent) String ¶
func (x *ResponseMcpListToolsInProgressEvent) String() string
type ResponseObject ¶
type ResponseObject struct {
// Unix timestamp (in seconds) of when this Response was created.
CreatedAt int64 `protobuf:"varint,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// An error object returned when the model fails to generate a Response.
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof" json:"error,omitempty"`
// Unique identifier for this Response.
Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
// Details about why the response is incomplete.
IncompleteDetails *IncompleteDetails `protobuf:"bytes,4,opt,name=incomplete_details,json=incompleteDetails,proto3,oneof" json:"incomplete_details,omitempty"`
// An upper bound for the number of tokens that can be generated for a response.
MaxOutputTokens *int64 `protobuf:"varint,5,opt,name=max_output_tokens,json=maxOutputTokens,proto3,oneof" json:"max_output_tokens,omitempty"`
// Model Name or endpoint id.
Model string `protobuf:"bytes,6,opt,name=model,proto3" json:"model,omitempty"`
// The object type of this resource - always set to `response`.
Object ObjectType_Enum `protobuf:"varint,7,opt,name=object,proto3,enum=responses.ObjectType_Enum" json:"object,omitempty"` // p2p: {"const": "response"}
// An array of content items generated by the model.
Output []*OutputItem `protobuf:"bytes,8,rep,name=output,proto3" json:"output,omitempty"`
// The unique ID of the previous response to the model. Use this to create multi-turn conversations.
PreviousResponseId *string `protobuf:"bytes,9,opt,name=previous_response_id,json=previousResponseId,proto3,oneof" json:"previous_response_id,omitempty"`
// The thinking mode to use for the model.
Thinking *ResponsesThinking `protobuf:"bytes,10,opt,name=thinking,proto3,oneof" json:"thinking,omitempty"`
// Specifies the latency tier to use for processing the request.
ServiceTier *ResponsesServiceTier_Enum `` /* 143-byte string literal not displayed */
// The status of the response generation. One of `completed`, `failed`, `in_progress`, or `incomplete`.
Status ResponseStatus_Enum `protobuf:"varint,12,opt,name=status,proto3,enum=responses.ResponseStatus_Enum" json:"status,omitempty"`
// What sampling temperature to use, between 0 and 2.
Temperature *float64 `protobuf:"fixed64,13,opt,name=temperature,proto3,oneof" json:"temperature,omitempty"`
// An array of tools the model may call while generating a response. You can specify which tool to use by setting the `tool_choice` parameter.
Tools []*ResponsesTool `protobuf:"bytes,14,rep,name=tools,proto3" json:"tools,omitempty"`
// An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.
TopP *float64 `protobuf:"fixed64,15,opt,name=top_p,json=topP,proto3,oneof" json:"top_p,omitempty"`
// Represents token usage details including input tokens, output tokens, a breakdown of output tokens, and the total tokens used.
Usage *Usage `protobuf:"bytes,16,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// Represents the caching configuration for the response.
Caching *ResponsesCaching `protobuf:"bytes,17,opt,name=caching,proto3,oneof" json:"caching,omitempty"`
// Configuration options for a text response from the model. Can be plain text or json object
Text *ResponsesText `protobuf:"bytes,18,opt,name=text,proto3,oneof" json:"text,omitempty"`
// Inserts a system (or developer) message as the first item in the model's context.
Instructions *string `protobuf:"bytes,19,opt,name=instructions,proto3,oneof" json:"instructions,omitempty"`
// Whether to store the response object
Store *bool `protobuf:"varint,20,opt,name=store,proto3,oneof" json:"store,omitempty"`
// The expiration time of the response object
ExpireAt *int64 `protobuf:"varint,21,opt,name=expire_at,json=expireAt,proto3,oneof" json:"expire_at,omitempty"`
// How the model should select which tool (or tools) to use when generating a response. See the `tools` parameter to see how to specify which tools the model can call.
ToolChoice *ResponsesToolChoice `protobuf:"bytes,22,opt,name=tool_choice,json=toolChoice,proto3,oneof" json:"tool_choice,omitempty"`
// Whether to allow the model to run tool calls in parallel.
ParallelToolCalls *bool `protobuf:"varint,23,opt,name=parallel_tool_calls,json=parallelToolCalls,proto3,oneof" json:"parallel_tool_calls,omitempty"`
// The maximum number of total calls to built-in tools that can be processed in a response. This maximum number applies across all built-in tool calls, not per individual tool. Any further attempts to call a tool by the model will be ignored.
MaxToolCalls *int64 `protobuf:"varint,24,opt,name=max_tool_calls,json=maxToolCalls,proto3,oneof" json:"max_tool_calls,omitempty"`
// Configuration options for reasoning models
Reasoning *ResponsesReasoning `protobuf:"bytes,25,opt,name=reasoning,proto3,oneof" json:"reasoning,omitempty"`
model.HttpHeader
// contains filtered or unexported fields
}
func (*ResponseObject) Descriptor
deprecated
func (*ResponseObject) Descriptor() ([]byte, []int)
Deprecated: Use ResponseObject.ProtoReflect.Descriptor instead.
func (*ResponseObject) GetCaching ¶
func (x *ResponseObject) GetCaching() *ResponsesCaching
func (*ResponseObject) GetCreatedAt ¶
func (x *ResponseObject) GetCreatedAt() int64
func (*ResponseObject) GetError ¶
func (x *ResponseObject) GetError() *Error
func (*ResponseObject) GetExpireAt ¶
func (x *ResponseObject) GetExpireAt() int64
func (*ResponseObject) GetId ¶
func (x *ResponseObject) GetId() string
func (*ResponseObject) GetIncompleteDetails ¶
func (x *ResponseObject) GetIncompleteDetails() *IncompleteDetails
func (*ResponseObject) GetInstructions ¶
func (x *ResponseObject) GetInstructions() string
func (*ResponseObject) GetMaxOutputTokens ¶
func (x *ResponseObject) GetMaxOutputTokens() int64
func (*ResponseObject) GetMaxToolCalls ¶
func (x *ResponseObject) GetMaxToolCalls() int64
func (*ResponseObject) GetModel ¶
func (x *ResponseObject) GetModel() string
func (*ResponseObject) GetObject ¶
func (x *ResponseObject) GetObject() ObjectType_Enum
func (*ResponseObject) GetOutput ¶
func (x *ResponseObject) GetOutput() []*OutputItem
func (*ResponseObject) GetParallelToolCalls ¶
func (x *ResponseObject) GetParallelToolCalls() bool
func (*ResponseObject) GetPreviousResponseId ¶
func (x *ResponseObject) GetPreviousResponseId() string
func (*ResponseObject) GetReasoning ¶ added in v1.0.39
func (x *ResponseObject) GetReasoning() *ResponsesReasoning
func (*ResponseObject) GetServiceTier ¶
func (x *ResponseObject) GetServiceTier() ResponsesServiceTier_Enum
func (*ResponseObject) GetStatus ¶
func (x *ResponseObject) GetStatus() ResponseStatus_Enum
func (*ResponseObject) GetStore ¶
func (x *ResponseObject) GetStore() bool
func (*ResponseObject) GetTemperature ¶
func (x *ResponseObject) GetTemperature() float64
func (*ResponseObject) GetText ¶
func (x *ResponseObject) GetText() *ResponsesText
func (*ResponseObject) GetThinking ¶
func (x *ResponseObject) GetThinking() *ResponsesThinking
func (*ResponseObject) GetToolChoice ¶
func (x *ResponseObject) GetToolChoice() *ResponsesToolChoice
func (*ResponseObject) GetTools ¶
func (x *ResponseObject) GetTools() []*ResponsesTool
func (*ResponseObject) GetTopP ¶
func (x *ResponseObject) GetTopP() float64
func (*ResponseObject) GetUsage ¶
func (x *ResponseObject) GetUsage() *Usage
func (*ResponseObject) ProtoMessage ¶
func (*ResponseObject) ProtoMessage()
func (*ResponseObject) ProtoReflect ¶
func (x *ResponseObject) ProtoReflect() protoreflect.Message
func (*ResponseObject) Reset ¶
func (x *ResponseObject) Reset()
func (*ResponseObject) String ¶
func (x *ResponseObject) String() string
type ResponseStatus ¶
type ResponseStatus struct {
// contains filtered or unexported fields
}
func (*ResponseStatus) Descriptor
deprecated
func (*ResponseStatus) Descriptor() ([]byte, []int)
Deprecated: Use ResponseStatus.ProtoReflect.Descriptor instead.
func (*ResponseStatus) ProtoMessage ¶
func (*ResponseStatus) ProtoMessage()
func (*ResponseStatus) ProtoReflect ¶
func (x *ResponseStatus) ProtoReflect() protoreflect.Message
func (*ResponseStatus) Reset ¶
func (x *ResponseStatus) Reset()
func (*ResponseStatus) String ¶
func (x *ResponseStatus) String() string
type ResponseStatus_Enum ¶
type ResponseStatus_Enum int32
const ( ResponseStatus_unspecified ResponseStatus_Enum = 0 ResponseStatus_in_progress ResponseStatus_Enum = 1 ResponseStatus_completed ResponseStatus_Enum = 2 ResponseStatus_incomplete ResponseStatus_Enum = 3 ResponseStatus_failed ResponseStatus_Enum = 4 )
func (ResponseStatus_Enum) Descriptor ¶
func (ResponseStatus_Enum) Descriptor() protoreflect.EnumDescriptor
func (ResponseStatus_Enum) Enum ¶
func (x ResponseStatus_Enum) Enum() *ResponseStatus_Enum
func (ResponseStatus_Enum) EnumDescriptor
deprecated
func (ResponseStatus_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponseStatus_Enum.Descriptor instead.
func (ResponseStatus_Enum) MarshalJSON ¶
func (r ResponseStatus_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (ResponseStatus_Enum) Number ¶
func (x ResponseStatus_Enum) Number() protoreflect.EnumNumber
func (ResponseStatus_Enum) String ¶
func (x ResponseStatus_Enum) String() string
func (ResponseStatus_Enum) Type ¶
func (ResponseStatus_Enum) Type() protoreflect.EnumType
func (*ResponseStatus_Enum) UnmarshalJSON ¶
func (r *ResponseStatus_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ResponseWebSearchCallCompletedEvent ¶
type ResponseWebSearchCallCompletedEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.web_search_call.completed"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseWebSearchCallCompletedEvent) Descriptor
deprecated
func (*ResponseWebSearchCallCompletedEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseWebSearchCallCompletedEvent.ProtoReflect.Descriptor instead.
func (*ResponseWebSearchCallCompletedEvent) GetItemId ¶
func (x *ResponseWebSearchCallCompletedEvent) GetItemId() string
func (*ResponseWebSearchCallCompletedEvent) GetOutputIndex ¶
func (x *ResponseWebSearchCallCompletedEvent) GetOutputIndex() int64
func (*ResponseWebSearchCallCompletedEvent) GetSequenceNumber ¶
func (x *ResponseWebSearchCallCompletedEvent) GetSequenceNumber() int64
func (*ResponseWebSearchCallCompletedEvent) GetType ¶
func (x *ResponseWebSearchCallCompletedEvent) GetType() EventType_Enum
func (*ResponseWebSearchCallCompletedEvent) ProtoMessage ¶
func (*ResponseWebSearchCallCompletedEvent) ProtoMessage()
func (*ResponseWebSearchCallCompletedEvent) ProtoReflect ¶
func (x *ResponseWebSearchCallCompletedEvent) ProtoReflect() protoreflect.Message
func (*ResponseWebSearchCallCompletedEvent) Reset ¶
func (x *ResponseWebSearchCallCompletedEvent) Reset()
func (*ResponseWebSearchCallCompletedEvent) String ¶
func (x *ResponseWebSearchCallCompletedEvent) String() string
type ResponseWebSearchCallInProgressEvent ¶
type ResponseWebSearchCallInProgressEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.web_search_call.in_progress"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseWebSearchCallInProgressEvent) Descriptor
deprecated
func (*ResponseWebSearchCallInProgressEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseWebSearchCallInProgressEvent.ProtoReflect.Descriptor instead.
func (*ResponseWebSearchCallInProgressEvent) GetItemId ¶
func (x *ResponseWebSearchCallInProgressEvent) GetItemId() string
func (*ResponseWebSearchCallInProgressEvent) GetOutputIndex ¶
func (x *ResponseWebSearchCallInProgressEvent) GetOutputIndex() int64
func (*ResponseWebSearchCallInProgressEvent) GetSequenceNumber ¶
func (x *ResponseWebSearchCallInProgressEvent) GetSequenceNumber() int64
func (*ResponseWebSearchCallInProgressEvent) GetType ¶
func (x *ResponseWebSearchCallInProgressEvent) GetType() EventType_Enum
func (*ResponseWebSearchCallInProgressEvent) ProtoMessage ¶
func (*ResponseWebSearchCallInProgressEvent) ProtoMessage()
func (*ResponseWebSearchCallInProgressEvent) ProtoReflect ¶
func (x *ResponseWebSearchCallInProgressEvent) ProtoReflect() protoreflect.Message
func (*ResponseWebSearchCallInProgressEvent) Reset ¶
func (x *ResponseWebSearchCallInProgressEvent) Reset()
func (*ResponseWebSearchCallInProgressEvent) String ¶
func (x *ResponseWebSearchCallInProgressEvent) String() string
type ResponseWebSearchCallSearchingEvent ¶
type ResponseWebSearchCallSearchingEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.web_search_call.searching"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` // p2p: {"extra": {"skip": "true"}}
SequenceNumber int64 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*ResponseWebSearchCallSearchingEvent) Descriptor
deprecated
func (*ResponseWebSearchCallSearchingEvent) Descriptor() ([]byte, []int)
Deprecated: Use ResponseWebSearchCallSearchingEvent.ProtoReflect.Descriptor instead.
func (*ResponseWebSearchCallSearchingEvent) GetItemId ¶
func (x *ResponseWebSearchCallSearchingEvent) GetItemId() string
func (*ResponseWebSearchCallSearchingEvent) GetOutputIndex ¶
func (x *ResponseWebSearchCallSearchingEvent) GetOutputIndex() int64
func (*ResponseWebSearchCallSearchingEvent) GetSequenceNumber ¶
func (x *ResponseWebSearchCallSearchingEvent) GetSequenceNumber() int64
func (*ResponseWebSearchCallSearchingEvent) GetType ¶
func (x *ResponseWebSearchCallSearchingEvent) GetType() EventType_Enum
func (*ResponseWebSearchCallSearchingEvent) ProtoMessage ¶
func (*ResponseWebSearchCallSearchingEvent) ProtoMessage()
func (*ResponseWebSearchCallSearchingEvent) ProtoReflect ¶
func (x *ResponseWebSearchCallSearchingEvent) ProtoReflect() protoreflect.Message
func (*ResponseWebSearchCallSearchingEvent) Reset ¶
func (x *ResponseWebSearchCallSearchingEvent) Reset()
func (*ResponseWebSearchCallSearchingEvent) String ¶
func (x *ResponseWebSearchCallSearchingEvent) String() string
type ResponsesCaching ¶
type ResponsesCaching struct {
// Whether to enable caching.
Type *CacheType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.CacheType_Enum,oneof" json:"type,omitempty"`
Prefix *bool `protobuf:"varint,2,opt,name=prefix,proto3,oneof" json:"prefix,omitempty"`
// contains filtered or unexported fields
}
func (*ResponsesCaching) Descriptor
deprecated
func (*ResponsesCaching) Descriptor() ([]byte, []int)
Deprecated: Use ResponsesCaching.ProtoReflect.Descriptor instead.
func (*ResponsesCaching) GetPrefix ¶ added in v1.0.39
func (x *ResponsesCaching) GetPrefix() bool
func (*ResponsesCaching) GetType ¶
func (x *ResponsesCaching) GetType() CacheType_Enum
func (*ResponsesCaching) ProtoMessage ¶
func (*ResponsesCaching) ProtoMessage()
func (*ResponsesCaching) ProtoReflect ¶
func (x *ResponsesCaching) ProtoReflect() protoreflect.Message
func (*ResponsesCaching) Reset ¶
func (x *ResponsesCaching) Reset()
func (*ResponsesCaching) String ¶
func (x *ResponsesCaching) String() string
type ResponsesInput ¶
type ResponsesInput struct {
// Types that are assignable to Union:
//
// *ResponsesInput_StringValue
// *ResponsesInput_ListValue
Union isResponsesInput_Union `protobuf_oneof:"union"`
// contains filtered or unexported fields
}
func (*ResponsesInput) Descriptor
deprecated
func (*ResponsesInput) Descriptor() ([]byte, []int)
Deprecated: Use ResponsesInput.ProtoReflect.Descriptor instead.
func (*ResponsesInput) GetListValue ¶
func (x *ResponsesInput) GetListValue() *InputItemList
func (*ResponsesInput) GetStringValue ¶
func (x *ResponsesInput) GetStringValue() string
func (*ResponsesInput) GetUnion ¶
func (m *ResponsesInput) GetUnion() isResponsesInput_Union
func (*ResponsesInput) MarshalJSON ¶
func (r *ResponsesInput) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (*ResponsesInput) ProtoMessage ¶
func (*ResponsesInput) ProtoMessage()
func (*ResponsesInput) ProtoReflect ¶
func (x *ResponsesInput) ProtoReflect() protoreflect.Message
func (*ResponsesInput) Reset ¶
func (x *ResponsesInput) Reset()
func (*ResponsesInput) String ¶
func (x *ResponsesInput) String() string
func (*ResponsesInput) UnmarshalJSON ¶
func (r *ResponsesInput) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ResponsesInput_ListValue ¶
type ResponsesInput_ListValue struct {
ListValue *InputItemList `protobuf:"bytes,2,opt,name=listValue,proto3,oneof"`
}
type ResponsesInput_StringValue ¶
type ResponsesInput_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=stringValue,proto3,oneof"`
}
type ResponsesReasoning ¶
type ResponsesReasoning struct {
Effort ReasoningEffort_Enum `protobuf:"varint,1,opt,name=effort,proto3,enum=responses.ReasoningEffort_Enum" json:"effort,omitempty"`
// contains filtered or unexported fields
}
func (*ResponsesReasoning) Descriptor
deprecated
func (*ResponsesReasoning) Descriptor() ([]byte, []int)
Deprecated: Use ResponsesReasoning.ProtoReflect.Descriptor instead.
func (*ResponsesReasoning) GetEffort ¶
func (x *ResponsesReasoning) GetEffort() ReasoningEffort_Enum
func (*ResponsesReasoning) ProtoMessage ¶
func (*ResponsesReasoning) ProtoMessage()
func (*ResponsesReasoning) ProtoReflect ¶
func (x *ResponsesReasoning) ProtoReflect() protoreflect.Message
func (*ResponsesReasoning) Reset ¶
func (x *ResponsesReasoning) Reset()
func (*ResponsesReasoning) String ¶
func (x *ResponsesReasoning) String() string
type ResponsesRequest ¶
type ResponsesRequest struct {
Input *ResponsesInput `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
MaxOutputTokens *int64 `protobuf:"varint,3,opt,name=max_output_tokens,json=maxOutputTokens,proto3,oneof" json:"max_output_tokens,omitempty"`
PreviousResponseId *string `protobuf:"bytes,4,opt,name=previous_response_id,json=previousResponseId,proto3,oneof" json:"previous_response_id,omitempty"`
Thinking *ResponsesThinking `protobuf:"bytes,5,opt,name=thinking,proto3,oneof" json:"thinking,omitempty"`
ServiceTier *ResponsesServiceTier_Enum `` /* 142-byte string literal not displayed */
Store *bool `protobuf:"varint,7,opt,name=store,proto3,oneof" json:"store,omitempty"`
Stream *bool `protobuf:"varint,8,opt,name=stream,proto3,oneof" json:"stream,omitempty"`
Temperature *float64 `protobuf:"fixed64,9,opt,name=temperature,proto3,oneof" json:"temperature,omitempty"`
Tools []*ResponsesTool `protobuf:"bytes,10,rep,name=tools,proto3" json:"tools,omitempty"`
TopP *float64 `protobuf:"fixed64,11,opt,name=top_p,json=topP,proto3,oneof" json:"top_p,omitempty"`
Instructions *string `protobuf:"bytes,12,opt,name=instructions,proto3,oneof" json:"instructions,omitempty"`
Include []IncludeType_Enum `protobuf:"varint,13,rep,packed,name=include,proto3,enum=responses.IncludeType_Enum" json:"include,omitempty"` // p2p: {"const": "message.input_image.image_url"}
Caching *ResponsesCaching `protobuf:"bytes,14,opt,name=caching,proto3,oneof" json:"caching,omitempty"`
Text *ResponsesText `protobuf:"bytes,15,opt,name=text,proto3,oneof" json:"text,omitempty"`
ExpireAt *int64 `protobuf:"varint,16,opt,name=expire_at,json=expireAt,proto3,oneof" json:"expire_at,omitempty"`
ToolChoice *ResponsesToolChoice `protobuf:"bytes,17,opt,name=tool_choice,json=toolChoice,proto3,oneof" json:"tool_choice,omitempty"`
ParallelToolCalls *bool `protobuf:"varint,18,opt,name=parallel_tool_calls,json=parallelToolCalls,proto3,oneof" json:"parallel_tool_calls,omitempty"`
MaxToolCalls *int64 `protobuf:"varint,19,opt,name=max_tool_calls,json=maxToolCalls,proto3,oneof" json:"max_tool_calls,omitempty"`
Reasoning *ResponsesReasoning `protobuf:"bytes,20,opt,name=reasoning,proto3,oneof" json:"reasoning,omitempty"`
// contains filtered or unexported fields
}
func (*ResponsesRequest) Descriptor
deprecated
func (*ResponsesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResponsesRequest.ProtoReflect.Descriptor instead.
func (*ResponsesRequest) GetCaching ¶
func (x *ResponsesRequest) GetCaching() *ResponsesCaching
func (*ResponsesRequest) GetExpireAt ¶
func (x *ResponsesRequest) GetExpireAt() int64
func (*ResponsesRequest) GetInclude ¶
func (x *ResponsesRequest) GetInclude() []IncludeType_Enum
func (*ResponsesRequest) GetInput ¶
func (x *ResponsesRequest) GetInput() *ResponsesInput
func (*ResponsesRequest) GetInstructions ¶
func (x *ResponsesRequest) GetInstructions() string
func (*ResponsesRequest) GetMaxOutputTokens ¶
func (x *ResponsesRequest) GetMaxOutputTokens() int64
func (*ResponsesRequest) GetMaxToolCalls ¶
func (x *ResponsesRequest) GetMaxToolCalls() int64
func (*ResponsesRequest) GetModel ¶
func (x *ResponsesRequest) GetModel() string
func (*ResponsesRequest) GetParallelToolCalls ¶
func (x *ResponsesRequest) GetParallelToolCalls() bool
func (*ResponsesRequest) GetPreviousResponseId ¶
func (x *ResponsesRequest) GetPreviousResponseId() string
func (*ResponsesRequest) GetReasoning ¶
func (x *ResponsesRequest) GetReasoning() *ResponsesReasoning
func (*ResponsesRequest) GetServiceTier ¶
func (x *ResponsesRequest) GetServiceTier() ResponsesServiceTier_Enum
func (*ResponsesRequest) GetStore ¶
func (x *ResponsesRequest) GetStore() bool
func (*ResponsesRequest) GetStream ¶
func (x *ResponsesRequest) GetStream() bool
func (*ResponsesRequest) GetTemperature ¶
func (x *ResponsesRequest) GetTemperature() float64
func (*ResponsesRequest) GetText ¶
func (x *ResponsesRequest) GetText() *ResponsesText
func (*ResponsesRequest) GetThinking ¶
func (x *ResponsesRequest) GetThinking() *ResponsesThinking
func (*ResponsesRequest) GetToolChoice ¶
func (x *ResponsesRequest) GetToolChoice() *ResponsesToolChoice
func (*ResponsesRequest) GetTools ¶
func (x *ResponsesRequest) GetTools() []*ResponsesTool
func (*ResponsesRequest) GetTopP ¶
func (x *ResponsesRequest) GetTopP() float64
func (*ResponsesRequest) ProtoMessage ¶
func (*ResponsesRequest) ProtoMessage()
func (*ResponsesRequest) ProtoReflect ¶
func (x *ResponsesRequest) ProtoReflect() protoreflect.Message
func (*ResponsesRequest) Reset ¶
func (x *ResponsesRequest) Reset()
func (*ResponsesRequest) String ¶
func (x *ResponsesRequest) String() string
func (*ResponsesRequest) UnmarshalJSON ¶
func (r *ResponsesRequest) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ResponsesServiceTier ¶
type ResponsesServiceTier struct {
// contains filtered or unexported fields
}
func (*ResponsesServiceTier) Descriptor
deprecated
func (*ResponsesServiceTier) Descriptor() ([]byte, []int)
Deprecated: Use ResponsesServiceTier.ProtoReflect.Descriptor instead.
func (*ResponsesServiceTier) ProtoMessage ¶
func (*ResponsesServiceTier) ProtoMessage()
func (*ResponsesServiceTier) ProtoReflect ¶
func (x *ResponsesServiceTier) ProtoReflect() protoreflect.Message
func (*ResponsesServiceTier) Reset ¶
func (x *ResponsesServiceTier) Reset()
func (*ResponsesServiceTier) String ¶
func (x *ResponsesServiceTier) String() string
type ResponsesServiceTier_Enum ¶
type ResponsesServiceTier_Enum int32
const ( ResponsesServiceTier_unspecified ResponsesServiceTier_Enum = 0 ResponsesServiceTier_auto ResponsesServiceTier_Enum = 1 ResponsesServiceTier_default ResponsesServiceTier_Enum = 2 )
func (ResponsesServiceTier_Enum) Descriptor ¶
func (ResponsesServiceTier_Enum) Descriptor() protoreflect.EnumDescriptor
func (ResponsesServiceTier_Enum) Enum ¶
func (x ResponsesServiceTier_Enum) Enum() *ResponsesServiceTier_Enum
func (ResponsesServiceTier_Enum) EnumDescriptor
deprecated
func (ResponsesServiceTier_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponsesServiceTier_Enum.Descriptor instead.
func (ResponsesServiceTier_Enum) MarshalJSON ¶
func (r ResponsesServiceTier_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (ResponsesServiceTier_Enum) Number ¶
func (x ResponsesServiceTier_Enum) Number() protoreflect.EnumNumber
func (ResponsesServiceTier_Enum) String ¶
func (x ResponsesServiceTier_Enum) String() string
func (ResponsesServiceTier_Enum) Type ¶
func (ResponsesServiceTier_Enum) Type() protoreflect.EnumType
func (*ResponsesServiceTier_Enum) UnmarshalJSON ¶
func (r *ResponsesServiceTier_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ResponsesText ¶
type ResponsesText struct {
Format *TextFormat `protobuf:"bytes,1,opt,name=format,proto3" json:"format,omitempty"`
// contains filtered or unexported fields
}
func (*ResponsesText) Descriptor
deprecated
func (*ResponsesText) Descriptor() ([]byte, []int)
Deprecated: Use ResponsesText.ProtoReflect.Descriptor instead.
func (*ResponsesText) GetFormat ¶
func (x *ResponsesText) GetFormat() *TextFormat
func (*ResponsesText) ProtoMessage ¶
func (*ResponsesText) ProtoMessage()
func (*ResponsesText) ProtoReflect ¶
func (x *ResponsesText) ProtoReflect() protoreflect.Message
func (*ResponsesText) Reset ¶
func (x *ResponsesText) Reset()
func (*ResponsesText) String ¶
func (x *ResponsesText) String() string
type ResponsesThinking ¶
type ResponsesThinking struct {
Type *ThinkingType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ThinkingType_Enum,oneof" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*ResponsesThinking) Descriptor
deprecated
func (*ResponsesThinking) Descriptor() ([]byte, []int)
Deprecated: Use ResponsesThinking.ProtoReflect.Descriptor instead.
func (*ResponsesThinking) GetType ¶
func (x *ResponsesThinking) GetType() ThinkingType_Enum
func (*ResponsesThinking) ProtoMessage ¶
func (*ResponsesThinking) ProtoMessage()
func (*ResponsesThinking) ProtoReflect ¶
func (x *ResponsesThinking) ProtoReflect() protoreflect.Message
func (*ResponsesThinking) Reset ¶
func (x *ResponsesThinking) Reset()
func (*ResponsesThinking) String ¶
func (x *ResponsesThinking) String() string
type ResponsesTool ¶
type ResponsesTool struct {
// Types that are assignable to Union:
//
// *ResponsesTool_ToolFunction
// *ResponsesTool_ToolWebSearch
// *ResponsesTool_ToolImageProcess
// *ResponsesTool_ToolMcp
// *ResponsesTool_ToolKnowledgeSearch
Union isResponsesTool_Union `protobuf_oneof:"union"`
// contains filtered or unexported fields
}
func (*ResponsesTool) Descriptor
deprecated
func (*ResponsesTool) Descriptor() ([]byte, []int)
Deprecated: Use ResponsesTool.ProtoReflect.Descriptor instead.
func (*ResponsesTool) GetToolFunction ¶
func (x *ResponsesTool) GetToolFunction() *ToolFunction
func (*ResponsesTool) GetToolImageProcess ¶
func (x *ResponsesTool) GetToolImageProcess() *ToolImageProcess
func (*ResponsesTool) GetToolKnowledgeSearch ¶ added in v1.0.39
func (x *ResponsesTool) GetToolKnowledgeSearch() *ToolKnowledgeSearch
func (*ResponsesTool) GetToolMcp ¶
func (x *ResponsesTool) GetToolMcp() *ToolMcp
func (*ResponsesTool) GetToolWebSearch ¶
func (x *ResponsesTool) GetToolWebSearch() *ToolWebSearch
func (*ResponsesTool) GetUnion ¶
func (m *ResponsesTool) GetUnion() isResponsesTool_Union
func (*ResponsesTool) MarshalJSON ¶
func (r *ResponsesTool) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (*ResponsesTool) ProtoMessage ¶
func (*ResponsesTool) ProtoMessage()
func (*ResponsesTool) ProtoReflect ¶
func (x *ResponsesTool) ProtoReflect() protoreflect.Message
func (*ResponsesTool) Reset ¶
func (x *ResponsesTool) Reset()
func (*ResponsesTool) String ¶
func (x *ResponsesTool) String() string
func (*ResponsesTool) UnmarshalJSON ¶
func (r *ResponsesTool) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ResponsesToolChoice ¶
type ResponsesToolChoice struct {
// Types that are assignable to Union:
//
// *ResponsesToolChoice_Mode
// *ResponsesToolChoice_FunctionToolChoice
// *ResponsesToolChoice_McpToolChoice
// *ResponsesToolChoice_WebSearchToolChoice
// *ResponsesToolChoice_KnowledgeSearchToolChoice
Union isResponsesToolChoice_Union `protobuf_oneof:"union"`
// contains filtered or unexported fields
}
func (*ResponsesToolChoice) Descriptor
deprecated
func (*ResponsesToolChoice) Descriptor() ([]byte, []int)
Deprecated: Use ResponsesToolChoice.ProtoReflect.Descriptor instead.
func (*ResponsesToolChoice) GetFunctionToolChoice ¶
func (x *ResponsesToolChoice) GetFunctionToolChoice() *FunctionToolChoice
func (*ResponsesToolChoice) GetKnowledgeSearchToolChoice ¶ added in v1.0.39
func (x *ResponsesToolChoice) GetKnowledgeSearchToolChoice() *KnowledgeSearchToolChoice
func (*ResponsesToolChoice) GetMcpToolChoice ¶ added in v1.0.39
func (x *ResponsesToolChoice) GetMcpToolChoice() *McpToolChoice
func (*ResponsesToolChoice) GetMode ¶
func (x *ResponsesToolChoice) GetMode() ToolChoiceMode_Enum
func (*ResponsesToolChoice) GetUnion ¶
func (m *ResponsesToolChoice) GetUnion() isResponsesToolChoice_Union
func (*ResponsesToolChoice) GetWebSearchToolChoice ¶ added in v1.0.39
func (x *ResponsesToolChoice) GetWebSearchToolChoice() *WebSearchToolChoice
func (*ResponsesToolChoice) MarshalJSON ¶
func (r *ResponsesToolChoice) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (*ResponsesToolChoice) ProtoMessage ¶
func (*ResponsesToolChoice) ProtoMessage()
func (*ResponsesToolChoice) ProtoReflect ¶
func (x *ResponsesToolChoice) ProtoReflect() protoreflect.Message
func (*ResponsesToolChoice) Reset ¶
func (x *ResponsesToolChoice) Reset()
func (*ResponsesToolChoice) String ¶
func (x *ResponsesToolChoice) String() string
func (*ResponsesToolChoice) UnmarshalJSON ¶
func (r *ResponsesToolChoice) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ResponsesToolChoice_FunctionToolChoice ¶
type ResponsesToolChoice_FunctionToolChoice struct {
FunctionToolChoice *FunctionToolChoice `protobuf:"bytes,2,opt,name=function_tool_choice,json=functionToolChoice,proto3,oneof"`
}
type ResponsesToolChoice_KnowledgeSearchToolChoice ¶ added in v1.0.39
type ResponsesToolChoice_KnowledgeSearchToolChoice struct {
KnowledgeSearchToolChoice *KnowledgeSearchToolChoice `protobuf:"bytes,5,opt,name=knowledge_search_tool_choice,json=knowledgeSearchToolChoice,proto3,oneof"`
}
type ResponsesToolChoice_McpToolChoice ¶ added in v1.0.39
type ResponsesToolChoice_McpToolChoice struct {
McpToolChoice *McpToolChoice `protobuf:"bytes,3,opt,name=mcp_tool_choice,json=mcpToolChoice,proto3,oneof"`
}
type ResponsesToolChoice_Mode ¶
type ResponsesToolChoice_Mode struct {
Mode ToolChoiceMode_Enum `protobuf:"varint,1,opt,name=mode,proto3,enum=responses.ToolChoiceMode_Enum,oneof"`
}
type ResponsesToolChoice_WebSearchToolChoice ¶ added in v1.0.39
type ResponsesToolChoice_WebSearchToolChoice struct {
WebSearchToolChoice *WebSearchToolChoice `protobuf:"bytes,4,opt,name=web_search_tool_choice,json=webSearchToolChoice,proto3,oneof"`
}
type ResponsesTool_ToolFunction ¶
type ResponsesTool_ToolFunction struct {
ToolFunction *ToolFunction `protobuf:"bytes,1,opt,name=tool_function,json=toolFunction,proto3,oneof"`
}
type ResponsesTool_ToolImageProcess ¶
type ResponsesTool_ToolImageProcess struct {
ToolImageProcess *ToolImageProcess `protobuf:"bytes,3,opt,name=tool_image_process,json=toolImageProcess,proto3,oneof"`
}
type ResponsesTool_ToolKnowledgeSearch ¶ added in v1.0.39
type ResponsesTool_ToolKnowledgeSearch struct {
ToolKnowledgeSearch *ToolKnowledgeSearch `protobuf:"bytes,5,opt,name=tool_knowledge_search,json=toolKnowledgeSearch,proto3,oneof"`
}
type ResponsesTool_ToolMcp ¶
type ResponsesTool_ToolMcp struct {
ToolMcp *ToolMcp `protobuf:"bytes,4,opt,name=tool_mcp,json=toolMcp,proto3,oneof"`
}
type ResponsesTool_ToolWebSearch ¶
type ResponsesTool_ToolWebSearch struct {
ToolWebSearch *ToolWebSearch `protobuf:"bytes,2,opt,name=tool_web_search,json=toolWebSearch,proto3,oneof"`
}
type ResponsesTruncation ¶
type ResponsesTruncation struct {
// contains filtered or unexported fields
}
func (*ResponsesTruncation) Descriptor
deprecated
func (*ResponsesTruncation) Descriptor() ([]byte, []int)
Deprecated: Use ResponsesTruncation.ProtoReflect.Descriptor instead.
func (*ResponsesTruncation) ProtoMessage ¶
func (*ResponsesTruncation) ProtoMessage()
func (*ResponsesTruncation) ProtoReflect ¶
func (x *ResponsesTruncation) ProtoReflect() protoreflect.Message
func (*ResponsesTruncation) Reset ¶
func (x *ResponsesTruncation) Reset()
func (*ResponsesTruncation) String ¶
func (x *ResponsesTruncation) String() string
type ResponsesTruncation_Enum ¶
type ResponsesTruncation_Enum int32
const ( ResponsesTruncation_unspecified ResponsesTruncation_Enum = 0 ResponsesTruncation_auto ResponsesTruncation_Enum = 1 ResponsesTruncation_disabled ResponsesTruncation_Enum = 2 )
func (ResponsesTruncation_Enum) Descriptor ¶
func (ResponsesTruncation_Enum) Descriptor() protoreflect.EnumDescriptor
func (ResponsesTruncation_Enum) Enum ¶
func (x ResponsesTruncation_Enum) Enum() *ResponsesTruncation_Enum
func (ResponsesTruncation_Enum) EnumDescriptor
deprecated
func (ResponsesTruncation_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponsesTruncation_Enum.Descriptor instead.
func (ResponsesTruncation_Enum) MarshalJSON ¶
func (r ResponsesTruncation_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (ResponsesTruncation_Enum) Number ¶
func (x ResponsesTruncation_Enum) Number() protoreflect.EnumNumber
func (ResponsesTruncation_Enum) String ¶
func (x ResponsesTruncation_Enum) String() string
func (ResponsesTruncation_Enum) Type ¶
func (ResponsesTruncation_Enum) Type() protoreflect.EnumType
func (*ResponsesTruncation_Enum) UnmarshalJSON ¶
func (r *ResponsesTruncation_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type SourceType ¶
type SourceType struct {
// contains filtered or unexported fields
}
func (*SourceType) Descriptor
deprecated
func (*SourceType) Descriptor() ([]byte, []int)
Deprecated: Use SourceType.ProtoReflect.Descriptor instead.
func (*SourceType) ProtoMessage ¶
func (*SourceType) ProtoMessage()
func (*SourceType) ProtoReflect ¶
func (x *SourceType) ProtoReflect() protoreflect.Message
func (*SourceType) Reset ¶
func (x *SourceType) Reset()
func (*SourceType) String ¶
func (x *SourceType) String() string
type SourceType_Enum ¶
type SourceType_Enum int32
const ( SourceType_unspecified SourceType_Enum = 0 SourceType_toutiao SourceType_Enum = 1 SourceType_douyin SourceType_Enum = 2 SourceType_moji SourceType_Enum = 3 SourceType_search_engine SourceType_Enum = 4 )
func (SourceType_Enum) Descriptor ¶
func (SourceType_Enum) Descriptor() protoreflect.EnumDescriptor
func (SourceType_Enum) Enum ¶
func (x SourceType_Enum) Enum() *SourceType_Enum
func (SourceType_Enum) EnumDescriptor
deprecated
func (SourceType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use SourceType_Enum.Descriptor instead.
func (SourceType_Enum) MarshalJSON ¶
func (r SourceType_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (SourceType_Enum) Number ¶
func (x SourceType_Enum) Number() protoreflect.EnumNumber
func (SourceType_Enum) String ¶
func (x SourceType_Enum) String() string
func (SourceType_Enum) Type ¶
func (SourceType_Enum) Type() protoreflect.EnumType
func (*SourceType_Enum) UnmarshalJSON ¶
func (r *SourceType_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type TextFormat ¶
type TextFormat struct {
Type TextType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.TextType_Enum" json:"type,omitempty"`
Schema *Bytes `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
Strict *bool `protobuf:"varint,5,opt,name=strict,proto3,oneof" json:"strict,omitempty"`
// contains filtered or unexported fields
}
func (*TextFormat) Descriptor
deprecated
func (*TextFormat) Descriptor() ([]byte, []int)
Deprecated: Use TextFormat.ProtoReflect.Descriptor instead.
func (*TextFormat) GetDescription ¶
func (x *TextFormat) GetDescription() string
func (*TextFormat) GetName ¶
func (x *TextFormat) GetName() string
func (*TextFormat) GetSchema ¶
func (x *TextFormat) GetSchema() *Bytes
func (*TextFormat) GetStrict ¶
func (x *TextFormat) GetStrict() bool
func (*TextFormat) GetType ¶
func (x *TextFormat) GetType() TextType_Enum
func (*TextFormat) ProtoMessage ¶
func (*TextFormat) ProtoMessage()
func (*TextFormat) ProtoReflect ¶
func (x *TextFormat) ProtoReflect() protoreflect.Message
func (*TextFormat) Reset ¶
func (x *TextFormat) Reset()
func (*TextFormat) String ¶
func (x *TextFormat) String() string
type TextTranslationOptions ¶
type TextTranslationOptions struct {
SourceLanguage string `protobuf:"bytes,1,opt,name=source_language,json=sourceLanguage,proto3" json:"source_language,omitempty"`
TargetLanguage string `protobuf:"bytes,2,opt,name=target_language,json=targetLanguage,proto3" json:"target_language,omitempty"`
// contains filtered or unexported fields
}
func (*TextTranslationOptions) Descriptor
deprecated
func (*TextTranslationOptions) Descriptor() ([]byte, []int)
Deprecated: Use TextTranslationOptions.ProtoReflect.Descriptor instead.
func (*TextTranslationOptions) GetSourceLanguage ¶
func (x *TextTranslationOptions) GetSourceLanguage() string
func (*TextTranslationOptions) GetTargetLanguage ¶
func (x *TextTranslationOptions) GetTargetLanguage() string
func (*TextTranslationOptions) ProtoMessage ¶
func (*TextTranslationOptions) ProtoMessage()
func (*TextTranslationOptions) ProtoReflect ¶
func (x *TextTranslationOptions) ProtoReflect() protoreflect.Message
func (*TextTranslationOptions) Reset ¶
func (x *TextTranslationOptions) Reset()
func (*TextTranslationOptions) String ¶
func (x *TextTranslationOptions) String() string
type TextType ¶
type TextType struct {
// contains filtered or unexported fields
}
func (*TextType) Descriptor
deprecated
func (*TextType) ProtoMessage ¶
func (*TextType) ProtoMessage()
func (*TextType) ProtoReflect ¶
func (x *TextType) ProtoReflect() protoreflect.Message
type TextType_Enum ¶
type TextType_Enum int32
const ( TextType_unspecified TextType_Enum = 0 TextType_text TextType_Enum = 1 TextType_json_object TextType_Enum = 2 TextType_json_schema TextType_Enum = 3 )
func (TextType_Enum) Descriptor ¶
func (TextType_Enum) Descriptor() protoreflect.EnumDescriptor
func (TextType_Enum) Enum ¶
func (x TextType_Enum) Enum() *TextType_Enum
func (TextType_Enum) EnumDescriptor
deprecated
func (TextType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TextType_Enum.Descriptor instead.
func (TextType_Enum) MarshalJSON ¶
func (r TextType_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (TextType_Enum) Number ¶
func (x TextType_Enum) Number() protoreflect.EnumNumber
func (TextType_Enum) String ¶
func (x TextType_Enum) String() string
func (TextType_Enum) Type ¶
func (TextType_Enum) Type() protoreflect.EnumType
func (*TextType_Enum) UnmarshalJSON ¶
func (r *TextType_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ThinkingType ¶
type ThinkingType struct {
// contains filtered or unexported fields
}
func (*ThinkingType) Descriptor
deprecated
func (*ThinkingType) Descriptor() ([]byte, []int)
Deprecated: Use ThinkingType.ProtoReflect.Descriptor instead.
func (*ThinkingType) ProtoMessage ¶
func (*ThinkingType) ProtoMessage()
func (*ThinkingType) ProtoReflect ¶
func (x *ThinkingType) ProtoReflect() protoreflect.Message
func (*ThinkingType) Reset ¶
func (x *ThinkingType) Reset()
func (*ThinkingType) String ¶
func (x *ThinkingType) String() string
type ThinkingType_Enum ¶
type ThinkingType_Enum int32
const ( ThinkingType_unspecified ThinkingType_Enum = 0 ThinkingType_auto ThinkingType_Enum = 1 ThinkingType_disabled ThinkingType_Enum = 2 ThinkingType_enabled ThinkingType_Enum = 3 )
func (ThinkingType_Enum) Descriptor ¶
func (ThinkingType_Enum) Descriptor() protoreflect.EnumDescriptor
func (ThinkingType_Enum) Enum ¶
func (x ThinkingType_Enum) Enum() *ThinkingType_Enum
func (ThinkingType_Enum) EnumDescriptor
deprecated
func (ThinkingType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ThinkingType_Enum.Descriptor instead.
func (ThinkingType_Enum) MarshalJSON ¶
func (r ThinkingType_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (ThinkingType_Enum) Number ¶
func (x ThinkingType_Enum) Number() protoreflect.EnumNumber
func (ThinkingType_Enum) String ¶
func (x ThinkingType_Enum) String() string
func (ThinkingType_Enum) Type ¶
func (ThinkingType_Enum) Type() protoreflect.EnumType
func (*ThinkingType_Enum) UnmarshalJSON ¶
func (r *ThinkingType_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ToolChoiceMode ¶
type ToolChoiceMode struct {
// contains filtered or unexported fields
}
func (*ToolChoiceMode) Descriptor
deprecated
func (*ToolChoiceMode) Descriptor() ([]byte, []int)
Deprecated: Use ToolChoiceMode.ProtoReflect.Descriptor instead.
func (*ToolChoiceMode) ProtoMessage ¶
func (*ToolChoiceMode) ProtoMessage()
func (*ToolChoiceMode) ProtoReflect ¶
func (x *ToolChoiceMode) ProtoReflect() protoreflect.Message
func (*ToolChoiceMode) Reset ¶
func (x *ToolChoiceMode) Reset()
func (*ToolChoiceMode) String ¶
func (x *ToolChoiceMode) String() string
type ToolChoiceMode_Enum ¶
type ToolChoiceMode_Enum int32
const ( ToolChoiceMode_unspecified ToolChoiceMode_Enum = 0 ToolChoiceMode_auto ToolChoiceMode_Enum = 1 ToolChoiceMode_none ToolChoiceMode_Enum = 2 ToolChoiceMode_required ToolChoiceMode_Enum = 3 )
func (ToolChoiceMode_Enum) Descriptor ¶
func (ToolChoiceMode_Enum) Descriptor() protoreflect.EnumDescriptor
func (ToolChoiceMode_Enum) Enum ¶
func (x ToolChoiceMode_Enum) Enum() *ToolChoiceMode_Enum
func (ToolChoiceMode_Enum) EnumDescriptor
deprecated
func (ToolChoiceMode_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ToolChoiceMode_Enum.Descriptor instead.
func (ToolChoiceMode_Enum) MarshalJSON ¶
func (r ToolChoiceMode_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (ToolChoiceMode_Enum) Number ¶
func (x ToolChoiceMode_Enum) Number() protoreflect.EnumNumber
func (ToolChoiceMode_Enum) String ¶
func (x ToolChoiceMode_Enum) String() string
func (ToolChoiceMode_Enum) Type ¶
func (ToolChoiceMode_Enum) Type() protoreflect.EnumType
func (*ToolChoiceMode_Enum) UnmarshalJSON ¶
func (r *ToolChoiceMode_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ToolFunction ¶
type ToolFunction struct {
// The name of the function to call.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Strict *bool `protobuf:"varint,2,opt,name=strict,proto3,oneof" json:"strict,omitempty"` // p2p: {"extra": {"skip": "true"}}
// The type of the function tool. Always `function`.
Type ToolType_Enum `protobuf:"varint,3,opt,name=type,proto3,enum=responses.ToolType_Enum" json:"type,omitempty"` // p2p: {"const": "function"}
// A description of the function. Used by the model to determine whether or not to call the function.
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
// A JSON schema object describing the parameters of the function.
Parameters *Bytes `protobuf:"bytes,5,opt,name=parameters,proto3" json:"parameters,omitempty"`
// contains filtered or unexported fields
}
func (*ToolFunction) Descriptor
deprecated
func (*ToolFunction) Descriptor() ([]byte, []int)
Deprecated: Use ToolFunction.ProtoReflect.Descriptor instead.
func (*ToolFunction) GetDescription ¶
func (x *ToolFunction) GetDescription() string
func (*ToolFunction) GetName ¶
func (x *ToolFunction) GetName() string
func (*ToolFunction) GetParameters ¶
func (x *ToolFunction) GetParameters() *Bytes
func (*ToolFunction) GetStrict ¶
func (x *ToolFunction) GetStrict() bool
func (*ToolFunction) GetType ¶
func (x *ToolFunction) GetType() ToolType_Enum
func (*ToolFunction) ProtoMessage ¶
func (*ToolFunction) ProtoMessage()
func (*ToolFunction) ProtoReflect ¶
func (x *ToolFunction) ProtoReflect() protoreflect.Message
func (*ToolFunction) Reset ¶
func (x *ToolFunction) Reset()
func (*ToolFunction) String ¶
func (x *ToolFunction) String() string
type ToolImageProcess ¶
type ToolImageProcess struct {
// The type of the image process. Always `image_process`.
Type ToolType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ToolType_Enum" json:"type,omitempty"` // p2p: {"const": "image_process"}
// Whether enable point tool.
Point *ImageProcessPointOptions `protobuf:"bytes,2,opt,name=point,proto3,oneof" json:"point,omitempty"`
// Whether enable grounding tool.
Grounding *ImageProcessGroundingOptions `protobuf:"bytes,3,opt,name=grounding,proto3,oneof" json:"grounding,omitempty"`
// Whether enable zoom tool.
Zoom *ImageProcessZoomOptions `protobuf:"bytes,4,opt,name=zoom,proto3,oneof" json:"zoom,omitempty"`
// Whether enable rotate tool.
Rotate *ImageProcessRotateOptions `protobuf:"bytes,5,opt,name=rotate,proto3,oneof" json:"rotate,omitempty"`
// contains filtered or unexported fields
}
func (*ToolImageProcess) Descriptor
deprecated
func (*ToolImageProcess) Descriptor() ([]byte, []int)
Deprecated: Use ToolImageProcess.ProtoReflect.Descriptor instead.
func (*ToolImageProcess) GetGrounding ¶
func (x *ToolImageProcess) GetGrounding() *ImageProcessGroundingOptions
func (*ToolImageProcess) GetPoint ¶
func (x *ToolImageProcess) GetPoint() *ImageProcessPointOptions
func (*ToolImageProcess) GetRotate ¶
func (x *ToolImageProcess) GetRotate() *ImageProcessRotateOptions
func (*ToolImageProcess) GetType ¶
func (x *ToolImageProcess) GetType() ToolType_Enum
func (*ToolImageProcess) GetZoom ¶
func (x *ToolImageProcess) GetZoom() *ImageProcessZoomOptions
func (*ToolImageProcess) ProtoMessage ¶
func (*ToolImageProcess) ProtoMessage()
func (*ToolImageProcess) ProtoReflect ¶
func (x *ToolImageProcess) ProtoReflect() protoreflect.Message
func (*ToolImageProcess) Reset ¶
func (x *ToolImageProcess) Reset()
func (*ToolImageProcess) String ¶
func (x *ToolImageProcess) String() string
type ToolKnowledgeSearch ¶ added in v1.0.39
type ToolKnowledgeSearch struct {
// The type of the knowledge search. Always `knowledge_search`.
Type ToolType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ToolType_Enum" json:"type,omitempty"` // p2p: {"const": "knowledge_search"}
// The knowledge base id
KnowledgeResourceId string `protobuf:"bytes,2,opt,name=knowledge_resource_id,json=knowledgeResourceId,proto3" json:"knowledge_resource_id,omitempty"`
// Description of the content of the knowledge base
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
// The maximum number of results to return. Defaults to 3.
Limit *int64 `protobuf:"varint,4,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
// Knowledge search dense_weight
DenseWeight *float64 `protobuf:"fixed64,5,opt,name=dense_weight,json=denseWeight,proto3,oneof" json:"dense_weight,omitempty"`
// Knowledge search filter
DocFilter *structpb.Struct `protobuf:"bytes,6,opt,name=doc_filter,json=docFilter,proto3,oneof" json:"doc_filter,omitempty"`
// Knowledge search ranking options
RankingOptions *structpb.Struct `protobuf:"bytes,7,opt,name=ranking_options,json=rankingOptions,proto3,oneof" json:"ranking_options,omitempty"`
// Max number of keywords to search per knowledge search call
MaxKeyword *int32 `protobuf:"varint,8,opt,name=max_keyword,json=maxKeyword,proto3,oneof" json:"max_keyword,omitempty"`
// contains filtered or unexported fields
}
func (*ToolKnowledgeSearch) Descriptor
deprecated
added in
v1.0.39
func (*ToolKnowledgeSearch) Descriptor() ([]byte, []int)
Deprecated: Use ToolKnowledgeSearch.ProtoReflect.Descriptor instead.
func (*ToolKnowledgeSearch) GetDenseWeight ¶ added in v1.0.39
func (x *ToolKnowledgeSearch) GetDenseWeight() float64
func (*ToolKnowledgeSearch) GetDescription ¶ added in v1.0.39
func (x *ToolKnowledgeSearch) GetDescription() string
func (*ToolKnowledgeSearch) GetDocFilter ¶ added in v1.0.39
func (x *ToolKnowledgeSearch) GetDocFilter() *structpb.Struct
func (*ToolKnowledgeSearch) GetKnowledgeResourceId ¶ added in v1.0.39
func (x *ToolKnowledgeSearch) GetKnowledgeResourceId() string
func (*ToolKnowledgeSearch) GetLimit ¶ added in v1.0.39
func (x *ToolKnowledgeSearch) GetLimit() int64
func (*ToolKnowledgeSearch) GetMaxKeyword ¶ added in v1.0.39
func (x *ToolKnowledgeSearch) GetMaxKeyword() int32
func (*ToolKnowledgeSearch) GetRankingOptions ¶ added in v1.0.39
func (x *ToolKnowledgeSearch) GetRankingOptions() *structpb.Struct
func (*ToolKnowledgeSearch) GetType ¶ added in v1.0.39
func (x *ToolKnowledgeSearch) GetType() ToolType_Enum
func (*ToolKnowledgeSearch) ProtoMessage ¶ added in v1.0.39
func (*ToolKnowledgeSearch) ProtoMessage()
func (*ToolKnowledgeSearch) ProtoReflect ¶ added in v1.0.39
func (x *ToolKnowledgeSearch) ProtoReflect() protoreflect.Message
func (*ToolKnowledgeSearch) Reset ¶ added in v1.0.39
func (x *ToolKnowledgeSearch) Reset()
func (*ToolKnowledgeSearch) String ¶ added in v1.0.39
func (x *ToolKnowledgeSearch) String() string
type ToolMcp ¶
type ToolMcp struct {
Type ToolType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ToolType_Enum" json:"type,omitempty"` // p2p: {"const": "mcp"}
ServerLabel string `protobuf:"bytes,2,opt,name=server_label,json=serverLabel,proto3" json:"server_label,omitempty"`
ServerUrl string `protobuf:"bytes,3,opt,name=server_url,json=serverUrl,proto3" json:"server_url,omitempty"`
AllowedTools *McpAllowedTools `protobuf:"bytes,4,opt,name=allowed_tools,json=allowedTools,proto3,oneof" json:"allowed_tools,omitempty"`
Headers map[string]string `` /* 155-byte string literal not displayed */
RequireApproval *McpRequireApproval `protobuf:"bytes,6,opt,name=require_approval,json=requireApproval,proto3,oneof" json:"require_approval,omitempty"`
ServerDescription *string `protobuf:"bytes,7,opt,name=server_description,json=serverDescription,proto3,oneof" json:"server_description,omitempty"`
// contains filtered or unexported fields
}
func (*ToolMcp) Descriptor
deprecated
func (*ToolMcp) GetAllowedTools ¶
func (x *ToolMcp) GetAllowedTools() *McpAllowedTools
func (*ToolMcp) GetHeaders ¶
func (*ToolMcp) GetRequireApproval ¶
func (x *ToolMcp) GetRequireApproval() *McpRequireApproval
func (*ToolMcp) GetServerDescription ¶
func (*ToolMcp) GetServerLabel ¶
func (*ToolMcp) GetServerUrl ¶
func (*ToolMcp) GetType ¶
func (x *ToolMcp) GetType() ToolType_Enum
func (*ToolMcp) ProtoMessage ¶
func (*ToolMcp) ProtoMessage()
func (*ToolMcp) ProtoReflect ¶
func (x *ToolMcp) ProtoReflect() protoreflect.Message
type ToolType ¶
type ToolType struct {
// contains filtered or unexported fields
}
func (*ToolType) Descriptor
deprecated
func (*ToolType) ProtoMessage ¶
func (*ToolType) ProtoMessage()
func (*ToolType) ProtoReflect ¶
func (x *ToolType) ProtoReflect() protoreflect.Message
type ToolType_Enum ¶
type ToolType_Enum int32
const ( ToolType_unspecified ToolType_Enum = 0 ToolType_function ToolType_Enum = 1 ToolType_web_search_preview ToolType_Enum = 2 ToolType_web_search ToolType_Enum = 3 ToolType_image_process ToolType_Enum = 4 ToolType_mcp ToolType_Enum = 5 ToolType_knowledge_search ToolType_Enum = 6 )
func (ToolType_Enum) Descriptor ¶
func (ToolType_Enum) Descriptor() protoreflect.EnumDescriptor
func (ToolType_Enum) Enum ¶
func (x ToolType_Enum) Enum() *ToolType_Enum
func (ToolType_Enum) EnumDescriptor
deprecated
func (ToolType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ToolType_Enum.Descriptor instead.
func (ToolType_Enum) MarshalJSON ¶
func (r ToolType_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (ToolType_Enum) Number ¶
func (x ToolType_Enum) Number() protoreflect.EnumNumber
func (ToolType_Enum) String ¶
func (x ToolType_Enum) String() string
func (ToolType_Enum) Type ¶
func (ToolType_Enum) Type() protoreflect.EnumType
func (*ToolType_Enum) UnmarshalJSON ¶
func (r *ToolType_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type ToolUsage ¶
type ToolUsage struct {
// The usage of web search tools.
WebSearch *int64 `protobuf:"varint,1,opt,name=web_search,json=webSearch,proto3,oneof" json:"web_search,omitempty"`
// The usage of mcp tools.
Mcp *int64 `protobuf:"varint,2,opt,name=mcp,proto3,oneof" json:"mcp,omitempty"`
// The usage of knowledge search tools.
KnowledgeSearch *int64 `protobuf:"varint,3,opt,name=knowledge_search,json=knowledgeSearch,proto3,oneof" json:"knowledge_search,omitempty"`
// contains filtered or unexported fields
}
func (*ToolUsage) Descriptor
deprecated
func (*ToolUsage) GetKnowledgeSearch ¶ added in v1.0.39
func (*ToolUsage) GetWebSearch ¶
func (*ToolUsage) ProtoMessage ¶
func (*ToolUsage) ProtoMessage()
func (*ToolUsage) ProtoReflect ¶
func (x *ToolUsage) ProtoReflect() protoreflect.Message
type ToolUsageDetail ¶
type ToolUsageDetail struct {
// The usage of web search tools.
WebSearch map[string]int64 `` /* 177-byte string literal not displayed */
// The usage of MCP tools.
Mcp map[string]int64 `` /* 148-byte string literal not displayed */
// The usage of knowledge search tools.
KnowledgeSearch map[string]int64 `` /* 195-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ToolUsageDetail) Descriptor
deprecated
func (*ToolUsageDetail) Descriptor() ([]byte, []int)
Deprecated: Use ToolUsageDetail.ProtoReflect.Descriptor instead.
func (*ToolUsageDetail) GetKnowledgeSearch ¶ added in v1.0.39
func (x *ToolUsageDetail) GetKnowledgeSearch() map[string]int64
func (*ToolUsageDetail) GetMcp ¶
func (x *ToolUsageDetail) GetMcp() map[string]int64
func (*ToolUsageDetail) GetWebSearch ¶
func (x *ToolUsageDetail) GetWebSearch() map[string]int64
func (*ToolUsageDetail) ProtoMessage ¶
func (*ToolUsageDetail) ProtoMessage()
func (*ToolUsageDetail) ProtoReflect ¶
func (x *ToolUsageDetail) ProtoReflect() protoreflect.Message
func (*ToolUsageDetail) Reset ¶
func (x *ToolUsageDetail) Reset()
func (*ToolUsageDetail) String ¶
func (x *ToolUsageDetail) String() string
type ToolWebSearch ¶
type ToolWebSearch struct {
// The type of the web search. Always `web_search`.
Type ToolType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ToolType_Enum" json:"type,omitempty"` // p2p: {"const": "web_search"}
// The maximum number of results to return. Defaults to 3.
Limit *int64 `protobuf:"varint,2,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
// The user location.
UserLocation *UserLocation `protobuf:"bytes,3,opt,name=user_location,json=userLocation,proto3,oneof" json:"user_location,omitempty"`
// The source type of web search.
Sources []SourceType_Enum `protobuf:"varint,4,rep,packed,name=sources,proto3,enum=responses.SourceType_Enum" json:"sources,omitempty"`
// Max number of keywords to search per web search call
MaxKeyword *int32 `protobuf:"varint,5,opt,name=max_keyword,json=maxKeyword,proto3,oneof" json:"max_keyword,omitempty"`
// contains filtered or unexported fields
}
func (*ToolWebSearch) Descriptor
deprecated
func (*ToolWebSearch) Descriptor() ([]byte, []int)
Deprecated: Use ToolWebSearch.ProtoReflect.Descriptor instead.
func (*ToolWebSearch) GetLimit ¶
func (x *ToolWebSearch) GetLimit() int64
func (*ToolWebSearch) GetMaxKeyword ¶ added in v1.0.39
func (x *ToolWebSearch) GetMaxKeyword() int32
func (*ToolWebSearch) GetSources ¶
func (x *ToolWebSearch) GetSources() []SourceType_Enum
func (*ToolWebSearch) GetType ¶
func (x *ToolWebSearch) GetType() ToolType_Enum
func (*ToolWebSearch) GetUserLocation ¶
func (x *ToolWebSearch) GetUserLocation() *UserLocation
func (*ToolWebSearch) ProtoMessage ¶
func (*ToolWebSearch) ProtoMessage()
func (*ToolWebSearch) ProtoReflect ¶
func (x *ToolWebSearch) ProtoReflect() protoreflect.Message
func (*ToolWebSearch) Reset ¶
func (x *ToolWebSearch) Reset()
func (*ToolWebSearch) String ¶
func (x *ToolWebSearch) String() string
type TranscriptionPart ¶
type TranscriptionPart struct {
Type ContentItemType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ContentItemType_Enum" json:"type,omitempty"` // p2p: {"const": "transcription_text"}
Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
Chunks []*AudioChunk `protobuf:"bytes,3,rep,name=chunks,proto3" json:"chunks,omitempty"`
// contains filtered or unexported fields
}
func (*TranscriptionPart) Descriptor
deprecated
func (*TranscriptionPart) Descriptor() ([]byte, []int)
Deprecated: Use TranscriptionPart.ProtoReflect.Descriptor instead.
func (*TranscriptionPart) GetChunks ¶
func (x *TranscriptionPart) GetChunks() []*AudioChunk
func (*TranscriptionPart) GetText ¶
func (x *TranscriptionPart) GetText() string
func (*TranscriptionPart) GetType ¶
func (x *TranscriptionPart) GetType() ContentItemType_Enum
func (*TranscriptionPart) ProtoMessage ¶
func (*TranscriptionPart) ProtoMessage()
func (*TranscriptionPart) ProtoReflect ¶
func (x *TranscriptionPart) ProtoReflect() protoreflect.Message
func (*TranscriptionPart) Reset ¶
func (x *TranscriptionPart) Reset()
func (*TranscriptionPart) String ¶
func (x *TranscriptionPart) String() string
type TranscriptionPartDoneEvent ¶ added in v1.0.39
type TranscriptionPartDoneEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.transcription_part.done"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index"` // @inject_tag: json:"output_index" p2p: {"extra": {"skip": "true"}}
TranscriptionIndex int64 `protobuf:"varint,4,opt,name=transcription_index,json=transcriptionIndex,proto3" json:"transcription_index"` // @inject_tag: json:"transcription_index"
Part *TranscriptionPart `protobuf:"bytes,5,opt,name=part,proto3" json:"part,omitempty"`
SequenceNumber int64 `protobuf:"varint,6,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*TranscriptionPartDoneEvent) Descriptor
deprecated
added in
v1.0.39
func (*TranscriptionPartDoneEvent) Descriptor() ([]byte, []int)
Deprecated: Use TranscriptionPartDoneEvent.ProtoReflect.Descriptor instead.
func (*TranscriptionPartDoneEvent) GetItemId ¶ added in v1.0.39
func (x *TranscriptionPartDoneEvent) GetItemId() string
func (*TranscriptionPartDoneEvent) GetOutputIndex ¶ added in v1.0.39
func (x *TranscriptionPartDoneEvent) GetOutputIndex() int64
func (*TranscriptionPartDoneEvent) GetPart ¶ added in v1.0.39
func (x *TranscriptionPartDoneEvent) GetPart() *TranscriptionPart
func (*TranscriptionPartDoneEvent) GetSequenceNumber ¶ added in v1.0.39
func (x *TranscriptionPartDoneEvent) GetSequenceNumber() int64
func (*TranscriptionPartDoneEvent) GetTranscriptionIndex ¶ added in v1.0.39
func (x *TranscriptionPartDoneEvent) GetTranscriptionIndex() int64
func (*TranscriptionPartDoneEvent) GetType ¶ added in v1.0.39
func (x *TranscriptionPartDoneEvent) GetType() EventType_Enum
func (*TranscriptionPartDoneEvent) ProtoMessage ¶ added in v1.0.39
func (*TranscriptionPartDoneEvent) ProtoMessage()
func (*TranscriptionPartDoneEvent) ProtoReflect ¶ added in v1.0.39
func (x *TranscriptionPartDoneEvent) ProtoReflect() protoreflect.Message
func (*TranscriptionPartDoneEvent) Reset ¶ added in v1.0.39
func (x *TranscriptionPartDoneEvent) Reset()
func (*TranscriptionPartDoneEvent) String ¶ added in v1.0.39
func (x *TranscriptionPartDoneEvent) String() string
type TranscriptionPartEvent ¶
type TranscriptionPartEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.transcription_part.added"}
ItemId string `protobuf:"bytes,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index"` // @inject_tag: json:"output_index" p2p: {"extra": {"skip": "true"}}
TranscriptionIndex int64 `protobuf:"varint,4,opt,name=transcription_index,json=transcriptionIndex,proto3" json:"transcription_index"` // @inject_tag: json:"transcription_index"
Part *TranscriptionPart `protobuf:"bytes,5,opt,name=part,proto3" json:"part,omitempty"`
SequenceNumber int64 `protobuf:"varint,6,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
// contains filtered or unexported fields
}
func (*TranscriptionPartEvent) Descriptor
deprecated
func (*TranscriptionPartEvent) Descriptor() ([]byte, []int)
Deprecated: Use TranscriptionPartEvent.ProtoReflect.Descriptor instead.
func (*TranscriptionPartEvent) GetItemId ¶
func (x *TranscriptionPartEvent) GetItemId() string
func (*TranscriptionPartEvent) GetOutputIndex ¶
func (x *TranscriptionPartEvent) GetOutputIndex() int64
func (*TranscriptionPartEvent) GetPart ¶
func (x *TranscriptionPartEvent) GetPart() *TranscriptionPart
func (*TranscriptionPartEvent) GetSequenceNumber ¶
func (x *TranscriptionPartEvent) GetSequenceNumber() int64
func (*TranscriptionPartEvent) GetTranscriptionIndex ¶
func (x *TranscriptionPartEvent) GetTranscriptionIndex() int64
func (*TranscriptionPartEvent) GetType ¶
func (x *TranscriptionPartEvent) GetType() EventType_Enum
func (*TranscriptionPartEvent) ProtoMessage ¶
func (*TranscriptionPartEvent) ProtoMessage()
func (*TranscriptionPartEvent) ProtoReflect ¶
func (x *TranscriptionPartEvent) ProtoReflect() protoreflect.Message
func (*TranscriptionPartEvent) Reset ¶
func (x *TranscriptionPartEvent) Reset()
func (*TranscriptionPartEvent) String ¶
func (x *TranscriptionPartEvent) String() string
type TranscriptionTextDoneEvent ¶ added in v1.0.39
type TranscriptionTextDoneEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.transcription_text.done"}
TranscriptionIndex int64 `protobuf:"varint,2,opt,name=transcription_index,json=transcriptionIndex,proto3" json:"transcription_index"` // @inject_tag: json:"transcription_index"
Delta *string `protobuf:"bytes,3,opt,name=delta,proto3,oneof" json:"delta,omitempty"`
ItemId string `protobuf:"bytes,4,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,5,opt,name=output_index,json=outputIndex,proto3" json:"output_index"` // @inject_tag: json:"output_index"
Text *string `protobuf:"bytes,6,opt,name=text,proto3,oneof" json:"text,omitempty"`
SequenceNumber int64 `protobuf:"varint,7,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
StartTime int64 `protobuf:"varint,8,opt,name=start_time,json=startTime,proto3" json:"start_time"` // @inject_tag: json:"start_time"
EndTime int64 `protobuf:"varint,9,opt,name=end_time,json=endTime,proto3" json:"end_time"` // @inject_tag: json:"end_time"
Chunks []*AudioChunk `protobuf:"bytes,10,rep,name=chunks,proto3" json:"chunks,omitempty"`
// contains filtered or unexported fields
}
func (*TranscriptionTextDoneEvent) Descriptor
deprecated
added in
v1.0.39
func (*TranscriptionTextDoneEvent) Descriptor() ([]byte, []int)
Deprecated: Use TranscriptionTextDoneEvent.ProtoReflect.Descriptor instead.
func (*TranscriptionTextDoneEvent) GetChunks ¶ added in v1.0.39
func (x *TranscriptionTextDoneEvent) GetChunks() []*AudioChunk
func (*TranscriptionTextDoneEvent) GetDelta ¶ added in v1.0.39
func (x *TranscriptionTextDoneEvent) GetDelta() string
func (*TranscriptionTextDoneEvent) GetEndTime ¶ added in v1.0.39
func (x *TranscriptionTextDoneEvent) GetEndTime() int64
func (*TranscriptionTextDoneEvent) GetItemId ¶ added in v1.0.39
func (x *TranscriptionTextDoneEvent) GetItemId() string
func (*TranscriptionTextDoneEvent) GetOutputIndex ¶ added in v1.0.39
func (x *TranscriptionTextDoneEvent) GetOutputIndex() int64
func (*TranscriptionTextDoneEvent) GetSequenceNumber ¶ added in v1.0.39
func (x *TranscriptionTextDoneEvent) GetSequenceNumber() int64
func (*TranscriptionTextDoneEvent) GetStartTime ¶ added in v1.0.39
func (x *TranscriptionTextDoneEvent) GetStartTime() int64
func (*TranscriptionTextDoneEvent) GetText ¶ added in v1.0.39
func (x *TranscriptionTextDoneEvent) GetText() string
func (*TranscriptionTextDoneEvent) GetTranscriptionIndex ¶ added in v1.0.39
func (x *TranscriptionTextDoneEvent) GetTranscriptionIndex() int64
func (*TranscriptionTextDoneEvent) GetType ¶ added in v1.0.39
func (x *TranscriptionTextDoneEvent) GetType() EventType_Enum
func (*TranscriptionTextDoneEvent) ProtoMessage ¶ added in v1.0.39
func (*TranscriptionTextDoneEvent) ProtoMessage()
func (*TranscriptionTextDoneEvent) ProtoReflect ¶ added in v1.0.39
func (x *TranscriptionTextDoneEvent) ProtoReflect() protoreflect.Message
func (*TranscriptionTextDoneEvent) Reset ¶ added in v1.0.39
func (x *TranscriptionTextDoneEvent) Reset()
func (*TranscriptionTextDoneEvent) String ¶ added in v1.0.39
func (x *TranscriptionTextDoneEvent) String() string
type TranscriptionTextEvent ¶
type TranscriptionTextEvent struct {
Type EventType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.EventType_Enum" json:"type,omitempty"` // p2p: {"const": "response.transcription_text.delta"}
TranscriptionIndex int64 `protobuf:"varint,2,opt,name=transcription_index,json=transcriptionIndex,proto3" json:"transcription_index"` // @inject_tag: json:"transcription_index"
Delta *string `protobuf:"bytes,3,opt,name=delta,proto3,oneof" json:"delta,omitempty"`
ItemId string `protobuf:"bytes,4,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
OutputIndex int64 `protobuf:"varint,5,opt,name=output_index,json=outputIndex,proto3" json:"output_index"` // @inject_tag: json:"output_index"
Text *string `protobuf:"bytes,6,opt,name=text,proto3,oneof" json:"text,omitempty"`
SequenceNumber int64 `protobuf:"varint,7,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number"` // @inject_tag: json:"sequence_number"
StartTime int64 `protobuf:"varint,8,opt,name=start_time,json=startTime,proto3" json:"start_time"` // @inject_tag: json:"start_time"
EndTime int64 `protobuf:"varint,9,opt,name=end_time,json=endTime,proto3" json:"end_time"` // @inject_tag: json:"end_time"
Chunks []*AudioChunk `protobuf:"bytes,10,rep,name=chunks,proto3" json:"chunks,omitempty"`
// contains filtered or unexported fields
}
func (*TranscriptionTextEvent) Descriptor
deprecated
func (*TranscriptionTextEvent) Descriptor() ([]byte, []int)
Deprecated: Use TranscriptionTextEvent.ProtoReflect.Descriptor instead.
func (*TranscriptionTextEvent) GetChunks ¶
func (x *TranscriptionTextEvent) GetChunks() []*AudioChunk
func (*TranscriptionTextEvent) GetDelta ¶
func (x *TranscriptionTextEvent) GetDelta() string
func (*TranscriptionTextEvent) GetEndTime ¶
func (x *TranscriptionTextEvent) GetEndTime() int64
func (*TranscriptionTextEvent) GetItemId ¶
func (x *TranscriptionTextEvent) GetItemId() string
func (*TranscriptionTextEvent) GetOutputIndex ¶
func (x *TranscriptionTextEvent) GetOutputIndex() int64
func (*TranscriptionTextEvent) GetSequenceNumber ¶
func (x *TranscriptionTextEvent) GetSequenceNumber() int64
func (*TranscriptionTextEvent) GetStartTime ¶
func (x *TranscriptionTextEvent) GetStartTime() int64
func (*TranscriptionTextEvent) GetText ¶
func (x *TranscriptionTextEvent) GetText() string
func (*TranscriptionTextEvent) GetTranscriptionIndex ¶
func (x *TranscriptionTextEvent) GetTranscriptionIndex() int64
func (*TranscriptionTextEvent) GetType ¶
func (x *TranscriptionTextEvent) GetType() EventType_Enum
func (*TranscriptionTextEvent) ProtoMessage ¶
func (*TranscriptionTextEvent) ProtoMessage()
func (*TranscriptionTextEvent) ProtoReflect ¶
func (x *TranscriptionTextEvent) ProtoReflect() protoreflect.Message
func (*TranscriptionTextEvent) Reset ¶
func (x *TranscriptionTextEvent) Reset()
func (*TranscriptionTextEvent) String ¶
func (x *TranscriptionTextEvent) String() string
type Usage ¶
type Usage struct {
InputTokens int64 `protobuf:"varint,1,opt,name=input_tokens,json=inputTokens,proto3" json:"input_tokens"` // @inject_tag: json:"input_tokens"
OutputTokens int64 `protobuf:"varint,2,opt,name=output_tokens,json=outputTokens,proto3" json:"output_tokens"` // @inject_tag: json:"output_tokens"
TotalTokens int64 `protobuf:"varint,3,opt,name=total_tokens,json=totalTokens,proto3" json:"total_tokens"` // @inject_tag: json:"total_tokens"
InputTokensDetails *InputTokensDetails `protobuf:"bytes,4,opt,name=input_tokens_details,json=inputTokensDetails,proto3" json:"input_tokens_details,omitempty"`
OutputTokensDetails *OutputTokensDetails `protobuf:"bytes,5,opt,name=output_tokens_details,json=outputTokensDetails,proto3" json:"output_tokens_details,omitempty"`
ToolUsage *ToolUsage `protobuf:"bytes,6,opt,name=tool_usage,json=toolUsage,proto3,oneof" json:"tool_usage,omitempty"`
ToolUsageDetails *ToolUsageDetail `protobuf:"bytes,7,opt,name=tool_usage_details,json=toolUsageDetails,proto3,oneof" json:"tool_usage_details,omitempty"`
// contains filtered or unexported fields
}
func (*Usage) Descriptor
deprecated
func (*Usage) GetInputTokens ¶
func (*Usage) GetInputTokensDetails ¶
func (x *Usage) GetInputTokensDetails() *InputTokensDetails
func (*Usage) GetOutputTokens ¶
func (*Usage) GetOutputTokensDetails ¶
func (x *Usage) GetOutputTokensDetails() *OutputTokensDetails
func (*Usage) GetToolUsage ¶
func (*Usage) GetToolUsageDetails ¶
func (x *Usage) GetToolUsageDetails() *ToolUsageDetail
func (*Usage) GetTotalTokens ¶
func (*Usage) ProtoMessage ¶
func (*Usage) ProtoMessage()
func (*Usage) ProtoReflect ¶
func (x *Usage) ProtoReflect() protoreflect.Message
type UserLocation ¶
type UserLocation struct {
Type UserLocationType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.UserLocationType_Enum" json:"type,omitempty"` // p2p: {"const": "approximate"}
City *string `protobuf:"bytes,2,opt,name=city,proto3,oneof" json:"city,omitempty"`
Country *string `protobuf:"bytes,3,opt,name=country,proto3,oneof" json:"country,omitempty"`
Region *string `protobuf:"bytes,4,opt,name=region,proto3,oneof" json:"region,omitempty"`
Timezone *string `protobuf:"bytes,5,opt,name=timezone,proto3,oneof" json:"timezone,omitempty"`
// contains filtered or unexported fields
}
func (*UserLocation) Descriptor
deprecated
func (*UserLocation) Descriptor() ([]byte, []int)
Deprecated: Use UserLocation.ProtoReflect.Descriptor instead.
func (*UserLocation) GetCity ¶
func (x *UserLocation) GetCity() string
func (*UserLocation) GetCountry ¶
func (x *UserLocation) GetCountry() string
func (*UserLocation) GetRegion ¶
func (x *UserLocation) GetRegion() string
func (*UserLocation) GetTimezone ¶
func (x *UserLocation) GetTimezone() string
func (*UserLocation) GetType ¶
func (x *UserLocation) GetType() UserLocationType_Enum
func (*UserLocation) ProtoMessage ¶
func (*UserLocation) ProtoMessage()
func (*UserLocation) ProtoReflect ¶
func (x *UserLocation) ProtoReflect() protoreflect.Message
func (*UserLocation) Reset ¶
func (x *UserLocation) Reset()
func (*UserLocation) String ¶
func (x *UserLocation) String() string
type UserLocationType ¶
type UserLocationType struct {
// contains filtered or unexported fields
}
func (*UserLocationType) Descriptor
deprecated
func (*UserLocationType) Descriptor() ([]byte, []int)
Deprecated: Use UserLocationType.ProtoReflect.Descriptor instead.
func (*UserLocationType) ProtoMessage ¶
func (*UserLocationType) ProtoMessage()
func (*UserLocationType) ProtoReflect ¶
func (x *UserLocationType) ProtoReflect() protoreflect.Message
func (*UserLocationType) Reset ¶
func (x *UserLocationType) Reset()
func (*UserLocationType) String ¶
func (x *UserLocationType) String() string
type UserLocationType_Enum ¶
type UserLocationType_Enum int32
const ( UserLocationType_unspecified UserLocationType_Enum = 0 UserLocationType_approximate UserLocationType_Enum = 1 )
func (UserLocationType_Enum) Descriptor ¶
func (UserLocationType_Enum) Descriptor() protoreflect.EnumDescriptor
func (UserLocationType_Enum) Enum ¶
func (x UserLocationType_Enum) Enum() *UserLocationType_Enum
func (UserLocationType_Enum) EnumDescriptor
deprecated
func (UserLocationType_Enum) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserLocationType_Enum.Descriptor instead.
func (UserLocationType_Enum) MarshalJSON ¶
func (r UserLocationType_Enum) MarshalJSON() ([]byte, error)
MarshalJSON ...
func (UserLocationType_Enum) Number ¶
func (x UserLocationType_Enum) Number() protoreflect.EnumNumber
func (UserLocationType_Enum) String ¶
func (x UserLocationType_Enum) String() string
func (UserLocationType_Enum) Type ¶
func (UserLocationType_Enum) Type() protoreflect.EnumType
func (*UserLocationType_Enum) UnmarshalJSON ¶
func (r *UserLocationType_Enum) UnmarshalJSON(bytes []byte) error
UnmarshalJSON ...
type WebSearchToolChoice ¶ added in v1.0.39
type WebSearchToolChoice struct {
Type ToolType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=responses.ToolType_Enum" json:"type,omitempty"` // p2p: {"const": "web_search"}
// contains filtered or unexported fields
}
func (*WebSearchToolChoice) Descriptor
deprecated
added in
v1.0.39
func (*WebSearchToolChoice) Descriptor() ([]byte, []int)
Deprecated: Use WebSearchToolChoice.ProtoReflect.Descriptor instead.
func (*WebSearchToolChoice) GetType ¶ added in v1.0.39
func (x *WebSearchToolChoice) GetType() ToolType_Enum
func (*WebSearchToolChoice) ProtoMessage ¶ added in v1.0.39
func (*WebSearchToolChoice) ProtoMessage()
func (*WebSearchToolChoice) ProtoReflect ¶ added in v1.0.39
func (x *WebSearchToolChoice) ProtoReflect() protoreflect.Message
func (*WebSearchToolChoice) Reset ¶ added in v1.0.39
func (x *WebSearchToolChoice) Reset()
func (*WebSearchToolChoice) String ¶ added in v1.0.39
func (x *WebSearchToolChoice) String() string