A
- accessToken() - function in com.google.genai.types.AuthConfigOauthConfig
- Access token for extension endpoint.
- accessToken(java.lang.String) - function in com.google.genai.types.AuthConfigOauthConfig.Builder
- Setter for accessToken.
- ACTIVE - enum entry in com.google.genai.types.FileState.Known
- activeDocumentsCount() - function in com.google.genai.types.FileSearchStore
- The number of documents in the FileSearchStore that are active and ready for retrieval.
- activeDocumentsCount(java.lang.Long) - function in com.google.genai.types.FileSearchStore.Builder
- Setter for activeDocumentsCount.
- ACTIVITY_END - enum entry in com.google.genai.types.VoiceActivityType.Known
End of sentence signal.
- ACTIVITY_HANDLING_UNSPECIFIED - enum entry in com.google.genai.types.ActivityHandling.Known
If unspecified, the default behavior is `START_OF_ACTIVITY_INTERRUPTS`.
- ACTIVITY_START - enum entry in com.google.genai.types.VoiceActivityType.Known
Start of sentence signal.
- ActivityEnd - class in com.google.genai.types
- Marks the end of user activity.
- activityEnd() - function in com.google.genai.types.LiveClientRealtimeInput
- Marks the end of user activity.
- activityEnd(com.google.genai.types.ActivityEnd) - function in com.google.genai.types.LiveClientRealtimeInput.Builder
- Setter for activityEnd.
- activityEnd(com.google.genai.types.ActivityEnd.Builder) - function in com.google.genai.types.LiveClientRealtimeInput.Builder
- Setter for activityEnd builder.
- activityEnd() - function in com.google.genai.types.LiveSendRealtimeInputParameters
- Marks the end of user activity.
- activityEnd(com.google.genai.types.ActivityEnd) - function in com.google.genai.types.LiveSendRealtimeInputParameters.Builder
- Setter for activityEnd.
- activityEnd(com.google.genai.types.ActivityEnd.Builder) - function in com.google.genai.types.LiveSendRealtimeInputParameters.Builder
- Setter for activityEnd builder.
- ActivityEnd.Builder - class in com.google.genai.types.ActivityEnd
- Builder for ActivityEnd.
- ActivityHandling - class in com.google.genai.types
- The different ways of handling user activity.
- activityHandling() - function in com.google.genai.types.RealtimeInputConfig
- Defines what effect activity has.
- activityHandling(com.google.genai.types.ActivityHandling) - function in com.google.genai.types.RealtimeInputConfig.Builder
- Setter for activityHandling.
- activityHandling(com.google.genai.types.ActivityHandling.Known) - function in com.google.genai.types.RealtimeInputConfig.Builder
- Setter for activityHandling given a known enum.
- activityHandling(java.lang.String) - function in com.google.genai.types.RealtimeInputConfig.Builder
- Setter for activityHandling given a string.
- ActivityHandling.Known - class in com.google.genai.types.ActivityHandling
- Enum representing the known values for ActivityHandling.
- ActivityStart - class in com.google.genai.types
- Marks the start of user activity.
- activityStart() - function in com.google.genai.types.LiveClientRealtimeInput
- Marks the start of user activity.
- activityStart(com.google.genai.types.ActivityStart) - function in com.google.genai.types.LiveClientRealtimeInput.Builder
- Setter for activityStart.
- activityStart(com.google.genai.types.ActivityStart.Builder) - function in com.google.genai.types.LiveClientRealtimeInput.Builder
- Setter for activityStart builder.
- activityStart() - function in com.google.genai.types.LiveSendRealtimeInputParameters
- Marks the start of user activity.
- activityStart(com.google.genai.types.ActivityStart) - function in com.google.genai.types.LiveSendRealtimeInputParameters.Builder
- Setter for activityStart.
- activityStart(com.google.genai.types.ActivityStart.Builder) - function in com.google.genai.types.LiveSendRealtimeInputParameters.Builder
- Setter for activityStart builder.
- ActivityStart.Builder - class in com.google.genai.types.ActivityStart
- Builder for ActivityStart.
- ADAPTER_SIZE_EIGHT - enum entry in com.google.genai.types.AdapterSize.Known
Adapter size 8.
- ADAPTER_SIZE_FOUR - enum entry in com.google.genai.types.AdapterSize.Known
Adapter size 4.
- ADAPTER_SIZE_ONE - enum entry in com.google.genai.types.AdapterSize.Known
Adapter size 1.
- ADAPTER_SIZE_SIXTEEN - enum entry in com.google.genai.types.AdapterSize.Known
Adapter size 16.
- ADAPTER_SIZE_THIRTY_TWO - enum entry in com.google.genai.types.AdapterSize.Known
Adapter size 32.
- ADAPTER_SIZE_TWO - enum entry in com.google.genai.types.AdapterSize.Known
Adapter size 2.
- ADAPTER_SIZE_UNSPECIFIED - enum entry in com.google.genai.types.AdapterSize.Known
Adapter size is unspecified.
- AdapterSize - class in com.google.genai.types
- Adapter size for tuning.
- adapterSize() - function in com.google.genai.types.CreateTuningJobConfig
- Adapter size for tuning.
- adapterSize(com.google.genai.types.AdapterSize) - function in com.google.genai.types.CreateTuningJobConfig.Builder
- Setter for adapterSize.
- adapterSize(com.google.genai.types.AdapterSize.Known) - function in com.google.genai.types.CreateTuningJobConfig.Builder
- Setter for adapterSize given a known enum.
- adapterSize(java.lang.String) - function in com.google.genai.types.CreateTuningJobConfig.Builder
- Setter for adapterSize given a string.
- adapterSize() - function in com.google.genai.types.DistillationHyperParameters
- Optional.
- adapterSize(com.google.genai.types.AdapterSize) - function in com.google.genai.types.DistillationHyperParameters.Builder
- Setter for adapterSize.
- adapterSize(com.google.genai.types.AdapterSize.Known) - function in com.google.genai.types.DistillationHyperParameters.Builder
- Setter for adapterSize given a known enum.
- adapterSize(java.lang.String) - function in com.google.genai.types.DistillationHyperParameters.Builder
- Setter for adapterSize given a string.
- adapterSize() - function in com.google.genai.types.PreferenceOptimizationHyperParameters
- Optional.
- adapterSize(com.google.genai.types.AdapterSize) - function in com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
- Setter for adapterSize.
- adapterSize(com.google.genai.types.AdapterSize.Known) - function in com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
- Setter for adapterSize given a known enum.
- adapterSize(java.lang.String) - function in com.google.genai.types.PreferenceOptimizationHyperParameters.Builder
- Setter for adapterSize given a string.
- adapterSize() - function in com.google.genai.types.SupervisedHyperParameters
- Optional.
- adapterSize(com.google.genai.types.AdapterSize) - function in com.google.genai.types.SupervisedHyperParameters.Builder
- Setter for adapterSize.
- adapterSize(com.google.genai.types.AdapterSize.Known) - function in com.google.genai.types.SupervisedHyperParameters.Builder
- Setter for adapterSize given a known enum.
- adapterSize(java.lang.String) - function in com.google.genai.types.SupervisedHyperParameters.Builder
- Setter for adapterSize given a string.
- AdapterSize.Known - class in com.google.genai.types.AdapterSize
- Enum representing the known values for AdapterSize.
- additionalConfig() - function in com.google.genai.types.LLMBasedMetricSpec
- Optional.
- additionalConfig(java.util.Map) - function in com.google.genai.types.LLMBasedMetricSpec.Builder
- Setter for additionalConfig.
- addSuppressed(java.lang.Throwable) - function in java.lang.Throwable
- addWatermark() - function in com.google.genai.types.EditImageConfig
- Whether to add a watermark to the generated images.
- addWatermark(boolean) - function in com.google.genai.types.EditImageConfig.Builder
- Setter for addWatermark.
- addWatermark() - function in com.google.genai.types.GenerateImagesConfig
- Whether to add a watermark to the generated images.
- addWatermark(boolean) - function in com.google.genai.types.GenerateImagesConfig.Builder
- Setter for addWatermark.
- addWatermark() - function in com.google.genai.types.RecontextImageConfig
- Whether to add a SynthID watermark to the generated images.
- addWatermark(boolean) - function in com.google.genai.types.RecontextImageConfig.Builder
- Setter for addWatermark.
- AGGREGATION_METRIC_UNSPECIFIED - enum entry in com.google.genai.types.AggregationMetric.Known
Unspecified aggregation metric.
- AggregationMetric - class in com.google.genai.types
- Aggregation metric.
- aggregationMetric() - function in com.google.genai.types.AggregationResult
- Aggregation metric.
- aggregationMetric(com.google.genai.types.AggregationMetric) - function in com.google.genai.types.AggregationResult.Builder
- Setter for aggregationMetric.
- aggregationMetric(com.google.genai.types.AggregationMetric.Known) - function in com.google.genai.types.AggregationResult.Builder
- Setter for aggregationMetric given a known enum.
- aggregationMetric(java.lang.String) - function in com.google.genai.types.AggregationResult.Builder
- Setter for aggregationMetric given a string.
- AggregationMetric.Known - class in com.google.genai.types.AggregationMetric
- Enum representing the known values for AggregationMetric.
- AggregationOutput - class in com.google.genai.types
- The aggregation result for the entire dataset and all metrics.
- aggregationOutput() - function in com.google.genai.types.EvaluateDatasetResponse
- Output only.
- aggregationOutput(com.google.genai.types.AggregationOutput) - function in com.google.genai.types.EvaluateDatasetResponse.Builder
- Setter for aggregationOutput.
- aggregationOutput(com.google.genai.types.AggregationOutput.Builder) - function in com.google.genai.types.EvaluateDatasetResponse.Builder
- Setter for aggregationOutput builder.
- AggregationOutput.Builder - class in com.google.genai.types.AggregationOutput
- Builder for AggregationOutput.
- AggregationResult - class in com.google.genai.types
- The aggregation result for a single metric.
- AggregationResult.Builder - class in com.google.genai.types.AggregationResult
- Builder for AggregationResult.
- aggregationResults() - function in com.google.genai.types.AggregationOutput
- One AggregationResult per metric.
- aggregationResults(kotlin.Array) - function in com.google.genai.types.AggregationOutput.Builder
- Setter for aggregationResults.
- aggregationResults(kotlin.Array) - function in com.google.genai.types.AggregationOutput.Builder
- Setter for aggregationResults builder.
- aggregationResults(java.util.List) - function in com.google.genai.types.AggregationOutput.Builder
- Setter for aggregationResults.
- ALLOW_ADULT - enum entry in com.google.genai.types.PersonGeneration.Known
Generate images of adults, but not children.
- ALLOW_ALL - enum entry in com.google.genai.types.PersonGeneration.Known
Generate images that include adults and children.
- ALLOW_PROMINENT_PEOPLE - enum entry in com.google.genai.types.ProminentPeople.Known
Allows the model to generate images of prominent people.
- allowedFunctionNames() - function in com.google.genai.types.FunctionCallingConfig
- Optional.
- allowedFunctionNames(kotlin.Array) - function in com.google.genai.types.FunctionCallingConfig.Builder
- Setter for allowedFunctionNames.
- allowedFunctionNames(java.util.List) - function in com.google.genai.types.FunctionCallingConfig.Builder
- Setter for allowedFunctionNames.
- alpha() - function in com.google.genai.types.RagRetrievalConfigHybridSearch
- Optional.
- alpha(java.lang.Float) - function in com.google.genai.types.RagRetrievalConfigHybridSearch.Builder
- Setter for alpha.
- ANY - enum entry in com.google.genai.types.FunctionCallingConfigMode.Known
Model is constrained to always predicting function calls only. If "allowed_function_names" are set, the predicted function calls will be limited to any one of "allowed_function_names", else the predicted function calls will be any one of the provided "function_declarations".
- anyOf() - function in com.google.genai.types.Schema
- Optional.
- anyOf(kotlin.Array) - function in com.google.genai.types.Schema.Builder
- Setter for anyOf.
- anyOf(kotlin.Array) - function in com.google.genai.types.Schema.Builder
- Setter for anyOf builder.
- anyOf(java.util.List) - function in com.google.genai.types.Schema.Builder
- Setter for anyOf.
- API_KEY_AUTH - enum entry in com.google.genai.types.AuthType.Known
API Key Auth.
- API_SPEC_UNSPECIFIED - enum entry in com.google.genai.types.ApiSpec.Known
Unspecified API spec. This value should not be used.
- ApiAuth - class in com.google.genai.types
- The generic reusable api auth config.
- apiAuth() - function in com.google.genai.types.ExternalApi
- The authentication config to access the API.
- apiAuth(com.google.genai.types.ApiAuth) - function in com.google.genai.types.ExternalApi.Builder
- Setter for apiAuth.
- apiAuth(com.google.genai.types.ApiAuth.Builder) - function in com.google.genai.types.ExternalApi.Builder
- Setter for apiAuth builder.
- ApiAuth.Builder - class in com.google.genai.types.ApiAuth
- Builder for ApiAuth.
- ApiAuthApiKeyConfig - class in com.google.genai.types
- The API secret.
- ApiAuthApiKeyConfig.Builder - class in com.google.genai.types.ApiAuthApiKeyConfig
- Builder for ApiAuthApiKeyConfig.
- ApiClient - class in com.google.genai
- Interface for an API client which issues HTTP requests to the GenAI APIs.
- ApiException - class in com.google.genai.errors
- General exception class for all exceptions originating from the GenAI API side.
- apiKey() - function in com.google.genai.ApiClient
- Returns the API key for Google AI APIs.
- apiKey() - function in com.google.genai.ApiClient
- Returns the API key for Google AI APIs.
- apiKey() - function in com.google.genai.Client
- Returns the API key for Gemini API.
- apiKey(java.lang.String) - function in com.google.genai.Client.Builder
- Sets the API key for Gemini API.
- apiKey() - function in com.google.genai.types.AuthConfig
- The authentication config to access the API.
- apiKey(java.lang.String) - function in com.google.genai.types.AuthConfig.Builder
- Setter for apiKey.
- apiKey() - function in com.google.genai.types.ToolParallelAiSearch
- Optional.
- apiKey(java.lang.String) - function in com.google.genai.types.ToolParallelAiSearch.Builder
- Setter for apiKey.
- apiKeyConfig() - function in com.google.genai.types.ApiAuth
- The API secret.
- apiKeyConfig(com.google.genai.types.ApiAuthApiKeyConfig) - function in com.google.genai.types.ApiAuth.Builder
- Setter for apiKeyConfig.
- apiKeyConfig(com.google.genai.types.ApiAuthApiKeyConfig.Builder) - function in com.google.genai.types.ApiAuth.Builder
- Setter for apiKeyConfig builder.
- ApiKeyConfig - class in com.google.genai.types
- Config for authentication with API key.
- apiKeyConfig() - function in com.google.genai.types.AuthConfig
- Config for API key auth.
- apiKeyConfig(com.google.genai.types.ApiKeyConfig) - function in com.google.genai.types.AuthConfig.Builder
- Setter for apiKeyConfig.
- apiKeyConfig(com.google.genai.types.ApiKeyConfig.Builder) - function in com.google.genai.types.AuthConfig.Builder
- Setter for apiKeyConfig builder.
- ApiKeyConfig.Builder - class in com.google.genai.types.ApiKeyConfig
- Builder for ApiKeyConfig.
- apiKeySecret() - function in com.google.genai.types.ApiKeyConfig
- Optional.
- apiKeySecret(java.lang.String) - function in com.google.genai.types.ApiKeyConfig.Builder
- Setter for apiKeySecret.
- apiKeySecretVersion() - function in com.google.genai.types.ApiAuthApiKeyConfig
- Required.
- apiKeySecretVersion(java.lang.String) - function in com.google.genai.types.ApiAuthApiKeyConfig.Builder
- Setter for apiKeySecretVersion.
- apiKeyString() - function in com.google.genai.types.ApiAuthApiKeyConfig
- The API key string.
- apiKeyString(java.lang.String) - function in com.google.genai.types.ApiAuthApiKeyConfig.Builder
- Setter for apiKeyString.
- apiKeyString() - function in com.google.genai.types.ApiKeyConfig
- Optional.
- apiKeyString(java.lang.String) - function in com.google.genai.types.ApiKeyConfig.Builder
- Setter for apiKeyString.
- ApiResponse - class in com.google.genai
- The API response contains a response to a call to the GenAI APIs.
- ApiSpec - class in com.google.genai.types
- The API spec that the external API implements.
- apiSpec() - function in com.google.genai.types.ExternalApi
- The API spec that the external API implements.
- apiSpec(com.google.genai.types.ApiSpec) - function in com.google.genai.types.ExternalApi.Builder
- Setter for apiSpec.
- apiSpec(com.google.genai.types.ApiSpec.Known) - function in com.google.genai.types.ExternalApi.Builder
- Setter for apiSpec given a known enum.
- apiSpec(java.lang.String) - function in com.google.genai.types.ExternalApi.Builder
- Setter for apiSpec given a string.
- ApiSpec.Known - class in com.google.genai.types.ApiSpec
- Enum representing the known values for ApiSpec.
- apiVersion() - function in com.google.genai.types.HttpOptions
- Specifies the version of the API to use.
- apiVersion(java.lang.String) - function in com.google.genai.types.HttpOptions.Builder
- Setter for apiVersion.
- args() - function in com.google.genai.types.FunctionCall
- Optional.
- args(java.util.Map) - function in com.google.genai.types.FunctionCall.Builder
- Setter for args.
- args() - function in com.google.genai.types.ToolCall
- The tool call arguments.
- args(java.util.Map) - function in com.google.genai.types.ToolCall.Builder
- Setter for args.
- ARRAY - enum entry in com.google.genai.types.Type.Known
OpenAPI array type
- aspectRatio() - function in com.google.genai.types.EditImageConfig
- Aspect ratio of the generated images.
- aspectRatio(java.lang.String) - function in com.google.genai.types.EditImageConfig.Builder
- Setter for aspectRatio.
- aspectRatio() - function in com.google.genai.types.GenerateImagesConfig
- Aspect ratio of the generated images.
- aspectRatio(java.lang.String) - function in com.google.genai.types.GenerateImagesConfig.Builder
- Setter for aspectRatio.
- aspectRatio() - function in com.google.genai.types.GenerateVideosConfig
- The aspect ratio for the generated video.
- aspectRatio(java.lang.String) - function in com.google.genai.types.GenerateVideosConfig.Builder
- Setter for aspectRatio.
- aspectRatio() - function in com.google.genai.types.ImageConfig
- Aspect ratio of the generated images.
- aspectRatio(java.lang.String) - function in com.google.genai.types.ImageConfig.Builder
- Setter for aspectRatio.
- ASSET - enum entry in com.google.genai.types.VideoGenerationReferenceType.Known
A reference image that provides assets to the generated video, such as the scene, an object, a character, etc.
- AsyncBatches - class in com.google.genai
- Async module of Batches
- AsyncCaches - class in com.google.genai
- Async module of Caches
- AsyncChat - class in com.google.genai
- An async chat session with a generative model.
- AsyncChats - class in com.google.genai
- A class for creating async chat sessions.
- AsyncDocuments - class in com.google.genai
- Async module of Documents
- AsyncFiles - class in com.google.genai
- Async module of Files
- AsyncFileSearchStores - class in com.google.genai
- Async module of FileSearchStores
- AsyncLive - class in com.google.genai
- AsyncLive provides asynchronous access to a bidirectional GenAI live session.
- AsyncModels - class in com.google.genai
- Async module of Models
- AsyncOperations - class in com.google.genai
- Async module of Operations
- AsyncPager - class in com.google.genai
- AsyncPager class for handling paginated results asynchronously.
- asyncRequest(java.lang.String,java.lang.String,kotlin.Array,java.util.Optional) - function in com.google.genai.ApiClient
- Sends an asynchronous Http request given the http method, path, request bytes, and http options.
- asyncRequest(java.lang.String,java.lang.String,java.lang.String,java.util.Optional) - function in com.google.genai.ApiClient
- Sends an asynchronous Http request given the http method, path, request json string, and http options.
- asyncRequest(java.lang.String,java.lang.String,kotlin.Array,java.util.Optional) - function in com.google.genai.HttpApiClient
- Sends an asynchronous Http request given the http method, path, request bytes, and http options.
- asyncRequest(java.lang.String,java.lang.String,java.lang.String,java.util.Optional) - function in com.google.genai.HttpApiClient
- Sends an asynchronous Http request given the http method, path, request json string, and http options.
- asyncRequest(java.lang.String,java.lang.String,kotlin.Array,java.util.Optional) - function in com.google.genai.ReplayApiClient
- Sends an asynchronous Http request given the http method, path, request bytes, and http options.
- asyncRequest(java.lang.String,java.lang.String,java.lang.String,java.util.Optional) - function in com.google.genai.ReplayApiClient
- Sends an asynchronous Http request given the http method, path, request json string, and http options.
- AsyncSession - class in com.google.genai
- AsyncSession manages sending and receiving messages over a WebSocket connection for a live session.
- AsyncTokens - class in com.google.genai
- Async module of AuthToken
- AsyncTunings - class in com.google.genai
- Async module of Tunings
- attempts() - function in com.google.genai.types.HttpRetryOptions
- Maximum number of attempts, including the original request.
- attempts(java.lang.Integer) - function in com.google.genai.types.HttpRetryOptions.Builder
- Setter for attempts.
- audio() - function in com.google.genai.types.LiveClientRealtimeInput
- The realtime audio input stream.
- audio(com.google.genai.types.Blob) - function in com.google.genai.types.LiveClientRealtimeInput.Builder
- Setter for audio.
- audio(com.google.genai.types.Blob.Builder) - function in com.google.genai.types.LiveClientRealtimeInput.Builder
- Setter for audio builder.
- audio() - function in com.google.genai.types.LiveSendRealtimeInputParameters
- The realtime audio input stream.
- audio(com.google.genai.types.Blob) - function in com.google.genai.types.LiveSendRealtimeInputParameters.Builder
- Setter for audio.
- audio(com.google.genai.types.Blob.Builder) - function in com.google.genai.types.LiveSendRealtimeInputParameters.Builder
- Setter for audio builder.
- AUDIO - enum entry in com.google.genai.types.MediaModality.Known
Audio.
- AUDIO - enum entry in com.google.genai.types.Modality.Known
Indicates the model should return audio.
- audioBitrateBps() - function in com.google.genai.types.AvatarConfig
- The bitrate of compressed audio.
- audioBitrateBps(java.lang.Integer) - function in com.google.genai.types.AvatarConfig.Builder
- Setter for audioBitrateBps.
- audioDurationSeconds() - function in com.google.genai.types.CachedContentUsageMetadata
- Duration of audio in seconds.
- audioDurationSeconds(java.lang.Integer) - function in com.google.genai.types.CachedContentUsageMetadata.Builder
- Setter for audioDurationSeconds.
- audioStreamEnd() - function in com.google.genai.types.LiveClientRealtimeInput
- Indicates that the audio stream has ended, e.g.
- audioStreamEnd(boolean) - function in com.google.genai.types.LiveClientRealtimeInput.Builder
- Setter for audioStreamEnd.
- audioStreamEnd() - function in com.google.genai.types.LiveSendRealtimeInputParameters
- Indicates that the audio stream has ended, e.g.
- audioStreamEnd(boolean) - function in com.google.genai.types.LiveSendRealtimeInputParameters.Builder
- Setter for audioStreamEnd.
- audioTimestamp() - function in com.google.genai.types.GenerateContentConfig
- If enabled, audio timestamp will be included in the request to the model.
- audioTimestamp(boolean) - function in com.google.genai.types.GenerateContentConfig.Builder
- Setter for audioTimestamp.
- audioTimestamp() - function in com.google.genai.types.GenerationConfig
- Optional.
- audioTimestamp(boolean) - function in com.google.genai.types.GenerationConfig.Builder
- Setter for audioTimestamp.
- audioTrackExtraction() - function in com.google.genai.types.EmbedContentConfig
- Gemini Enterprise Agent Platform only.
- audioTrackExtraction(boolean) - function in com.google.genai.types.EmbedContentConfig.Builder
- Setter for audioTrackExtraction.
- AudioTranscriptionConfig - class in com.google.genai.types
- The audio transcription configuration in Setup.
- AudioTranscriptionConfig.Builder - class in com.google.genai.types.AudioTranscriptionConfig
- Builder for AudioTranscriptionConfig.
- AUTH_TYPE_UNSPECIFIED - enum entry in com.google.genai.types.AuthType.Known
- AuthConfig - class in com.google.genai.types
- The authentication config to access the API.
- authConfig() - function in com.google.genai.types.ExternalApi
- The authentication config to access the API.
- authConfig(com.google.genai.types.AuthConfig) - function in com.google.genai.types.ExternalApi.Builder
- Setter for authConfig.
- authConfig(com.google.genai.types.AuthConfig.Builder) - function in com.google.genai.types.ExternalApi.Builder
- Setter for authConfig builder.
- authConfig() - function in com.google.genai.types.GoogleMaps
- The authentication config to access the API.
- authConfig(com.google.genai.types.AuthConfig) - function in com.google.genai.types.GoogleMaps.Builder
- Setter for authConfig.
- authConfig(com.google.genai.types.AuthConfig.Builder) - function in com.google.genai.types.GoogleMaps.Builder
- Setter for authConfig builder.
- AuthConfig.Builder - class in com.google.genai.types.AuthConfig
- Builder for AuthConfig.
- AuthConfigGoogleServiceAccountConfig - class in com.google.genai.types
- Config for Google Service Account Authentication.
- AuthConfigGoogleServiceAccountConfig.Builder - class in com.google.genai.types.AuthConfigGoogleServiceAccountConfig
- Builder for AuthConfigGoogleServiceAccountConfig.
- AuthConfigHttpBasicAuthConfig - class in com.google.genai.types
- Config for HTTP Basic Authentication.
- AuthConfigHttpBasicAuthConfig.Builder - class in com.google.genai.types.AuthConfigHttpBasicAuthConfig
- Builder for AuthConfigHttpBasicAuthConfig.
- AuthConfigOauthConfig - class in com.google.genai.types
- Config for user oauth.
- AuthConfigOauthConfig.Builder - class in com.google.genai.types.AuthConfigOauthConfig
- Builder for AuthConfigOauthConfig.
- AuthConfigOidcConfig - class in com.google.genai.types
- Config for user OIDC auth.
- AuthConfigOidcConfig.Builder - class in com.google.genai.types.AuthConfigOidcConfig
- Builder for AuthConfigOidcConfig.
- authorAttribution() - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
- This review's author.
- authorAttribution(com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution) - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
- Setter for authorAttribution.
- authorAttribution(com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution.Builder) - function in com.google.genai.types.GroundingChunkMapsPlaceAnswerSourcesReviewSnippet.Builder
- Setter for authorAttribution builder.
- AuthToken - class in com.google.genai.types
- Config for auth_tokens.create parameters.
- AuthToken.Builder - class in com.google.genai.types.AuthToken
- Builder for AuthToken.
- authType() - function in com.google.genai.types.AuthConfig
- Type of auth scheme.
- authType(com.google.genai.types.AuthType) - function in com.google.genai.types.AuthConfig.Builder
- Setter for authType.
- authType(com.google.genai.types.AuthType.Known) - function in com.google.genai.types.AuthConfig.Builder
- Setter for authType given a known enum.
- authType(java.lang.String) - function in com.google.genai.types.AuthConfig.Builder
- Setter for authType given a string.
- AuthType - class in com.google.genai.types
- Type of auth scheme.
- AuthType.Known - class in com.google.genai.types.AuthType
- Enum representing the known values for AuthType.
- AUTO - enum entry in com.google.genai.types.FunctionCallingConfigMode.Known
Default model behavior, model decides to predict either function calls or natural language response.
- AUTO - enum entry in com.google.genai.types.ImagePromptLanguage.Known
Auto-detect the language.
- AutomaticActivityDetection - class in com.google.genai.types
- Configures automatic detection of activity.
- automaticActivityDetection() - function in com.google.genai.types.RealtimeInputConfig
- If not set, automatic activity detection is enabled by default.
- automaticActivityDetection(com.google.genai.types.AutomaticActivityDetection) - function in com.google.genai.types.RealtimeInputConfig.Builder
- Setter for automaticActivityDetection.
- automaticActivityDetection(com.google.genai.types.AutomaticActivityDetection.Builder) - function in com.google.genai.types.RealtimeInputConfig.Builder
- Setter for automaticActivityDetection builder.
- AutomaticActivityDetection.Builder - class in com.google.genai.types.AutomaticActivityDetection
- Builder for AutomaticActivityDetection.
- automaticFunctionCalling() - function in com.google.genai.types.GenerateContentConfig
- The configuration for automatic function calling.
- automaticFunctionCalling(com.google.genai.types.AutomaticFunctionCallingConfig) - function in com.google.genai.types.GenerateContentConfig.Builder
- Setter for automaticFunctionCalling.
- automaticFunctionCalling(com.google.genai.types.AutomaticFunctionCallingConfig.Builder) - function in com.google.genai.types.GenerateContentConfig.Builder
- Setter for automaticFunctionCalling builder.
- AutomaticFunctionCallingConfig - class in com.google.genai.types
- The configuration for automatic function calling.
- AutomaticFunctionCallingConfig.Builder - class in com.google.genai.types.AutomaticFunctionCallingConfig
- Builder for AutomaticFunctionCallingConfig.
- automaticFunctionCallingHistory() - function in com.google.genai.types.GenerateContentResponse
- The history of automatic function calling.
- automaticFunctionCallingHistory(kotlin.Array) - function in com.google.genai.types.GenerateContentResponse.Builder
- Setter for automaticFunctionCallingHistory.
- automaticFunctionCallingHistory(kotlin.Array) - function in com.google.genai.types.GenerateContentResponse.Builder
- Setter for automaticFunctionCallingHistory builder.
- automaticFunctionCallingHistory(java.util.List) - function in com.google.genai.types.GenerateContentResponse.Builder
- Setter for automaticFunctionCallingHistory.
- autoMode() - function in com.google.genai.types.GenerationConfigRoutingConfig
- In this mode, the model is selected automatically based on the content of the request.
- autoMode(com.google.genai.types.GenerationConfigRoutingConfigAutoRoutingMode) - function in com.google.genai.types.GenerationConfigRoutingConfig.Builder
- Setter for autoMode.
- autoMode(com.google.genai.types.GenerationConfigRoutingConfigAutoRoutingMode.Builder) - function in com.google.genai.types.GenerationConfigRoutingConfig.Builder
- Setter for autoMode builder.
- AutoraterConfig - class in com.google.genai.types
- Autorater config used for evaluation.
- autoraterConfig() - function in com.google.genai.types.EvaluationConfig
- Autorater config for evaluation.
- autoraterConfig(com.google.genai.types.AutoraterConfig) - function in com.google.genai.types.EvaluationConfig.Builder
- Setter for autoraterConfig.
- autoraterConfig(com.google.genai.types.AutoraterConfig.Builder) - function in com.google.genai.types.EvaluationConfig.Builder
- Setter for autoraterConfig builder.
- AutoraterConfig.Builder - class in com.google.genai.types.AutoraterConfig
- Builder for AutoraterConfig.
- autoraterModel() - function in com.google.genai.types.AutoraterConfig
- The fully qualified name of the publisher model or tuned autorater endpoint to use.
- autoraterModel(java.lang.String) - function in com.google.genai.types.AutoraterConfig.Builder
- Setter for autoraterModel.
- autoTruncate() - function in com.google.genai.types.EmbedContentConfig
- Gemini Enterprise Agent Platform only.
- autoTruncate(boolean) - function in com.google.genai.types.EmbedContentConfig.Builder
- Setter for autoTruncate.
- AvatarConfig - class in com.google.genai.types
- Configures the avatar to be used in the session.
- avatarConfig() - function in com.google.genai.types.LiveClientSetup
- Configures the avatar model behavior.
- avatarConfig(com.google.genai.types.AvatarConfig) - function in com.google.genai.types.LiveClientSetup.Builder
- Setter for avatarConfig.
- avatarConfig(com.google.genai.types.AvatarConfig.Builder) - function in com.google.genai.types.LiveClientSetup.Builder
- Setter for avatarConfig builder.
- avatarConfig() - function in com.google.genai.types.LiveConnectConfig
- Configures the avatar model behavior.
- avatarConfig(com.google.genai.types.AvatarConfig) - function in com.google.genai.types.LiveConnectConfig.Builder
- Setter for avatarConfig.
- avatarConfig(com.google.genai.types.AvatarConfig.Builder) - function in com.google.genai.types.LiveConnectConfig.Builder
- Setter for avatarConfig builder.
- AvatarConfig.Builder - class in com.google.genai.types.AvatarConfig
- Builder for AvatarConfig.
- avatarName() - function in com.google.genai.types.AvatarConfig
- Pre-built avatar id.
- avatarName(java.lang.String) - function in com.google.genai.types.AvatarConfig.Builder
- Setter for avatarName.
- AVERAGE - enum entry in com.google.genai.types.AggregationMetric.Known
Average aggregation metric. Not supported for Pairwise metric.
- avgLogprobs() - function in com.google.genai.types.Candidate
- Output only.
- avgLogprobs(java.lang.Double) - function in com.google.genai.types.Candidate.Builder
- Setter for avgLogprobs.