A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  Y  Z 

T

targetTokens() - function in com.google.genai.types.SlidingWindow
Session reduction target -- how many tokens we should keep.
targetTokens(java.lang.Long) - function in com.google.genai.types.SlidingWindow.Builder
Setter for targetTokens.
taskType() - function in com.google.genai.types.EmbedContentConfig
Type of task for which the embedding will be used.
taskType(java.lang.String) - function in com.google.genai.types.EmbedContentConfig.Builder
Setter for taskType.
tAudioBlob(Object) - function in com.google.genai.Transformers
Transforms a blob to an audio blob, validating its mime type.
tBatchJobDestination(Object) - function in com.google.genai.Transformers
 
tBatchJobName(com.google.genai.ApiClient,Object) - function in com.google.genai.Transformers
It validates and extracts the batch job name based on the backend (Vertex AI or MLDev).
tBatchJobSource(Object) - function in com.google.genai.Transformers
 
tBlob(Object) - function in com.google.genai.Transformers
 
tBlobs(Object) - function in com.google.genai.Transformers
Dummy Blobs transformer.
tBytes(Object) - function in com.google.genai.Transformers
Dummy bytes transformer.
tCachedContentName(com.google.genai.ApiClient,Object) - function in com.google.genai.Transformers
Transforms an object to a cached content name for the API.
tCachesModel(com.google.genai.ApiClient,Object) - function in com.google.genai.Transformers
Transforms a model name to the correct format for the Caches API.
tContent(Object) - function in com.google.genai.Transformers
Transforms an object to a Content for the API.
tContents(com.google.genai.types.Content) - function in com.google.genai.Transformers
Transforms a Content to a list of Content for the API.
tContents(Object) - function in com.google.genai.Transformers
In other languages, this transformer is used for supporting union types.
tContents(java.lang.String) - function in com.google.genai.Transformers
Transforms a text string to a list of Content for the API.
tContentsForEmbed(com.google.genai.ApiClient,Object) - function in com.google.genai.Transformers
Transforms an object to a list of Content for the embedding API.
temperature() - function in com.google.genai.types.GenerateContentConfig
Value that controls the degree of randomness in token selection.
temperature(java.lang.Float) - function in com.google.genai.types.GenerateContentConfig.Builder
Setter for temperature.
temperature() - function in com.google.genai.types.GenerationConfig
Optional.
temperature(java.lang.Float) - function in com.google.genai.types.GenerationConfig.Builder
Setter for temperature.
temperature() - function in com.google.genai.types.LiveConnectConfig
Value that controls the degree of randomness in token selection.
temperature(java.lang.Float) - function in com.google.genai.types.LiveConnectConfig.Builder
Setter for temperature.
temperature() - function in com.google.genai.types.Model
Temperature value used for sampling set when the dataset was saved.
temperature(java.lang.Float) - function in com.google.genai.types.Model.Builder
Setter for temperature.
terminateOnClose() - function in com.google.genai.types.StreamableHttpTransport
Whether to close the client session when the transport closes.
terminateOnClose(boolean) - function in com.google.genai.types.StreamableHttpTransport.Builder
Setter for terminateOnClose.
testMethod() - function in com.google.genai.types.TestTableFile
 
testMethod(java.lang.String) - function in com.google.genai.types.TestTableFile.Builder
Setter for testMethod.
testTable() - function in com.google.genai.types.TestTableFile
 
testTable(kotlin.Array) - function in com.google.genai.types.TestTableFile.Builder
Setter for testTable.
testTable(kotlin.Array) - function in com.google.genai.types.TestTableFile.Builder
Setter for testTable builder.
testTable(java.util.List) - function in com.google.genai.types.TestTableFile.Builder
Setter for testTable.
TestTableFile - class in com.google.genai.types
None
TestTableFile.Builder - class in com.google.genai.types.TestTableFile
Builder for TestTableFile.
TestTableItem - class in com.google.genai.types
None
TestTableItem.Builder - class in com.google.genai.types.TestTableItem
Builder for TestTableItem.
text() - function in com.google.genai.types.Content
Returns the concatenation of all text parts in this content.
text() - function in com.google.genai.types.GenerateContentResponse
Returns the concatenation of all text parts in the first candidate of the response.
text() - function in com.google.genai.types.GroundingChunkMaps
The text of the place answer.
text(java.lang.String) - function in com.google.genai.types.GroundingChunkMaps.Builder
Setter for text.
text() - function in com.google.genai.types.GroundingChunkRetrievedContext
The content of the retrieved data source.
text(java.lang.String) - function in com.google.genai.types.GroundingChunkRetrievedContext.Builder
Setter for text.
text() - function in com.google.genai.types.LiveClientRealtimeInput
The realtime text input stream.
text(java.lang.String) - function in com.google.genai.types.LiveClientRealtimeInput.Builder
Setter for text.
text() - function in com.google.genai.types.LiveSendRealtimeInputParameters
The realtime text input stream.
text(java.lang.String) - function in com.google.genai.types.LiveSendRealtimeInputParameters.Builder
Setter for text.
TEXT - enum entry in com.google.genai.types.MediaModality.Known

Plain text.

TEXT - enum entry in com.google.genai.types.Modality.Known

Indicates the model should return text

text() - function in com.google.genai.types.Part
Optional.
text(java.lang.String) - function in com.google.genai.types.Part.Builder
Setter for text.
text() - function in com.google.genai.types.RagChunk
The content of the chunk.
text(java.lang.String) - function in com.google.genai.types.RagChunk.Builder
Setter for text.
text() - function in com.google.genai.types.Segment
Output only.
text(java.lang.String) - function in com.google.genai.types.Segment.Builder
Setter for text.
text() - function in com.google.genai.types.Transcription
Optional.
text(java.lang.String) - function in com.google.genai.types.Transcription.Builder
Setter for text.
textCount() - function in com.google.genai.types.CachedContentUsageMetadata
Number of text characters.
textCount(java.lang.Integer) - function in com.google.genai.types.CachedContentUsageMetadata.Builder
Setter for textCount.
textInput() - function in com.google.genai.types.TuningExample
Optional.
textInput(java.lang.String) - function in com.google.genai.types.TuningExample.Builder
Setter for textInput.
tExtractModels(Object) - function in com.google.genai.Transformers
Extracts the models from the models.list response.
tFileName(Object) - function in com.google.genai.Transformers
 
thinking() - function in com.google.genai.types.Model
Whether the model supports thinking features.
thinking(boolean) - function in com.google.genai.types.Model.Builder
Setter for thinking.
THINKING_LEVEL_UNSPECIFIED - enum entry in com.google.genai.types.ThinkingLevel.Known

Unspecified thinking level.

thinkingBudget() - function in com.google.genai.types.ThinkingConfig
Indicates the thinking budget in tokens.
thinkingBudget(java.lang.Integer) - function in com.google.genai.types.ThinkingConfig.Builder
Setter for thinkingBudget.
thinkingConfig() - function in com.google.genai.types.GenerateContentConfig
The thinking features configuration.
thinkingConfig(com.google.genai.types.ThinkingConfig) - function in com.google.genai.types.GenerateContentConfig.Builder
Setter for thinkingConfig.
thinkingConfig(com.google.genai.types.ThinkingConfig.Builder) - function in com.google.genai.types.GenerateContentConfig.Builder
Setter for thinkingConfig builder.
thinkingConfig() - function in com.google.genai.types.GenerationConfig
Optional.
thinkingConfig(com.google.genai.types.ThinkingConfig) - function in com.google.genai.types.GenerationConfig.Builder
Setter for thinkingConfig.
thinkingConfig(com.google.genai.types.ThinkingConfig.Builder) - function in com.google.genai.types.GenerationConfig.Builder
Setter for thinkingConfig builder.
thinkingConfig() - function in com.google.genai.types.LiveConnectConfig
Config for thinking features.
thinkingConfig(com.google.genai.types.ThinkingConfig) - function in com.google.genai.types.LiveConnectConfig.Builder
Setter for thinkingConfig.
thinkingConfig(com.google.genai.types.ThinkingConfig.Builder) - function in com.google.genai.types.LiveConnectConfig.Builder
Setter for thinkingConfig builder.
ThinkingConfig - class in com.google.genai.types
The thinking features configuration.
ThinkingConfig.Builder - class in com.google.genai.types.ThinkingConfig
Builder for ThinkingConfig.
thinkingLevel() - function in com.google.genai.types.ThinkingConfig
Optional.
thinkingLevel(com.google.genai.types.ThinkingLevel) - function in com.google.genai.types.ThinkingConfig.Builder
Setter for thinkingLevel.
thinkingLevel(com.google.genai.types.ThinkingLevel.Known) - function in com.google.genai.types.ThinkingConfig.Builder
Setter for thinkingLevel given a known enum.
thinkingLevel(java.lang.String) - function in com.google.genai.types.ThinkingConfig.Builder
Setter for thinkingLevel given a string.
ThinkingLevel - class in com.google.genai.types
The number of thoughts tokens that the model should generate.
ThinkingLevel.Known - class in com.google.genai.types.ThinkingLevel
Enum representing the known values for ThinkingLevel.
thought() - function in com.google.genai.types.Part
Optional.
thought(boolean) - function in com.google.genai.types.Part.Builder
Setter for thought.
thoughtSignature() - function in com.google.genai.types.Part
Optional.
thoughtSignature(kotlin.Array) - function in com.google.genai.types.Part.Builder
Setter for thoughtSignature.
thoughtsTokenCount() - function in com.google.genai.types.GenerateContentResponseUsageMetadata
Output only.
thoughtsTokenCount(java.lang.Integer) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for thoughtsTokenCount.
thoughtsTokenCount() - function in com.google.genai.types.UsageMetadata
Number of tokens of thoughts for thinking models.
thoughtsTokenCount(java.lang.Integer) - function in com.google.genai.types.UsageMetadata.Builder
Setter for thoughtsTokenCount.
threshold() - function in com.google.genai.types.SafetySetting
Required.
threshold(com.google.genai.types.HarmBlockThreshold) - function in com.google.genai.types.SafetySetting.Builder
Setter for threshold.
threshold(com.google.genai.types.HarmBlockThreshold.Known) - function in com.google.genai.types.SafetySetting.Builder
Setter for threshold given a known enum.
threshold(java.lang.String) - function in com.google.genai.types.SafetySetting.Builder
Setter for threshold given a string.
throwFromErrorNode(com.fasterxml.jackson.databind.node.ArrayNode,int) - function in com.google.genai.errors.ApiException
Throws an ApiException from a ArrayNode.
throwFromErrorNode(com.fasterxml.jackson.databind.node.ArrayNode,int) - function in com.google.genai.errors.ApiException
Throws an ApiException from a ArrayNode.
throwFromResponse(okhttp3.Response) - function in com.google.genai.errors.ApiException
Throws an ApiException from the response if the response is not a OK status.
throwFromResponse(okhttp3.Response) - function in com.google.genai.errors.ApiException
Throws an ApiException from the response if the response is not a OK status.
throwFromResponse(org.apache.http.client.methods.CloseableHttpResponse) - function in com.google.genai.errors.ApiException
Throws an ApiException from the response if the response is not a OK status.
throwFromResponse(org.apache.http.client.methods.CloseableHttpResponse) - function in com.google.genai.errors.ApiException
Throws an ApiException from the response if the response is not a OK status.
TIE - enum entry in com.google.genai.types.PairwiseChoice.Known

