Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addProps(boolean) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Allow or disallow additional properties.
- addProps(Schema) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Define the schema for additional properties.
- agent() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction
-
Returns the value of the
agentrecord component. - agent() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Returns the value of the
agentrecord component. - agent(String) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the agent.
- AGENT - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Interaction.Role
-
Agent role.
- agentConfig() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Returns the value of the
agentConfigrecord component. - agentConfig(Config.AgentConfig) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the agent configuration.
- AgentInteractionParams(String, Object, Config.AgentConfig, Config.GenerationConfig, List<Tool>, Boolean, Boolean, Boolean, String, List<Interaction.Modality>, Object, String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Creates an instance of a
AgentInteractionParamsrecord class. - allowedTools() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.McpServer
-
Returns the value of the
allowedToolsrecord component. - allowedTools() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.ToolChoiceConfig
-
Returns the value of the
allowedToolsrecord component. - AllowedTools(Tool.Mode, List<String>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Tool.AllowedTools
-
Creates an instance of a
AllowedToolsrecord class. - Annotation(Integer, Integer, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.Annotation
-
Creates an instance of a
Annotationrecord class. - annotations() - Method in record class io.github.glaforge.gemini.interactions.model.Content.TextContent
-
Returns the value of the
annotationsrecord component. - annotations() - Method in record class io.github.glaforge.gemini.interactions.model.Events.TextDelta
-
Returns the value of the
annotationsrecord component. - ANY - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Tool.Mode
-
Any mode.
- apiKey(String) - Method in class io.github.glaforge.gemini.interactions.GeminiInteractionsClient.Builder
-
Sets the API key.
- arguments() - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionCallContent
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FunctionCallContent
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchCallContent
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolCallContent
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextCallContent
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class io.github.glaforge.gemini.interactions.model.Events.CodeExecutionCallDelta
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FunctionCallDelta
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class io.github.glaforge.gemini.interactions.model.Events.GoogleSearchCallDelta
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolCallDelta
-
Returns the value of the
argumentsrecord component. - arguments() - Method in record class io.github.glaforge.gemini.interactions.model.Events.UrlContextCallDelta
-
Returns the value of the
argumentsrecord component. - arr() - Static method in class io.github.glaforge.gemini.schema.GSchema
-
Creates a new array schema.
- arr(String) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Add an array property.
- arr(String, Schema) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Add an array property with specified item schema.
- ArraySchema - Class in io.github.glaforge.gemini.schema
-
Schema for Array types.
- ArraySchema() - Constructor for class io.github.glaforge.gemini.schema.ArraySchema
-
Initializes a new array schema.
- aspectRatio() - Method in record class io.github.glaforge.gemini.interactions.model.Config.ImageConfig
-
Returns the value of the
aspectRatiorecord component. - AUDIO - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
Audio content delta.
- AUDIO - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Interaction.Modality
-
Audio modality.
- AudioContent(byte[], String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.AudioContent
-
Creates a new AudioContent with default type "audio".
- AudioContent(String, byte[], String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.AudioContent
-
Creates an instance of a
AudioContentrecord class. - AudioDelta(Events.DeltaType, String, String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.AudioDelta
-
Creates an instance of a
AudioDeltarecord class. - AUTO - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.ThinkingSummaries
-
Auto thinking summaries.
- AUTO - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Tool.Mode
-
Auto mode.
B
- background() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Returns the value of the
backgroundrecord component. - background() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Returns the value of the
backgroundrecord component. - background(Boolean) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the background flag.
- background(Boolean) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the background flag.
- baseUrl(String) - Method in class io.github.glaforge.gemini.interactions.GeminiInteractionsClient.Builder
-
Sets the base URL.
- bool() - Static method in class io.github.glaforge.gemini.schema.GSchema
-
Creates a new boolean schema.
- bool(String) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Add a boolean property.
- BooleanSchema - Class in io.github.glaforge.gemini.schema
-
Schema for Boolean types.
- BooleanSchema() - Constructor for class io.github.glaforge.gemini.schema.BooleanSchema
-
Initializes a new boolean schema.
- build() - Method in class io.github.glaforge.gemini.interactions.GeminiInteractionsClient.Builder
-
Builds the GeminiInteractionsClient.
- build() - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Builds the CreateAgentInteractionParams.
- build() - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Builds the CreateModelInteractionParams.
- builder() - Static method in class io.github.glaforge.gemini.interactions.GeminiInteractionsClient
-
Creates a new builder for the GeminiInteractionsClient.
- builder() - Static method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Returns a new builder for agent interaction parameters.
- builder() - Static method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Returns a new builder for model interaction parameters.
- Builder() - Constructor for class io.github.glaforge.gemini.interactions.GeminiInteractionsClient.Builder
-
Creates a new Builder.
- Builder() - Constructor for class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Creates a new Builder.
- Builder() - Constructor for class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Creates a new Builder.
C
- cachedTokensByModality() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Usage
-
Returns the value of the
cachedTokensByModalityrecord component. - callId() - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionResultContent
-
Returns the value of the
callIdrecord component. - callId() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FunctionResultContent
-
Returns the value of the
callIdrecord component. - callId() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchResultContent
-
Returns the value of the
callIdrecord component. - callId() - Method in record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolResultContent
-
Returns the value of the
callIdrecord component. - callId() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextResultContent
-
Returns the value of the
callIdrecord component. - callId() - Method in record class io.github.glaforge.gemini.interactions.model.Events.CodeExecutionResultDelta
-
Returns the value of the
callIdrecord component. - callId() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FunctionResultDelta
-
Returns the value of the
callIdrecord component. - callId() - Method in record class io.github.glaforge.gemini.interactions.model.Events.GoogleSearchResultDelta
-
Returns the value of the
callIdrecord component. - callId() - Method in record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolResultDelta
-
Returns the value of the
callIdrecord component. - callId() - Method in record class io.github.glaforge.gemini.interactions.model.Events.UrlContextResultDelta
-
Returns the value of the
callIdrecord component. - cancel(String) - Method in class io.github.glaforge.gemini.interactions.GeminiInteractionsClient
-
Cancels an interaction by ID.
- cancel(String) - Method in class io.github.glaforge.gemini.interactions.server.InteractionsHandler
-
Cancels an interaction by ID.
- CANCELLED - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Interaction.Status
-
Interaction cancelled.
- code() - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionCallArguments
-
Returns the value of the
coderecord component. - code() - Method in record class io.github.glaforge.gemini.interactions.model.Events.Error
-
Returns the value of the
coderecord component. - CODE_EXECUTION_CALL - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
Code execution call delta.
- CODE_EXECUTION_RESULT - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
Code execution result delta.
- CodeExecution() - Constructor for record class io.github.glaforge.gemini.interactions.model.Tool.CodeExecution
-
Creates a new CodeExecution tool.
- CodeExecution(String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Tool.CodeExecution
-
Creates an instance of a
CodeExecutionrecord class. - CodeExecutionCallArguments(String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionCallArguments
-
Creates an instance of a
CodeExecutionCallArgumentsrecord class. - CodeExecutionCallContent(String, String, Content.CodeExecutionCallArguments) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionCallContent
-
Creates an instance of a
CodeExecutionCallContentrecord class. - CodeExecutionCallDelta(Events.DeltaType, String, Content.CodeExecutionCallArguments) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.CodeExecutionCallDelta
-
Creates an instance of a
CodeExecutionCallDeltarecord class. - CodeExecutionResultContent(String, String, String, Boolean, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionResultContent
-
Creates an instance of a
CodeExecutionResultContentrecord class. - CodeExecutionResultDelta(Events.DeltaType, String, String, Boolean, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.CodeExecutionResultDelta
-
Creates an instance of a
CodeExecutionResultDeltarecord class. - COMPLETED - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Interaction.Status
-
Interaction completed successfully.
- ComputerUse() - Constructor for record class io.github.glaforge.gemini.interactions.model.Tool.ComputerUse
-
Creates a new ComputerUse tool (defaults to browser environment).
- ComputerUse(String, String, List<String>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Tool.ComputerUse
-
Creates an instance of a
ComputerUserecord class. - Config - Class in io.github.glaforge.gemini.interactions.model
-
Configuration records for interactions.
- Config.AgentConfig - Interface in io.github.glaforge.gemini.interactions.model
-
Sealed interface for agent configurations.
- Config.AspectRatio - Enum Class in io.github.glaforge.gemini.interactions.model
-
Aspect ratio for generated images.
- Config.DeepResearchAgentConfig - Record Class in io.github.glaforge.gemini.interactions.model
-
Configuration for deep research agents.
- Config.DynamicAgentConfig - Record Class in io.github.glaforge.gemini.interactions.model
-
Configuration for dynamic agents.
- Config.GenerationConfig - Record Class in io.github.glaforge.gemini.interactions.model
-
Configuration options for model generation.
- Config.ImageConfig - Record Class in io.github.glaforge.gemini.interactions.model
-
Configuration for image generation.
- Config.ImageSize - Enum Class in io.github.glaforge.gemini.interactions.model
-
Size for generated images.
- Config.SpeechConfig - Record Class in io.github.glaforge.gemini.interactions.model
-
Configuration for speech generation.
- Config.ThinkingLevel - Enum Class in io.github.glaforge.gemini.interactions.model
-
Level of thinking to use for the model.
- Config.ThinkingSummaries - Enum Class in io.github.glaforge.gemini.interactions.model
-
Configuration for thinking summaries.
- content() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentStart
-
Returns the value of the
contentrecord component. - content() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ThoughtSummaryDelta
-
Returns the value of the
contentrecord component. - content() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Turn
-
Returns the value of the
contentrecord component. - Content - Interface in io.github.glaforge.gemini.interactions.model
-
Represents the content of the response or input.
- CONTENT_DELTA - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.EventType
-
Content delta has been received.
- CONTENT_START - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.EventType
-
Content generation has started.
- CONTENT_STOP - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.EventType
-
Content generation has stopped.
- Content.Annotation - Record Class in io.github.glaforge.gemini.interactions.model
-
Annotation for text content.
- Content.AudioContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content containing audio.
- Content.CodeExecutionCallArguments - Record Class in io.github.glaforge.gemini.interactions.model
-
Arguments for a code execution call.
- Content.CodeExecutionCallContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content representing a code execution call.
- Content.CodeExecutionResultContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content representing the result of a code execution.
- Content.DocumentContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content containing a document.
- Content.FileSearchCallContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content representing a file search call.
- Content.FileSearchResult - Record Class in io.github.glaforge.gemini.interactions.model
-
Result of a single file search.
- Content.FileSearchResultContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content representing the result of a file search.
- Content.FunctionCallContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content representing a function call.
- Content.FunctionResultContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content representing the result of a function call.
- Content.GoogleSearchCallArguments - Record Class in io.github.glaforge.gemini.interactions.model
-
Arguments for a Google Search call.
- Content.GoogleSearchCallContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content representing a Google Search call.
- Content.GoogleSearchResult - Record Class in io.github.glaforge.gemini.interactions.model
-
Result of a single Google Search.
- Content.GoogleSearchResultContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content representing the result of a Google Search call.
- Content.ImageContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content containing an image.
- Content.McpServerToolCallContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content representing an MCP server tool call.
- Content.McpServerToolResultContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content representing the result of an MCP server tool call.
- Content.Resolution - Enum Class in io.github.glaforge.gemini.interactions.model
-
Resolution of the media.
- Content.TextContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content containing text.
- Content.ThoughtContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content containing thought process.
- Content.ToolResult - Record Class in io.github.glaforge.gemini.interactions.model
-
Structure for multimodal tool results.
- Content.UrlContextCallArguments - Record Class in io.github.glaforge.gemini.interactions.model
-
Arguments for a URL context call.
- Content.UrlContextCallContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content representing a URL context call.
- Content.UrlContextResult - Record Class in io.github.glaforge.gemini.interactions.model
-
Result of a single URL context retrieval.
- Content.UrlContextResultContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content representing the result of a URL context call.
- Content.UrlContextStatus - Enum Class in io.github.glaforge.gemini.interactions.model
-
Status of the URL context retrieval.
- Content.VideoContent - Record Class in io.github.glaforge.gemini.interactions.model
-
Content containing video.
- ContentDelta(Events.EventType, String, Integer, Events.Delta) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.ContentDelta
-
Creates an instance of a
ContentDeltarecord class. - ContentStart(Events.EventType, String, Integer, Content) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.ContentStart
-
Creates an instance of a
ContentStartrecord class. - ContentStop(Events.EventType, String, Integer) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.ContentStop
-
Creates an instance of a
ContentStoprecord class. - create(InteractionParams.Request) - Method in class io.github.glaforge.gemini.interactions.GeminiInteractionsClient
-
Creates a new interaction.
- create(InteractionParams.Request) - Method in class io.github.glaforge.gemini.interactions.server.InteractionsHandler
-
Creates a new interaction.
- created() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction
-
Returns the value of the
createdrecord component.
D
- data() - Method in record class io.github.glaforge.gemini.interactions.model.Content.AudioContent
-
Returns the value of the
datarecord component. - data() - Method in record class io.github.glaforge.gemini.interactions.model.Content.DocumentContent
-
Returns the value of the
datarecord component. - data() - Method in record class io.github.glaforge.gemini.interactions.model.Content.ImageContent
-
Returns the value of the
datarecord component. - data() - Method in record class io.github.glaforge.gemini.interactions.model.Content.VideoContent
-
Returns the value of the
datarecord component. - data() - Method in record class io.github.glaforge.gemini.interactions.model.Events.AudioDelta
-
Returns the value of the
datarecord component. - data() - Method in record class io.github.glaforge.gemini.interactions.model.Events.DocumentDelta
-
Returns the value of the
datarecord component. - data() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ImageDelta
-
Returns the value of the
datarecord component. - data() - Method in record class io.github.glaforge.gemini.interactions.model.Events.VideoDelta
-
Returns the value of the
datarecord component. - DATE - Enum constant in enum class io.github.glaforge.gemini.schema.StringSchema.Format
-
Date format.
- DATE_TIME - Enum constant in enum class io.github.glaforge.gemini.schema.StringSchema.Format
-
Date-time format.
- DeepResearchAgentConfig() - Constructor for record class io.github.glaforge.gemini.interactions.model.Config.DeepResearchAgentConfig
-
Creates a new DeepResearchAgentConfig with default type and no summaries.
- DeepResearchAgentConfig(Config.ThinkingSummaries) - Constructor for record class io.github.glaforge.gemini.interactions.model.Config.DeepResearchAgentConfig
-
Creates a new DeepResearchAgentConfig with default type.
- DeepResearchAgentConfig(String, Config.ThinkingSummaries) - Constructor for record class io.github.glaforge.gemini.interactions.model.Config.DeepResearchAgentConfig
-
Creates an instance of a
DeepResearchAgentConfigrecord class. - delete(String) - Method in class io.github.glaforge.gemini.interactions.GeminiInteractionsClient
-
Deletes an interaction by ID.
- delete(String) - Method in class io.github.glaforge.gemini.interactions.server.InteractionsHandler
-
Deletes an interaction by ID.
- delta() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentDelta
-
Returns the value of the
deltarecord component. - desc(String) - Method in class io.github.glaforge.gemini.schema.Schema
-
Set the description for this schema.
- description - Variable in class io.github.glaforge.gemini.schema.Schema
-
The description of the parameter.
- description() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.Function
-
Returns the value of the
descriptionrecord component. - DOCUMENT - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
Document content delta.
- DocumentContent(String, byte[], String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.DocumentContent
-
Creates an instance of a
DocumentContentrecord class. - DocumentDelta(Events.DeltaType, String, String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.DocumentDelta
-
Creates an instance of a
DocumentDeltarecord class. - DynamicAgentConfig() - Constructor for record class io.github.glaforge.gemini.interactions.model.Config.DynamicAgentConfig
-
Creates a new DynamicAgentConfig with default type "dynamic".
- DynamicAgentConfig(String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Config.DynamicAgentConfig
-
Creates an instance of a
DynamicAgentConfigrecord class.
E
- endIndex() - Method in record class io.github.glaforge.gemini.interactions.model.Content.Annotation
-
Returns the value of the
endIndexrecord component. - enumValues(double...) - Method in class io.github.glaforge.gemini.schema.NumberSchema
-
Define the allowed enum values for this number.
- enumValues(String...) - Method in class io.github.glaforge.gemini.schema.StringSchema
-
Define the allowed enum values for this string.
- environment() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.ComputerUse
-
Returns the value of the
environmentrecord component. - equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Config.DeepResearchAgentConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Config.DynamicAgentConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Config.GenerationConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Config.ImageConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Config.SpeechConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.Annotation
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.AudioContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionCallArguments
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionCallContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionResultContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.DocumentContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.FileSearchCallContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.FileSearchResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.FileSearchResultContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.FunctionCallContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.FunctionResultContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchCallArguments
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchCallContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchResultContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.ImageContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolCallContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolResultContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.TextContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.ThoughtContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.ToolResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextCallArguments
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextCallContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextResultContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Content.VideoContent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.AudioDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.CodeExecutionCallDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.CodeExecutionResultDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentStart
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentStop
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.DocumentDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.Error
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.ErrorEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.FileSearchResultDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.FunctionCallDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.FunctionResultDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.GoogleSearchCallDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.GoogleSearchResultDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.ImageDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.InteractionEvent
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.InteractionStatusUpdate
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolCallDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolResultDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.TextDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.ThoughtSignatureDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.ThoughtSummaryDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.UrlContextCallDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.UrlContextResultDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Events.VideoDelta
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Interaction
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.ModalityTokens
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Turn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Usage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Tool.AllowedTools
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Tool.CodeExecution
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Tool.ComputerUse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Tool.FileSearch
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Tool.Function
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Tool.GoogleSearch
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Tool.McpServer
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Tool.ToolChoiceConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.glaforge.gemini.interactions.model.Tool.UrlContext
-
Indicates whether some other object is "equal to" this one.
- error() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ErrorEvent
-
Returns the value of the
errorrecord component. - Error(String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.Error
-
Creates an instance of a
Errorrecord class. - ERROR - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Content.UrlContextStatus
-
Error during retrieval.
- ERROR - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.EventType
-
An error occurred.
- ErrorEvent(Events.EventType, String, Events.Error) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.ErrorEvent
-
Creates an instance of a
ErrorEventrecord class. - eventId() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentDelta
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentStart
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentStop
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ErrorEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in interface io.github.glaforge.gemini.interactions.model.Events
-
Returns the unique event identifier for resumption.
- eventId() - Method in record class io.github.glaforge.gemini.interactions.model.Events.InteractionEvent
-
Returns the value of the
eventIdrecord component. - eventId() - Method in record class io.github.glaforge.gemini.interactions.model.Events.InteractionStatusUpdate
-
Returns the value of the
eventIdrecord component. - Events - Interface in io.github.glaforge.gemini.interactions.model
-
Represents an event in the Server-Sent Events (SSE) stream.
- Events.AudioDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for audio content.
- Events.CodeExecutionCallDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for code execution call.
- Events.CodeExecutionResultDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for code execution result.
- Events.ContentDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Event indicating a delta update for a content part.
- Events.ContentStart - Record Class in io.github.glaforge.gemini.interactions.model
-
Event indicating the start of a content part.
- Events.ContentStop - Record Class in io.github.glaforge.gemini.interactions.model
-
Event indicating the end of a content part.
- Events.Delta - Interface in io.github.glaforge.gemini.interactions.model
-
Interface for all delta updates.
- Events.DeltaType - Enum Class in io.github.glaforge.gemini.interactions.model
-
Enumeration of all supported delta types.
- Events.DocumentDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for document content.
- Events.Error - Record Class in io.github.glaforge.gemini.interactions.model
-
Error details.
- Events.ErrorEvent - Record Class in io.github.glaforge.gemini.interactions.model
-
Event indicating an error.
- Events.EventType - Enum Class in io.github.glaforge.gemini.interactions.model
-
Enumeration of all supported event types.
- Events.FileSearchResultDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for file search result.
- Events.FunctionCallDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for function call.
- Events.FunctionResultDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for function result.
- Events.GoogleSearchCallDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for Google Search call.
- Events.GoogleSearchResultDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for Google Search result.
- Events.ImageDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for image content.
- Events.InteractionEvent - Record Class in io.github.glaforge.gemini.interactions.model
-
Event indicating the start or completion of an interaction.
- Events.InteractionStatusUpdate - Record Class in io.github.glaforge.gemini.interactions.model
-
Event indicating a status update for an interaction.
- Events.McpServerToolCallDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for MCP server tool call.
- Events.McpServerToolResultDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for MCP server tool result.
- Events.TextDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for text content.
- Events.ThoughtSignatureDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for thought signature.
- Events.ThoughtSummaryDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for thought summary.
- Events.UrlContextCallDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for URL context call.
- Events.UrlContextResultDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for URL context result.
- Events.VideoDelta - Record Class in io.github.glaforge.gemini.interactions.model
-
Delta for video content.
- eventType() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentDelta
-
Returns the value of the
eventTyperecord component. - eventType() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentStart
-
Returns the value of the
eventTyperecord component. - eventType() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentStop
-
Returns the value of the
eventTyperecord component. - eventType() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ErrorEvent
-
Returns the value of the
eventTyperecord component. - eventType() - Method in interface io.github.glaforge.gemini.interactions.model.Events
-
Returns the type of the event.
- eventType() - Method in record class io.github.glaforge.gemini.interactions.model.Events.InteractionEvent
-
Returns the value of the
eventTyperecord component. - eventType() - Method in record class io.github.glaforge.gemini.interactions.model.Events.InteractionStatusUpdate
-
Returns the value of the
eventTyperecord component. - excludedPredefinedFunctions() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.ComputerUse
-
Returns the value of the
excludedPredefinedFunctionsrecord component.
F
- FAILED - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Interaction.Status
-
Interaction failed.
- FILE_SEARCH_RESULT - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
File search result delta.
- FileSearch(String, List<String>, Integer, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Tool.FileSearch
-
Creates an instance of a
FileSearchrecord class. - FileSearchCallContent(String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.FileSearchCallContent
-
Creates an instance of a
FileSearchCallContentrecord class. - FileSearchResult(String, String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.FileSearchResult
-
Creates an instance of a
FileSearchResultrecord class. - FileSearchResultContent(String, List<Content.FileSearchResult>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.FileSearchResultContent
-
Creates an instance of a
FileSearchResultContentrecord class. - FileSearchResultDelta(Events.DeltaType, List<Content.FileSearchResult>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.FileSearchResultDelta
-
Creates an instance of a
FileSearchResultDeltarecord class. - fileSearchStore() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FileSearchResult
-
Returns the value of the
fileSearchStorerecord component. - fileSearchStoreNames() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.FileSearch
-
Returns the value of the
fileSearchStoreNamesrecord component. - format(StringSchema.Format) - Method in class io.github.glaforge.gemini.schema.StringSchema
-
Define the format of the string using a predefined enum.
- format(String) - Method in class io.github.glaforge.gemini.schema.StringSchema
-
Define the format of the string (e.g., "date-time").
- fromClass(Class<?>) - Static method in class io.github.glaforge.gemini.schema.GSchema
-
Generate a Schema from a Java Class.
- fromJson(String) - Static method in class io.github.glaforge.gemini.schema.GSchema
-
Parse a JSON schema string back into a Schema object.
- Function(String, String, String, Map<String, Object>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Tool.Function
-
Creates an instance of a
Functionrecord class. - Function(String, String, Map<String, Object>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Tool.Function
-
Creates a new Function tool.
- FUNCTION_CALL - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
Function call delta.
- FUNCTION_RESULT - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
Function result delta.
- FunctionCallContent(String, String, String, Map<String, Object>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.FunctionCallContent
-
Creates an instance of a
FunctionCallContentrecord class. - FunctionCallDelta(Events.DeltaType, String, String, Map<String, Object>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.FunctionCallDelta
-
Creates an instance of a
FunctionCallDeltarecord class. - FunctionResultContent(String, String, String, Boolean, Object) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.FunctionResultContent
-
Creates an instance of a
FunctionResultContentrecord class. - FunctionResultDelta(Events.DeltaType, String, String, Boolean, Object) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.FunctionResultDelta
-
Creates an instance of a
FunctionResultDeltarecord class.
G
- GeminiInteractionsClient - Class in io.github.glaforge.gemini.interactions
-
Client for the Gemini Interactions API.
- GeminiInteractionsClient.Builder - Class in io.github.glaforge.gemini.interactions
-
Builder for
GeminiInteractionsClient. - GeminiInteractionsException - Exception Class in io.github.glaforge.gemini.interactions
-
Exception thrown when the Gemini Interactions API returns an error response.
- GeminiInteractionsException(String, int, String) - Constructor for exception class io.github.glaforge.gemini.interactions.GeminiInteractionsException
-
Constructs a new exception with the specified message, status code, and body.
- GeminiInteractionsException(String, Throwable) - Constructor for exception class io.github.glaforge.gemini.interactions.GeminiInteractionsException
-
Constructs a new exception with the specified message and cause.
- GeminiInteractionsException(Throwable) - Constructor for exception class io.github.glaforge.gemini.interactions.GeminiInteractionsException
-
Constructs a new exception with the specified cause.
- generationConfig() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Returns the value of the
generationConfigrecord component. - generationConfig() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Returns the value of the
generationConfigrecord component. - generationConfig(Config.GenerationConfig) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the generation config.
- generationConfig(Config.GenerationConfig) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the generation config.
- GenerationConfig(Double, Double, Integer, List<String>, Tool.ToolChoiceConfig, Config.ThinkingLevel, Config.ThinkingSummaries, Integer, List<Config.SpeechConfig>, Config.ImageConfig) - Constructor for record class io.github.glaforge.gemini.interactions.model.Config.GenerationConfig
-
Creates an instance of a
GenerationConfigrecord class. - get(String) - Method in class io.github.glaforge.gemini.interactions.GeminiInteractionsClient
-
Retrieves an interaction by ID.
- get(String) - Method in class io.github.glaforge.gemini.interactions.server.InteractionsHandler
-
Retrieves an interaction by ID.
- get(String, boolean) - Method in class io.github.glaforge.gemini.interactions.GeminiInteractionsClient
-
Retrieves an interaction by ID, optionally including the original input.
- getBody() - Method in exception class io.github.glaforge.gemini.interactions.GeminiInteractionsException
-
Returns the response body returned by the API.
- getJsonValue() - Method in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
Returns the JSON string value of the delta type.
- getJsonValue() - Method in enum class io.github.glaforge.gemini.interactions.model.Events.EventType
-
Returns the JSON string value of the event type.
- getStatusCode() - Method in exception class io.github.glaforge.gemini.interactions.GeminiInteractionsException
-
Returns the HTTP status code returned by the API.
- getValue() - Method in enum class io.github.glaforge.gemini.schema.StringSchema.Format
-
Returns the string representation of the format.
- GOOGLE_SEARCH_CALL - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
Google Search call delta.
- GOOGLE_SEARCH_RESULT - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
Google Search result delta.
- GoogleSearch() - Constructor for record class io.github.glaforge.gemini.interactions.model.Tool.GoogleSearch
-
Creates a new GoogleSearch tool.
- GoogleSearch(String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Tool.GoogleSearch
-
Creates an instance of a
GoogleSearchrecord class. - GoogleSearchCallArguments(List<String>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchCallArguments
-
Creates an instance of a
GoogleSearchCallArgumentsrecord class. - GoogleSearchCallContent(String, String, Content.GoogleSearchCallArguments) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchCallContent
-
Creates an instance of a
GoogleSearchCallContentrecord class. - GoogleSearchCallDelta(Events.DeltaType, String, Content.GoogleSearchCallArguments) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.GoogleSearchCallDelta
-
Creates an instance of a
GoogleSearchCallDeltarecord class. - GoogleSearchResult(String, String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchResult
-
Creates an instance of a
GoogleSearchResultrecord class. - GoogleSearchResultContent(String, String, String, List<Content.GoogleSearchResult>, Boolean) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchResultContent
-
Creates an instance of a
GoogleSearchResultContentrecord class. - GoogleSearchResultDelta(Events.DeltaType, String, String, List<Content.GoogleSearchResult>, Boolean) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.GoogleSearchResultDelta
-
Creates an instance of a
GoogleSearchResultDeltarecord class. - GSchema - Class in io.github.glaforge.gemini.schema
-
Main entry point for defining Gemini JSON Schemas.
H
- handle(HttpExchange) - Method in class io.github.glaforge.gemini.interactions.server.InteractionsHandler
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Config.DeepResearchAgentConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Config.DynamicAgentConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Config.GenerationConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Config.ImageConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Config.SpeechConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.Annotation
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.AudioContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionCallArguments
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionCallContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionResultContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.DocumentContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FileSearchCallContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FileSearchResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FileSearchResultContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FunctionCallContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FunctionResultContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchCallArguments
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchCallContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchResultContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.ImageContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolCallContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolResultContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.TextContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.ThoughtContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.ToolResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextCallArguments
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextCallContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextResultContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Content.VideoContent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.AudioDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.CodeExecutionCallDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.CodeExecutionResultDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentStart
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentStop
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.DocumentDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.Error
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ErrorEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FileSearchResultDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FunctionCallDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FunctionResultDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.GoogleSearchCallDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.GoogleSearchResultDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ImageDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.InteractionEvent
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.InteractionStatusUpdate
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolCallDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolResultDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.TextDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ThoughtSignatureDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ThoughtSummaryDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.UrlContextCallDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.UrlContextResultDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Events.VideoDelta
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.ModalityTokens
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Turn
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Usage
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.AllowedTools
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.CodeExecution
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.ComputerUse
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.FileSearch
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.Function
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.GoogleSearch
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.McpServer
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.ToolChoiceConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.UrlContext
-
Returns a hash code value for this object.
- headers() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.McpServer
-
Returns the value of the
headersrecord component. - HIGH - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.ThinkingLevel
-
High thinking level.
- HIGH - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Content.Resolution
-
High resolution.
- httpClient(HttpClient) - Method in class io.github.glaforge.gemini.interactions.GeminiInteractionsClient.Builder
-
Sets the HTTP client.
I
- id() - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionCallContent
-
Returns the value of the
idrecord component. - id() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FileSearchCallContent
-
Returns the value of the
idrecord component. - id() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FunctionCallContent
-
Returns the value of the
idrecord component. - id() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchCallContent
-
Returns the value of the
idrecord component. - id() - Method in record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolCallContent
-
Returns the value of the
idrecord component. - id() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextCallContent
-
Returns the value of the
idrecord component. - id() - Method in record class io.github.glaforge.gemini.interactions.model.Events.CodeExecutionCallDelta
-
Returns the value of the
idrecord component. - id() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FunctionCallDelta
-
Returns the value of the
idrecord component. - id() - Method in record class io.github.glaforge.gemini.interactions.model.Events.GoogleSearchCallDelta
-
Returns the value of the
idrecord component. - id() - Method in record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolCallDelta
-
Returns the value of the
idrecord component. - id() - Method in record class io.github.glaforge.gemini.interactions.model.Events.UrlContextCallDelta
-
Returns the value of the
idrecord component. - id() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction
-
Returns the value of the
idrecord component. - IMAGE - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
Image content delta.
- IMAGE - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Interaction.Modality
-
Image modality.
- imageConfig() - Method in record class io.github.glaforge.gemini.interactions.model.Config.GenerationConfig
-
Returns the value of the
imageConfigrecord component. - imageConfig(Config.ImageConfig) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the image config.
- imageConfig(Config.ImageConfig) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the image config.
- ImageConfig(Config.AspectRatio, Config.ImageSize) - Constructor for record class io.github.glaforge.gemini.interactions.model.Config.ImageConfig
-
Creates an instance of a
ImageConfigrecord class. - ImageContent(byte[], String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.ImageContent
-
Creates a new ImageContent with default type "image".
- ImageContent(String, byte[], String, String, Content.Resolution) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.ImageContent
-
Creates an instance of a
ImageContentrecord class. - ImageDelta(Events.DeltaType, String, String, String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.ImageDelta
-
Creates an instance of a
ImageDeltarecord class. - imageSize() - Method in record class io.github.glaforge.gemini.interactions.model.Config.ImageConfig
-
Returns the value of the
imageSizerecord component. - IN_PROGRESS - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Interaction.Status
-
Interaction in progress.
- index() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentDelta
-
Returns the value of the
indexrecord component. - index() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentStart
-
Returns the value of the
indexrecord component. - index() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentStop
-
Returns the value of the
indexrecord component. - input() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Returns the value of the
inputrecord component. - input() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Returns the value of the
inputrecord component. - input(Content...) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the input content as a list of Content objects.
- input(Content...) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the input content as a list of Content objects.
- input(Interaction.Turn...) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the input content as a list of Turns (multi-turn history).
- input(Interaction.Turn...) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the input content as a list of Turns (multi-turn history).
- input(String) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the input content as a string.
- input(String) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the input content as a string.
- inputContents(List<Content>) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the input content as a list of Content objects.
- inputContents(List<Content>) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the input content as a list of Content objects.
- inputTokensByModality() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Usage
-
Returns the value of the
inputTokensByModalityrecord component. - inputTurns(List<Interaction.Turn>) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the input content as a list of Turns (multi-turn history).
- inputTurns(List<Interaction.Turn>) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the input content as a list of Turns (multi-turn history).
- integer() - Static method in class io.github.glaforge.gemini.schema.GSchema
-
Creates a new integer schema.
- integer() - Method in class io.github.glaforge.gemini.schema.NumberSchema
-
Mark this number as an integer.
- integer(String) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Add an integer property.
- integer(String, long, long) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Add an integer property with min and max constraints.
- integer(String, List<Long>) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Add an integer property with allowed enum values.
- interaction() - Method in record class io.github.glaforge.gemini.interactions.model.Events.InteractionEvent
-
Returns the value of the
interactionrecord component. - Interaction - Record Class in io.github.glaforge.gemini.interactions.model
-
Represents the Interaction resource.
- Interaction(String, String, String, String, Instant, Instant, Interaction.Role, Interaction.Status, List<Content>, Interaction.Usage, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Interaction
-
Creates an instance of a
Interactionrecord class. - INTERACTION_COMPLETE - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.EventType
-
Interaction has completed.
- INTERACTION_START - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.EventType
-
Interaction has started.
- INTERACTION_STATUS_UPDATE - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.EventType
-
Interaction status has been updated.
- Interaction.Modality - Enum Class in io.github.glaforge.gemini.interactions.model
-
Interaction modalities.
- Interaction.ModalityTokens - Record Class in io.github.glaforge.gemini.interactions.model
-
Tokens broken down by modality.
- Interaction.Role - Enum Class in io.github.glaforge.gemini.interactions.model
-
Interaction participant role.
- Interaction.Status - Enum Class in io.github.glaforge.gemini.interactions.model
-
Interaction status.
- Interaction.Turn - Record Class in io.github.glaforge.gemini.interactions.model
-
Represents a single turn in an interaction.
- Interaction.Usage - Record Class in io.github.glaforge.gemini.interactions.model
-
Token usage details.
- InteractionEvent(Events.EventType, String, Interaction) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.InteractionEvent
-
Creates an instance of a
InteractionEventrecord class. - interactionId() - Method in record class io.github.glaforge.gemini.interactions.model.Events.InteractionStatusUpdate
-
Returns the value of the
interactionIdrecord component. - InteractionParams - Class in io.github.glaforge.gemini.interactions.model
-
Request parameters for creating interactions.
- InteractionParams.AgentInteractionParams - Record Class in io.github.glaforge.gemini.interactions.model
-
Parameters for creating an agent interaction.
- InteractionParams.AgentInteractionParams.Builder - Class in io.github.glaforge.gemini.interactions.model
-
Builder for CreateAgentInteractionParams.
- InteractionParams.ModelInteractionParams - Record Class in io.github.glaforge.gemini.interactions.model
-
Parameters for creating a model interaction.
- InteractionParams.ModelInteractionParams.Builder - Class in io.github.glaforge.gemini.interactions.model
-
Builder for CreateModelInteractionParams.
- InteractionParams.Request - Interface in io.github.glaforge.gemini.interactions.model
-
Common interface for all interaction requests.
- InteractionsHandler - Class in io.github.glaforge.gemini.interactions.server
-
Base class for handling Gemini Interactions API requests in an
HttpHandler. - InteractionsHandler() - Constructor for class io.github.glaforge.gemini.interactions.server.InteractionsHandler
-
Default constructor for InteractionsHandler.
- InteractionStatusUpdate(Events.EventType, String, String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.InteractionStatusUpdate
-
Creates an instance of a
InteractionStatusUpdaterecord class. - io.github.glaforge.gemini.interactions - package io.github.glaforge.gemini.interactions
- io.github.glaforge.gemini.interactions.model - package io.github.glaforge.gemini.interactions.model
- io.github.glaforge.gemini.interactions.server - package io.github.glaforge.gemini.interactions.server
- io.github.glaforge.gemini.schema - package io.github.glaforge.gemini.schema
- isError() - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionResultContent
-
Returns the value of the
isErrorrecord component. - isError() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FunctionResultContent
-
Returns the value of the
isErrorrecord component. - isError() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchResultContent
-
Returns the value of the
isErrorrecord component. - isError() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextResultContent
-
Returns the value of the
isErrorrecord component. - isError() - Method in record class io.github.glaforge.gemini.interactions.model.Events.CodeExecutionResultDelta
-
Returns the value of the
isErrorrecord component. - isError() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FunctionResultDelta
-
Returns the value of the
isErrorrecord component. - isError() - Method in record class io.github.glaforge.gemini.interactions.model.Events.GoogleSearchResultDelta
-
Returns the value of the
isErrorrecord component. - isError() - Method in record class io.github.glaforge.gemini.interactions.model.Events.UrlContextResultDelta
-
Returns the value of the
isErrorrecord component. - items() - Method in record class io.github.glaforge.gemini.interactions.model.Content.ToolResult
-
Returns the value of the
itemsrecord component. - items(Schema) - Method in class io.github.glaforge.gemini.schema.ArraySchema
-
Define the schema for items in this array.
L
- language() - Method in record class io.github.glaforge.gemini.interactions.model.Config.SpeechConfig
-
Returns the value of the
languagerecord component. - language() - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionCallArguments
-
Returns the value of the
languagerecord component. - LOW - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.ThinkingLevel
-
Low thinking level.
- LOW - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Content.Resolution
-
Low resolution.
M
- max(double) - Method in class io.github.glaforge.gemini.schema.NumberSchema
-
Set the maximum value.
- maxItems(int) - Method in class io.github.glaforge.gemini.schema.ArraySchema
-
Set the maximum number of items.
- maxOutputTokens() - Method in record class io.github.glaforge.gemini.interactions.model.Config.GenerationConfig
-
Returns the value of the
maxOutputTokensrecord component. - MCP_SERVER_TOOL_CALL - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
MCP server tool call delta.
- MCP_SERVER_TOOL_RESULT - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
MCP server tool result delta.
- McpServer(String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Tool.McpServer
-
Creates a new McpServer tool.
- McpServer(String, String, String, Map<String, String>, List<Tool.AllowedTools>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Tool.McpServer
-
Creates an instance of a
McpServerrecord class. - McpServerToolCallContent(String, String, String, String, Map<String, Object>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolCallContent
-
Creates an instance of a
McpServerToolCallContentrecord class. - McpServerToolCallDelta(Events.DeltaType, String, String, String, Map<String, Object>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolCallDelta
-
Creates an instance of a
McpServerToolCallDeltarecord class. - McpServerToolResultContent(String, String, String, String, Object) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolResultContent
-
Creates an instance of a
McpServerToolResultContentrecord class. - McpServerToolResultDelta(Events.DeltaType, String, String, String, Object) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolResultDelta
-
Creates an instance of a
McpServerToolResultDeltarecord class. - MEDIUM - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Content.Resolution
-
Medium resolution.
- message() - Method in record class io.github.glaforge.gemini.interactions.model.Events.Error
-
Returns the value of the
messagerecord component. - metadataFilter() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.FileSearch
-
Returns the value of the
metadataFilterrecord component. - mimeType() - Method in record class io.github.glaforge.gemini.interactions.model.Content.AudioContent
-
Returns the value of the
mimeTyperecord component. - mimeType() - Method in record class io.github.glaforge.gemini.interactions.model.Content.DocumentContent
-
Returns the value of the
mimeTyperecord component. - mimeType() - Method in record class io.github.glaforge.gemini.interactions.model.Content.ImageContent
-
Returns the value of the
mimeTyperecord component. - mimeType() - Method in record class io.github.glaforge.gemini.interactions.model.Content.VideoContent
-
Returns the value of the
mimeTyperecord component. - mimeType() - Method in record class io.github.glaforge.gemini.interactions.model.Events.AudioDelta
-
Returns the value of the
mimeTyperecord component. - mimeType() - Method in record class io.github.glaforge.gemini.interactions.model.Events.DocumentDelta
-
Returns the value of the
mimeTyperecord component. - mimeType() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ImageDelta
-
Returns the value of the
mimeTyperecord component. - mimeType() - Method in record class io.github.glaforge.gemini.interactions.model.Events.VideoDelta
-
Returns the value of the
mimeTyperecord component. - min(double) - Method in class io.github.glaforge.gemini.schema.NumberSchema
-
Set the minimum value.
- minItems(int) - Method in class io.github.glaforge.gemini.schema.ArraySchema
-
Set the minimum number of items.
- modality() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.ModalityTokens
-
Returns the value of the
modalityrecord component. - ModalityTokens(Interaction.Modality, Integer) - Constructor for record class io.github.glaforge.gemini.interactions.model.Interaction.ModalityTokens
-
Creates an instance of a
ModalityTokensrecord class. - mode() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.AllowedTools
-
Returns the value of the
moderecord component. - model() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction
-
Returns the value of the
modelrecord component. - model() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Returns the value of the
modelrecord component. - model(String) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the model.
- MODEL - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Interaction.Role
-
Model role.
- ModelInteractionParams(String, Object, Config.GenerationConfig, List<Tool>, Boolean, Boolean, Boolean, String, List<Interaction.Modality>, Object, String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Creates an instance of a
ModelInteractionParamsrecord class.
N
- name() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FunctionCallContent
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FunctionResultContent
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolCallContent
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolResultContent
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FunctionCallDelta
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FunctionResultDelta
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolCallDelta
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolResultDelta
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.Function
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.McpServer
-
Returns the value of the
namerecord component. - NONE - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.ThinkingSummaries
-
No thinking summaries.
- NONE - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Tool.Mode
-
None mode.
- nullable - Variable in class io.github.glaforge.gemini.schema.Schema
-
Whether the parameter is nullable.
- nullable() - Method in class io.github.glaforge.gemini.schema.Schema
-
Mark this schema as nullable.
- num() - Static method in class io.github.glaforge.gemini.schema.GSchema
-
Creates a new number schema.
- num(String) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Add a number property.
- num(String, double, double) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Add a number property with min and max constraints.
- num(String, List<Double>) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Add a number property with allowed enum values.
- NumberSchema - Class in io.github.glaforge.gemini.schema
-
Schema for Number and Integer types.
- NumberSchema() - Constructor for class io.github.glaforge.gemini.schema.NumberSchema
-
Initializes a new number schema.
O
- obj() - Static method in class io.github.glaforge.gemini.schema.GSchema
-
Creates a new object schema.
- obj(String) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Add an object property.
- object() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction
-
Returns the value of the
objectrecord component. - ObjectSchema - Class in io.github.glaforge.gemini.schema
-
Schema for Object types.
- ObjectSchema() - Constructor for class io.github.glaforge.gemini.schema.ObjectSchema
-
Initializes a new object schema.
- outputs() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction
-
Returns the value of the
outputsrecord component. - outputTokensByModality() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Usage
-
Returns the value of the
outputTokensByModalityrecord component.
P
- parameters() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.Function
-
Returns the value of the
parametersrecord component. - PAYWALL - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Content.UrlContextStatus
-
Content behind paywall.
- prefixItems(Schema...) - Method in class io.github.glaforge.gemini.schema.ArraySchema
-
Define the schema for the first N items (prefixItems).
- previousInteractionId() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction
-
Returns the value of the
previousInteractionIdrecord component. - previousInteractionId() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Returns the value of the
previousInteractionIdrecord component. - previousInteractionId() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Returns the value of the
previousInteractionIdrecord component. - previousInteractionId(String) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the previous interaction ID.
- previousInteractionId(String) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the previous interaction ID.
- prop(String, Schema) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Add a property to this object schema.
Q
- queries() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchCallArguments
-
Returns the value of the
queriesrecord component.
R
- RATIO_1_1 - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.AspectRatio
- RATIO_16_9 - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.AspectRatio
- RATIO_2_3 - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.AspectRatio
- RATIO_21_9 - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.AspectRatio
- RATIO_3_2 - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.AspectRatio
- RATIO_3_4 - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.AspectRatio
- RATIO_4_3 - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.AspectRatio
- RATIO_4_5 - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.AspectRatio
- RATIO_5_4 - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.AspectRatio
- RATIO_9_16 - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.AspectRatio
- renderedContent() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchResult
-
Returns the value of the
renderedContentrecord component. - req(String...) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Specify required properties.
- reqProp(String, Schema) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Helper to add a required property in one go.
- REQUIRES_ACTION - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Interaction.Status
-
Interaction requires usage action.
- resolution() - Method in record class io.github.glaforge.gemini.interactions.model.Content.ImageContent
-
Returns the value of the
resolutionrecord component. - resolution() - Method in record class io.github.glaforge.gemini.interactions.model.Content.VideoContent
-
Returns the value of the
resolutionrecord component. - resolution() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ImageDelta
-
Returns the value of the
resolutionrecord component. - resolution() - Method in record class io.github.glaforge.gemini.interactions.model.Events.VideoDelta
-
Returns the value of the
resolutionrecord component. - responseFormat() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Returns the value of the
responseFormatrecord component. - responseFormat() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Returns the value of the
responseFormatrecord component. - responseFormat(Schema) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the response format from a schema.
- responseFormat(Schema) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the response format using a Schema object.
- responseFormat(Object) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the response format.
- responseFormat(String) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the response format from a JSON string.
- responseFormat(Map<String, Object>) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the response format from a map.
- responseMimeType() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Returns the value of the
responseMimeTyperecord component. - responseMimeType() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Returns the value of the
responseMimeTyperecord component. - responseMimeType(String) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the response MIME type.
- responseMimeType(String) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the response MIME type.
- responseModalities() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Returns the value of the
responseModalitiesrecord component. - responseModalities() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Returns the value of the
responseModalitiesrecord component. - responseModalities(Interaction.Modality...) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the response modalities.
- responseModalities(Interaction.Modality...) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the response modalities.
- responseModalities(List<Interaction.Modality>) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the response modalities.
- responseModalities(List<Interaction.Modality>) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the response modalities.
- result() - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionResultContent
-
Returns the value of the
resultrecord component. - result() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FileSearchResultContent
-
Returns the value of the
resultrecord component. - result() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FunctionResultContent
-
Returns the value of the
resultrecord component. - result() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchResultContent
-
Returns the value of the
resultrecord component. - result() - Method in record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolResultContent
-
Returns the value of the
resultrecord component. - result() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextResultContent
-
Returns the value of the
resultrecord component. - result() - Method in record class io.github.glaforge.gemini.interactions.model.Events.CodeExecutionResultDelta
-
Returns the value of the
resultrecord component. - result() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FileSearchResultDelta
-
Returns the value of the
resultrecord component. - result() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FunctionResultDelta
-
Returns the value of the
resultrecord component. - result() - Method in record class io.github.glaforge.gemini.interactions.model.Events.GoogleSearchResultDelta
-
Returns the value of the
resultrecord component. - result() - Method in record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolResultDelta
-
Returns the value of the
resultrecord component. - result() - Method in record class io.github.glaforge.gemini.interactions.model.Events.UrlContextResultDelta
-
Returns the value of the
resultrecord component. - role() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction
-
Returns the value of the
rolerecord component. - role() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Turn
-
Returns the value of the
rolerecord component.
S
- Schema - Class in io.github.glaforge.gemini.schema
-
Abstract base class for all Gemini JSON Schemas.
- Schema(String) - Constructor for class io.github.glaforge.gemini.schema.Schema
-
Initializes a new schema with the given type.
- seed() - Method in record class io.github.glaforge.gemini.interactions.model.Config.GenerationConfig
-
Returns the value of the
seedrecord component. - serverName() - Method in record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolCallContent
-
Returns the value of the
serverNamerecord component. - serverName() - Method in record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolResultContent
-
Returns the value of the
serverNamerecord component. - serverName() - Method in record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolCallDelta
-
Returns the value of the
serverNamerecord component. - serverName() - Method in record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolResultDelta
-
Returns the value of the
serverNamerecord component. - signature() - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionResultContent
-
Returns the value of the
signaturerecord component. - signature() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchResultContent
-
Returns the value of the
signaturerecord component. - signature() - Method in record class io.github.glaforge.gemini.interactions.model.Content.ThoughtContent
-
Returns the value of the
signaturerecord component. - signature() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextResultContent
-
Returns the value of the
signaturerecord component. - signature() - Method in record class io.github.glaforge.gemini.interactions.model.Events.CodeExecutionResultDelta
-
Returns the value of the
signaturerecord component. - signature() - Method in record class io.github.glaforge.gemini.interactions.model.Events.GoogleSearchResultDelta
-
Returns the value of the
signaturerecord component. - signature() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ThoughtSignatureDelta
-
Returns the value of the
signaturerecord component. - signature() - Method in record class io.github.glaforge.gemini.interactions.model.Events.UrlContextResultDelta
-
Returns the value of the
signaturerecord component. - SIZE_1K - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.ImageSize
- SIZE_2K - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.ImageSize
- SIZE_4K - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Config.ImageSize
- source() - Method in record class io.github.glaforge.gemini.interactions.model.Content.Annotation
-
Returns the value of the
sourcerecord component. - speaker() - Method in record class io.github.glaforge.gemini.interactions.model.Config.SpeechConfig
-
Returns the value of the
speakerrecord component. - speechConfig() - Method in record class io.github.glaforge.gemini.interactions.model.Config.GenerationConfig
-
Returns the value of the
speechConfigrecord component. - speechConfig(Config.SpeechConfig) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the speech config.
- speechConfig(Config.SpeechConfig) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the speech config.
- SpeechConfig(String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Config.SpeechConfig
-
Creates a new SpeechConfig with voice and language.
- SpeechConfig(String, String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Config.SpeechConfig
-
Creates an instance of a
SpeechConfigrecord class. - speechConfigs(List<Config.SpeechConfig>) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the speech configs.
- speechConfigs(List<Config.SpeechConfig>) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the speech configs.
- startIndex() - Method in record class io.github.glaforge.gemini.interactions.model.Content.Annotation
-
Returns the value of the
startIndexrecord component. - status() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextResult
-
Returns the value of the
statusrecord component. - status() - Method in record class io.github.glaforge.gemini.interactions.model.Events.InteractionStatusUpdate
-
Returns the value of the
statusrecord component. - status() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction
-
Returns the value of the
statusrecord component. - stopSequences() - Method in record class io.github.glaforge.gemini.interactions.model.Config.GenerationConfig
-
Returns the value of the
stopSequencesrecord component. - store() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Returns the value of the
storerecord component. - store() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Returns the value of the
storerecord component. - store(Boolean) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the store flag.
- store(Boolean) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the store flag.
- str() - Static method in class io.github.glaforge.gemini.schema.GSchema
-
Creates a new string schema.
- str(String) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Add a string property.
- str(String, StringSchema.Format) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Add a string property with a specific format.
- str(String, List<String>) - Method in class io.github.glaforge.gemini.schema.ObjectSchema
-
Add a string property with allowed enum values.
- stream() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Returns the value of the
streamrecord component. - stream() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Returns the value of the
streamrecord component. - stream() - Method in interface io.github.glaforge.gemini.interactions.model.InteractionParams.Request
-
Returns whether the response should be streamed.
- stream(InteractionParams.Request) - Method in class io.github.glaforge.gemini.interactions.GeminiInteractionsClient
-
Creates a streaming interaction.
- stream(InteractionParams.Request) - Method in class io.github.glaforge.gemini.interactions.server.InteractionsHandler
-
Returns a stream of events for an interaction request.
- stream(Boolean) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the stream flag.
- stream(Boolean) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the stream flag.
- StringSchema - Class in io.github.glaforge.gemini.schema
-
Schema for String types.
- StringSchema() - Constructor for class io.github.glaforge.gemini.schema.StringSchema
-
Initializes a new string schema.
- StringSchema.Format - Enum Class in io.github.glaforge.gemini.schema
-
Predefined formats for string schemas.
- SUCCESS - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Content.UrlContextStatus
-
Successful retrieval.
- summary() - Method in record class io.github.glaforge.gemini.interactions.model.Content.ThoughtContent
-
Returns the value of the
summaryrecord component. - systemInstruction() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Returns the value of the
systemInstructionrecord component. - systemInstruction() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Returns the value of the
systemInstructionrecord component. - systemInstruction(String) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the system instruction.
- systemInstruction(String) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the system instruction.
T
- temperature() - Method in record class io.github.glaforge.gemini.interactions.model.Config.GenerationConfig
-
Returns the value of the
temperaturerecord component. - text() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FileSearchResult
-
Returns the value of the
textrecord component. - text() - Method in record class io.github.glaforge.gemini.interactions.model.Content.TextContent
-
Returns the value of the
textrecord component. - text() - Method in record class io.github.glaforge.gemini.interactions.model.Events.TextDelta
-
Returns the value of the
textrecord component. - TEXT - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
Text content delta.
- TEXT - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Interaction.Modality
-
Text modality.
- TextContent(String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.TextContent
-
Creates a new TextContent with default type "text".
- TextContent(String, String, List<Content.Annotation>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.TextContent
-
Creates an instance of a
TextContentrecord class. - TextDelta(Events.DeltaType, String, List<Content.Annotation>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.TextDelta
-
Creates an instance of a
TextDeltarecord class. - thinkingLevel() - Method in record class io.github.glaforge.gemini.interactions.model.Config.GenerationConfig
-
Returns the value of the
thinkingLevelrecord component. - thinkingSummaries() - Method in record class io.github.glaforge.gemini.interactions.model.Config.DeepResearchAgentConfig
-
Returns the value of the
thinkingSummariesrecord component. - thinkingSummaries() - Method in record class io.github.glaforge.gemini.interactions.model.Config.GenerationConfig
-
Returns the value of the
thinkingSummariesrecord component. - THOUGHT_SIGNATURE - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
Thought signature delta.
- THOUGHT_SUMMARY - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
Thought summary delta.
- ThoughtContent(String, String, List<Content>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.ThoughtContent
-
Creates an instance of a
ThoughtContentrecord class. - ThoughtSignatureDelta(Events.DeltaType, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.ThoughtSignatureDelta
-
Creates an instance of a
ThoughtSignatureDeltarecord class. - ThoughtSummaryDelta(Events.DeltaType, Content) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.ThoughtSummaryDelta
-
Creates an instance of a
ThoughtSummaryDeltarecord class. - TIME - Enum constant in enum class io.github.glaforge.gemini.schema.StringSchema.Format
-
Time format.
- title - Variable in class io.github.glaforge.gemini.schema.Schema
-
The title of the parameter.
- title() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FileSearchResult
-
Returns the value of the
titlerecord component. - title() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchResult
-
Returns the value of the
titlerecord component. - title(String) - Method in class io.github.glaforge.gemini.schema.Schema
-
Set the title for this schema.
- toJson(Schema) - Static method in class io.github.glaforge.gemini.schema.GSchema
-
Convert a schema to a JSON string.
- tokens() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.ModalityTokens
-
Returns the value of the
tokensrecord component. - toMap() - Method in class io.github.glaforge.gemini.schema.ArraySchema
- toMap() - Method in class io.github.glaforge.gemini.schema.NumberSchema
- toMap() - Method in class io.github.glaforge.gemini.schema.ObjectSchema
- toMap() - Method in class io.github.glaforge.gemini.schema.Schema
-
Convert this Schema object into a Map suitable for JSON serialization.
- toMap() - Method in class io.github.glaforge.gemini.schema.StringSchema
- Tool - Interface in io.github.glaforge.gemini.interactions.model
-
Represents a tool definition that the model can use.
- Tool.AllowedTools - Record Class in io.github.glaforge.gemini.interactions.model
-
Allowed tools configuration.
- Tool.CodeExecution - Record Class in io.github.glaforge.gemini.interactions.model
-
Tool definition for Code Execution.
- Tool.ComputerUse - Record Class in io.github.glaforge.gemini.interactions.model
-
Tool definition for Computer Use.
- Tool.FileSearch - Record Class in io.github.glaforge.gemini.interactions.model
-
Tool definition for File Search.
- Tool.Function - Record Class in io.github.glaforge.gemini.interactions.model
-
Tool definition for a function.
- Tool.GoogleSearch - Record Class in io.github.glaforge.gemini.interactions.model
-
Tool definition for Google Search.
- Tool.McpServer - Record Class in io.github.glaforge.gemini.interactions.model
-
Tool definition for an MCP Server.
- Tool.Mode - Enum Class in io.github.glaforge.gemini.interactions.model
-
Tool choice mode.
- Tool.ToolChoiceConfig - Record Class in io.github.glaforge.gemini.interactions.model
-
Configuration for tool choice.
- Tool.UrlContext - Record Class in io.github.glaforge.gemini.interactions.model
-
Tool definition for URL Context.
- toolChoice() - Method in record class io.github.glaforge.gemini.interactions.model.Config.GenerationConfig
-
Returns the value of the
toolChoicerecord component. - ToolChoiceConfig(Tool.AllowedTools) - Constructor for record class io.github.glaforge.gemini.interactions.model.Tool.ToolChoiceConfig
-
Creates an instance of a
ToolChoiceConfigrecord class. - ToolResult(List<Content>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.ToolResult
-
Creates an instance of a
ToolResultrecord class. - tools() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Returns the value of the
toolsrecord component. - tools() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Returns the value of the
toolsrecord component. - tools() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.AllowedTools
-
Returns the value of the
toolsrecord component. - tools(Tool...) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the tools.
- tools(Tool...) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the tools.
- tools(List<Tool>) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams.Builder
-
Sets the tools.
- tools(List<Tool>) - Method in class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams.Builder
-
Sets the tools.
- toolUseTokensByModality() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Usage
-
Returns the value of the
toolUseTokensByModalityrecord component. - topK() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.FileSearch
-
Returns the value of the
topKrecord component. - topP() - Method in record class io.github.glaforge.gemini.interactions.model.Config.GenerationConfig
-
Returns the value of the
topPrecord component. - toString() - Method in exception class io.github.glaforge.gemini.interactions.GeminiInteractionsException
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Config.DeepResearchAgentConfig
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Config.DynamicAgentConfig
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Config.GenerationConfig
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Config.ImageConfig
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Config.SpeechConfig
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.Annotation
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.AudioContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionCallArguments
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionCallContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionResultContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.DocumentContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FileSearchCallContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FileSearchResult
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FileSearchResultContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FunctionCallContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FunctionResultContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchCallArguments
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchCallContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchResult
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchResultContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.ImageContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolCallContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolResultContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.TextContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.ThoughtContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.ToolResult
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextCallArguments
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextCallContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextResult
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextResultContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Content.VideoContent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.AudioDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.CodeExecutionCallDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.CodeExecutionResultDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentStart
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ContentStop
-
Returns a string representation of this record class.
- toString() - Method in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.DocumentDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.Error
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ErrorEvent
-
Returns a string representation of this record class.
- toString() - Method in enum class io.github.glaforge.gemini.interactions.model.Events.EventType
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FileSearchResultDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FunctionCallDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FunctionResultDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.GoogleSearchCallDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.GoogleSearchResultDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ImageDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.InteractionEvent
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.InteractionStatusUpdate
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolCallDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolResultDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.TextDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ThoughtSignatureDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ThoughtSummaryDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.UrlContextCallDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.UrlContextResultDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Events.VideoDelta
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.ModalityTokens
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Turn
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Usage
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.AgentInteractionParams
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.InteractionParams.ModelInteractionParams
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.AllowedTools
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.CodeExecution
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.ComputerUse
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.FileSearch
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.Function
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.GoogleSearch
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.McpServer
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.ToolChoiceConfig
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.UrlContext
-
Returns a string representation of this record class.
- totalCachedTokens() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Usage
-
Returns the value of the
totalCachedTokensrecord component. - totalInputTokens() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Usage
-
Returns the value of the
totalInputTokensrecord component. - totalOutputTokens() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Usage
-
Returns the value of the
totalOutputTokensrecord component. - totalThoughtTokens() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Usage
-
Returns the value of the
totalThoughtTokensrecord component. - totalTokens() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Usage
-
Returns the value of the
totalTokensrecord component. - totalToolUseTokens() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction.Usage
-
Returns the value of the
totalToolUseTokensrecord component. - Turn(Interaction.Role, Object) - Constructor for record class io.github.glaforge.gemini.interactions.model.Interaction.Turn
-
Creates an instance of a
Turnrecord class. - type - Variable in class io.github.glaforge.gemini.schema.Schema
-
The JSON schema type.
- type() - Method in interface io.github.glaforge.gemini.interactions.model.Config.AgentConfig
-
Returns the type of the agent.
- type() - Method in record class io.github.glaforge.gemini.interactions.model.Config.DeepResearchAgentConfig
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Config.DynamicAgentConfig
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.AudioContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionCallContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.CodeExecutionResultContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.DocumentContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FileSearchCallContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FileSearchResultContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FunctionCallContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.FunctionResultContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchCallContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchResultContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.ImageContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolCallContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.McpServerToolResultContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.TextContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.ThoughtContent
-
Returns the value of the
typerecord component. - type() - Method in interface io.github.glaforge.gemini.interactions.model.Content
-
Returns the type of content.
- type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextCallContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextResultContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Content.VideoContent
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.AudioDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.CodeExecutionCallDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.CodeExecutionResultDelta
-
Returns the value of the
typerecord component. - type() - Method in interface io.github.glaforge.gemini.interactions.model.Events.Delta
-
Returns the type of the delta.
- type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.DocumentDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FileSearchResultDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FunctionCallDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.FunctionResultDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.GoogleSearchCallDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.GoogleSearchResultDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ImageDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolCallDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.McpServerToolResultDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.TextDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ThoughtSignatureDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ThoughtSummaryDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.UrlContextCallDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.UrlContextResultDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Events.VideoDelta
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.CodeExecution
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.ComputerUse
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.FileSearch
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.Function
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.GoogleSearch
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.McpServer
-
Returns the value of the
typerecord component. - type() - Method in interface io.github.glaforge.gemini.interactions.model.Tool
-
Returns the type of the tool.
- type() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.UrlContext
-
Returns the value of the
typerecord component.
U
- UNSAFE - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Content.UrlContextStatus
-
Content deemed unsafe.
- updated() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction
-
Returns the value of the
updatedrecord component. - uri() - Method in record class io.github.glaforge.gemini.interactions.model.Content.AudioContent
-
Returns the value of the
urirecord component. - uri() - Method in record class io.github.glaforge.gemini.interactions.model.Content.DocumentContent
-
Returns the value of the
urirecord component. - uri() - Method in record class io.github.glaforge.gemini.interactions.model.Content.ImageContent
-
Returns the value of the
urirecord component. - uri() - Method in record class io.github.glaforge.gemini.interactions.model.Content.VideoContent
-
Returns the value of the
urirecord component. - uri() - Method in record class io.github.glaforge.gemini.interactions.model.Events.AudioDelta
-
Returns the value of the
urirecord component. - uri() - Method in record class io.github.glaforge.gemini.interactions.model.Events.DocumentDelta
-
Returns the value of the
urirecord component. - uri() - Method in record class io.github.glaforge.gemini.interactions.model.Events.ImageDelta
-
Returns the value of the
urirecord component. - uri() - Method in record class io.github.glaforge.gemini.interactions.model.Events.VideoDelta
-
Returns the value of the
urirecord component. - url() - Method in record class io.github.glaforge.gemini.interactions.model.Content.GoogleSearchResult
-
Returns the value of the
urlrecord component. - url() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextResult
-
Returns the value of the
urlrecord component. - url() - Method in record class io.github.glaforge.gemini.interactions.model.Tool.McpServer
-
Returns the value of the
urlrecord component. - URL_CONTEXT_CALL - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
URL context call delta.
- URL_CONTEXT_RESULT - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
URL context result delta.
- UrlContext() - Constructor for record class io.github.glaforge.gemini.interactions.model.Tool.UrlContext
-
Creates a new UrlContext tool.
- UrlContext(String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Tool.UrlContext
-
Creates an instance of a
UrlContextrecord class. - UrlContextCallArguments(List<String>) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.UrlContextCallArguments
-
Creates an instance of a
UrlContextCallArgumentsrecord class. - UrlContextCallContent(String, String, Content.UrlContextCallArguments) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.UrlContextCallContent
-
Creates an instance of a
UrlContextCallContentrecord class. - UrlContextCallDelta(Events.DeltaType, String, Content.UrlContextCallArguments) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.UrlContextCallDelta
-
Creates an instance of a
UrlContextCallDeltarecord class. - UrlContextResult(String, Content.UrlContextStatus) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.UrlContextResult
-
Creates an instance of a
UrlContextResultrecord class. - UrlContextResultContent(String, String, String, List<Content.UrlContextResult>, Boolean) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.UrlContextResultContent
-
Creates an instance of a
UrlContextResultContentrecord class. - UrlContextResultDelta(Events.DeltaType, String, String, List<Content.UrlContextResult>, Boolean) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.UrlContextResultDelta
-
Creates an instance of a
UrlContextResultDeltarecord class. - urls() - Method in record class io.github.glaforge.gemini.interactions.model.Content.UrlContextCallArguments
-
Returns the value of the
urlsrecord component. - usage() - Method in record class io.github.glaforge.gemini.interactions.model.Interaction
-
Returns the value of the
usagerecord component. - Usage(Integer, List<Interaction.ModalityTokens>, Integer, List<Interaction.ModalityTokens>, Integer, List<Interaction.ModalityTokens>, Integer, List<Interaction.ModalityTokens>, Integer, Integer) - Constructor for record class io.github.glaforge.gemini.interactions.model.Interaction.Usage
-
Creates an instance of a
Usagerecord class. - USER - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Interaction.Role
-
User role.
V
- VALIDATED - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Tool.Mode
-
Validated mode.
- valueOf(String) - Static method in enum class io.github.glaforge.gemini.interactions.model.Config.AspectRatio
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.glaforge.gemini.interactions.model.Config.ImageSize
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.glaforge.gemini.interactions.model.Config.ThinkingLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.glaforge.gemini.interactions.model.Config.ThinkingSummaries
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.glaforge.gemini.interactions.model.Content.Resolution
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.glaforge.gemini.interactions.model.Content.UrlContextStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.glaforge.gemini.interactions.model.Events.EventType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.glaforge.gemini.interactions.model.Interaction.Modality
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.glaforge.gemini.interactions.model.Interaction.Role
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.glaforge.gemini.interactions.model.Interaction.Status
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.glaforge.gemini.interactions.model.Tool.Mode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.github.glaforge.gemini.schema.StringSchema.Format
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.glaforge.gemini.interactions.model.Config.AspectRatio
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.glaforge.gemini.interactions.model.Config.ImageSize
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.glaforge.gemini.interactions.model.Config.ThinkingLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.glaforge.gemini.interactions.model.Config.ThinkingSummaries
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.glaforge.gemini.interactions.model.Content.Resolution
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.glaforge.gemini.interactions.model.Content.UrlContextStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.glaforge.gemini.interactions.model.Events.EventType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.glaforge.gemini.interactions.model.Interaction.Modality
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.glaforge.gemini.interactions.model.Interaction.Role
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.glaforge.gemini.interactions.model.Interaction.Status
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.glaforge.gemini.interactions.model.Tool.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.github.glaforge.gemini.schema.StringSchema.Format
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version(String) - Method in class io.github.glaforge.gemini.interactions.GeminiInteractionsClient.Builder
-
Sets the API version.
- VIDEO - Enum constant in enum class io.github.glaforge.gemini.interactions.model.Events.DeltaType
-
Video content delta.
- VideoContent(String, byte[], String, String, Content.Resolution) - Constructor for record class io.github.glaforge.gemini.interactions.model.Content.VideoContent
-
Creates an instance of a
VideoContentrecord class. - VideoDelta(Events.DeltaType, String, String, String, String) - Constructor for record class io.github.glaforge.gemini.interactions.model.Events.VideoDelta
-
Creates an instance of a
VideoDeltarecord class. - voice() - Method in record class io.github.glaforge.gemini.interactions.model.Config.SpeechConfig
-
Returns the value of the
voicerecord component.
All Classes and Interfaces|All Packages|Serialized Form