Winner cannot be determined

tImageBlob(Object) - function in com.google.genai.Transformers
Transforms a blob to an image blob, validating its mime type.
timeLeft() - function in com.google.genai.types.LiveServerGoAway
The remaining time before the connection will be terminated as ABORTED.
timeLeft(java.time.Duration) - function in com.google.genai.types.LiveServerGoAway.Builder
Setter for timeLeft.
timeout() - function in com.google.genai.types.HttpOptions
Timeout for the request in milliseconds.
timeout(java.lang.Integer) - function in com.google.genai.types.HttpOptions.Builder
Setter for timeout.
timeout() - function in com.google.genai.types.StreamableHttpTransport
HTTP timeout for regular operations.
timeout(java.time.Duration) - function in com.google.genai.types.StreamableHttpTransport.Builder
Setter for timeout.
timeRangeFilter() - function in com.google.genai.types.GoogleSearch
Optional.
timeRangeFilter(com.google.genai.types.Interval) - function in com.google.genai.types.GoogleSearch.Builder
Setter for timeRangeFilter.
timeRangeFilter(com.google.genai.types.Interval.Builder) - function in com.google.genai.types.GoogleSearch.Builder
Setter for timeRangeFilter builder.
tIsVertexEmbedContentModel(java.lang.String) - function in com.google.genai.Transformers
Checks if a given model name is a Vertex AI embed content model.
title() - function in com.google.genai.types.Citation
Output only.
title(java.lang.String) - function in com.google.genai.types.Citation.Builder
Setter for title.
title() - function in com.google.genai.types.EmbedContentConfig
Title for the text.
title(java.lang.String) - function in com.google.genai.types.EmbedContentConfig.Builder
Setter for title.
title() - function in com.google.genai.types.GroundingChunkImage
The title of the image search result page.
title(java.lang.String) - function in com.google.genai.types.GroundingChunkImage.Builder
Setter for title.
title() - function in com.google.genai.types.GroundingChunkMaps
The title of the place.
title(java.lang.String) - function in com.google.genai.types.GroundingChunkMaps.Builder
Setter for title.
title() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
Title of the review.
title(java.lang.String) - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
Setter for title.
title() - function in com.google.genai.types.GroundingChunkRetrievedContext
The title of the retrieved data source.
title(java.lang.String) - function in com.google.genai.types.GroundingChunkRetrievedContext.Builder
Setter for title.
title() - function in com.google.genai.types.GroundingChunkWeb
The title of the web page that contains the evidence.
title(java.lang.String) - function in com.google.genai.types.GroundingChunkWeb.Builder
Setter for title.
title() - function in com.google.genai.types.Schema
Optional.
title(java.lang.String) - function in com.google.genai.types.Schema.Builder
Setter for title.
tJobState(Object) - function in com.google.genai.Transformers
Maps specific batch states to job states, otherwise returns the state as is.
tLiveSpeechConfig(Object) - function in com.google.genai.Transformers
Transforms a SpeechConfig object for the live API, validating it.
tMetrics(Object) - function in com.google.genai.Transformers
Prepares the metric payload for the evaluation request.
tModel(com.google.genai.ApiClient,Object) - function in com.google.genai.Transformers
Transforms a model name to the correct format for the API.
tModelsUrl(com.google.genai.ApiClient,Object) - function in com.google.genai.Transformers
Determines the appropriate models URL based on the API client type and whether base models are requested.
toBuilder() - function in com.google.genai.types.ActivityEnd
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ActivityStart
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.AggregationOutput
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.AggregationResult
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ApiAuth
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ApiAuthApiKeyConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ApiKeyConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.AudioTranscriptionConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.AuthConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.AuthConfigGoogleServiceAccountConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.AuthConfigHttpBasicAuthConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.AuthConfigOauthConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.AuthConfigOidcConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.AuthToken
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.AutomaticActivityDetection
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.AutomaticFunctionCallingConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.AutoraterConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.AvatarConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.BatchJob
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.BatchJobDestination
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.BatchJobSource
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.BigQuerySource
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.BleuMetricValue
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.BleuSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Blob
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CachedContent
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CachedContentUsageMetadata
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CancelBatchJobConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CancelBatchJobParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CancelTuningJobConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CancelTuningJobParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CancelTuningJobResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Candidate
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Checkpoint
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ChunkingConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Citation
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CitationMetadata
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ClientOptions
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CodeExecutionResult
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CompletionStats
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ComputationBasedMetricSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ComputeTokensConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ComputeTokensParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ComputeTokensResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ComputeTokensResult
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ComputerUse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Content
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ContentEmbedding
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ContentEmbeddingStatistics
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ContentReferenceImage
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ContextWindowCompressionConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ControlReferenceConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ControlReferenceImage
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CountTokensConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CountTokensParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CountTokensResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CountTokensResult
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CreateAuthTokenConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CreateAuthTokenParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CreateBatchJobConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CreateBatchJobParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CreateCachedContentConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CreateCachedContentParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CreateEmbeddingsBatchJobConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CreateEmbeddingsBatchJobParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CreateFileConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CreateFileParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CreateFileResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CreateFileSearchStoreConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CreateFileSearchStoreParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CreateTuningJobConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CreateTuningJobParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CreateTuningJobParametersPrivate
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CustomCodeExecutionResult
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CustomCodeExecutionSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CustomMetadata
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CustomOutput
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CustomOutputFormatConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.CustomizedAvatar
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DatasetDistribution
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DatasetDistributionDistributionBucket
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DatasetStats
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DeleteBatchJobConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DeleteBatchJobParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DeleteCachedContentConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DeleteCachedContentParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DeleteCachedContentResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DeleteDocumentConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DeleteDocumentParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DeleteFileConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DeleteFileParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DeleteFileResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DeleteFileSearchStoreConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DeleteFileSearchStoreParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DeleteModelConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DeleteModelParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DeleteModelResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DeleteResourceJob
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DistillationDataStats
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DistillationHyperParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DistillationSamplingSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DistillationSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Document
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DownloadFileConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.DynamicRetrievalConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EditImageConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EditImageParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EditImageResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EmbedContentBatch
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EmbedContentConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EmbedContentMetadata
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EmbedContentParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EmbedContentParametersPrivate
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EmbedContentResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EmbeddingsBatchJobSource
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EncryptionSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Endpoint
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EnterpriseWebSearch
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EntityLabel
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EvaluateDatasetResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EvaluateDatasetRun
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EvaluationConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.EvaluationDataset
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ExactMatchMetricValue
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ExecutableCode
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ExternalApi
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ExternalApiElasticSearchParams
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ExternalApiSimpleSearchParams
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.FetchPredictOperationConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.FetchPredictOperationParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.File
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.FileData
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.FileSearch
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.FileSearchStore
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.FileStatus
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.FullFineTuningSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.FunctionCall
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.FunctionCallingConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.FunctionDeclaration
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.FunctionResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.FunctionResponseBlob
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.FunctionResponseFileData
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.FunctionResponsePart
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GcsDestination
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GcsSource
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GeminiPreferenceExample
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GeminiPreferenceExampleCompletion
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerateContentConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerateContentParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerateContentResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerateContentResponsePromptFeedback
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerateContentResponseUsageMetadata
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerateImagesConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerateImagesParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerateImagesResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerateVideosConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerateVideosOperation
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerateVideosParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerateVideosResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerateVideosSource
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GeneratedImage
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GeneratedImageMask
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GeneratedVideo
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerationConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerationConfigRoutingConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerationConfigRoutingConfigAutoRoutingMode
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GenerationConfigRoutingConfigManualRoutingMode
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GetBatchJobConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GetBatchJobParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GetCachedContentConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GetCachedContentParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GetDocumentConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GetDocumentParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GetFileConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GetFileParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GetFileSearchStoreConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GetFileSearchStoreParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GetModelConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GetModelParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GetOperationConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GetOperationParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GetTuningJobConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GetTuningJobParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GoogleMaps
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GoogleRpcStatus
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GoogleSearch
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GoogleSearchRetrieval
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GoogleTypeDate
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GroundingChunk
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GroundingChunkCustomMetadata
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GroundingChunkImage
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GroundingChunkMaps
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSources
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GroundingChunkMapsRoute
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GroundingChunkRetrievedContext
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GroundingChunkStringList
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GroundingChunkWeb
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GroundingMetadata
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GroundingMetadataSourceFlaggingUri
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.GroundingSupport
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.HttpOptions
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.HttpResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.HttpRetryOptions
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Image
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ImageConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ImageConfigImageOutputOptions
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ImageSearch
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ImportFileConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ImportFileOperation
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ImportFileParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ImportFileResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.InlinedEmbedContentResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.InlinedRequest
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.InlinedResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.InternalRegisterFilesParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Interval
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.JobError
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LLMBasedMetricSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LatLng
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListBatchJobsConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListBatchJobsParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListBatchJobsResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListCachedContentsConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListCachedContentsParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListCachedContentsResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListDocumentsConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListDocumentsParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListDocumentsResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListFileSearchStoresConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListFileSearchStoresParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListFileSearchStoresResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListFilesConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListFilesParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListFilesResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListModelsConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListModelsParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListModelsResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListTuningJobsConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListTuningJobsParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ListTuningJobsResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveClientContent
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveClientMessage
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveClientRealtimeInput
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveClientSetup
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveClientToolResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveConnectConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveConnectConstraints
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveConnectParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveSendClientContentParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveSendRealtimeInputParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveSendToolResponseParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveServerContent
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveServerGoAway
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveServerMessage
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveServerSessionResumptionUpdate
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveServerSetupComplete
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveServerToolCall
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LiveServerToolCallCancellation
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LogprobsResult
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LogprobsResultCandidate
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.LogprobsResultTopCandidates
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.MaskReferenceConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.MaskReferenceImage
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.McpServer
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Metric
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ModalityTokenCount
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Model
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ModelArmorConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ModelSelectionConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ModelStatus
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.MultiSpeakerVoiceConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.OutputConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.OutputInfo
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.PairwiseMetricResult
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.PairwiseMetricSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Part
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.PartMediaResolution
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.PartialArg
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.PartnerModelTuningSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.PointwiseMetricResult
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.PointwiseMetricSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.PreTunedModel
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.PrebuiltVoiceConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.PredefinedMetricSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.PreferenceOptimizationDataStats
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.PreferenceOptimizationHyperParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.PreferenceOptimizationSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ProactivityConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ProductImage
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ProxyOptions
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RagChunk
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RagChunkPageSpan
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RagRetrievalConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RagRetrievalConfigFilter
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RagRetrievalConfigHybridSearch
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RagRetrievalConfigRanking
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RagRetrievalConfigRankingLlmRanker
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RagRetrievalConfigRankingRankService
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RawOutput
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RawReferenceImage
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RealtimeInputConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RecontextImageConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RecontextImageParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RecontextImageResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RecontextImageSource
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ReferenceImageAPI
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RegisterFilesConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RegisterFilesResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ReplayFile
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ReplayInteraction
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ReplayRequest
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ReplayResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ReplicatedVoiceConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Retrieval
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RetrievalConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RetrievalMetadata
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RougeMetricValue
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RougeSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.RubricGenerationSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SafetyAttributes
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SafetyRating
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SafetySetting
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Schema
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ScribbleImage
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SearchEntryPoint
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SearchTypes
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Segment
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SegmentImageConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SegmentImageParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SegmentImageResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SegmentImageSource
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SessionResumptionConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SingleEmbedContentResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SlidingWindow
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SpeakerVoiceConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SpeechConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.StreamableHttpTransport
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.StringList
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.StyleReferenceConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.StyleReferenceImage
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SubjectReferenceConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SubjectReferenceImage
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SupervisedHyperParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SupervisedTuningDataStats
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SupervisedTuningDatasetDistribution
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SupervisedTuningDatasetDistributionDatasetBucket
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.SupervisedTuningSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.TestTableFile
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.TestTableItem
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ThinkingConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.TokensInfo
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Tool
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ToolCall
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ToolCodeExecution
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ToolConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ToolParallelAiSearch
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.ToolResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Transcription
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.TunedModel
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.TunedModelCheckpoint
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.TunedModelInfo
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.TuningDataStats
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.TuningDataset
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.TuningExample
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.TuningJob
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.TuningJobMetadata
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.TuningOperation
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.TuningValidationDataset
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UnifiedMetric
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UpdateCachedContentConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UpdateCachedContentParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UpdateModelConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UpdateModelParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UploadFileConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UploadToFileSearchStoreConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UploadToFileSearchStoreOperation
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UploadToFileSearchStoreParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UploadToFileSearchStoreResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UploadToFileSearchStoreResumableResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UpscaleImageAPIConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UpscaleImageAPIParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UpscaleImageConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UpscaleImageParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UpscaleImageResponse
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UrlContext
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UrlContextMetadata
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UrlMetadata
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.UsageMetadata
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.VeoHyperParameters
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.VeoTuningSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.VertexAISearch
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.VertexAISearchDataStoreSpec
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.VertexMultimodalDatasetDestination
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.VertexRagStore
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.VertexRagStoreRagResource
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.Video
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.VideoGenerationMask
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.VideoGenerationReferenceImage
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.VideoMetadata
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.VoiceActivity
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.VoiceActivityDetectionSignal
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.VoiceConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.WebSearch
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.WebhookConfig
Creates a builder with the same values as this instance.
toBuilder() - function in com.google.genai.types.WhiteSpaceConfig
Creates a builder with the same values as this instance.
toJson() - function in com.google.genai.JsonSerializable
Serializes the instance to a Json string.
toJson() - function in com.google.genai.JsonSerializable
Serializes the instance to a Json string.
toJsonNode(Object) - function in com.google.genai.JsonSerializable
Serializes an object to a JsonNode.
toJsonNode(Object) - function in com.google.genai.JsonSerializable
Serializes an object to a JsonNode.
toJsonString(Object) - function in com.google.genai.JsonSerializable
Serializes an object to a Json string.
toJsonString(Object) - function in com.google.genai.JsonSerializable
Serializes an object to a Json string.
token() - function in com.google.genai.types.LogprobsResultCandidate
The token's string representation.
token(java.lang.String) - function in com.google.genai.types.LogprobsResultCandidate.Builder
Setter for token.
tokenCount() - function in com.google.genai.types.Candidate
Number of tokens for this candidate.
tokenCount(java.lang.Integer) - function in com.google.genai.types.Candidate.Builder
Setter for tokenCount.
tokenCount() - function in com.google.genai.types.ContentEmbeddingStatistics
Gemini Enterprise Agent Platform only.
tokenCount(java.lang.Float) - function in com.google.genai.types.ContentEmbeddingStatistics.Builder
Setter for tokenCount.
tokenCount() - function in com.google.genai.types.ModalityTokenCount
The number of tokens counted for this modality.
tokenCount(java.lang.Integer) - function in com.google.genai.types.ModalityTokenCount.Builder
Setter for tokenCount.
tokenCount() - function in com.google.genai.types.SingleEmbedContentResponse
The error encountered while processing the request.
tokenCount(java.lang.Long) - function in com.google.genai.types.SingleEmbedContentResponse.Builder
Setter for tokenCount.
tokenId() - function in com.google.genai.types.LogprobsResultCandidate
The token's numerical ID.
tokenId(java.lang.Integer) - function in com.google.genai.types.LogprobsResultCandidate.Builder
Setter for tokenId.
tokenIds() - function in com.google.genai.types.TokensInfo
A list of token ids from the input.
tokenIds(kotlin.Array) - function in com.google.genai.types.TokensInfo.Builder
Setter for tokenIds.
tokenIds(java.util.List) - function in com.google.genai.types.TokensInfo.Builder
Setter for tokenIds.
Tokens - class in com.google.genai
Provides methods for managing the ephemeral auth tokens.
tokens() - function in com.google.genai.types.TokensInfo
A list of tokens from the input.
tokens(kotlin.Array) - function in com.google.genai.types.TokensInfo.Builder
Setter for tokens.
tokens(java.util.List) - function in com.google.genai.types.TokensInfo.Builder
Setter for tokens.
tokensInfo() - function in com.google.genai.types.ComputeTokensResponse
Lists of tokens info from the input.
tokensInfo(kotlin.Array) - function in com.google.genai.types.ComputeTokensResponse.Builder
Setter for tokensInfo.
tokensInfo(kotlin.Array) - function in com.google.genai.types.ComputeTokensResponse.Builder
Setter for tokensInfo builder.
tokensInfo(java.util.List) - function in com.google.genai.types.ComputeTokensResponse.Builder
Setter for tokensInfo.
tokensInfo() - function in com.google.genai.types.ComputeTokensResult
Lists of tokens info from the input.
tokensInfo(kotlin.Array) - function in com.google.genai.types.ComputeTokensResult.Builder
Setter for tokensInfo.
tokensInfo(kotlin.Array) - function in com.google.genai.types.ComputeTokensResult.Builder
Setter for tokensInfo builder.
tokensInfo(java.util.List) - function in com.google.genai.types.ComputeTokensResult.Builder
Setter for tokensInfo.
TokensInfo - class in com.google.genai.types
Tokens info with a list of tokens and the corresponding list of token ids.
TokensInfo.Builder - class in com.google.genai.types.TokensInfo
Builder for TokensInfo.
Tool - class in com.google.genai.types
Tool details of a tool that the model may use to generate a response.
Tool.Builder - class in com.google.genai.types.Tool
Builder for Tool.
TOOL_TYPE_UNSPECIFIED - enum entry in com.google.genai.types.ToolType.Known

Unspecified tool type.

toolCall() - function in com.google.genai.types.LiveServerMessage
Request for the client to execute the `function_calls` and return the responses with the matching `id`s.
toolCall(com.google.genai.types.LiveServerToolCall) - function in com.google.genai.types.LiveServerMessage.Builder
Setter for toolCall.
toolCall(com.google.genai.types.LiveServerToolCall.Builder) - function in com.google.genai.types.LiveServerMessage.Builder
Setter for toolCall builder.
toolCall() - function in com.google.genai.types.Part
Server-side tool call.
toolCall(com.google.genai.types.ToolCall) - function in com.google.genai.types.Part.Builder
Setter for toolCall.
toolCall(com.google.genai.types.ToolCall.Builder) - function in com.google.genai.types.Part.Builder
Setter for toolCall builder.
ToolCall - class in com.google.genai.types
A predicted server-side `ToolCall` returned from the model.
ToolCall.Builder - class in com.google.genai.types.ToolCall
Builder for ToolCall.
toolCallCancellation() - function in com.google.genai.types.LiveServerMessage
Notification for the client that a previously issued `ToolCallMessage` with the specified `id`s should have been not executed and should be cancelled.
toolCallCancellation(com.google.genai.types.LiveServerToolCallCancellation) - function in com.google.genai.types.LiveServerMessage.Builder
Setter for toolCallCancellation.
toolCallCancellation(com.google.genai.types.LiveServerToolCallCancellation.Builder) - function in com.google.genai.types.LiveServerMessage.Builder
Setter for toolCallCancellation builder.
ToolCodeExecution - class in com.google.genai.types
Tool that executes code generated by the model, and automatically returns the result to the model.
ToolCodeExecution.Builder - class in com.google.genai.types.ToolCodeExecution
Builder for ToolCodeExecution.
toolConfig() - function in com.google.genai.types.CreateCachedContentConfig
Configuration for the tools to use.
toolConfig(com.google.genai.types.ToolConfig) - function in com.google.genai.types.CreateCachedContentConfig.Builder
Setter for toolConfig.
toolConfig(com.google.genai.types.ToolConfig.Builder) - function in com.google.genai.types.CreateCachedContentConfig.Builder
Setter for toolConfig builder.
toolConfig() - function in com.google.genai.types.GenerateContentConfig
Associates model output to a specific function call.
toolConfig(com.google.genai.types.ToolConfig) - function in com.google.genai.types.GenerateContentConfig.Builder
Setter for toolConfig.
toolConfig(com.google.genai.types.ToolConfig.Builder) - function in com.google.genai.types.GenerateContentConfig.Builder
Setter for toolConfig builder.
ToolConfig - class in com.google.genai.types
Tool config.
ToolConfig.Builder - class in com.google.genai.types.ToolConfig
Builder for ToolConfig.
ToolParallelAiSearch - class in com.google.genai.types
ParallelAiSearch tool type.
ToolParallelAiSearch.Builder - class in com.google.genai.types.ToolParallelAiSearch
Builder for ToolParallelAiSearch.
toolResponse() - function in com.google.genai.types.LiveClientMessage
Response to a `ToolCallMessage` received from the server.
toolResponse(com.google.genai.types.LiveClientToolResponse) - function in com.google.genai.types.LiveClientMessage.Builder
Setter for toolResponse.
toolResponse(com.google.genai.types.LiveClientToolResponse.Builder) - function in com.google.genai.types.LiveClientMessage.Builder
Setter for toolResponse builder.
toolResponse() - function in com.google.genai.types.Part
The output from a server-side ToolCall execution.
toolResponse(com.google.genai.types.ToolResponse) - function in com.google.genai.types.Part.Builder
Setter for toolResponse.
toolResponse(com.google.genai.types.ToolResponse.Builder) - function in com.google.genai.types.Part.Builder
Setter for toolResponse builder.
ToolResponse - class in com.google.genai.types
The output from a server-side `ToolCall` execution.
ToolResponse.Builder - class in com.google.genai.types.ToolResponse
Builder for ToolResponse.
tools() - function in com.google.genai.types.CountTokensConfig
Code that enables the system to interact with external systems to perform an action outside of the knowledge and scope of the model.
tools(kotlin.Array) - function in com.google.genai.types.CountTokensConfig.Builder
Setter for tools.
tools(kotlin.Array) - function in com.google.genai.types.CountTokensConfig.Builder
Setter for tools builder.
tools(java.util.List) - function in com.google.genai.types.CountTokensConfig.Builder
Setter for tools.
tools() - function in com.google.genai.types.CreateCachedContentConfig
A list of `Tools` the model may use to generate the next response.
tools(kotlin.Array) - function in com.google.genai.types.CreateCachedContentConfig.Builder
Setter for tools.
tools(kotlin.Array) - function in com.google.genai.types.CreateCachedContentConfig.Builder
Setter for tools builder.
tools(java.util.List) - function in com.google.genai.types.CreateCachedContentConfig.Builder
Setter for tools.
tools() - function in com.google.genai.types.GenerateContentConfig
Code that enables the system to interact with external systems to perform an action outside of the knowledge and scope of the model.
tools(kotlin.Array) - function in com.google.genai.types.GenerateContentConfig.Builder
Setter for tools.
tools(kotlin.Array) - function in com.google.genai.types.GenerateContentConfig.Builder
Setter for tools builder.
tools(java.util.List) - function in com.google.genai.types.GenerateContentConfig.Builder
Setter for tools.
tools() - function in com.google.genai.types.LiveClientSetup
A list of `Tools` the model may use to generate the next response.
tools(kotlin.Array) - function in com.google.genai.types.LiveClientSetup.Builder
Setter for tools.
tools(kotlin.Array) - function in com.google.genai.types.LiveClientSetup.Builder
Setter for tools builder.
tools(java.util.List) - function in com.google.genai.types.LiveClientSetup.Builder
Setter for tools.
tools() - function in com.google.genai.types.LiveConnectConfig
A list of `Tools` the model may use to generate the next response.
tools(kotlin.Array) - function in com.google.genai.types.LiveConnectConfig.Builder
Setter for tools.
tools(kotlin.Array) - function in com.google.genai.types.LiveConnectConfig.Builder
Setter for tools builder.
tools(java.util.List) - function in com.google.genai.types.LiveConnectConfig.Builder
Setter for tools.
toolType() - function in com.google.genai.types.ToolCall
The type of tool that was called.
toolType(com.google.genai.types.ToolType) - function in com.google.genai.types.ToolCall.Builder
Setter for toolType.
toolType(com.google.genai.types.ToolType.Known) - function in com.google.genai.types.ToolCall.Builder
Setter for toolType given a known enum.
toolType(java.lang.String) - function in com.google.genai.types.ToolCall.Builder
Setter for toolType given a string.
toolType() - function in com.google.genai.types.ToolResponse
The type of tool that was called, matching the tool_type in the corresponding ToolCall.
toolType(com.google.genai.types.ToolType) - function in com.google.genai.types.ToolResponse.Builder
Setter for toolType.
toolType(com.google.genai.types.ToolType.Known) - function in com.google.genai.types.ToolResponse.Builder
Setter for toolType given a known enum.
toolType(java.lang.String) - function in com.google.genai.types.ToolResponse.Builder
Setter for toolType given a string.
ToolType - class in com.google.genai.types
The type of tool in the function call.
ToolType.Known - class in com.google.genai.types.ToolType
Enum representing the known values for ToolType.
toolUsePromptTokenCount() - function in com.google.genai.types.GenerateContentResponseUsageMetadata
Output only.
toolUsePromptTokenCount(java.lang.Integer) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for toolUsePromptTokenCount.
toolUsePromptTokenCount() - function in com.google.genai.types.UsageMetadata
Number of tokens present in tool-use prompt(s).
toolUsePromptTokenCount(java.lang.Integer) - function in com.google.genai.types.UsageMetadata.Builder
Setter for toolUsePromptTokenCount.
toolUsePromptTokensDetails() - function in com.google.genai.types.GenerateContentResponseUsageMetadata
Output only.
toolUsePromptTokensDetails(kotlin.Array) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for toolUsePromptTokensDetails.
toolUsePromptTokensDetails(kotlin.Array) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for toolUsePromptTokensDetails builder.
toolUsePromptTokensDetails(java.util.List) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for toolUsePromptTokensDetails.
toolUsePromptTokensDetails() - function in com.google.genai.types.UsageMetadata
List of modalities that were processed in the tool-use prompt.
toolUsePromptTokensDetails(kotlin.Array) - function in com.google.genai.types.UsageMetadata.Builder
Setter for toolUsePromptTokensDetails.
toolUsePromptTokensDetails(kotlin.Array) - function in com.google.genai.types.UsageMetadata.Builder
Setter for toolUsePromptTokensDetails builder.
toolUsePromptTokensDetails(java.util.List) - function in com.google.genai.types.UsageMetadata.Builder
Setter for toolUsePromptTokensDetails.
topCandidates() - function in com.google.genai.types.LogprobsResult
A list of the top candidate tokens at each decoding step.
topCandidates(kotlin.Array) - function in com.google.genai.types.LogprobsResult.Builder
Setter for topCandidates.
topCandidates(kotlin.Array) - function in com.google.genai.types.LogprobsResult.Builder
Setter for topCandidates builder.
topCandidates(java.util.List) - function in com.google.genai.types.LogprobsResult.Builder
Setter for topCandidates.
topK() - function in com.google.genai.types.FileSearch
Optional.
topK(java.lang.Integer) - function in com.google.genai.types.FileSearch.Builder
Setter for topK.
topK() - function in com.google.genai.types.GenerateContentConfig
For each token selection step, the ``top_k`` tokens with the highest probabilities are sampled.
topK(java.lang.Float) - function in com.google.genai.types.GenerateContentConfig.Builder
Setter for topK.
topK() - function in com.google.genai.types.GenerationConfig
Optional.
topK(java.lang.Float) - function in com.google.genai.types.GenerationConfig.Builder
Setter for topK.
topK() - function in com.google.genai.types.LiveConnectConfig
For each token selection step, the ``top_k`` tokens with the highest probabilities are sampled.
topK(java.lang.Float) - function in com.google.genai.types.LiveConnectConfig.Builder
Setter for topK.
topK() - function in com.google.genai.types.Model
Optional.
topK(java.lang.Integer) - function in com.google.genai.types.Model.Builder
Setter for topK.
topK() - function in com.google.genai.types.RagRetrievalConfig
Optional.
topK(java.lang.Integer) - function in com.google.genai.types.RagRetrievalConfig.Builder
Setter for topK.
topP() - function in com.google.genai.types.GenerateContentConfig
Tokens are selected from the most to least probable until the sum of their probabilities equals this value.
topP(java.lang.Float) - function in com.google.genai.types.GenerateContentConfig.Builder
Setter for topP.
topP() - function in com.google.genai.types.GenerationConfig
Optional.
topP(java.lang.Float) - function in com.google.genai.types.GenerationConfig.Builder
Setter for topP.
topP() - function in com.google.genai.types.LiveConnectConfig
Tokens are selected from the most to least probable until the sum of their probabilities equals this value.
topP(java.lang.Float) - function in com.google.genai.types.LiveConnectConfig.Builder
Setter for topP.
topP() - function in com.google.genai.types.Model
Optional.
topP(java.lang.Float) - function in com.google.genai.types.Model.Builder
Setter for topP.
toReferenceImageAPI() - function in com.google.genai.types.ContentReferenceImage
 
toReferenceImageAPI() - function in com.google.genai.types.ControlReferenceImage
 
toReferenceImageAPI() - function in com.google.genai.types.MaskReferenceImage
 
toReferenceImageAPI() - function in com.google.genai.types.RawReferenceImage
 
toReferenceImageAPI() - function in com.google.genai.types.ReferenceImage
 
toReferenceImageAPI() - function in com.google.genai.types.StyleReferenceImage
 
toReferenceImageAPI() - function in com.google.genai.types.SubjectReferenceImage
 
toString() - function in com.google.genai.types.ActivityHandling
 
toString() - function in com.google.genai.types.AdapterSize
 
toString() - function in com.google.genai.types.AggregationMetric
 
toString() - function in com.google.genai.types.ApiSpec
 
toString() - function in com.google.genai.types.AuthType
 
toString() - function in com.google.genai.types.Behavior
 
toString() - function in com.google.genai.types.BlockedReason
 
toString() - function in com.google.genai.types.ComputationBasedMetricType
 
toString() - function in com.google.genai.types.ControlReferenceType
 
toString() - function in com.google.genai.types.DocumentState
 
toString() - function in com.google.genai.types.DynamicRetrievalConfigMode
 
toString() - function in com.google.genai.types.EditMode
 
toString() - function in com.google.genai.types.EmbeddingApiType
 
toString() - function in com.google.genai.types.EndSensitivity
 
toString() - function in com.google.genai.types.Environment
 
toString() - function in com.google.genai.types.FeatureSelectionPreference
 
toString() - function in com.google.genai.types.FileSource
 
toString() - function in com.google.genai.types.FileState
 
toString() - function in com.google.genai.types.FinishReason
 
toString() - function in com.google.genai.types.FunctionCallingConfigMode
 
toString() - function in com.google.genai.types.FunctionResponseScheduling
 
toString() - function in com.google.genai.types.HarmBlockMethod
 
toString() - function in com.google.genai.types.HarmBlockThreshold
 
toString() - function in com.google.genai.types.HarmCategory
 
toString() - function in com.google.genai.types.HarmProbability
 
toString() - function in com.google.genai.types.HarmSeverity
 
toString() - function in com.google.genai.types.HttpElementLocation
 
toString() - function in com.google.genai.types.ImagePromptLanguage
 
toString() - function in com.google.genai.types.ImagePromptLanguage.Known
 
toString() - function in com.google.genai.types.JobState
 
toString() - function in com.google.genai.types.Language
 
toString() - function in com.google.genai.types.MaskReferenceMode
 
toString() - function in com.google.genai.types.MediaModality
 
toString() - function in com.google.genai.types.MediaResolution
 
toString() - function in com.google.genai.types.Modality
 
toString() - function in com.google.genai.types.ModelRoutingPreference
 
toString() - function in com.google.genai.types.ModelStage
 
toString() - function in com.google.genai.types.NullValue
 
toString() - function in com.google.genai.types.Outcome
 
toString() - function in com.google.genai.types.PairwiseChoice
 
toString() - function in com.google.genai.types.PartMediaResolutionLevel
 
toString() - function in com.google.genai.types.PersonGeneration
 
toString() - function in com.google.genai.types.PhishBlockThreshold
 
toString() - function in com.google.genai.types.ProminentPeople
 
toString() - function in com.google.genai.types.ProxyType
 
toString() - function in com.google.genai.types.ResourceScope
 
toString() - function in com.google.genai.types.RubricContentType
 
toString() - function in com.google.genai.types.SafetyFilterLevel
 
toString() - function in com.google.genai.types.SegmentMode
 
toString() - function in com.google.genai.types.ServiceTier
 
toString() - function in com.google.genai.types.ServiceTier.Known
 
toString() - function in com.google.genai.types.StartSensitivity
 
toString() - function in com.google.genai.types.SubjectReferenceType
 
toString() - function in com.google.genai.types.ThinkingLevel
 
toString() - function in com.google.genai.types.ToolType
 
toString() - function in com.google.genai.types.TrafficType
 
toString() - function in com.google.genai.types.TuningJobState
 
toString() - function in com.google.genai.types.TuningMethod
 
toString() - function in com.google.genai.types.TuningMode
 
toString() - function in com.google.genai.types.TuningTask
 
toString() - function in com.google.genai.types.TurnCompleteReason
 
toString() - function in com.google.genai.types.TurnCoverage
 
toString() - function in com.google.genai.types.Type
 
toString() - function in com.google.genai.types.UrlRetrievalStatus
 
toString() - function in com.google.genai.types.VadSignalType
 
toString() - function in com.google.genai.types.VideoCompressionQuality
 
toString() - function in com.google.genai.types.VideoGenerationMaskMode
 
toString() - function in com.google.genai.types.VideoGenerationReferenceType
 
toString() - function in com.google.genai.types.VoiceActivityType
 
toString() - function in java.lang.Throwable
 
totalBillableCharacterCount() - function in com.google.genai.types.DatasetStats
Output only.
totalBillableCharacterCount(java.lang.Long) - function in com.google.genai.types.DatasetStats.Builder
Setter for totalBillableCharacterCount.
totalBillableCharacterCount() - function in com.google.genai.types.SupervisedTuningDataStats
Output only.
totalBillableCharacterCount(java.lang.Long) - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Setter for totalBillableCharacterCount.
totalBillableTokenCount() - function in com.google.genai.types.PreferenceOptimizationDataStats
Output only.
totalBillableTokenCount(java.lang.Long) - function in com.google.genai.types.PreferenceOptimizationDataStats.Builder
Setter for totalBillableTokenCount.
totalBillableTokenCount() - function in com.google.genai.types.SupervisedTuningDataStats
Output only.
totalBillableTokenCount(java.lang.Long) - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Setter for totalBillableTokenCount.
totalTokenCount() - function in com.google.genai.types.CachedContentUsageMetadata
Total number of tokens that the cached content consumes.
totalTokenCount(java.lang.Integer) - function in com.google.genai.types.CachedContentUsageMetadata.Builder
Setter for totalTokenCount.
totalTokenCount() - function in com.google.genai.types.GenerateContentResponseUsageMetadata
The total number of tokens for the entire request.
totalTokenCount(java.lang.Integer) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for totalTokenCount.
totalTokenCount() - function in com.google.genai.types.UsageMetadata
Total token count for prompt, response candidates, and tool-use prompts(if present).
totalTokenCount(java.lang.Integer) - function in com.google.genai.types.UsageMetadata.Builder
Setter for totalTokenCount.
totalTokens() - function in com.google.genai.types.CountTokensResponse
Total number of tokens.
totalTokens(java.lang.Integer) - function in com.google.genai.types.CountTokensResponse.Builder
Setter for totalTokens.
totalTokens() - function in com.google.genai.types.CountTokensResult
The total number of tokens.
totalTokens(java.lang.Integer) - function in com.google.genai.types.CountTokensResult.Builder
Setter for totalTokens.
totalTruncatedExampleCount() - function in com.google.genai.types.SupervisedTuningDataStats
Output only.
totalTruncatedExampleCount(java.lang.Long) - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Setter for totalTruncatedExampleCount.
totalTuningCharacterCount() - function in com.google.genai.types.DatasetStats
Output only.
totalTuningCharacterCount(java.lang.Long) - function in com.google.genai.types.DatasetStats.Builder
Setter for totalTuningCharacterCount.
totalTuningCharacterCount() - function in com.google.genai.types.SupervisedTuningDataStats
Output only.
totalTuningCharacterCount(java.lang.Long) - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Setter for totalTuningCharacterCount.
TRAFFIC_TYPE_UNSPECIFIED - enum entry in com.google.genai.types.TrafficType.Known

Unspecified request traffic type.

trafficType() - function in com.google.genai.types.GenerateContentResponseUsageMetadata
Output only.
trafficType(com.google.genai.types.TrafficType) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for trafficType.
trafficType(com.google.genai.types.TrafficType.Known) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for trafficType given a known enum.
trafficType(java.lang.String) - function in com.google.genai.types.GenerateContentResponseUsageMetadata.Builder
Setter for trafficType given a string.
TrafficType - class in com.google.genai.types
Output only.
trafficType() - function in com.google.genai.types.UsageMetadata
Traffic type.
trafficType(com.google.genai.types.TrafficType) - function in com.google.genai.types.UsageMetadata.Builder
Setter for trafficType.
trafficType(com.google.genai.types.TrafficType.Known) - function in com.google.genai.types.UsageMetadata.Builder
Setter for trafficType given a known enum.
trafficType(java.lang.String) - function in com.google.genai.types.UsageMetadata.Builder
Setter for trafficType given a string.
TrafficType.Known - class in com.google.genai.types.TrafficType
Enum representing the known values for TrafficType.
trainingDataset() - function in com.google.genai.types.CreateTuningJobParameters
Cloud Storage path to file containing training dataset for tuning.
trainingDataset(com.google.genai.types.TuningDataset) - function in com.google.genai.types.CreateTuningJobParameters.Builder
Setter for trainingDataset.
trainingDataset(com.google.genai.types.TuningDataset.Builder) - function in com.google.genai.types.CreateTuningJobParameters.Builder
Setter for trainingDataset builder.
trainingDataset() - function in com.google.genai.types.CreateTuningJobParametersPrivate
Cloud Storage path to file containing training dataset for tuning.
trainingDataset(com.google.genai.types.TuningDataset) - function in com.google.genai.types.CreateTuningJobParametersPrivate.Builder
Setter for trainingDataset.
trainingDataset(com.google.genai.types.TuningDataset.Builder) - function in com.google.genai.types.CreateTuningJobParametersPrivate.Builder
Setter for trainingDataset builder.
trainingDatasetStats() - function in com.google.genai.types.DistillationDataStats
Output only.
trainingDatasetStats(com.google.genai.types.DatasetStats) - function in com.google.genai.types.DistillationDataStats.Builder
Setter for trainingDatasetStats.
trainingDatasetStats(com.google.genai.types.DatasetStats.Builder) - function in com.google.genai.types.DistillationDataStats.Builder
Setter for trainingDatasetStats builder.
trainingDatasetUri() - function in com.google.genai.types.DistillationSpec
Deprecated.
trainingDatasetUri(java.lang.String) - function in com.google.genai.types.DistillationSpec.Builder
Setter for trainingDatasetUri.
trainingDatasetUri() - function in com.google.genai.types.FullFineTuningSpec
Required.
trainingDatasetUri(java.lang.String) - function in com.google.genai.types.FullFineTuningSpec.Builder
Setter for trainingDatasetUri.
trainingDatasetUri() - function in com.google.genai.types.PartnerModelTuningSpec
Required.
trainingDatasetUri(java.lang.String) - function in com.google.genai.types.PartnerModelTuningSpec.Builder
Setter for trainingDatasetUri.
trainingDatasetUri() - function in com.google.genai.types.PreferenceOptimizationSpec
Required.
trainingDatasetUri(java.lang.String) - function in com.google.genai.types.PreferenceOptimizationSpec.Builder
Setter for trainingDatasetUri.
trainingDatasetUri() - function in com.google.genai.types.SupervisedTuningSpec
Required.
trainingDatasetUri(java.lang.String) - function in com.google.genai.types.SupervisedTuningSpec.Builder
Setter for trainingDatasetUri.
trainingDatasetUri() - function in com.google.genai.types.VeoTuningSpec
Required.
trainingDatasetUri(java.lang.String) - function in com.google.genai.types.VeoTuningSpec.Builder
Setter for trainingDatasetUri.
Transcription - class in com.google.genai.types
Audio transcription in Server Conent.
Transcription.Builder - class in com.google.genai.types.Transcription
Builder for Transcription.
Transformers - class in com.google.genai
Transformers for GenAI SDK.
transparent() - function in com.google.genai.types.SessionResumptionConfig
If set the server will send `last_consumed_client_message_index` in the `session_resumption_update` messages to allow for transparent reconnections.
transparent(boolean) - function in com.google.genai.types.SessionResumptionConfig.Builder
Setter for transparent.
tRecvBatchJobDestination(Object) - function in com.google.genai.Transformers
 
triggerTokens() - function in com.google.genai.types.ContextWindowCompressionConfig
Number of tokens (before running turn) that triggers context window compression mechanism.
triggerTokens(java.lang.Long) - function in com.google.genai.types.ContextWindowCompressionConfig.Builder
Setter for triggerTokens.
truncated() - function in com.google.genai.types.ContentEmbeddingStatistics
Gemini Enterprise Agent Platform only.
truncated(boolean) - function in com.google.genai.types.ContentEmbeddingStatistics.Builder
Setter for truncated.
truncatedExampleIndices() - function in com.google.genai.types.SupervisedTuningDataStats
Output only.
truncatedExampleIndices(kotlin.Array) - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Setter for truncatedExampleIndices.
truncatedExampleIndices(java.util.List) - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Setter for truncatedExampleIndices.
tSchema(Object) - function in com.google.genai.Transformers
Transforms an object to a Schema for the API.
tSpeechConfig(Object) - function in com.google.genai.Transformers
 
ttl() - function in com.google.genai.types.CreateCachedContentConfig
The TTL for this resource.
ttl(java.time.Duration) - function in com.google.genai.types.CreateCachedContentConfig.Builder
Setter for ttl.
ttl() - function in com.google.genai.types.UpdateCachedContentConfig
The TTL for this resource.
ttl(java.time.Duration) - function in com.google.genai.types.UpdateCachedContentConfig.Builder
Setter for ttl.
tTool(Object) - function in com.google.genai.Transformers
Transforms an object to a Tool for the API.
tTools(Object) - function in com.google.genai.Transformers
In other languages, this transformer is used for supporting union types.
tTuningJobStatus(Object) - function in com.google.genai.Transformers
 
tune(java.lang.String,com.google.genai.types.TuningDataset,com.google.genai.types.CreateTuningJobConfig) - function in com.google.genai.AsyncTunings
Asynchronously makes an API request to create a supervised fine-tuning job.
tune(java.lang.String,com.google.genai.types.TuningDataset,com.google.genai.types.CreateTuningJobConfig) - function in com.google.genai.Tunings
Makes an API request to create a supervised fine-tuning job.
TunedModel - class in com.google.genai.types
TunedModel for the Tuned Model of a Tuning Job.
tunedModel() - function in com.google.genai.types.TuningJob
Output only.
tunedModel(com.google.genai.types.TunedModel) - function in com.google.genai.types.TuningJob.Builder
Setter for tunedModel.
tunedModel(com.google.genai.types.TunedModel.Builder) - function in com.google.genai.types.TuningJob.Builder
Setter for tunedModel builder.
TunedModel.Builder - class in com.google.genai.types.TunedModel
Builder for TunedModel.
TunedModelCheckpoint - class in com.google.genai.types
TunedModelCheckpoint for the Tuned Model of a Tuning Job.
TunedModelCheckpoint.Builder - class in com.google.genai.types.TunedModelCheckpoint
Builder for TunedModelCheckpoint.
tunedModelDisplayName() - function in com.google.genai.types.CreateTuningJobConfig
The display name of the tuned Model.
tunedModelDisplayName(java.lang.String) - function in com.google.genai.types.CreateTuningJobConfig.Builder
Setter for tunedModelDisplayName.
tunedModelDisplayName() - function in com.google.genai.types.TuningJob
Optional.
tunedModelDisplayName(java.lang.String) - function in com.google.genai.types.TuningJob.Builder
Setter for tunedModelDisplayName.
tunedModelInfo() - function in com.google.genai.types.Model
Information about the tuned model from the base model.
tunedModelInfo(com.google.genai.types.TunedModelInfo) - function in com.google.genai.types.Model.Builder
Setter for tunedModelInfo.
tunedModelInfo(com.google.genai.types.TunedModelInfo.Builder) - function in com.google.genai.types.Model.Builder
Setter for tunedModelInfo builder.
TunedModelInfo - class in com.google.genai.types
A tuned machine learning model.
TunedModelInfo.Builder - class in com.google.genai.types.TunedModelInfo
Builder for TunedModelInfo.
tunedModelName() - function in com.google.genai.types.PreTunedModel
The resource name of the Model.
tunedModelName(java.lang.String) - function in com.google.genai.types.PreTunedModel.Builder
Setter for tunedModelName.
tunedTeacherModelSource() - function in com.google.genai.types.CreateTuningJobConfig
The resource name of the Tuned teacher model.
tunedTeacherModelSource(java.lang.String) - function in com.google.genai.types.CreateTuningJobConfig.Builder
Setter for tunedTeacherModelSource.
tunedTeacherModelSource() - function in com.google.genai.types.DistillationSamplingSpec
Optional.
tunedTeacherModelSource(java.lang.String) - function in com.google.genai.types.DistillationSamplingSpec.Builder
Setter for tunedTeacherModelSource.
tunedTeacherModelSource() - function in com.google.genai.types.DistillationSpec
The resource name of the Tuned teacher model.
tunedTeacherModelSource(java.lang.String) - function in com.google.genai.types.DistillationSpec.Builder
Setter for tunedTeacherModelSource.
TUNING_JOB_STATE_POST_PROCESSING - enum entry in com.google.genai.types.TuningJobState.Known

Tuning job is doing some post processing steps.

TUNING_JOB_STATE_PROCESSING_DATASET - enum entry in com.google.genai.types.TuningJobState.Known

Tuning job is validating the dataset.

TUNING_JOB_STATE_TUNING - enum entry in com.google.genai.types.TuningJobState.Known

Tuning job is running.

TUNING_JOB_STATE_UNSPECIFIED - enum entry in com.google.genai.types.TuningJobState.Known

Default tuning job state.

TUNING_JOB_STATE_WAITING_FOR_CAPACITY - enum entry in com.google.genai.types.TuningJobState.Known

Tuning job is waiting for hardware capacity.

TUNING_JOB_STATE_WAITING_FOR_QUOTA - enum entry in com.google.genai.types.TuningJobState.Known

Tuning job is waiting for job quota.

TUNING_METHOD_UNSPECIFIED - enum entry in com.google.genai.types.TuningMethod.Known
 
TUNING_MODE_FULL - enum entry in com.google.genai.types.TuningMode.Known

Full fine-tuning mode.

TUNING_MODE_PEFT_ADAPTER - enum entry in com.google.genai.types.TuningMode.Known

PEFT adapter tuning mode.

TUNING_MODE_UNSPECIFIED - enum entry in com.google.genai.types.TuningMode.Known

Tuning mode is unspecified.

TUNING_TASK_I2V - enum entry in com.google.genai.types.TuningTask.Known

Tuning task for image to video.

TUNING_TASK_R2V - enum entry in com.google.genai.types.TuningTask.Known

Tuning task for reference to video.

TUNING_TASK_T2V - enum entry in com.google.genai.types.TuningTask.Known

Tuning task for text to video.

TUNING_TASK_UNSPECIFIED - enum entry in com.google.genai.types.TuningTask.Known

Default value. This value is unused.

TuningDataset - class in com.google.genai.types
Supervised fine-tuning training dataset.
TuningDataset.Builder - class in com.google.genai.types.TuningDataset
Builder for TuningDataset.
tuningDatasetExampleCount() - function in com.google.genai.types.DatasetStats
Output only.
tuningDatasetExampleCount(java.lang.Long) - function in com.google.genai.types.DatasetStats.Builder
Setter for tuningDatasetExampleCount.
tuningDatasetExampleCount() - function in com.google.genai.types.PreferenceOptimizationDataStats
Output only.
tuningDatasetExampleCount(java.lang.Long) - function in com.google.genai.types.PreferenceOptimizationDataStats.Builder
Setter for tuningDatasetExampleCount.
tuningDatasetExampleCount() - function in com.google.genai.types.SupervisedTuningDataStats
Output only.
tuningDatasetExampleCount(java.lang.Long) - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Setter for tuningDatasetExampleCount.
TuningDataStats - class in com.google.genai.types
The tuning data statistic values for TuningJob.
tuningDataStats() - function in com.google.genai.types.TuningJob
Output only.
tuningDataStats(com.google.genai.types.TuningDataStats) - function in com.google.genai.types.TuningJob.Builder
Setter for tuningDataStats.
tuningDataStats(com.google.genai.types.TuningDataStats.Builder) - function in com.google.genai.types.TuningJob.Builder
Setter for tuningDataStats builder.
TuningDataStats.Builder - class in com.google.genai.types.TuningDataStats
Builder for TuningDataStats.
TuningExample - class in com.google.genai.types
A single example for tuning.
TuningExample.Builder - class in com.google.genai.types.TuningExample
Builder for TuningExample.
TuningJob - class in com.google.genai.types
A tuning job.
TuningJob.Builder - class in com.google.genai.types.TuningJob
Builder for TuningJob.
tuningJobMetadata() - function in com.google.genai.types.TuningJob
Output only.
tuningJobMetadata(com.google.genai.types.TuningJobMetadata) - function in com.google.genai.types.TuningJob.Builder
Setter for tuningJobMetadata.
tuningJobMetadata(com.google.genai.types.TuningJobMetadata.Builder) - function in com.google.genai.types.TuningJob.Builder
Setter for tuningJobMetadata builder.
TuningJobMetadata - class in com.google.genai.types
Tuning job metadata.
TuningJobMetadata.Builder - class in com.google.genai.types.TuningJobMetadata
Builder for TuningJobMetadata.
tuningJobs() - function in com.google.genai.types.ListTuningJobsResponse
The tuning jobs that match the request.
tuningJobs(kotlin.Array) - function in com.google.genai.types.ListTuningJobsResponse.Builder
Setter for tuningJobs.
tuningJobs(kotlin.Array) - function in com.google.genai.types.ListTuningJobsResponse.Builder
Setter for tuningJobs builder.
tuningJobs(java.util.List) - function in com.google.genai.types.ListTuningJobsResponse.Builder
Setter for tuningJobs.
tuningJobState() - function in com.google.genai.types.TuningJob
Output only.
tuningJobState(com.google.genai.types.TuningJobState) - function in com.google.genai.types.TuningJob.Builder
Setter for tuningJobState.
tuningJobState(com.google.genai.types.TuningJobState.Known) - function in com.google.genai.types.TuningJob.Builder
Setter for tuningJobState given a known enum.
tuningJobState(java.lang.String) - function in com.google.genai.types.TuningJob.Builder
Setter for tuningJobState given a string.
TuningJobState - class in com.google.genai.types
Output only.
TuningJobState.Known - class in com.google.genai.types.TuningJobState
Enum representing the known values for TuningJobState.
TuningMethod - class in com.google.genai.types
Enum representing the tuning method.
TuningMethod.Known - class in com.google.genai.types.TuningMethod
Enum representing the known values for TuningMethod.
tuningMode() - function in com.google.genai.types.CreateTuningJobConfig
Tuning mode for tuning.
tuningMode(com.google.genai.types.TuningMode) - function in com.google.genai.types.CreateTuningJobConfig.Builder
Setter for tuningMode.
tuningMode(com.google.genai.types.TuningMode.Known) - function in com.google.genai.types.CreateTuningJobConfig.Builder
Setter for tuningMode given a known enum.
tuningMode(java.lang.String) - function in com.google.genai.types.CreateTuningJobConfig.Builder
Setter for tuningMode given a string.
tuningMode() - function in com.google.genai.types.DistillationSpec
Tuning mode for tuning.
tuningMode(com.google.genai.types.TuningMode) - function in com.google.genai.types.DistillationSpec.Builder
Setter for tuningMode.
tuningMode(com.google.genai.types.TuningMode.Known) - function in com.google.genai.types.DistillationSpec.Builder
Setter for tuningMode given a known enum.
tuningMode(java.lang.String) - function in com.google.genai.types.DistillationSpec.Builder
Setter for tuningMode given a string.
tuningMode() - function in com.google.genai.types.SupervisedTuningSpec
Tuning mode.
tuningMode(com.google.genai.types.TuningMode) - function in com.google.genai.types.SupervisedTuningSpec.Builder
Setter for tuningMode.
tuningMode(com.google.genai.types.TuningMode.Known) - function in com.google.genai.types.SupervisedTuningSpec.Builder
Setter for tuningMode given a known enum.
tuningMode(java.lang.String) - function in com.google.genai.types.SupervisedTuningSpec.Builder
Setter for tuningMode given a string.
TuningMode - class in com.google.genai.types
Tuning mode.
TuningMode.Known - class in com.google.genai.types.TuningMode
Enum representing the known values for TuningMode.
TuningOperation - class in com.google.genai.types
A long-running operation.
TuningOperation.Builder - class in com.google.genai.types.TuningOperation
Builder for TuningOperation.
Tunings - class in com.google.genai
 
tuningStepCount() - function in com.google.genai.types.DatasetStats
Output only.
tuningStepCount(java.lang.Long) - function in com.google.genai.types.DatasetStats.Builder
Setter for tuningStepCount.
tuningStepCount() - function in com.google.genai.types.PreferenceOptimizationDataStats
Output only.
tuningStepCount(java.lang.Long) - function in com.google.genai.types.PreferenceOptimizationDataStats.Builder
Setter for tuningStepCount.
tuningStepCount() - function in com.google.genai.types.SupervisedTuningDataStats
Output only.
tuningStepCount(java.lang.Long) - function in com.google.genai.types.SupervisedTuningDataStats.Builder
Setter for tuningStepCount.
TuningTask - class in com.google.genai.types
The tuning task.
tuningTask() - function in com.google.genai.types.VeoHyperParameters
Optional.
tuningTask(com.google.genai.types.TuningTask) - function in com.google.genai.types.VeoHyperParameters.Builder
Setter for tuningTask.
tuningTask(com.google.genai.types.TuningTask.Known) - function in com.google.genai.types.VeoHyperParameters.Builder
Setter for tuningTask given a known enum.
tuningTask(java.lang.String) - function in com.google.genai.types.VeoHyperParameters.Builder
Setter for tuningTask given a string.
TuningTask.Known - class in com.google.genai.types.TuningTask
Enum representing the known values for TuningTask.
TuningValidationDataset - class in com.google.genai.types
None
TuningValidationDataset.Builder - class in com.google.genai.types.TuningValidationDataset
Builder for TuningValidationDataset.
TURN_COMPLETE_REASON_UNSPECIFIED - enum entry in com.google.genai.types.TurnCompleteReason.Known

Default value. Reason is unspecified.

TURN_COVERAGE_UNSPECIFIED - enum entry in com.google.genai.types.TurnCoverage.Known

If unspecified, the default behavior is `TURN_INCLUDES_ONLY_ACTIVITY`.

TURN_INCLUDES_ALL_INPUT - enum entry in com.google.genai.types.TurnCoverage.Known

The users turn includes all realtime input since the last turn, including inactivity (e.g. silence on the audio stream).

TURN_INCLUDES_AUDIO_ACTIVITY_AND_ALL_VIDEO - enum entry in com.google.genai.types.TurnCoverage.Known

Includes audio activity and all video since the last turn. With automatic activity detection, audio activity means speech and excludes silence.

TURN_INCLUDES_ONLY_ACTIVITY - enum entry in com.google.genai.types.TurnCoverage.Known

The users turn only includes activity since the last turn, excluding inactivity (e.g. silence on the audio stream). This is the default behavior.

turnComplete() - function in com.google.genai.types.LiveClientContent
If true, indicates that the server content generation should start with the currently accumulated prompt.
turnComplete(boolean) - function in com.google.genai.types.LiveClientContent.Builder
Setter for turnComplete.
turnComplete() - function in com.google.genai.types.LiveSendClientContentParameters
If true, indicates that the server content generation should start with the currently accumulated prompt.
turnComplete(boolean) - function in com.google.genai.types.LiveSendClientContentParameters.Builder
Setter for turnComplete.
turnComplete() - function in com.google.genai.types.LiveServerContent
If true, indicates that the model is done generating.
turnComplete(boolean) - function in com.google.genai.types.LiveServerContent.Builder
Setter for turnComplete.
turnCompleteReason() - function in com.google.genai.types.LiveServerContent
Reason for the turn is complete.
turnCompleteReason(com.google.genai.types.TurnCompleteReason) - function in com.google.genai.types.LiveServerContent.Builder
Setter for turnCompleteReason.
turnCompleteReason(com.google.genai.types.TurnCompleteReason.Known) - function in com.google.genai.types.LiveServerContent.Builder
Setter for turnCompleteReason given a known enum.
turnCompleteReason(java.lang.String) - function in com.google.genai.types.LiveServerContent.Builder
Setter for turnCompleteReason given a string.
TurnCompleteReason - class in com.google.genai.types
The reason why the turn is complete.
TurnCompleteReason.Known - class in com.google.genai.types.TurnCompleteReason
Enum representing the known values for TurnCompleteReason.
turnCoverage() - function in com.google.genai.types.RealtimeInputConfig
Defines which input is included in the user's turn.
turnCoverage(com.google.genai.types.TurnCoverage) - function in com.google.genai.types.RealtimeInputConfig.Builder
Setter for turnCoverage.
turnCoverage(com.google.genai.types.TurnCoverage.Known) - function in com.google.genai.types.RealtimeInputConfig.Builder
Setter for turnCoverage given a known enum.
turnCoverage(java.lang.String) - function in com.google.genai.types.RealtimeInputConfig.Builder
Setter for turnCoverage given a string.
TurnCoverage - class in com.google.genai.types
Options about which input is included in the user's turn.
TurnCoverage.Known - class in com.google.genai.types.TurnCoverage
Enum representing the known values for TurnCoverage.
turns() - function in com.google.genai.types.LiveClientContent
The content appended to the current conversation with the model.
turns(kotlin.Array) - function in com.google.genai.types.LiveClientContent.Builder
Setter for turns.
turns(kotlin.Array) - function in com.google.genai.types.LiveClientContent.Builder
Setter for turns builder.
turns(java.util.List) - function in com.google.genai.types.LiveClientContent.Builder
Setter for turns.
turns() - function in com.google.genai.types.LiveSendClientContentParameters
Client content to send to the session.
turns(kotlin.Array) - function in com.google.genai.types.LiveSendClientContentParameters.Builder
Setter for turns.
turns(kotlin.Array) - function in com.google.genai.types.LiveSendClientContentParameters.Builder
Setter for turns builder.
turns(java.util.List) - function in com.google.genai.types.LiveSendClientContentParameters.Builder
Setter for turns.
type() - function in com.google.genai.types.ComputationBasedMetricSpec
The type of the computation based metric.
type(com.google.genai.types.ComputationBasedMetricType) - function in com.google.genai.types.ComputationBasedMetricSpec.Builder
Setter for type.
type(com.google.genai.types.ComputationBasedMetricType.Known) - function in com.google.genai.types.ComputationBasedMetricSpec.Builder
Setter for type given a known enum.
type(java.lang.String) - function in com.google.genai.types.ComputationBasedMetricSpec.Builder
Setter for type given a string.
type() - function in com.google.genai.types.ProxyOptions
Proxy type.
type(com.google.genai.types.ProxyType) - function in com.google.genai.types.ProxyOptions.Builder
Setter for type.
type(com.google.genai.types.ProxyType.Known) - function in com.google.genai.types.ProxyOptions.Builder
Setter for type given a known enum.
type(java.lang.String) - function in com.google.genai.types.ProxyOptions.Builder
Setter for type given a string.
type() - function in com.google.genai.types.Schema
Optional.
type(com.google.genai.types.Type) - function in com.google.genai.types.Schema.Builder
Setter for type.
type(com.google.genai.types.Type.Known) - function in com.google.genai.types.Schema.Builder
Setter for type given a known enum.
type(java.lang.String) - function in com.google.genai.types.Schema.Builder
Setter for type given a string.
Type - class in com.google.genai.types
Data type of the schema field.
Type.Known - class in com.google.genai.types.Type
Enum representing the known values for Type.
TYPE_UNSPECIFIED - enum entry in com.google.genai.types.Type.Known

Not specified, should not be used.

TYPE_UNSPECIFIED - enum entry in com.google.genai.types.VoiceActivityType.Known

The default is VOICE_ACTIVITY_TYPE_UNSPECIFIED.

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  Y  Z